[AmazonEchoControl]: Docs: Remove old bug warning & adjust spacing (#12690)
* DOCS: Remove old bug warning
The bug that alexa remindes twice was fixed
* {OTHER} Remove trailing spaces
* {DOCS} Adjusted spacing to unify the docs
Signed-off-by: Felix Schneider <fs@felix-schneider.org>
This commit is contained in:
parent
8460054c9d
commit
3b793a73a1
@ -47,7 +47,7 @@ Some ideas what you can do in your home by using rules and other openHAB control
|
|||||||
- Automatic turn on your amplifier and connect echo with bluetooth if the echo plays music
|
- Automatic turn on your amplifier and connect echo with bluetooth if the echo plays music
|
||||||
- If the amplifier was turned off, the echo stop playing and disconnect the bluetooth
|
- If the amplifier was turned off, the echo stop playing and disconnect the bluetooth
|
||||||
- The echo starts playing radio if the light was turned on
|
- The echo starts playing radio if the light was turned on
|
||||||
- The echo starts playing radio at specified time
|
- The echo starts playing radio at specified time
|
||||||
- Remind you with a voice message, that a window is open for a long time and it is winter
|
- Remind you with a voice message, that a window is open for a long time and it is winter
|
||||||
- Start a routine which welcome you, if you come home
|
- Start a routine which welcome you, if you come home
|
||||||
- Start a routine which switch a smart home device connected to Alexa
|
- Start a routine which switch a smart home device connected to Alexa
|
||||||
@ -65,7 +65,7 @@ With the possibility to control your lights you could do:
|
|||||||
- connect single bulbs to functions of openHAB
|
- connect single bulbs to functions of openHAB
|
||||||
- simulate your presence at home
|
- simulate your presence at home
|
||||||
- automatically turn on your lights at the evening
|
- automatically turn on your lights at the evening
|
||||||
- integrate your smart bulbs with rules
|
- integrate your smart bulbs with rules
|
||||||
|
|
||||||
## Binding Configuration
|
## Binding Configuration
|
||||||
|
|
||||||
@ -109,12 +109,12 @@ The configuration of your Amazon account must be done in the 'Amazon Account' de
|
|||||||
| Configuration name | Default | Description |
|
| Configuration name | Default | Description |
|
||||||
|---------------------------------|---------|---------------------------------------------------------------------------------------|
|
|---------------------------------|---------|---------------------------------------------------------------------------------------|
|
||||||
| discoverSmartHome | 0 | 0...No discover, 1...Discover direct connected, 2...Discover direct and Alexa skill devices, 3...Discover direct, Alexa and openHAB skill devices |
|
| discoverSmartHome | 0 | 0...No discover, 1...Discover direct connected, 2...Discover direct and Alexa skill devices, 3...Discover direct, Alexa and openHAB skill devices |
|
||||||
| pollingIntervalSmartHomeAlexa | 30 | Defines the time in seconds for openHAB to pull the state of the Alexa connected devices. The minimum is 10 seconds. |
|
| pollingIntervalSmartHomeAlexa | 30 | Defines the time in seconds for openHAB to pull the state of the Alexa connected devices. The minimum is 10 seconds. |
|
||||||
| pollingIntervalSmartSkills | 120 | Defines the time in seconds for openHAB to pull the state of the over a skill connected devices. The minimum is 60 seconds. |
|
| pollingIntervalSmartSkills | 120 | Defines the time in seconds for openHAB to pull the state of the over a skill connected devices. The minimum is 60 seconds. |
|
||||||
|
|
||||||
#### Channels
|
#### Channels
|
||||||
|
|
||||||
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
||||||
|-----------------------|-------------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
|-----------------------|-------------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
||||||
| sendMessage | String | W | account | Write Only! Sends a message to the Echo devices.
|
| sendMessage | String | W | account | Write Only! Sends a message to the Echo devices.
|
||||||
|
|
||||||
@ -160,37 +160,37 @@ It will be configured at runtime by using the save channel to store the current
|
|||||||
| subtitle2 | String | R | echo, echoshow, echospot, wha | Additional subtitle of the current media
|
| subtitle2 | String | R | echo, echoshow, echospot, wha | Additional subtitle of the current media
|
||||||
| providerDisplayName | String | R | echo, echoshow, echospot, wha | Name of the music provider
|
| providerDisplayName | String | R | echo, echoshow, echospot, wha | Name of the music provider
|
||||||
| bluetoothMAC | String | R/W | echo, echoshow, echospot | Bluetooth device MAC. Used to connect to a specific device or disconnect if an empty string was provided
|
| bluetoothMAC | String | R/W | echo, echoshow, echospot | Bluetooth device MAC. Used to connect to a specific device or disconnect if an empty string was provided
|
||||||
| bluetooth | Switch | R/W | echo, echoshow, echospot | Connect/Disconnect to the last used bluetooth device (works after a bluetooth connection was established after the openHAB start)
|
| bluetooth | Switch | R/W | echo, echoshow, echospot | Connect/Disconnect to the last used bluetooth device (works after a bluetooth connection was established after the openHAB start)
|
||||||
| bluetoothDeviceName | String | R | echo, echoshow, echospot | User friendly name of the connected bluetooth device
|
| bluetoothDeviceName | String | R | echo, echoshow, echospot | User friendly name of the connected bluetooth device
|
||||||
| radioStationId | String | R/W | echo, echoshow, echospot, wha | Start playing of a TuneIn radio station by specifying its id or stops playing if an empty string was provided
|
| radioStationId | String | R/W | echo, echoshow, echospot, wha | Start playing of a TuneIn radio station by specifying its id or stops playing if an empty string was provided
|
||||||
| radio | Switch | R/W | echo, echoshow, echospot, wha | Start playing of the last used TuneIn radio station (works after the radio station started after the openHAB start)
|
| radio | Switch | R/W | echo, echoshow, echospot, wha | Start playing of the last used TuneIn radio station (works after the radio station started after the openHAB start)
|
||||||
| amazonMusicTrackId | String | R/W | echo, echoshow, echospot, wha | Start playing of an Amazon Music track by its id or stops playing if an empty string was provided
|
| amazonMusicTrackId | String | R/W | echo, echoshow, echospot, wha | Start playing of an Amazon Music track by its id or stops playing if an empty string was provided
|
||||||
| amazonMusicPlayListId | String | W | echo, echoshow, echospot, wha | Write Only! Start playing of an Amazon Music playlist by specifying its id or stops playing if an empty string was provided.
|
| amazonMusicPlayListId | String | W | echo, echoshow, echospot, wha | Write Only! Start playing of an Amazon Music playlist by specifying its id or stops playing if an empty string was provided.
|
||||||
| amazonMusic | Switch | R/W | echo, echoshow, echospot, wha | Start playing of the last used Amazon Music song (works after at least one song was started after the openHAB start)
|
| amazonMusic | Switch | R/W | echo, echoshow, echospot, wha | Start playing of the last used Amazon Music song (works after at least one song was started after the openHAB start)
|
||||||
| remind | String | R/W | echo, echoshow, echospot | Write Only! Speak the reminder and sends a notification to the Alexa app (Currently the reminder is played and notified two times, this seems to be a bug in the Amazon software)
|
| remind | String | R/W | echo, echoshow, echospot | Write Only! Speak the reminder and sends a notification to the Alexa app
|
||||||
| nextReminder | DateTime | R | echo, echoshow, echospot | Next reminder on the device
|
| nextReminder | DateTime | R | echo, echoshow, echospot | Next reminder on the device
|
||||||
| playAlarmSound | String | W | echo, echoshow, echospot | Write Only! Plays an Alarm sound
|
| playAlarmSound | String | W | echo, echoshow, echospot | Write Only! Plays an Alarm sound
|
||||||
| nextAlarm | DateTime | R | echo, echoshow, echospot | Next alarm on the device
|
| nextAlarm | DateTime | R | echo, echoshow, echospot | Next alarm on the device
|
||||||
| nextMusicAlarm | DateTime | R | echo, echoshow, echospot | Next music alarm on the device
|
| nextMusicAlarm | DateTime | R | echo, echoshow, echospot | Next music alarm on the device
|
||||||
| nextTimer | DateTime | R | echo, echoshow, echospot | Next timer on the device
|
| nextTimer | DateTime | R | echo, echoshow, echospot | Next timer on the device
|
||||||
| startRoutine | String | W | echo, echoshow, echospot | Write Only! Type in what you normally say to Alexa without the preceding "Alexa,"
|
| startRoutine | String | W | echo, echoshow, echospot | Write Only! Type in what you normally say to Alexa without the preceding "Alexa,"
|
||||||
| musicProviderId | String | R/W | echo, echoshow, echospot | Current Music provider
|
| musicProviderId | String | R/W | echo, echoshow, echospot | Current Music provider
|
||||||
| playMusicVoiceCommand | String | W | echo, echoshow, echospot | Write Only! Voice command as text. E.g. 'Yesterday from the Beatles'
|
| playMusicVoiceCommand | String | W | echo, echoshow, echospot | Write Only! Voice command as text. E.g. 'Yesterday from the Beatles'
|
||||||
| startCommand | String | W | echo, echoshow, echospot | Write Only! Used to start anything. Available options: Weather, Traffic, GoodMorning, SingASong, TellStory, FlashBriefing and FlashBriefing.<FlahshbriefingDeviceID> (Note: The options are case sensitive)
|
| startCommand | String | W | echo, echoshow, echospot | Write Only! Used to start anything. Available options: Weather, Traffic, GoodMorning, SingASong, TellStory, FlashBriefing and FlashBriefing.<FlahshbriefingDeviceID> (Note: The options are case sensitive)
|
||||||
| announcement | String | W | echo, echoshow, echospot | Write Only! Display the announcement message on the display. See in the tutorial section to learn how it’s possible to set the title and turn off the sound.
|
| announcement | String | W | echo, echoshow, echospot | Write Only! Display the announcement message on the display. See in the tutorial section to learn how it’s possible to set the title and turn off the sound.
|
||||||
| textToSpeech | String | W | echo, echoshow, echospot | Write Only! Write some text to this channel and Alexa will speak it. It is possible to use plain text or SSML: e.g. `<speak>I want to tell you a secret.<amazon:effect name="whispered">I am not a real human.</amazon:effect></speak>`
|
| textToSpeech | String | W | echo, echoshow, echospot | Write Only! Write some text to this channel and Alexa will speak it. It is possible to use plain text or SSML: e.g. `<speak>I want to tell you a secret.<amazon:effect name="whispered">I am not a real human.</amazon:effect></speak>`
|
||||||
| textToSpeechVolume | Dimmer | R/W | echo, echoshow, echospot | Volume of the textToSpeech channel, if 0 the current volume will be used
|
| textToSpeechVolume | Dimmer | R/W | echo, echoshow, echospot | Volume of the textToSpeech channel, if 0 the current volume will be used
|
||||||
| textCommand | String | W | echo, echoshow, echospot | Write Only! Execute a text command (like a spoken text)
|
| textCommand | String | W | echo, echoshow, echospot | Write Only! Execute a text command (like a spoken text)
|
||||||
| lastVoiceCommand | String | R/W | echo, echoshow, echospot | Last voice command spoken to the device. Writing to the channel starts voice output.
|
| lastVoiceCommand | String | R/W | echo, echoshow, echospot | Last voice command spoken to the device. Writing to the channel starts voice output.
|
||||||
| mediaProgress | Dimmer | R/W | echo, echoshow, echospot | Media progress in percent
|
| mediaProgress | Dimmer | R/W | echo, echoshow, echospot | Media progress in percent
|
||||||
| mediaProgressTime | Number:Time | R/W | echo, echoshow, echospot | Media play time
|
| mediaProgressTime | Number:Time | R/W | echo, echoshow, echospot | Media play time
|
||||||
| mediaLength | Number:Time | R | echo, echoshow, echospot | Media length
|
| mediaLength | Number:Time | R | echo, echoshow, echospot | Media length
|
||||||
| notificationVolume | Dimmer | R | echo, echoshow, echospot | Notification volume
|
| notificationVolume | Dimmer | R | echo, echoshow, echospot | Notification volume
|
||||||
| ascendingAlarm | Switch | R/W | echo, echoshow, echospot | Ascending alarm up to the configured volume
|
| ascendingAlarm | Switch | R/W | echo, echoshow, echospot | Ascending alarm up to the configured volume
|
||||||
| sendMessage | String | W | account | Write Only! Sends a message to the Echo devices.
|
| sendMessage | String | W | account | Write Only! Sends a message to the Echo devices.
|
||||||
| save | Switch | W | flashbriefingprofile | Write Only! Stores the current configuration of flash briefings within the thing
|
| save | Switch | W | flashbriefingprofile | Write Only! Stores the current configuration of flash briefings within the thing
|
||||||
| active | Switch | R/W | flashbriefingprofile | Active the profile
|
| active | Switch | R/W | flashbriefingprofile | Active the profile
|
||||||
| playOnDevice | String | W | flashbriefingprofile | Specify the echo serial number or name to start the flash briefing.
|
| playOnDevice | String | W | flashbriefingprofile | Specify the echo serial number or name to start the flash briefing.
|
||||||
|
|
||||||
## Advanced Feature Technically Experienced Users
|
## Advanced Feature Technically Experienced Users
|
||||||
|
|
||||||
@ -266,30 +266,30 @@ Switch Echo_Living_Room_Bluetooth "Bluetooth" <bluetoot
|
|||||||
String Echo_Living_Room_BluetoothDeviceName "Bluetooth Device" <bluetooth> (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:bluetoothDeviceName"}
|
String Echo_Living_Room_BluetoothDeviceName "Bluetooth Device" <bluetooth> (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:bluetoothDeviceName"}
|
||||||
|
|
||||||
// Commands
|
// Commands
|
||||||
String Echo_Living_Room_Announcement "Announcement" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:announcement"}
|
String Echo_Living_Room_Announcement "Announcement" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:announcement"}
|
||||||
String Echo_Living_Room_TTS "Text to Speech" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:textToSpeech"}
|
String Echo_Living_Room_TTS "Text to Speech" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:textToSpeech"}
|
||||||
Dimmer Echo_Living_Room_TTS_Volume "Text to Speech Volume" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:textToSpeechVolume"}
|
Dimmer Echo_Living_Room_TTS_Volume "Text to Speech Volume" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:textToSpeechVolume"}
|
||||||
String Echo_Living_Room_Remind "Remind" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:remind"}
|
String Echo_Living_Room_Remind "Remind" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:remind"}
|
||||||
String Echo_Living_Room_PlayAlarmSound "Play Alarm Sound" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:playAlarmSound"}
|
String Echo_Living_Room_PlayAlarmSound "Play Alarm Sound" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:playAlarmSound"}
|
||||||
String Echo_Living_Room_StartRoutine "Start Routine" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:startRoutine"}
|
String Echo_Living_Room_StartRoutine "Start Routine" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:startRoutine"}
|
||||||
Dimmer Echo_Living_Room_NotificationVolume "Notification volume" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:notificationVolume"}
|
Dimmer Echo_Living_Room_NotificationVolume "Notification volume" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:notificationVolume"}
|
||||||
Switch Echo_Living_Room_AscendingAlarm "Ascending alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:ascendingAlarm"}
|
Switch Echo_Living_Room_AscendingAlarm "Ascending alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:ascendingAlarm"}
|
||||||
|
|
||||||
// Feedbacks
|
// Feedbacks
|
||||||
String Echo_Living_Room_LastVoiceCommand "Last voice command" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:lastVoiceCommand"}
|
String Echo_Living_Room_LastVoiceCommand "Last voice command" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:lastVoiceCommand"}
|
||||||
DateTime Echo_Living_Room_NextReminder "Next reminder" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextReminder"}
|
DateTime Echo_Living_Room_NextReminder "Next reminder" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextReminder"}
|
||||||
DateTime Echo_Living_Room_NextAlarm "Next alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextAlarm"}
|
DateTime Echo_Living_Room_NextAlarm "Next alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextAlarm"}
|
||||||
DateTime Echo_Living_Room_NextMusicAlarm "Next music alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextMusicAlarm"}
|
DateTime Echo_Living_Room_NextMusicAlarm "Next music alarm" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextMusicAlarm"}
|
||||||
DateTime Echo_Living_Room_NextTimer "Next timer" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextTimer"}
|
DateTime Echo_Living_Room_NextTimer "Next timer" (Alexa_Living_Room) {channel="amazonechocontrol:echo:account1:echo1:nextTimer"}
|
||||||
|
|
||||||
// Flashbriefings
|
// Flashbriefings
|
||||||
Switch FlashBriefing_Technical_Save "Save (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:save"}
|
Switch FlashBriefing_Technical_Save "Save (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:save"}
|
||||||
Switch FlashBriefing_Technical_Active "Active" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:active"}
|
Switch FlashBriefing_Technical_Active "Active" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:active"}
|
||||||
String FlashBriefing_Technical_Play "Play (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:playOnDevice"}
|
String FlashBriefing_Technical_Play "Play (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:playOnDevice"}
|
||||||
|
|
||||||
Switch FlashBriefing_LifeStyle_Save "Save (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:save"}
|
Switch FlashBriefing_LifeStyle_Save "Save (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:save"}
|
||||||
Switch FlashBriefing_LifeStyle_Active "Active" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:active"}
|
Switch FlashBriefing_LifeStyle_Active "Active" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:active"}
|
||||||
String FlashBriefing_LifeStyle_Play "Play (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:playOnDevice"}
|
String FlashBriefing_LifeStyle_Play "Play (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:playOnDevice"}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### echo.sitemap:
|
#### echo.sitemap:
|
||||||
@ -359,11 +359,11 @@ The flashbriefingprofile thing has no configuration parameters.
|
|||||||
It will be configured at runtime by using the save channel to store the current flash briefing configuration which is set in the alexa app in the thing. Create a flashbriefingprofile Thing for each set you need.
|
It will be configured at runtime by using the save channel to store the current flash briefing configuration which is set in the alexa app in the thing. Create a flashbriefingprofile Thing for each set you need.
|
||||||
E.g. One Flashbriefing profile with technical news and wheater, one for playing world news and one for sport news.
|
E.g. One Flashbriefing profile with technical news and wheater, one for playing world news and one for sport news.
|
||||||
|
|
||||||
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
||||||
|-----------------------|-------------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
|-----------------------|-------------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
||||||
| save | Switch | W | flashbriefingprofile | Write Only! Stores the current configuration of flash briefings within the thing
|
| save | Switch | W | flashbriefingprofile | Write Only! Stores the current configuration of flash briefings within the thing
|
||||||
| active | Switch | R/W | flashbriefingprofile | Active the profile
|
| active | Switch | R/W | flashbriefingprofile | Active the profile
|
||||||
| playOnDevice | String | W | flashbriefingprofile | Specify the echo serial number or name to start the flash briefing.
|
| playOnDevice | String | W | flashbriefingprofile | Specify the echo serial number or name to start the flash briefing.
|
||||||
|
|
||||||
#### Example
|
#### Example
|
||||||
|
|
||||||
@ -372,7 +372,7 @@ E.g. One Flashbriefing profile with technical news and wheater, one for playing
|
|||||||
```
|
```
|
||||||
Bridge amazonechocontrol:account:account1 "Amazon Account" @ "Accounts" [discoverSmartHome=2]
|
Bridge amazonechocontrol:account:account1 "Amazon Account" @ "Accounts" [discoverSmartHome=2]
|
||||||
{
|
{
|
||||||
Thing flashbriefingprofile flashbriefing1 "Flash Briefing Technical" @ "Flash Briefings"
|
Thing flashbriefingprofile flashbriefing1 "Flash Briefing Technical" @ "Flash Briefings"
|
||||||
Thing flashbriefingprofile flashbriefing2 "Flash Briefing Life Style" @ "Flash Briefings"
|
Thing flashbriefingprofile flashbriefing2 "Flash Briefing Life Style" @ "Flash Briefings"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
@ -384,13 +384,13 @@ Take a look in the channel description above to know, which channels are support
|
|||||||
|
|
||||||
```
|
```
|
||||||
// Flashbriefings
|
// Flashbriefings
|
||||||
Switch FlashBriefing_Technical_Save "Save (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:save"}
|
Switch FlashBriefing_Technical_Save "Save (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:save"}
|
||||||
Switch FlashBriefing_Technical_Active "Active" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:active"}
|
Switch FlashBriefing_Technical_Active "Active" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:active"}
|
||||||
String FlashBriefing_Technical_Play "Play (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:playOnDevice"}
|
String FlashBriefing_Technical_Play "Play (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing1:playOnDevice"}
|
||||||
|
|
||||||
Switch FlashBriefing_LifeStyle_Save "Save (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:save"}
|
Switch FlashBriefing_LifeStyle_Save "Save (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:save"}
|
||||||
Switch FlashBriefing_LifeStyle_Active "Active" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:active"}
|
Switch FlashBriefing_LifeStyle_Active "Active" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:active"}
|
||||||
String FlashBriefing_LifeStyle_Play "Play (Write only)" { channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:playOnDevice"}
|
String FlashBriefing_LifeStyle_Play "Play (Write only)" {channel="amazonechocontrol:flashbriefingprofile:account1:flashbriefing2:playOnDevice"}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### flashbriefings.sitemap:
|
#### flashbriefings.sitemap:
|
||||||
@ -414,7 +414,7 @@ sitemap flashbriefings label="Flash Briefings"
|
|||||||
|
|
||||||
## Smart Home Devices
|
## Smart Home Devices
|
||||||
|
|
||||||
Note: the channels of smartHomeDevices and smartHomeDeviceGroup will be created dynamically based on the capabilities reported by the amazon server. This can take a little bit of time.
|
Note: the channels of smartHomeDevices and smartHomeDeviceGroup will be created dynamically based on the capabilities reported by the amazon server. This can take a little bit of time.
|
||||||
The polling interval configured in the Account Thing to get the state is specified in minutes and has a minimum of 10. This means it takes up to 10 minutes to see the state of a channel. The reason for this low interval is, that the polling causes a big server load for the Smart Home Skills.
|
The polling interval configured in the Account Thing to get the state is specified in minutes and has a minimum of 10. This means it takes up to 10 minutes to see the state of a channel. The reason for this low interval is, that the polling causes a big server load for the Smart Home Skills.
|
||||||
|
|
||||||
#### Supported Things
|
#### Supported Things
|
||||||
@ -437,7 +437,7 @@ The only possibility to find out the id is by using the discover function in the
|
|||||||
|
|
||||||
The channels of the smarthome devices will be generated at runtime. Check in the UI thing configurations, which channels are created.
|
The channels of the smarthome devices will be generated at runtime. Check in the UI thing configurations, which channels are created.
|
||||||
|
|
||||||
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
| Channel Type ID | Item Type | Access Mode | Thing Type | Description
|
||||||
|--------------------------|-----------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
|--------------------------|-----------|-------------|-------------------------------|------------------------------------------------------------------------------------------
|
||||||
| powerState | Switch | R/W | smartHomeDevice, smartHomeDeviceGroup | Shows and changes the state (ON/OFF) of your device
|
| powerState | Switch | R/W | smartHomeDevice, smartHomeDeviceGroup | Shows and changes the state (ON/OFF) of your device
|
||||||
| brightness | Dimmer | R/W | smartHomeDevice, smartHomeDeviceGroup | Shows and changes the brightness of your lamp
|
| brightness | Dimmer | R/W | smartHomeDevice, smartHomeDeviceGroup | Shows and changes the brightness of your lamp
|
||||||
@ -474,20 +474,20 @@ Take a look in the channel description above to know which channels are supporte
|
|||||||
|
|
||||||
```
|
```
|
||||||
// Lights and lightgroups
|
// Lights and lightgroups
|
||||||
Switch Light_State "On/Off" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:powerState" }
|
Switch Light_State "On/Off" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:powerState"}
|
||||||
Dimmer Light_Brightness "Brightness" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:brightness" }
|
Dimmer Light_Brightness "Brightness" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:brightness"}
|
||||||
Color Light_Color "Color" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:color" }
|
Color Light_Color "Color" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:color"}
|
||||||
String Light_Color_Name "Color Name" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:colorName" }
|
String Light_Color_Name "Color Name" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:colorName"}
|
||||||
String Light_White "White temperature" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:colorTemperatureName" }
|
String Light_White "White temperature" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice1:colorTemperatureName"}
|
||||||
|
|
||||||
// Smart plugs
|
// Smart plugs
|
||||||
Switch Plug_State "On/Off" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice2:powerState" }
|
Switch Plug_State "On/Off" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice2:powerState"}
|
||||||
|
|
||||||
// Alexa Guard
|
// Alexa Guard
|
||||||
Switch Arm_State "State" { channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice3:armState" }
|
Switch Arm_State "State" {channel="amazonechocontrol:smartHomeDevice:account1:smartHomeDevice3:armState"}
|
||||||
|
|
||||||
// Smart Home device group
|
// Smart Home device group
|
||||||
Switch Group_State "On/Off" { channel="amazonechocontrol:smartHomeDeviceGroup:account1:smartHomeDeviceGroup1:powerState" }
|
Switch Group_State "On/Off" {channel="amazonechocontrol:smartHomeDeviceGroup:account1:smartHomeDeviceGroup1:powerState"}
|
||||||
```
|
```
|
||||||
|
|
||||||
The only possibility to find out the id for the smartHomeDevice and smartHomeDeviceGroup Things is by using the discover function.
|
The only possibility to find out the id for the smartHomeDevice and smartHomeDeviceGroup Things is by using the discover function.
|
||||||
@ -510,11 +510,11 @@ sitemap smarthome label="Smart Home Devices"
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
## How To Get IDs
|
## How To Get IDs
|
||||||
|
|
||||||
1) Open the url YOUR_OPENHAB/amazonechocontrol in your browser (e.g. http://openhab:8080/amazonechocontrol/)
|
1) Open the url YOUR_OPENHAB/amazonechocontrol in your browser (e.g. http://openhab:8080/amazonechocontrol/)
|
||||||
2) Click on the name of the account thing
|
2) Click on the name of the account thing
|
||||||
3) Click on the name of the echo thing
|
3) Click on the name of the echo thing
|
||||||
4) Scroll to the channel and copy the required ID
|
4) Scroll to the channel and copy the required ID
|
||||||
|
|
||||||
## Advanced Feature Technically Experienced Users
|
## Advanced Feature Technically Experienced Users
|
||||||
@ -571,7 +571,7 @@ Expert:
|
|||||||
You can use a json formatted string to control title, sound and volume:
|
You can use a json formatted string to control title, sound and volume:
|
||||||
|
|
||||||
```php
|
```php
|
||||||
{ "sound": true, "speak":"<Speak>", "title": "<Title>", "body": "<Body Text>", "volume": 20}
|
{"sound": true, "speak":"<Speak>", "title": "<Title>", "body": "<Body Text>", "volume": 20}
|
||||||
```
|
```
|
||||||
|
|
||||||
The combination of `sound=true` and `speak` in SSML syntax is not allowed.
|
The combination of `sound=true` and `speak` in SSML syntax is not allowed.
|
||||||
@ -588,7 +588,7 @@ rule "Say welcome if the door opens"
|
|||||||
when
|
when
|
||||||
Item Door_Contact changed to OPEN
|
Item Door_Contact changed to OPEN
|
||||||
then
|
then
|
||||||
Echo_Living_Room_Announcement.sendCommand('{ "sound": false, "title": "Doorstep", "body": "Door opened"}')
|
Echo_Living_Room_Announcement.sendCommand('{"sound": false, "title": "Doorstep", "body": "Door opened"}')
|
||||||
end
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -701,4 +701,4 @@ Thank you Ingo!
|
|||||||
## Trademark Disclaimer
|
## Trademark Disclaimer
|
||||||
|
|
||||||
TuneIn, Amazon Echo, Amazon Echo Spot, Amazon Echo Show, Amazon Music, Amazon Prime, Alexa and all other products and Amazon, TuneIn and other companies are trademarks™ or registered® trademarks of their respective holders.
|
TuneIn, Amazon Echo, Amazon Echo Spot, Amazon Echo Show, Amazon Music, Amazon Prime, Alexa and all other products and Amazon, TuneIn and other companies are trademarks™ or registered® trademarks of their respective holders.
|
||||||
Use of them does not imply any affiliation with or endorsement by them.
|
Use of them does not imply any affiliation with or endorsement by them.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user