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

Obstruction status not working #119

Open
HyruleWarrior opened this issue Feb 22, 2024 · 11 comments
Open

Obstruction status not working #119

HyruleWarrior opened this issue Feb 22, 2024 · 11 comments

Comments

@HyruleWarrior
Copy link

So I set up two Liftmaster Security+ 2.0 garage doors a couple weeks ago and everything seems to be working as expected except the obstruction detection. When something blocks the door from closing HomeKit doesn't show any obstruction warning. Checking the device page on my network also shows Obstruction: false. Is there anything I can check to troubleshoot why this wouldn't be working? Wiring is correct as far as I can tell from the setup docs:

IMG_5256
IMG_5258

@jgstroud
Copy link
Collaborator

the symptoms sound like the sensors are mis-wired, but your pictures appear correct to me. I would check that you are actually getting good contact on each wire inside the terminal block. Also on the GDO side, I can't see any exposed copper, so double check those are actually pinching down on the copper and not the wire covering. Though, I don't think that side would cause this error.

@jgstroud
Copy link
Collaborator

I actually didn't wire my obstruction sensors into the RatGDO. I just connected the 3, red, white and black wires. I think the terminal blocks for the obstruction sensors was just to make connecting everything easier.

@HyruleWarrior
Copy link
Author

HyruleWarrior commented Feb 23, 2024

Also on the GDO side, I can't see any exposed copper, so double check those are actually pinching down on the copper and not the wire covering.

If these wires didn't have a good connection on either side wouldn't the obstruction sensors not be working at all? I thought this is just passing through the board to the GDO. I can block the sensors when doors are closing and the doors reverse, it's just that nothing shows up in HomeKit showing obstruction which is what I would expect.

@jgstroud
Copy link
Collaborator

Ah, yeah, that definitely sounds like it's all wired properly. I just double checked mine to make sure we didn't have a firmware regression, but it seems to be working. I'll have to think about this a bit more

@HyruleWarrior
Copy link
Author

Are there any logs I can get from device or other things I should check?

@jgstroud
Copy link
Collaborator

Yes there are logs but they can be a bit tricky to get. It logs to the serial console. So you need to connect the usb port to a PC / laptop / rpi / anything that can monitor the serial port.

@HyruleWarrior
Copy link
Author

Attached logs from a session:

  1. Opened door via control panel
  2. Closed door via HomeKit
  3. While door closing I tripped the sensor
  4. Door reversed and opened up
  5. Closed door again via HomeKit without obstructing

I see some evens where Obst1 and Obst2 packets are being ignored which seems suspicious:

>>> [ 218808] RATGDO: DECODED  00032490 000000308D5B5006 0000C084
>>> [ 218814] RATGDO: PACKET(0x5B5006 @ 0x32490) Obst1 - NoData: [Zero: 0x00000000, Parity: 0xC]
>>> [ 218823] RATGDO: Support for Obst1 packet unimplemented. Ignoring.
>>> [ 218900] RATGDO: reader completed packet
>>> [ 218904] RATGDO: DECODED  00032490 000000308D5B5006 2000F085
>>> [ 218911] RATGDO: PACKET(0x5B5006 @ 0x32490) Obst2 - NoData: [Zero: 0x20000000, Parity: 0xF]
>>> [ 218919] RATGDO: Support for Obst2 packet unimplemented. Ignoring.
>>> [ 218996] RATGDO: reader completed packet 

device-monitor-240301-234245.log

@jgstroud
Copy link
Collaborator

Recently found an issue causing some characteristics to not update properly. Fixed in #204 . Not sure if this is the same problem or not, but it may be fixed in 1.6.0.

@jameyers4
Copy link

jameyers4 commented Jul 23, 2024

Installed a ratgdo v2.5 running fw 1.6.0 last week. Obstruction detection works very well (device webpage, settings on device in Apple Home, and on Home page for device). From my point of view, this is now working.

Would it be possible to add a notification for Door Obstructed?

@dkerr64
Copy link
Collaborator

dkerr64 commented Aug 10, 2024

@HyruleWarrior please test with v1.7 (tagged as pre-release so select that checkbox on the firmware update dialog)

@jameyers4 v1.7.0 now has setting to trigger the motion sensor if obstruction is detected. We cannot add a separate "obstruction sensor" beyond what is built in to the HomeKit garage door opener accessory. There are reports that 3rd party HomeKit apps will let you trigger an automation (which could include a notification?) from the obstruction sensor.

@HyruleWarrior
Copy link
Author

@dkerr64 I actually switched off this firmware so I can't test it out. If I switch back I will post an update

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

4 participants