bombadiltom / homebridge-rademacher-homepilot

MIT License
26 stars 21 forks source link

Failure on startup ("Cannot update reachability on non-bridged accessory") #52

Closed downloard closed 4 years ago

downloard commented 4 years ago

I tried to connect my Homepilot2 the first time. I have installed 2 blinds. With homebridge 1.0.3 I got the following stack trace on startup:

[2020-6-9 16:59:44] [RademacherHomePilot] Found blinds: Rollo Links -  [2]
[2020-6-9 16:59:44] Error: Cannot update reachability on non-bridged accessory!
    at Accessory._this.updateReachability (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge\node_modules\hap-nodejs\src\lib\Accessory.ts:399:13)
    at PlatformAccessory.updateReachability (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge\src\platformAccessory.ts:124:34)
    at new RademacherBlindsAccessory (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\accessories\RademacherBlindsAccessory.js:43:20)
    at RademacherHomePilot.addBlindsAccessory (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\index.js:247:40)
    at C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\index.js:54:38
    at Array.forEach (<anonymous>)
    at handleActuators (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\index.js:46:34)
    at Request._callback (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\accessories\RademacherHomePilotSession.js:117:13)
    at Request.self.callback (C:\Users\Hatsch\AppData\Roaming\npm\node_modules\homebridge-rademacher-homepilot\node_modules\request\request.js:185:22)
    at Request.emit (events.js:310:20)

I have another homebridge V0.4.50 and here it works fine.

Found some similar issue here with follwing hint: Looks like updateReachability has been deprecated and is not required. [...]