Hi mates, first of all thank you for this great forum
I have a strange problem, is when it comes to establishing a simple switch
First declare the item:
Switch ka “computer” [ “Switchable” ]
In this moment alexa recognizes it, when i say, turn on or tur off i see in the logs the command and the valor change
Now i declare a simple rule:
rule “Encender”
when
Item ka received command ON
then
executeCommandLine("sudo /etc/openhab2/scripts/encender.sh")
end
rule “Apagar”
when
Item ka received command OFF
then
executeCommandLine("sudo /etc/openhab2/scripts/apagar.sh")
end
I use the swtich with alexa app, openhabs panels and work perfect, the problem its with the voice.
The comand “Alexa power on computer” work perfect, i see in the logs the change states and the and the execution os the script
But when i use the “Alexa power off computer” dont work, the logs shows nothing, alexa lights up but nothing happens, it’s as if she did not recognize the order
Has someone else happened to you?
Thanks in advance and excuse my bad english