I have 3 Alexas in our house one thing that hacks me off is if you set a timer in the kitchen and move rooms it only times out in that room
is there a way in openhab to get it to set the timer on all 3 ?
thanks
I have 3 Alexas in our house one thing that hacks me off is if you set a timer in the kitchen and move rooms it only times out in that room
is there a way in openhab to get it to set the timer on all 3 ?
thanks
Use a groups and a rule but you may need to activate the timer via OH instead of just asking Alexa directly. Also take a look at lastVoiceCommand as that may be a feature that will work for you either way.
I am also interested in this.
How can I set a timer via OH for Alexa ?
Use a rule, proxy item and the text to speech feature (TTS) of the Alexa control binding.
Example:
rule "Light Alert"
when
Item Proxy_Lightlevel changed
then
if(Proxy_Lightlevel.state == ON && ESP_Easy_Door.state == ON && Proxy_Motion.state == ON && startLightTimer === null){
startLightTimer = createTimer(now.plusMinutes(10)) [|
Echo_Plus_TTS.sendCommand('The garage door is closed, and light has been left on')
startLightTimer = null
]
}
end
If the garage door is shut and the light is left on for longer than 10 minuets Alexa will give me a notification. You just need to create a proxy (dummy) item for a way to turn on/off the timer via OH and rule with TTS to have it say something or give a sound. For sound see PlayAlarmSounds in binding docâs.
This rule, when I have the ESP_Easy_Door item (switch) turned on Alexa will play a sound when the door opens. After the sound it will turn the item (switch) back off.
rule "Turn on alarm sound for 15 seconds if garage door opens"
when
Item ESP_Easy_Door changed to OFF
then
if(Garage_Door_Alert.state == ON){
Echo_Plus_PlayAlarmSound.sendCommand('ECHO:system_alerts_atonal_02')
if (stopAlarmTimer === null)
{
stopAlarmTimer = createTimer(now.plusSeconds(15)) [|
stopAlarmTimer.cancel()
stopAlarmTimer = null
Echo_Plus_PlayAlarmSound.sendCommand('')
Garage_Door_Alert.sendCommand(OFF)
]
}
}
end
Is it possible to play the same sound like when a normal timer is over ?
Sadly when doing it this way you can not ask the other alexa devices âHow many minutes are left on my timer ?â
There is no way around that right ?
Yes go to http://openhab:8080/amazonechocontrol/ (may need to use IP address of OH server instead of openhab) and you will be able to see all the sounds available when you select the Echo âThingâ.
That may be where the lastVoiceCommand will work but Iâm not sure, havenât played with it yet to see whatâs possiable.
Really curious about it aswell.
Please let me know if you find something out about it
You can go here Release Candidate and Support: Amazon Echo Control Binding and use the search function. Just type in lastVoiceCommand and all related post will show. There are quite a few.