Skip to content
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

Can read state but not control door #122

Open
rob121 opened this issue Nov 23, 2023 · 24 comments
Open

Can read state but not control door #122

rob121 opened this issue Nov 23, 2023 · 24 comments

Comments

@rob121
Copy link

rob121 commented Nov 23, 2023

Issue: I can read the state of the door, obstruction etc. but cannot control the door

Wiring appears ok, my thought is that it's some kind of rolling code issue? It's a security 2.0 liftmaster door. It's a brand new install is there not some kind of configuration for pairing to the door or something?

@mariusmuja
Copy link
Collaborator

No pairing is needed. It could be a rolling code issue, but it's unlikely since the Client ID is selected randomly and it's not likely that another device with the same ID was connected to the opener. To be sure, you can go to the device settings page in HA (or the web page of the device) and increase the "Client ID" to the next value, so it would be seen by the opener as new device.

If it still doesn't work it's likely a wiring/hardware issue between the TX pin and the opener data line.

@rob121
Copy link
Author

rob121 commented Nov 23, 2023 via email

@mariusmuja
Copy link
Collaborator

What does "If it still doesn't work it's likely a wiring/hardware issue between the TX pin and the opener data line." mean? What do I do to resolve that?

Since you are able to receive you must have the wiring correctly, because it's the same wire used for both transmit and receive. What version of the ratgdo board are you using? Make sure you are using the firmware matching that version. Is it possible that you are using a FW for board v2.0 on a v2.5 board (or the other way around)? Since the TX pin has been changed between the two board versions, it could result in the issue you're having.

@rob121
Copy link
Author

rob121 commented Nov 23, 2023 via email

@rob121
Copy link
Author

rob121 commented Nov 23, 2023 via email

@beeldubz
Copy link

I'm having this issue as well. I had it working for a night but the next time I tried it it had stopped working. I did add it to the esphome add on in home assistant. Would this issue be possible if I put the d1 mini on backwards? Or would it just not work? Otherwise I'm not sure what caused the issue for me.

@beeldubz
Copy link

In homeassistant I get an error saying "Failed to communicate with garage opener on startup; Check the Garage door Rolling code counter number entity history and set the entity to one number larger than the largest value in history. ESPHome devices" I'm not sure if it's related but I do update the rolling code and still am unable to control the door but I'm still able to see accurate readings of the door.

@HAJourney
Copy link

I'm having similar issues. I have a 2.5 board and flashed with ESPHome. I can see that the door is open or closed, but can't turn the light on or close the door. Below is some of the output. My WiFi signal may be a bit low at -77db. Thanks,

14:23:39 | [W] | [component:214] | Component preferences took a long time for an operation (0.10 s). 14:23:39 | [W] | [component:215] | Components should block for at most 20-30ms. 14:23:47 | [D] | [cover:076] | 'Door' - Setting 14:23:47 | [D] | [cover:084] | Position: 0% 14:23:47 | [D] | [number:012] | 'Rolling code counter': Sending state 90.000000 14:23:49 | [D] | [esp8266.preferences:238] | Saving preferences to flash... 14:23:49 | [W] | [component:214] | Component preferences took a long time for an operation (0.10 s). 14:23:49 | [W] | [component:215] | Components should block for at most 20-30ms.

