cbrandlehner / homebridge-daikin-local

Supports Daikin Air Conditioners on HomeBridge
MIT License
99 stars 18 forks source link

Turning on/off Daikin with Apple Siri always switches air condition to 'AUTO' #15

Closed ghost closed 5 years ago

ghost commented 5 years ago

When I turn off or on the Aircon with Apple Siri it always switches to AUTO-mode. It should leave the state as it is.

I am using the Daikin WIFI controller.

This is what I find in the Homebridge log:

[6/21/2019, 7:30:54 PM] [Frosty] Setting POWER to ON, MODE to AUTO and TARGET TEMPERATURE to 21

Then I switch manually with the Apple Home App to : COOL

Log: [6/21/2019, 7:31:52 PM] [Frosty] Setting POWER to ON, MODE to COOL and TARGET TEMPERATURE to 21

THEN I turn it OFF with Apple Siri:

[6/21/2019, 7:32:41 PM] [Frosty] Setting POWER to OFF, MODE to OFF and TARGET TEMPERATURE to 21

THEN I turn it on again with Apple Siri:

[6/21/2019, 7:33:24 PM] [Frosty] Setting POWER to ON, MODE to AUTO and TARGET TEMPERATURE to 21

I think the last mode should not be changed.

Latest Daikin Firmware 3.3.6

bubez81 commented 5 years ago

yes I think the same thing

cbrandlehner commented 5 years ago

I can reproduce it and found the following: Currently this plugin does not have a SWITCH to turn on the device. This is also the reason you can not single-click the device in Apple Home. When telling Siri to turn the device ON, Siri does not send an ON command to the plugin (as this does not exist) but instead sends the command AUTO.

To fix this, I might need to implement a SWITCH.

Any other ideas?

ghost commented 5 years ago

I think a switch is a good idea.

Another question: In Homekit i can set temperatures for the Dainkin in half degree steps. Is this supported by the daikin api or is it just how Apple did the control?

Because in the Daikin app there are only one-degreee steps possible.

cbrandlehner commented 5 years ago

Yes, the Daikin API supports half step temperature steps while the Daikin App does not.

cbrandlehner commented 5 years ago

I rewrote the plugin. Please test with new version and report a defect if problem still exists.