NickChristensen / homebridge-unifi-block-clients

Homebridge plugin to control devices on a Unifi network
8 stars 2 forks source link

ERROR: TypeError Cannot read property #7

Open suxus-zz opened 3 years ago

suxus-zz commented 3 years ago

Hello

I have currently this problem when i run your plugin. I have a Unifi DreamMachine Pro and i will control my AppleTV.

(node:8979) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'filter' of undefined at /usr/local/lib/node_modules/homebridge-unifi-block-clients/dist/index.js:156:30 at processTicksAndRejections (internal/process/task_queues.js:93:5) (Usenode --trace-warnings ...to show where the warning was created)

My config.json looks like this { "platform": "unifiBlockClients", "name": "Unifi Block Clients", "username": "USER-FROM-WEBGUI", "password": "PASS-FROM-WEBGUI", "controllerUrl": "https://192.168.88.1", "clients": [ "90:dd:5d:a5:65:3c" ] }

Have you a idea whats my problem? Is it purhaps a problem that i have a UDM?

regards

Zinski commented 3 years ago

same issue with a cloud key gen2. I guess it has to do with the latest Firmware

suxus-zz commented 3 years ago

Check this