-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Garage door sometimes open when a light command is sent (Security+ 1.0 / 889LM) #226
Comments
@cjhesse I ran into the same issue with my Security+ 1.0/889LM setup, even down to the incomplete packets in the logs. My 889LM was acting weird, slow yellow/red flashing sometimes and rebooting itself. The door would sometimes open on its own, or if I commanded the light on/off via esphome. After some reading on Reddit, I saw someone mention that their ratgdo went into emulation mode even though they had a smart wall switch, because the 889LM took too long to boot and start sending serial messages the ratgdo could detect. So, after my 889LM was fully booted, I power-cycled the ratgdo. Instantly everything started working, and my logs are now 100% clean (no I may try to compile myself a version of the esphome firmware with the emulation code removed, just to prevent this happening in the future. |
Maybe try increasing this value from 35000 to 60000
|
@thedeacon While I've also had some erratic behavior after power (to the whole garage) is restored, I believe the issue I'm describing is different than emulation mode conflicts. Aside from those startup issues, the only times I've had uncommanded behavior was when something else was commanded. I've had no "random" or spontaneous uncommanded openings. To verify, I just rebooted my unit and send a handful of light on/off commands (spaced out, of course). While I still haven't reproduced an uncommanded door opening, I'm still getting the same, frequent incomplete packets around the time commands are sent, along with the occasional failure to turn the light on or off. I've also considered running a version of the firmware without emulation mode. It would be nice insurance against potentially unwanted behavior caused by power or connection issues. ... but again, I don't think that's the root cause of the issue I first described. |
@cjhesse Agreed, that sounds different than my issue. |
I need to remove the emulation mode and build locally. |
(Moving this from a comment in another issue because the cause was unrelated.)
On three separate occasions, a command to the opener's light resulted in the door opening. Unfortunately, I haven't been able to reproduce the issue while viewing the logs.
I discovered the issue when using an automation to turn the garage door light on when the door to the garage opened. When the automation was triggered:
The automation runs in "restart" mode, so it will stop the current instance and start over if it's triggered while still running.
This automation was in use with the ratgdo MQTT firmware for about a week with no issues prior to changing to the ESPHome firmware.
In lieu of ratgdo logs, here are the sequence of events in Home Assistant and Frigate (NVR):
Something similar has happened on two other occasions. Once, when the light was being commanded off (at the end of the automation) and once when the light was being commanded on. The sequences for the other two occasions were similar to what's described above, including some incorrect Home Assistant entries about the light turning on or off when it wasn't. For the occasion where the garage door was opened when the light was commanded off, for no amount of time did the light actually turn off.
I've since attempted (unsuccessfully) to reproduce the issue while logging. While I didn't get the door to open, I did capture a few instances of nothing occurring when a command was sent. I'm not sure if these are valuable, but here are a few samples:
Unless I'm able to reproduce it with logs, I'm not sure how much this can help in solving the issue.
The text was updated successfully, but these errors were encountered: