seydx / homebridge-fritz-platform

AiO Homebridge dynamic platform plugin for AVM hardware like Fritz!Box, Fritz!Repeater etc.
MIT License
223 stars 32 forks source link

TypeError_ Cannot read properties of undefined #310

Open Seeeebi-sudo opened 1 year ago

Seeeebi-sudo commented 1 year ago
    Hi,

im getting the same error with FB 6591 over internet and 3 FDect 301 devices... They are showing up, but the sensors are greyed out. The log shows

[16/12/2022, 20:12:34] [FritzPlatform] TypeError: Cannot read properties of undefined (reading '$') at /var/lib/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:235:83 at Array.filter (<anonymous>) at Fritzbox.getSmarthomeDevices (/var/lib/homebridge/node_modules/homebridge-fritz-platform/node_modules/@seydx/fritzbox/lib/fritzbox.js:235:58) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Handler.poll (/var/lib/homebridge/node_modules/homebridge-fritz-platform/src/accessories/smarthome/smarthome.handler.js:1755:28)

I am on V 6.0.19 on a homebridge server on Raspberry Pi...

DO you need any other information?

Thanks! @seydx

Originally posted by @Seeeebi-sudo in https://github.com/seydx/homebridge-fritz-platform/issues/236#issuecomment-1355455800