at the moment I work on the integration of the Heating Thermostat in ALEXA - Till now I am able to control the Temperatur on all 7th Thermostat and can ask for the current temperature.
This commdos are Working (translated from German):
ALEXA, set Temperature of Bathroom Heater to xx°C
ALEXA, increase/decrease temperature fo Bathroom Heater about 5°C
ALEXA, what is the Temperature of Bathroom Heater?
The Item Group look currently like:
Group BadThermostat "Badezimmerheizung" ["Thermostat"]
Number BadThermostatCurrentTemp "Badezimmerheizung Aktuelle Temperatur" (BadThermostat) ["CurrentTemperature"] {channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:temperature"}
Number BadThermostatTargetTemperature "Badezimmerheizung Soll Temperatur" (BadThermostat) ["TargetTemperature"] {channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:set_temp"}
But is it also possible to set the Mode (ON, OFF, ECO, COMFORT and BOOST) via ALEXA or ask for the currently set target Temperature? If yes how can I realize it?
first if all, I have absolutely no clue how the setup for Alexa has to be done. But because you want to use it together with avmfritz binding, I am interested very much in figuring out a possible solution.
There seem to be a third item - HeatingCoolingMode - which has to be added to the Group for your thermostat. Additionally there seem to be a configuration to customize the mapping of the different HeatingCoolingMode modes. Maybe that is the way to go. E.g.:
Thank you for you support, but this i had already tried, but my third item looks a bit different. Nevertheless i also tried your syntax, but it stills that Alexa said, that she don’t know how she can set this for the Heater.
But many thanks, that you tried to help me, without glue with alexa
“…the Alexa skill expects the thermostat mode item (“homekit:HeatingCoolingMode”) to conform exactly to the strings “OFF, HEAT, COOL, AUTO, heat-cool” or “0,1,2,3”. […]”. See here link
But you can realize this via rules. I have done this. But I have to look it up, when I’m back at home.
Maybe you can use Proyxy Items to influence Alexa. Alexa can control any “Switchable”.
So when you want to change an arbitrary Item “ItemX” with states “A”, “B” and “C”, you could setup unbound Proxy Switch Items in openHAB like:
Switch ItemX_State_A "X state A" ["Switchable"]
Switch ItemX_State_B "X state B" ["Switchable"]
and rules
rule "set ItemX to state A"
when
ItemX_State_A changes to ON
then
ItemX.sendCommand("A")
ItemX_State_B.postUpdate(OFF)
ItemX_State_C.postUpdate(OFF)
end
// and so on
Then you tell Alexa “turn X state A on”.
Maybe not intuitive for others, but it should work.
Hello thanks for your tipps but nothing is working if I say “Alexa, set Heater in Sleepingroom to comfort” she say “i don’t know how I can make this setting”
Group BadThermostat "Badezimmerheizung" ["Thermostat"]
Number BadThermostatCurrentTemp "Badezimmerheizung Aktuelle Temperatur" (BadThermostat) ["CurrentTemperature"] {channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:temperature"}
Number BadThermostatTargetTemperature "Badezimmerheizung Soll Temperatur" (BadThermostat) ["TargetTemperature"] {channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:set_temp"}
String BadThermostatHeatingCoolingMode "Badezimmerheizung Modus" (BadThermostat) ["homekit:HeatingCoolingMode ** "]{channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:radiator_mode"}
Now I can also Ask: “Alexa how is Bathroom Heater set to?” in German: “Alexa, wie ist die Einstellung der Badezimmerheizung?”
Alexa answer: “Unkown Modus is set to xx°” <- Means the currently set degrees
BTW also if I say “Alexa, set Bathroom Heater to xx°”
Alexa is answering “Unknown Modus is set to xx°” <- Means the new/adjust degrees
It is not very pretty, that the Mode is unknown for Alexa - but it works! Has anybody new experiences to teach Alexa, what “unkown modus” is?
I cant set the temperature. When I say (in german) “Alexa, set Bathroom temperature to 20 degree”, it answers:
“Automatic mode ist set to 20 degree.” The target temperature (“Ziel-Temperatur” item) doesnt change.
Is this a common problem, or just a small error in my config?
Where do you check, if the “Ziel-Temperatur” is not change? This part of my installation is working very well. But you have to keep in mind, till the new settings reach the Themostat, can be up to 15 Minutes! Because this is the interval with which the FritzBox is communicate with the devices!
On my side: in OpenHAB i see the changing directly. In the FritzAPP2 also, but on the Thermostat it spends some minutes! Exception: If the Display is dark and I press the botton in the middle to wake up. After that I can see that the device is changing from the old stetting to the new setting.
If your problem Still, please check your openhab.log and event.log, wat happen!
its the same therm but without the channel and there´s a strange effect: when I set a temperature to a value via Alexa its also set in the GUI, but after a few seconds the temperature is set back to the old value…
Number BadThermostatTargetTemperature "Badezimmerheizung Soll Temperatur" (BadThermostat) ["TargetTemperature"] {channel="avmfritz:Comet_DECT:192_168_178_1:119600066888:set_temp"}
“Alexa, turn the heating to 22 degrees” - > “Thermostat heating is set to 22 degrees”
“Alexa, switch the heating off” -> “Thermostat heating does not support this”
(from German)