jeffschubert / homebridge-daikin-oneplus

Homebridge plugin to control a Daikin One+ thermostat
Apache License 2.0
20 stars 7 forks source link

Siri commands when set to Auto mode are misinterpreted #46

Open jonnyborbs opened 1 month ago

jonnyborbs commented 1 month ago

Hey Jeff!

So the plugin is working great and has been for many many months. I've just recently noticed that when the thermostats are set to AUTO mode, with a range of temps configured, if you tell Siri to "set the thermostat to X", it doesn't really know what to do with that request. It seems to bump the lower bound up, retaining the spread between the upper and lower temp, with undesirable results

Example: I have my AUTO set to heat to 64, cool to 74. If I say "hey Siri, set the thermostat to 76" it bumps the lower number (heat) up to 76 but maintains that same 10 degree spread. That means the heat will come on in the middle of a hot day!

This might be behavior you have no control over in the plugin. But just in case you do, can this be made smarter somehow?

jeffschubert commented 1 week ago

@jonnyborbs I'm pretty sure I can't control it, as it likely has to do with how HomeKit sends the set commands. I can handle target temp, cooling threshold, and heating threshold separately, but HomeKit may be trying to be smart in which of those three it sends to Homebridge and thus the plugin. I searched around online and saw mentions of both target temp and one of the thresholds being sent and so it becomes difficult to know which one to do. I also saw one mention that HomeKit may trigger the heat threshold if the desired temp (76 in your case) is higher than the current ambient temp. The implication being it might trigger the cool threshold only if the ambient temp is above the desired. One thing to try is seeing if Siri can respond to more specific commands like 'set the thermostat to cool at X' or similar. But that may trigger it to switch from auto to cool.