revk / ESP32-Faikin

ESP32 based module to control Daikin aircon units
GNU General Public License v3.0
424 stars 63 forks source link

[BUG] Cannot activate Faikin Auto Mode using MQTT publish #506

Open Taxxian opened 1 day ago

Taxxian commented 1 day ago

Faikin hardware Amazon

Daikin hardware 4 different Stylish Wall Device with S21

Describe the bug Is sent various MQTT commands like:

command/FaikinWozi/control { "env": 23.0, "target": [22.0,23.0] }

command/FaikinWozi/control { "target": 24.0, "env": 21.0 }

It is received and I can see the new "env" value in MQTT status.

But "target" never changes and "control" is always false.

I can activate Faikin Auto Mode and set "target" in the Web UI and I can then see this data in the MQTT status, but if I do it using MQTT publish "target" values never change and FAM never avtivates.

Expected behavior I shoud see the new "target" values in the WEB UI and MQTT status, FAM Mode should activate.

Additional context Everything I tested works fine, I updated to the new Faikin version and it still works fine, except for the "target" command. (Dont know if it worked before the update, own it for 3 days...)

Edit: I tried while the device was on or off, already heating or not and already in FAM or not. Nothing made a difference, targettt values got ignored.

Thanks for the help!

Regards

Martin

revk commented 1 day ago

OK, this is exactly how I use it, and it works for me, honest.

e.g. I regularly send

command/OfficeAC/control {"env":21.50,"target":[21.000,21.500]}

And the Faikin/OfficeAC message includes "control":true

You need two send control regularly. The "Faikin auto mode" on the web interface should disappear, e.g.

Screenshot 2024-09-29 at 10 01 54

I'm running latest beta.