Isaksson / node-red-contrib-unifi

MIT License
52 stars 20 forks source link

ClientDevices returns empty array #11

Closed BRT917 closed 5 years ago

BRT917 commented 5 years ago

Hi, the ClientDevices command is returning an empty array in msg.payload for me. I have verified that I am connecting and running commands successfully as the AccessDevices command returns an array containing my two AP's in msg.payload.

more info: node-red-contrib-unifi v0.06 installed fresh from the UI, no custom commands are being sent I am connecting to a local cloudkey with build atag_5.10.17_11638 installed

Isaksson commented 5 years ago

Hello. I will take a look at this and get back to you.

Isaksson commented 5 years ago

I have now made some test against my environment and that commands provides me with an array with devices. My controller is atag_5.9.29_11384 I will update my controller to latest version and then I hope I could reproduce your issue.

Isaksson commented 5 years ago

I have now updated to latest version and the command is still working for me. atag_5.10.17_11638 Iam including a picture of my Node settings just to make sure that it is not a simple mistake unifi-clientdevices

BRT917 commented 5 years ago

Yeah mine is pretty much the same. So maybe it's an issue on my cloudkey/unifi side then. I'll investigate that further then. Here's mine config and the output I'm seeing.

image

Thanks for taking the time to check, and for creating a very helpful utility.