HASwitchPlate / openHASP

HomeAutomation Switchplate based on lvgl for ESP32
https://www.openhasp.com
MIT License
666 stars 165 forks source link

unable to modify settings via MQTT #745

Open stagea09 opened 1 month ago

stagea09 commented 1 month ago

HACS version installed is 0.7.3

Plate info - newly added to system

openHASP

Version | 0.7.0-rc12 cd34d89 Build DateTime | May 23 2024 22:15:50 UTC Environment | lanbon_l8

I also have 7 other plates on earlier firmware that work fine. This plate is communicating with HA via MQTT as all the config has updated on the screen and the plate functions as expected.

have a script that publishes updates via MQTT to update the idle and idle2 values on all plates. this new one doesnt seem to accept or receive it (nothing changes). all my other plates are working fine.

script details: topic: hasp/plates/config/gui payload: {"idle2":10}

i have MQTT explorer open and can see the messages being sent OK.

iletunic commented 1 month ago

I can confirm the same issue with 0.7.0-rc12 running on sunton-8048s050c. I solved it temporarily by switching to command/json instead of config/gui:

topic: hasp/plates/command/json payload: "['config/gui {\"idle2\":0}']"

This works fine.