Closed russellkmoore closed 3 months ago
Thanks for the report. Everything appears correct. HBR’s doing what it should.
The problem is the ESPHome 2024.5.0 firmware is quite buggy and was just released…you seem to have been caught up in it. If you’re comfortable with all-things-command-line I would recommend reflashing your Ratgdos with the prior ESPHome firmware 2024.4.2. Your best bet to do that is to download the Docker ESPHome 2024.4.2 image and install it.
You can use the YAML on the HBR home page, or you can grab it off the Ratgdo homepage if you prefer - mine’s a bit more tailored and specific, but either work great.
Docker command reference for ESPHome here.
Bug report 5793 on the ESPHome
Best of luck…generally speaking ESPHome is rock solid…this is just an unfortunate regression on their part. I also wouldn’t advise upgrading a whole lot either…it’s a very simple device that you only need to do one thing correctly. The rest, HBR deals with. 😄
Hoping my notes help anyone else who runs into this.
I've flashed with the 2024.4.2 firmware. Note that for both of my devices, I had to run the "compile and upload" step twice. First time it would error during upload at about 12% and throw "IndexError: list index out of range" - just run it again and it completes
I agree, your YAML is nice at least to be able to set the names. Note that the hostname should match where you have set it previously (at least on Mac) so the .local resolution works. For me I believe this was cached in my UniFi Network setup (see "hostname" entry in detail panel - needs to match what you put in yaml file - e.g. name: "small-garage-door-controller"):
Clicking on actions in Homebridge produced immediate log lines in the device admin UI, and everything still reflected and works in homebridge UI as it did before:
HOWEVER Initially it still showed as "No Response" in Home app on phone, nothing was controllable. Then opened Home app on desktop and it no longer showed "No Response" but did show incorrect state, and was also not controllable.
Power cycled the AppleTV that was acting as the home hub. Within a minute, this seemed to fix everything everywhere.
I don't understand how the buggy firmware affected the state and controls pushed between Homebridge and Home, but apparently you are correct and this fixed it.
Thank you so much for your help! I abandoned the HomeKit connection versions linked to from the RATGDO GitHub page because after a few days the device would just become non-responsive, and would usually require a re-flash to get connected again. Hoping that was all due to the firmware issues in esphome.
I suspect so. Also...switching between ESPHome and non-ESPHome firmwares can do goofy things to the flash layout.
TL;DR: ESPHome is tried and true (2024.5.x notwithstanding). You shouldn't need to upgrade/update the firmware unless you are OCD (sadly I am...), but be prepared to roll back if needed. 99% of what HBR does not need anything special and really, Ratgdo is the kind of thing that you want to get up and running and never look at the firmware/environment again...and by and large you can do that.
HBR is where the "magic" as it were lives that provides some of the more feature-rich capabilities (occupancy, etc). My philosophy is - keep the Ratgdo as simple as possible and don't overcomplicate it. I just need it to expose door control, light control, motion, etc...I deal with the heavy lifting in HBR to make it all fancy.
It's been rock solid for me for quite some time since pivoting HBR over to the ESPHome firmware. It's nice to have a solution that "just works". 😄
Glad you're up and running!
This issue is locked to prevent necroposting on closed issues. Please create a new issue for related support requests, bug reports, or feature suggestions.
Homebridge Ratgdo
2.2.0
Homebridge Platform and OS
Raspbian GNU/Linux Buster (10)
Homebridge Version
v1.8.2
Node Version
v18.18.2
Ratgdo ESPHome Firmware Version
2024.5.0
Describe the problem
New install. was able to successfully put firmware on 2 separate 2.53i boards (for 2 doors, both Liftmaster 8500W). Successfully installed Homebridge RATGDO plugin, set up child bridge. Accessories showed up in Hombridge Accessory panel. Successfully added child bridge to Home app, and it saw the 2 garage door openers. Set Both Up, Separated Tiles to show Garage Door, Light, Motion Sensor, and Switch for each. All show "no response" from the get-go in Home. In Homebridge, all are reporting in and controllable as expected. Have tried reinstalling plugin, restarting bridge, removing and re-adding bridge to home, and waiting several minutes with no success.
Homebridge HBR JSON configuration
Relevant log output
Acknowledgment that you are only running non-beta firmware releases from Apple, ESPHome, or Ratgdo