ratgdo / mqtt-ratgdo

ratgdo via mqtt
GNU General Public License v2.0
76 stars 16 forks source link

889LM flashing red and yellow on ratgdo command #68

Open FeatherKing opened 5 months ago

FeatherKing commented 5 months ago

Hi, I have 4 ratgdo installed, 1 is security 2.0 and 3 are security+. Everything is working on emulation mode, but I just moved one of the security+ wall panels from a doorbell to an 889LM to test it out (emulation mode worked for all doors)

When i hooked up the 889LM it flashes quickly red+yellow (manual indicates this is charging it battery) then the light goes solid yellow. During this time the ratgdo correctly shows all status updates in home assistant/mqtt. Wall panel works, wireless remote works. When I issue commands over mqtt, the wall panel flashes slowly red+yellow (manual indicates this wall panel isnt compatible with my opener). After a few reboots of the wall panel, it eventually goes solid yellow and everything works again.

edit* i also reflashed with 2.57 and erased everything just to be sure it was setup correct.

I can go back to emulation mode, but I expected this to work? Logs are attached. garage-south-889LM-log.txt

PaulWieland commented 5 months ago

Yes 889LM should work (mine does). ratgdo should hear the serial data and stop emulation mode (which you can see happening in your log). What I can't tell is what's causing the 889LM to drop off and restart it's sync. I see you sent a number of mqtt commands, how long did you wait between each one?

FeatherKing commented 5 months ago

i wasnt sure how to add a good timestamp in the logs, so near the end where there is a lot of looped output, i waited for a full cycle:

1    3A4C 3900 3A4C 3855  | door state: 55 1010101
2    3A4C 3900 3A4C 3855  | door state: 55 1010101
3    3A4C 3900 3A4C 3855  | door state: 55 1010101
4    QUEUE MSG ARRIVED [ratgdo-garage-south/command/light] 
5    off
6    MQTT: turn the light off
7    3A4C 3233 33FE 3131 Door state syncing
8    QUEUE MSG SENT [ratgdo-garage-south/status/door] 
9    syncing
10    3131 313F 3131 3131 3535 3333 3855  | door state: 55 1010101
11    Door state closed

the time between 6 and 7 was at least 5 minutes. the wall panel reset 2 or 3 times before it finally went solid yellow. I can get another log tonight. let me know if you want me to try any other steps or a different sequence. In my testing yesterday this was always constant:

the wall panel would be solid yellow
send a command through HA/MQTT
the log output would print the command
the opener would perform the command
but HA/MQTT topic would never get the result of the command
wall panel would flash red+yellow
FeatherKing commented 5 months ago

wanted to add that this is a post-recall 889LM (manufactured Sep 2023)

FeatherKing commented 5 months ago

Just moved to the esphome secplus 1 to see if that would help and i still have the same behavior here. The logging through the esphome build doesnt seem to be quite as detailed as what i was pulling of the serial console. Status is all reported fine, obstruction, open/close, light, but if i issue a command the wall panel reboots a few times.

FeatherKing commented 5 months ago

log output from esphome

18:18:58    [D] [ratgdo:095]    
Door state=CLOSED
18:18:58    [D] [ratgdo:204]    
Light state=OFF
18:18:58    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:18:59    [D] [light:036] 
'Light' Setting:
18:18:59    [D] [light:047] 
  State: ON
18:18:59    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:21:29    [D] [ratgdo:095]    
Door state=CLOSED
18:21:30    [D] [ratgdo:204]    
Light state=ON
18:21:30    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:21:30    [D] [ratgdo:204]    
Light state=ON
18:21:30    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:21:30    [D] [ratgdo:204]    
Light state=ON
18:21:30    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:21:31    [D] [ratgdo:095]    
Door state=CLOSED
18:21:31    [D] [ratgdo:204]    
Light state=ON
18:21:31    [D] [ratgdo:210]    
Lock state=UNLOCKED
18:21:32    [D] [ratgdo:204]    
Light state=ON
18:21:32    [D] [ratgdo:210]    

wall panel was rebooting for about two minutes before the log output started again

Snuffy2 commented 4 months ago

I spent some time trying to grab some logs to help troubleshoot this as I believe I'm having the same issue. Opener: Craftsman 139.53975SRT1 Panel: 889LMMC ratgdo: 2.5i (MQTT 2.57)

Sequence of events:

The door takes approx 13 seconds to open and also to close

Power cycled ratgdo (changed from wall power to laptop)....

MQTT Open 1: esp-web-tools-logs - MQTT Open 1.txt

MQTT Close 1: esp-web-tools-logs - MQTT Close 1.txt

MQTT Open 2: esp-web-tools-logs - MQTT Open 2.txt

MQTT Close 2: esp-web-tools-logs - MQTT Close 2.txt

Power Cycle Garage Door (ratgdo remained on): esp-web-tools-logs - GDO Power Cycle.txt

MQTT Open 3: esp-web-tools-logs - MQTT Open 3.txt

MQTT Close 3: esp-web-tools-logs - MQTT Close 3.txt

Power Cycle ratgdo: esp-web-tools-logs - ratgdo Power Cycle.txt

MQTT Open 4: esp-web-tools-logs - MQTT Open 4.txt

MQTT Close 4: esp-web-tools-logs - MQTT Close 4.txt

Panel Open: esp-web-tools-logs - Panel Open.txt

Panel Close: esp-web-tools-logs - Panel Close.txt

MQTT Open 5: esp-web-tools-logs - MQTT Open 5.txt

MQTT Closed 5: esp-web-tools-logs - MQTT Close 5.txt

Note: It would be very helpful if a timestamp or some other counter could be added to the logs

geophilips commented 4 months ago

I can second this. A couple of days ago, I switched out my old wall panel for an 889LM. After charging, it worked for a bit, then started randomly opening and closing, with the incompatible lights flashing. Finally, it stopped midway, at which point I disconnected the power and reconnected my old panel.

Unfortunately, since I only had a little bit of time, I couldnt get any logs (also my ratgdo wont reconnect after a reboot without me toggling between channels 6 and 11 on my 2.4ghz network.)

Following this issue therefore. thanks!