Closed SupraJames closed 5 years ago
Thx @SupraJames for this feedback. I just roughly pushed and publish on NPN your feedback. Can you let me know if it's better ? Thx
15 days without feedback, I close the issue
@SupraJames I've found a solution to your issue. As you suggested, we can simply remove the HeatingThreshholdTemperature
as having it caused Siri to use this to set the temperature instead of TargetTemperature
.
Currently, my fork is too different to simply make a pull request, however, once I have solved a number of other issues with the plugin, I will do. If you are interested in making a pull request yourself or would like to make your own fork which adds this functionality, the steps to do it are fairly simple:
this.service
declaration, the getHeatingThresholdTemperature
function as well as the functions relating to CoolingThresholdTemperature
. Thus, you can also delete any variables related to this field located near the top.Hopefully that helps you!
EDIT I have now made a pull request which will solve this issue.
I set this all up over a year ago - but at some point something broke - I could no longer use Siri to set the desired temperature of my heating.
I found today that there is a difference in how Siri and the Home app work. On my iPhone running iOS 12.1.2 I can use the Home app to set the temperature and it works fine:
However, if I ask Siri to 'set the temperature to 21 degrees' then HomeKit seems to use a different Characteristic, which is not implemented:
So, short story, Home app uses "Target Temperature" and Siri uses "Heating Threshold Temperature".
I have no idea when this change, presumably in iOS, occurred. Editing index.js for homebridge-thermostat and commenting out the following lines fixes the issue:
We then don't register this characteristic with HomeKit, and it doesn't get called. Siri starts to work again.
I'm opening this as an issue, I think the simple fix would be just to delete these lines but don't want to break anything.