I’ve recently installed the HomeKit integration service in OpenHab 2. While Lighting, Switchable, CurrentTemperature, and TargetTemperature HomeKit item tags are working well for me, I’m having trouble specifically with Thermostat HeatingCoolingMode tagged items.
When attempting to set the mode via the “Home” app on my iOS device, I receive a “No Response” error in the UI.
My item from the .items file.
Group gHomeKit_Hallway_Thermostat “Hallway Thermostat” [ “Thermostat” ]
Number HomeKit_Hallway_Thermostat_CurrentTemp “Hallway Thermostat Current Temperature” (gHomeKit_Hallway_Thermostat) [ “CurrentTemperature” ]
Number HomeKit_Hallway_Thermostat_TargetTemperature “Hallway Thermostat Target Temperature” (gHomeKit_Hallway_Thermostat) [ “TargetTemperature” ]
String HomeKit_Hallway_Thermostat_HeatingCoolingMode “Hallway Thermostat Heating/Cooling Mode” (gHomeKit_Hallway_Thermostat) [ “homekit:HeatingCoolingMode” ]
In the HomeKit Integration PaperUI configuration, I’ve set strings for Heat, Cool, Auto, and Off Modes to “heat”, “cool”, “auto”, and “heat-cool”. While unrelated to this problem, my intent was to match the strings used by the Nest binding.
I have rules in place to mirror the state of HomeKit_Hallway_Thermostat_HeatingCoolingMode and another item from the Nest binding representing the HeatingCoolingMode of my thermostat. I did disable these rules for troubleshooting.
What is interesting is that the proper state is shown in the iOS “Home” UI if the item (HomeKit_Hallway_Thermostat_HeatingCoolingMode) is manipulated in the Karaf console (openhab> send HomeKit_Hallway_Thermostat_HeatingCoolingMode heat) or via the aforementioned rules to keep in synch with the item from the nest binding.
It feels as if this is a permissions issue, whereby the iOS “Home” app can read the state of the HomeKit item (HomeKit_Hallway_Thermostat_HeatingCoolingMode) but cannot set it.
I’m not seeing additional logging after setting the log level to trace (openhab> log:set TRACE com.beowulfe.hap).