nitaybz / homebridge-sensibo-ac

Homebridge plugin for Sensibo - Smart AC Control
GNU General Public License v3.0
69 stars 15 forks source link

Automation triggering scene where AC is turn off, not working #102

Open 00JohnD opened 1 year ago

00JohnD commented 1 year ago

I have a scene in which the AC is turned off. The scene is functioning as it's supposed to when triggered manually. But when it's triggered by an automaton, the AC doesn't turn off.

Instead I hear a beep indicating a ON signal or status change signal

This doesn't apply if the scene is triggering the AC on. In that case every thing is ok

Thanks

benwebbbenwebb commented 1 year ago

Hi @00JohnD

To help investigate please turn on the debug mode (add "debug": true in your SensiboAC plugin settings within Homebridge) and provide some logs from when the automation runs.

Without that won't be able to get very far unfortunately.

00JohnD commented 1 year ago

homebridge.log.txt

The automation was triggered at 21h45 (9:45 PM)

Hope that helps! Thanks for the follow up!

benwebbbenwebb commented 1 year ago

Hi @00JohnD

I can't be 100% sure without seeing the details of your scene / automation, however looking at the logs I'm guessing that in your Home app you have it configured to both turn the AC unit OFF and set the fan speed to 0%.

These seem to be fighting with each other as I can see that the logs show:

Salon AC -> Setting AC state Active: false
Salon AC -> Setting AC Rotation Speed: 0%
Salon AC -> Setting Mode to HEAT

Please remember that a Rotation (Fan) Speed of 0% is what the Sensibo plugin uses to represent auto fan mode (when your unit supports it), so this actually toggles the unit back on (with auto fan speed).

Please double check the automation/scene config in the Apple Home app and make sure you are only toggling the unit OFF.

Give that a go and let me know your results, thanks!

00JohnD commented 1 year ago

Thank you, I honestly don't know how it ended sending à request for Rotation speed.... I'll do a few tests to make sure I have a scene that only sends an AC state request, no rotation speed and I'll post an update here.

But I'm wondering, could the problem be caused by the fact that when adding the accessory to the scene, (the one that i trigger with the automation) the fan speed setting comes with it? See picture attached... Something to consider.

IMG_1969

00JohnD commented 1 year ago

So i found out that if the fan speed is set to "auto" when the scene is triggered, the AC doesn't turn off, instead a command to put the fan at 0% is sent.

If fan speed is more than 0% (not auto) when the scene is triggered, the commands to turn off the AC is working

benwebbbenwebb commented 1 year ago

Thanks @00JohnD, that’s some good info.

Will take a look and see what I can find.

Aleksandir commented 3 weeks ago

Hi just adding that I have been experiencing this as well. Do we have a workaround as yet?