andig / homebridge-fritz

Homebridge platform for Fritz!Box router and supported DECT devices
MIT License
74 stars 21 forks source link

wifi.js TypeError: Cannot read property 'actions' #69

Closed robertoschwald closed 4 years ago

robertoschwald commented 5 years ago

This issue was closed in #47 but is still present.

FB 6490, FritzOS 7.0.2 homebridge-fritz 0.8.0

TypeError: Cannot read property 'actions' of undefined
  at FritzWifiAccessory.getOn (/usr/local/lib/node_modules/homebridge-fritz/lib/accessories/wifi.js:96:22)
  at FritzWifiAccessory.update (/usr/local/lib/node_modules/homebridge-fritz/lib/accessories/wifi.js:158:5)
  at ontimeout (timers.js:482:11)
  at tryOnTimeout (timers.js:317:5)
  at Timer.listOnTimeout (timers.js:277:5)
andig commented 5 years ago

Could you add logging inside the tr64 to see why actions isnt defined? I cannot repro this on my fb. Do you have a current firmware?

robertoschwald commented 5 years ago

FW is current. It's a cable box provided by my ISP, so no chance to get a newer version unless the ISP updates. Current FW on FB 6490 free versions is 7.10 (one version newer than mine, available since end of May '19).

Some error handling would be great to avoid crashing of homebridge. Is it possible to disable the WLAN checks completely? I don't need it for now, as I'm only interested in my DECT200 sensors. Deactivated homebridge-fritz here for now.

robertoschwald commented 5 years ago

Will add tr64 logging as soon as my RP 3B+ is up again. Currently its upgrading to Buster.

andig commented 5 years ago

You could just wifi.display=false but I would appreciate if we could traxk down the root cause as it seems to be reappearing.

robertoschwald commented 5 years ago

I changed to homebridge-fritz-platform, so I'm afraid I can't help here anymore.

andig commented 4 years ago

Closing due to missing feedback.