Closed moesfeld closed 1 year ago
The tree view of MQTT explorer is not very useful in that case vs a time oriented log Could you please do the same but provide the console log? Web log is fine but please use text copy/paste and not screen shots. Thanks
@barbudor Hi, weblog output is in the inital Post:
16:50:12.388 CMD: Grp 0, Cmd 'CHANNEL', Idx 1, Len 2, Pld 67, Data '67' 16:50:12.395 MQT: kueche/leds/stat/RESULT = {"POWER1":"ON","Channel1":67,"POWER2":"OFF","Channel2":26,"POWER3":"OFF","Channel3":51,"POWER4":"OFF","Channel4":55,"Color":"AB43828C"} 16:50:13.942 CFG: Saved to flash at F5, Count 446, Bytes 4096
Not much to see there. Channel 1 is set to 67 and the Result reflects that. But kueche/leds/stat/POWER1 stays OFF. In the webgui it is ON. I can work around it in Openhab/ioBroker etc... by using the RESULT Jsonpath. But I still think it's a Bug.
I suggest to use SetOption90 1
to disable the non-JSON POWER messages
Okay, but to what end? As i said i could work around it with the JSON POWER messages. I just think this should be considered a bug as the non Json Power messages should still reflect the current state. Internal state seems correct to me.
The new power state has been correctly updated What you are looking at are old messages This is why I sais that MQTT explorer is not a good tool as you don't see the time-line Those POWER messages will not be resent as the updated state as already been provided in a json I suggest to remove the non json and focus only on json messages
Closing, since answered
PROBLEM DESCRIPTION
When using a multichannel LED-Controller (i.e. LS5P-TAS) with setoption68 ON the Powerstate in MQTT unter stat ist not updated when switching on the channel by setting its value.
REQUESTED INFORMATION
Make sure your have performed every step and checked the applicable boxes before submitting your issue. Thank you!
Backlog Template; Module; GPIO 255
:Status 0
:TO REPRODUCE
Steps to reproduce the behavior:
EXPECTED BEHAVIOUR
A clear and concise description of what you expected to happen. MQTT stat/POWER1 = ON
SCREENSHOTS
If applicable, add screenshots to help explain your problem.
ADDITIONAL CONTEXT
Add any other context about the problem here.
(Please, remember to close the issue when the problem has been addressed)