Closed seer14 closed 1 month ago
Thanks for raising the issue. Sorry about that! Should be addressed in v2.4.0 that I just released. Can you give that a try?
No worries. I didn't anticipate a fix so quickly so i sought alternatives :) and instead used the ratgdo for HomeKit installer and was able to get this working and installed.
I have the "case"/ "holster" on order to give the Ratgdo a bit more protection where it is mounted. When the "holster" comes in and I have to manipulate the device, I'll see if I can re-flash at that time and give you some feedback.
Thanks again for the quick response.
Cheers,
Sean
---- On Mon, 30 Sep 2024 15:10:58 -0500 hjdhjd @.***> wrote ---
Thanks for raising the issue. Sorry about that! Should be addressed in v2.4.0 that I just released. Can you give that a try?
— Reply to this email directly, https://github.com/hjdhjd/homebridge-ratgdo/issues/22#issuecomment-2384059411, or https://github.com/notifications/unsubscribe-auth/ATTPXMISZUABKGJ5STB4M63ZZGV5FAVCNFSM6AAAAABPDMLZHCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBUGA2TSNBRGE. You are receiving this because you authored the thread.
Enjoy. It’s also a terrific solution, depending on your needs.
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
v2.3.3
Homebridge Platform and OS
LXC Container on Proxmox host
Homebridge Version
v1.8.4
Node Version
v20.16.0
Ratgdo ESPHome Firmware Version
v2024.9.1
Describe the problem
Just got around to flashing and installing ESPHome on my Ratgdo and trying to connect it to HomeBridge via this plugin.
I get the following "Crash - TypeError: Cannot read properties of undefined (reading 'length')" error and crash
[9/30/2024, 8:50:25 AM] [Ratgdo] Restarting Process... [9/30/2024, 8:50:25 AM] [Ratgdo] Launched child bridge with PID 265954 [9/30/2024, 8:50:25 AM] Registering platform 'homebridge-ratgdo.Ratgdo' [9/30/2024, 8:50:25 AM] [Ratgdo] Loaded homebridge-ratgdo v2.3.3 child bridge successfully [9/30/2024, 8:50:25 AM] Loaded 1 cached accessories from cachedAccessories.0E44065233C7. [9/30/2024, 8:50:25 AM] Homebridge v1.8.4 (HAP v0.12.2) (Ratgdo) is running on port 45863. [9/30/2024, 8:50:25 AM]
NOTICE TO USERS AND PLUGIN DEVELOPERS
[9/30/2024, 8:50:25 AM] [Ratgdo] Discovered: ratgdov2.5i f9e528 (address: 192.168.1.195 mac: 083A8DF9E528 ESPHome firmware: v2024.9.1). [9/30/2024, 8:50:25 AM] [Ratgdo] Configuring: ratgdov2.5i f9e528 (address: 192.168.1.195 mac: 083A8DF9E528 ESPHome firmware: v2024.9.1). TypeError: Cannot read properties of undefined (reading 'length') at RatgdoAccessory.get name [as name] (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-device.ts:1296:13) at RatgdoAccessory.configureGarageDoor (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-device.ts:264:102) at RatgdoAccessory.configureDevice (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-device.ts:107:10) at new RatgdoAccessory (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-device.ts:95:10) at RatgdoPlatform.configureGdo (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-platform.ts:389:36) at RatgdoPlatform.discoverRatgdoDevice (file:///var/lib/homebridge/node_modules/homebridge-ratgdo/src/ratgdo-platform.ts:137:34) at Browser.emit (node:events:519:28) at Browser.addService (/var/lib/homebridge/node_modules/homebridge-ratgdo/node_modules/bonjour-service/src/lib/browser.ts:140:14) at /var/lib/homebridge/node_modules/homebridge-ratgdo/node_modules/bonjour-service/src/lib/browser.ts:111:26 at Array.forEach ()
[9/30/2024, 8:50:25 AM] [Ratgdo] Child bridge process ended
[9/30/2024, 8:50:25 AM] [Ratgdo] Process Ended. Code: 1, Signal: null
[9/30/2024, 8:50:32 AM] [Ratgdo] Restarting Process...
Homebridge HBR JSON configuration
Relevant log output
Acknowledgment that you are only running non-beta firmware releases from Apple, ESPHome, or Ratgdo