MQTT: new brightness values not published
GeneralLuzi opened this issue · comments
Hi,
while setting a new value for the loudness is working fine, brightness does not work properly IMHO.
Use Case for loudness:
- ESPUINO_MQTT publishes on start e.g. 10.
- PRIVATE_MQTT_CLIENT receives 10
- PRIVATE_MQTT_CLIENT publishes 11
- ESPUINO_MQTT receives 11 and espuino sets loudness to 11
- ESPUINO_MQTT publishes 11
- PRIVATE_MQTT_CLIENT receives 11
Use Case for brightness:
- ESPUINO_MQTT publishes on start e.g. 10.
- PRIVATE_MQTT_CLIENT receives 10
- PRIVATE_MQTT_CLIENT publishes 11
- ESPUINO_MQTT receives 11 and espuino sets brightness to 11
-- NOT WORKING BELOW THIS LINE -- - ESPUINO_MQTT publishes 11
- PRIVATE_MQTT_CLIENT receives 11
Thanks and regards,
GL
Same on:
- topicLockControlsCmnd
- Cmnd/ESPuino/SleepTimer
Need to investigate.
I discovered the same issue today. Fix can be found here: #124
@GeneralLuzi You can just checkout the branch and deploy it to your device. It will be reviewed this week anyway :D
@thebino my test shows 2 out of 3. Well done! 👍
Brightness and SleepTimer I can confirm to be fixed. Somehow LockControls is not publishing the change! Could you have a look please?
Thanks!
@GeneralLuzi can you pull the latest state and validate if it updates the state now? Haven't tested myself. Just added the fix and pushed it.
Merged into master.
@GeneralLuzi Please review if it's working for you.
Thanks @biologist79
I retested the feature on the branch of @thebino this morning and it worked. Afterwards I wanted to test the RFID commands in combination with MQTT and discovered a major fail - my SD Card (filesystem?!) was destroyed... Not sure why and how... I am trying to recap... maybe a new issue - maybe just bad luck with the SD card not sure
After fixing the SD Card, I will test the merge and comment again...
Can this one be closed?
I will close this issue. Thanks for fixing. If there is anything left, I will re-open again.