I want to bind a Max! Radiator Thermostat to my Apple Homekit. Therefore I’ve added the Max! Thermostat in /etc/openhab2/items/home.items on my Raspberry Pi with Openhab2.
The current temperature is working but the item to change the target temperatur won’t show up.
My first idea: Delete the two “/” before “String” and add the Thermostat group name to each item.
Here the correct Configuraton:
Group gDownstairsThermostat “Downstairs Thermostat” (gFF) [ “Thermostat” ]
Number DownstairsThermostatCurrentTemp “Downstairs Thermostat Current Temperature” (gDownstairsThermostat) [ “CurrentTemperature” ]
Number DownstairsThermostatTargetTemperature “Downstairs Thermostat Target Temperature” (gDownstairsThermostat) [ “TargetTemperature” ]
String DownstairsThermostatHeatingCoolingMode “Downstairs Thermostat Heating/Cooling Mode” (gDownstairsThermostat) [ “homekit:TargetHeatingCoolingMode” ]
unfortunally the code doesn’t work that you suggested.
In one way Apple Homekit connects to the Openhab bridge but it’s just one icon without any function, in the other way Apple Homekit shows an error when I try to connect the Openhab bridge.
I also have one Question to your code: what is (gFF) and where is it defined?
I´ve taken the example fromhttps://www.openhab.org/addons/integrations/homekit/ and think “gFF” is a room.
Take a look to the page. Other question: Binding correct?
Here one of my Thermostat item, which works correct with Homekit:
I’ve added the code to home.items . Unfortunatly it’s still not working.
Are there any other forms in which you need to add something?
Binding seems to work ok. I can regulate the MAX! Radiator Thermostat over the OpenHab web application. But just for the sake of it, could you send a screenshot of your binding settings?
If the thermostat works with OpenHab it must be a Homekit problem.
I forgott to write (sorry), that I installed the Homekit plugIn from Tim. You can find it here:
Uninstall old one over the PaperUI, put the new one in your addons folder, restart for good measure. (there are still some bugs with reloading the homekit plugin, unfortunately)
The Folder is found at: OpenHab-share/openhab2-addons
I wrote it before:
Uninstall the old HomeKit plugin over the Paper UI by click on the trash, then download Tims version (link : https://github.com/hap-java/openhab2-addons/releases/)
Put the file in your adding folder, the Folder is found at: OpenHab-share/openhab2-addons, after that restart for good measure.