'14:28:57 | [C] | [wifi:559] | WiFi:
14:28:57 | [C] | [wifi:391] | Local MAC: 50:02:91:77:84:5D
14:28:57 | [C] | [wifi:396] | SSID: �[5m'Middle_Earth'�[6m
14:28:57 | [C] | [wifi:397] | IP Address: 192.168.2.186
14:28:57 | [C] | [wifi:398] | BSSID: �[5mE0:63:DA:3D:5B:3D�[6m
14:28:57 | [C] | [wifi:400] | Hostname: 'ratgdov25i-77845d'
14:28:57 | [C] | [wifi:402] | Signal strength: -77 dB �[0;33m▂▄�[0;37m▆█�[0m
14:28:57 | [C] | [wifi:406] | Channel: 11
14:28:57 | [C] | [wifi:407] | Subnet: 255.255.255.0
14:28:57 | [C] | [wifi:408] | Gateway: 192.168.2.1
14:28:57 | [C] | [wifi:409] | DNS1: 192.168.2.1
14:28:57 | [C] | [wifi:410] | DNS2: 0.0.0.0
14:28:57 | [C] | [logger:416] | Logger:
14:28:57 | [C] | [logger:417] | Level: DEBUG
14:28:58 | [C] | [logger:418] | Log Baud Rate: 115200
14:28:58 | [C] | [logger:420] | Hardware UART: UART0
14:28:58 | [C] | [ratgdo.number:021] | RATGDO Number 'Rolling code counter'
14:28:58 | [C] | [ratgdo.number:021] | Unit of Measurement: 'codes'
14:28:58 | [C] | [ratgdo.number:025] | Type: Rolling Code Counter
14:28:58 | [C] | [ratgdo.number:021] | RATGDO Number 'Opening duration'
14:28:58 | [C] | [ratgdo.number:021] | Unit of Measurement: 's'
14:28:58 | [C] | [ratgdo.number:027] | Type: Opening Duration
14:28:58 | [C] | [ratgdo.number:021] | RATGDO Number 'Closing duration'
14:28:58 | [C] | [ratgdo.number:021] | Unit of Measurement: 's'
14:28:58 | [C] | [ratgdo.number:029] | Type: Closing Duration
14:28:58 | [C] | [ratgdo.number:021] | RATGDO Number 'Client ID'
14:28:58 | [C] | [ratgdo.number:023] | Type: Client ID
14:28:58 | [C] | [switch.gpio:068] | GPIO Switch 'Status door'
14:28:58 | [C] | [switch.gpio:090] | Restore Mode: always OFF
14:28:59 | [C] | [switch.gpio:031] | Pin: GPIO16
14:28:59 | [C] | [switch.gpio:068] | GPIO Switch 'Status obstruction'
14:28:59 | [C] | [switch.gpio:090] | Restore Mode: always OFF
14:28:59 | [C] | [switch.gpio:031] | Pin: GPIO15
14:28:59 | [C] | [gpio.binary_sensor:015] | GPIO Binary Sensor 'Dry contact open'
14:28:59 | [C] | [gpio.binary_sensor:016] | Pin: GPIO14
14:28:59 | [C] | [gpio.binary_sensor:015] | GPIO Binary Sensor 'Dry contact light'
14:28:59 | [C] | [ratgdo.sensor:012] | RATGDO Sensor 'Openings'
14:28:59 | [C] | [ratgdo.binary_sensor:036] | RATGDO BinarySensor 'Motion'
14:28:59 | [C] | [ratgdo.binary_sensor:036] | RATGDO BinarySensor 'Button'
14:28:59 | [C] | [ratgdo.light:014] | RATGDO Light
14:28:59 | [C] | [homeassistant.time:010] | Home Assistant Time:
14:28:59 | [C] | [ota:097] | Over-The-Air Updates:
14:28:59 | [C] | [improv_serial:032] | Improv Serial:'

@the-smart-home-maker
Copy link

the-smart-home-maker commented Dec 26, 2023

I have the same problem. I have the 2.5i RATGDO hardware wired to a Chamberlain ML 700 EV device. I have installed ESPHome and I get the state of the obstruction sensor correctly but that's all state information I get. No opening status, no motor information etc. and I also can not control anything. The rolling code is increasing steadily - is that normal? I am pretty sure that the wiring is correct. I can still control everything via the wall button as well as via MyQ, but not via RATGDO. What could be the issue here?

@the-smart-home-maker
Copy link

I have the same problem. I have the 2.5i RATGDO hardware wired to a Chamberlain ML 700 EV device. I have installed ESPHome and I get the state of the obstruction sensor correctly but that's all state information I get. No opening status, no motor information etc. and I also can not control anything. The rolling code is increasing steadily - is that normal? I am pretty sure that the wiring is correct. I can still control everything via the wall button as well as via MyQ, but not via RATGDO. What could be the issue here?

Ok I got the solution for my case. In my case, as I have the ML700EV, the solution is that I have to connect the red wire not to the red terminal on the opener which is numbered with 1 but to the green one left to it which is numbered 0!

image

@lmatter
Copy link

lmatter commented Jan 1, 2024

I was having a similar problem. It was working, then I decided to "Adopt" the device in my Esphome add-on, and it stopped being able to control the door (still read the state just fine). I also got the rolling code error.
What fixed it for me was reinstalling the firmware, deleting the device from Home assistant, and letting it get rediscovered.
Then I hit a different problem, it complained that the config didn't have API in it. I rebooted both ratgdo and HA and then I was able to configure it after that.
UPDATE: It's stopped working again.
2nd UPDATE: I realized I updated the Esphome firmware (at HA's suggestion) which I think caused it to stop working. I reflashed the original Esphome ratgdo firmware and it's working again. Moral, don't touch it after that.

@Nimda11
Copy link

Nimda11 commented Jan 2, 2024

I am also having this issue. Circa 2018 LM 2.0 (Yellow Button) Jack Mount. Obstruction works, door control doesn't. RATGDO shows the door is open actually. RATGDO 2.5i, pretty sure I've flashed it correctly. Swapped out wires, wall button works fine.

Tried Reflashing, after removal from ESPHome and HA.

Similar logs to above

22:47:02 | [W] | [component:214] | Component preferences took a long time for an operation (0.06 s).
22:47:02 | [W] | [component:215] | Components should block for at most 20-30ms.

@PaulWieland
Copy link
Contributor

Circa 2018 LM 2.0 (Yellow Button) Jack Mount.

What’s the model number?

@Nimda11
Copy link

Nimda11 commented Jan 2, 2024

Lift Master 8500

@LSR19
Copy link

LSR19 commented Jan 10, 2024

I am having the same problem as others are reporting. I recently installed a Ratgdo v2.5 board using MQTT to control my LiftMaster LM8550W door opener. When I installed the board a week or so ago, everything worked perfectly. Today, though, my Home Assistant accurately reports the state of the garage door and light, but cannot control either. I have no idea why. The wiring is correct, because otherwise it would not have worked when first installed and Home Assistant now would not be showing the state of the door or light. Does anyone have a solution for this, or at least what to try to get this to work again? I've read all the posts in this thread, but didn't see a solution to the problem.

EDIT - I just did an OTA update to the most recent firmware (from 2.56 to 2.57) but that didn't correct the problem.

@restauffer
Copy link

I am having the same problem as others are reporting. I recently installed a Ratgdo v2.5 board using MQTT to control my LiftMaster LM8550W door opener. When I installed the board a week or so ago, everything worked perfectly. Today, though, my Home Assistant accurately reports the state of the garage door and light, but cannot control either. I have no idea why. The wiring is correct, because otherwise it would not have worked when first installed and Home Assistant now would not be showing the state of the door or light. Does anyone have a solution for this, or at least what to try to get this to work again? I've read all the posts in this thread, but didn't see a solution to the problem.

EDIT - I just did an OTA update to the most recent firmware (from 2.56 to 2.57) but that didn't correct the problem.

A few comments:

  1. If you installed MQTT version you should post this in the MQTT Github repository, (https://github.com/ratgdo/mqtt-ratgdo/issues) not the one for ESPHome.

  2. Include a log file showing traffic while you are trying commands.

I am not the person who can help you once you do those things but doing them will more quickly get you help from someone who has the expertise.

Good luck getting it working. You may be helping others as well as yourself.

@LSR19
Copy link

LSR19 commented Jan 10, 2024

Hi - thanks for your post. I'm somewhat new to all of this, and wasn't aware of the other repository. I'll post there.

However, for this repository, this is apropos: I just re-flashed my v2.5i board to use ESPHome instead of MQTT, and it's working perfectly again. The ESPHome version seems much better. at least because there are many more sensors and switches/buttons available. If it goes down again, I'll post here.

@Nimda11
Copy link

Nimda11 commented Jan 15, 2024

Lift Master 8500

I'm just circling back to this issue. In my case I am being affected by the issue reported here Issue 62.

Am running a jack mount LM 8500 circa 2018 with a LM888 controller/button (came with the gdo), which to my understanding supports S+2 for wireless, but the wired protocol is still S+1. I verified this by flashing the MQTT firmware (2.57) and once flashed setting the protocol to S+1 in the ratgdo firmware. Everything works.

I'd rather run ESP, and will await a new build that I presume will be created as a result of the work described in the linked issue above. Hope this helps someone else, I think the relevant part of my build is the LM888 which only speaks S+1 over the wire.

@bobbyschuitemaker
Copy link

I have the same problem. I have the 2.5i RATGDO hardware wired to a Chamberlain ML 700 EV device. I have installed ESPHome and I get the state of the obstruction sensor correctly but that's all state information I get. No opening status, no motor information etc. and I also can not control anything. The rolling code is increasing steadily - is that normal? I am pretty sure that the wiring is correct. I can still control everything via the wall button as well as via MyQ, but not via RATGDO. What could be the issue here?

Ok I got the solution for my case. In my case, as I have the ML700EV, the solution is that I have to connect the red wire not to the red terminal on the opener which is numbered with 1 but to the green one left to it which is numbered 0!

image

Hero! that was the solution! thanks

@edfield
Copy link

edfield commented Apr 2, 2024

Having same problem

opener liftmaster 3585P
control panel 889LM
ratgdo 2.5i
ESPhome Sec 1+

Control panel is basically dead, yellow light is on but nothing else works.. Door won;t open using HA, ratgdo webpage, or the control panel. Toggling the light from HA shows on, then goes off a few seconds later. HA shows door is open, but door is closed.

These errors keep repeating in the ratgdo webpage.

16:09:21 [W] [ratgdo_secplus1:262] [2437280] Discard incomplete packet: [39 ...]
16:09:21 [W] [ratgdo_secplus1:262] [2437413] Discard incomplete packet: [3A ...]

HAS log
home-assistant_2024-04-02T21-25-14.274Z.log

@restauffer
Copy link

@edfield I think others will be better able to help you if you send the log from esphome rather than the HA log.

That said, I have a Sec1+ GDO and the 889LM panel and it has worked fine for months until an incident this weekend. It started with an approx 60 second power failure to the whole house. When power came back on I noticed the garage door had opened on its own, There were also some other strange occurrences such as the door opening when I turned on the light. When I looked at the esphome log it had quite a few of the same error you included in your email ([W] [ratgdo_secplus1:262] [2437280] Discard incomplete packet: [39 ...]). I rebooted the ratgdo board (power cycled) while the GDO was already powered and all began working properly again.

I have a theory on why his happened but won't get into it here. The upshot is, with the GDO powered, unplug the power from the ratgdo. If my theory is correct, the wall panel will start to work again. Now, apply power to the ratgdo again. Give it a bit to reboot and check is all works properly. If my routine does not solve the problem, then post the log from your esphome instance for the ratgdo and wait for people smarter than me to reply.

@edfield
Copy link

edfield commented Apr 3, 2024

I had read about that issue after I posted this. There is also a newer firmware that was released yesterday. I will try some more next week as I have to go out of town this weekend. Will post back if I still can't get it working.

@kleinmantara
Copy link

kleinmantara commented May 8, 2024

Ok I got the solution for my case. In my case, as I have the ML700EV, the solution is that I have to connect the red wire not to the red terminal on the opener which is numbered with 1 but to the green one left to it which is numbered 0!

@the-smart-home-maker Hi, I also have an ML700EV and have measured terminal 0 (signal) and 2 (GND) with an oscilloscope. But I don't see any data, only a stable voltage. I also disconnected the button for the gate (open/closed) on terminals 1 and 2, same result no data on terminal 0.
Do you have to do anything else?
image

@the-smart-home-maker
Copy link

Ok I got the solution for my case. In my case, as I have the ML700EV, the solution is that I have to connect the red wire not to the red terminal on the opener which is numbered with 1 but to the green one left to it which is numbered 0!

@the-smart-home-maker Hi, I also have an ML700EV and have measured terminal 0 (signal) and 2 (GND) with an oscilloscope. But I don't see any data, only a stable voltage. I also disconnected the button for the gate (open/closed) on terminals 1 and 2, same result no data on terminal 0.

Do you have to do anything else?

image

@kleinmantara I have created a YouTube tutorial which also shows my wiring. Maybe this helps you?

https://youtu.be/JgKqJLtlx2A?si=0jWowgUIeuQFC4ED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests