I hope you can help me. I went over the documentation, also tried to find any similar topic on community forums but no success so far.
I have my openhab ecosystem up and running and I’m very satisfied. Recently I added a new gadget to my home, Echo Dot. I followed the setup instructions and I’m halfway successfull.
I successfully added Temperature reading from my mihome sensors to alexa.
I successfully added AC Power ON/OFF to alexa and voice command.
Next what I want is to add 2 more things, which I have on my AC sitemap and rules - target temperature setting and ac mode.
This is my dummy items file:
Group gAC
Number ACTemp "AC Temp Setting" (gAC) ["TargetTemperature"]
Switch ACPower "AC Power" (gAC) ["Switchable"]
Number ACMode "AC Mode" (gAC) ["Switchable"]
First I tried without group and ony the ACPower switch was detected. Later I added tags to ACTemp and ACMode, but alexa doesn’t detect them.
So what am I missing. I think I followed instructions well, but only the “AC Power” switch is detected with alexa, other items not. All the items are working ok, sitemap does everything requested.
With whole group it worked. So I got my AC ON/OFF and target temp working with voice commands. Only thing not working is "Target Mode. I always receive “I don’t know how to set AC to that setting”. My commands are “Set AC to Heat” or “Set AC to Heating mode”.
Group gAC "AC" ["Thermostat"]
Number ACTemp "AC Temp Setting" (gAC) ["TargetTemperature"]
Number AC_Temp "AC Current" (gAC) ["CurrentTemperature"]
Switch ACPower "AC Power" (gAC) ["Switchable"]
String ACMode "AC Mode" (gAC) ["homekit:TargetHeatingCoolingMode"]
Tried “ACMode” with string or number. No command is sent to openhab.
yeah, but first I would like alexa to send a command in the first place, which is not happening.
With my rules AC supports 0,1,2. But that can easily be adjusted. For now I want alexa to actually send a command to openhab. When I catch that, I can create a rule.
Go to Alexa APP–> Menu --> Alexa Privacy --> Voice Command Recordings --> There you can read the exact text what Alexa understood and you also can hear your command again.
If there are lines like “no text saved” you also can hear the recordings.
You could try utterances like this: “Alexa set heating to heat mode” Or “set heating to 0”
My AC has 3 modes - COOL, HEAT and DRY. I basically just need COOL and HEAT. So I created a dummy switch “Heat” with just ON/OFF functions. So “ON” sends command to set AC mode to Heat (already configured before with rules) and “OFF” sends command to set AC mode to Cool.
Now I got what I need. I could also create another dummy switch for the dry/auto options but no need (for now).