Incorrect pin state in GPIO command status report?
Posted: 31 Mar 2019, 11:00
Hi!
This is something I have noticed recently and I am pretty certain that it worked before:
Let's say my GPIO 13 is off and I send GPIO,13,1 to mqtt, I receive a status update of
The output is toggled, but the state value is still set to 0. If I send status request or another GPIO command, the reported state changes to 1. It looks like the status update is reported before the GPIO changes its state.
Can someone confirm, that this used to work? I checked several examples on this forum and they all seem to report correct GPIO state after switching.
Should I try another firmware or report a bug?
Thanks!
This is something I have noticed recently and I am pretty certain that it worked before:
Let's say my GPIO 13 is off and I send GPIO,13,1 to mqtt, I receive a status update of
Code: Select all
{
"log": "GPIO 13 Set to 1",
"plugin": 1,
"pin": 13,
"mode": "output",
"state": 0
}
Can someone confirm, that this used to work? I checked several examples on this forum and they all seem to report correct GPIO state after switching.
Should I try another firmware or report a bug?
Thanks!