Closed cribbstechnologies closed 11 months ago
The wall button doesn't tell ratgdo anything, the door opener does. If you can share the serial log I can have a look at whats going on.
I wonder if some of the troubleshooting we did at this issue might help: https://github.com/ratgdo/mqtt-ratgdo/issues/8
Some of this sounds similar to the errant behavior of the light on a security 1.0 gdo we noted in that ticket.
It's the same wall button as in that issue
On Tue, Nov 28, 2023, 6:12 PM Nick Gruszauskas @.***> wrote:
I wonder if some of the troubleshooting we did at this issue might help:
8 https://github.com/ratgdo/mqtt-ratgdo/issues/8
Some of this sounds similar to the errant behavior of the light on a security 1.0 gdo we noted in that ticket.
— Reply to this email directly, view it on GitHub https://github.com/ratgdo/mqtt-ratgdo/issues/13#issuecomment-1830906179, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAMPE7PXOJKPJWPJ7B2WVPDYGZVVZAVCNFSM6AAAAAA75AA63CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZQHEYDMMJXHE . You are receiving this because you authored the thread.Message ID: @.***>
I have observed a similar issue, sec+1, same type of dumb button as in the previously mentioned issue. In my case, the light was on, the wall button didn't turn it off. Turning it off from HA worked, but then a few seconds later it would turn on again. It eventually timed out and turned off on it's own.
You may want to try the latest build. It's quite likely that this missing equal sign was the issue.
The bug was introduced in 560d12b
Yep, this fixed it.
You may want to try the latest build. It's quite likely that this missing equal sign was the issue.
855dc8d#diff-eb8d72295e2ba240be79284d727e11c809b444e218accf5298b02370e1c554e4R600
The bug was introduced in 560d12b
Just hooked it up today and the open/close/opening/closing status work great. The obstruction detection works great. Opening/closing works great. If I turn the light on in Home Assistant it comes on but turns off in a few seconds. MQTT output looks like this
Seems ratgdo doesn't keep track that it was told to turn on and just updates based on whatever the wall button tells it.
I started digging through code and it looks like that's exactly what it's doing.
The status update loop calls this https://github.com/ratgdo/mqtt-ratgdo/blob/2.5/src/ratgdo.cpp#L256 which sets the status based on what it's reading from the serial port.
Then it does the dry contact loop
Then this: https://github.com/ratgdo/mqtt-ratgdo/blob/2.5/src/ratgdo.cpp#L444
The dumb switch doesn't do any keeping of state, does it?