ratgdo / homekit-ratgdo

A native HomeKit implementation of a Security+ 2.0 garage door controller based on ratgdo hardware
https://ratgdo.github.io/homekit-ratgdo/
GNU General Public License v3.0
214 stars 21 forks source link

Unable to sync to button #158

Closed jonathanjacob closed 4 months ago

jonathanjacob commented 6 months ago

I was running the mqtt version (using ratgdo 2.0) and wanted to try the homekit version instead. I erased/flashed successfully. I am able to see the door status on the website, but it I select any options(light/door close/open) I see "Collision detected, waiting to send packet" in the logs. How do I force a resync of the rolling code? I tried pressing and holding learn for 6 seconds, I also tried to click the wall button 3 times (when its flashing). Nothing seems to do it.

Thanks

jgstroud commented 6 months ago

Did you rewire it in the process? The collision detected is referring to the serial line. If you are always seeing this, then it thinks something is driving the serial line. This can also happen when the serial line is disconnected. Maybe the wire was pulled out.

jonathanjacob commented 6 months ago

I left it as is, only unplugged and connected to my machine from the usb power it was wired to.

I reflashed to esphome version and it's working.

jgstroud commented 6 months ago

Ok. Well if you want to give it another try I can try to help figure out what the problem is.