aderusha / HASwitchPlate

LCD touchscreen for Home Automation
MIT License
727 stars 128 forks source link

Backlight MQTT message ignored if page set payload is first/same time. #137

Closed marc-gist closed 1 year ago

marc-gist commented 3 years ago

I have an automation that worked before the update to the latest beta/dev branch bin as of 11 days ago. My Screen now flickers when changing pages, no big deal. However, what broke on this update is>

When my lights turn off, I send two payloads to the screen (which worked before).

hasp/plate01/brightness/set = 10 hasp/plate01/command/page = 2

Basically at the same time. If I add a slight delay to the Brightness one, it still does now work (brightness doesn't change). If I add a delay to the Page (so brightness gets in first for sure), it works fine.

I've not change anything else, just the firmware. so not sure what is causing this.

aderusha commented 3 years ago

I'm unable to re-create this behavior.

mosquitto_pub -h hassio -u hassio -P hassio -t 'hasp/plate01/brightness/set' -m '10'
mosquitto_pub -h hassio -u hassio -P hassio -t 'hasp/plate01/command/page' -m '2'

Works as expected on the current build. I'll keep testing this as work continues.

marc-gist commented 3 years ago

I'm unable to re-create this behavior.

mosquitto_pub -h hassio -u hassio -P hassio -t 'hasp/plate01/brightness/set' -m '10'
mosquitto_pub -h hassio -u hassio -P hassio -t 'hasp/plate01/command/page' -m '2'

Works as expected on the current build. I'll keep testing this as work continues.

Thanks for testing. I will see if I can find an issue in my automations.

aderusha commented 1 year ago

Closing as this repo is not being maintained. Check here for the updated project!