-
Notifications
You must be signed in to change notification settings - Fork 17
Hub Alexa
Put this code (copy and paste) into templates.
- {{ states
| selectattr('object_id','match','notifier.*alexa', ignorecase=true)
| sort(reverse=false, attribute='entity_id')
| map(attribute='entity_id') | join('\n- ') }}
- binary_sensor.notifier_alexa_speak
- button.notifier_alexa_ssml_reset
- group.notifier_player_alexa
- input_boolean.notifier_alexa_smart_volume
- input_boolean.notifier_alexa_ssml
- input_boolean.notifier_alexa_switch
- input_number.notifier_alexa_prosody_pitch
- input_number.notifier_alexa_prosody_rate
- input_number.notifier_alexa_prosody_volume
- input_select.notifier_alexa_language
- input_select.notifier_alexa_method
- input_select.notifier_alexa_type
- input_select.notifier_alexa_voice
- select.notifier_player_alexa
- sensor.notifier_player_alexa
-
Alexa switch
On/Off Alexa. Turn Alexa voice notifications on and off.
input_boolean.notifier_alexa_switch
-
Player alexa.
Select the alexa speaker to use.
select.notifier_player_alexa
-
Alexa type
Allows you to select the type of notification "tts" or "announce".
input_select.notifier_alexa_type
-
Alexa method
Only for the "announce" functionality. Check if the ad should be audio only or shown + audio.
input_select.notifier_alexa_method
-
Alexa ssml
Toggle automatic SSML mode on or off. During text processing, if this mode is active, it inserts the necessary tags to reproduce for example Supported speechcons
input_boolean.notifier_alexa_ssml
-
Alexa spek
In addition to indicating when Alexa is speaking, it contains the following attributes:
skill_id: amzn1.ask.skill.REDATC- default_vol: 0.4 volume: 0.4 auto_volumes: false message: Sono le 5:30, davvero. media_player: - media_player.sala type: tts language: it-IT event_id: '' audio: <audio src="soundbank://soundlibrary/foley/amzn_sfx_clock_ticking_01"/> notifier: alexa_media method: all voice: Alexa wait_time: 3 rate: 100 pitch: 0 ssml_volume: 0 whisper: false ssml: true
binary_sensor.notifier_alexa_speak
-
Alexa smart volume
Smart volume, as far as possible, avoids call the service to set the volume, if this is equal.
input_boolean.notifier_alexa_smart_volume
-
Alexa voice
Supported Amazon Polly voices.
input_select.notifier_alexa_voice
-
Alexa language
Supported locales for the xml:lang attribute.
input_select.notifier_alexa_language
10, 11, 12 - Modifies the pitch, rate and volume of the tagged speech. Prosody
- Alexa prosody pitch
input_number.notifier_alexa_prosody_pitch
- Alexa prosody rate
input_number.notifier_alexa_prosody_rate
- Alexa prosody volume
input_number.notifier_alexa_prosody_volume
- Alexa sml reset
A simple button, to set the default values for the volume, pitch, and rate of the tagged speech SSML
button.notifier_alexa_ssml_reset
- Sensor Alexa
The sensor returns the currently selected media players as status, separated by a comma and the friendly names and the list of media players as attributes. It is also used to check that they actually exist in the system.
selected: Sala entities: - media_player.sala icon: mdi:speaker friendly_name: Player Alexa Predefinito attribution: Centro Notifiche 🔔 Caio & Gianpi by hassiohelp.eu
sensor.notifier_player_alexa
- Group Alexa
It is the group created automatically, with all the media players selected by the user, during configuration.
entity_id: - media_player.sala - media_player.studio - media_player.echo_dot order: 16 auto: true friendly_name: Gruppo Alexa attribution: Centro Notifiche 🔔 Caio & Gianpi by hassiohelp.eu icon: mdi:speaker-multiple
group.notifier_player_alexa