Isaksson / node-red-contrib-unifi

MIT License
52 stars 20 forks source link

Unifi node return empty payload #63

Closed Jozef73 closed 2 years ago

Jozef73 commented 2 years ago

Hi there, I can't get success to get work node-red-contrib-unifi. I tried what I could find on the web, but no help... It returns empty payload, node itself shows OK stat.

Version 0.1.16.

Any advice please?

thank you jozef flow payload

Isaksson commented 2 years ago

Hello. What command have you selected in the Node?

Jozef73 commented 2 years ago

Hello,

I actually tried several commands. like you see here command

Not only from list, but also using inject node or function node, from samples on internet. Seeing your post, also used port 443, but another error occured. Posting only IP and port without user/pass on SitesStats, no return.

Isaksson commented 2 years ago

I see, the port should be what is used by the controller 8443 for older versions and 443 for Unifi OS, standard ports it's possible to change to different port also.

I don't know what controller you use but have you tried selecting the Unifi OS and change to port 443?

Jozef73 commented 2 years ago

Thank you, I'm using Dream Machine Pro, ver. 1.10.4. Selecting the Unifi OS and change to port 443 helps, it can return payload with data.

Thanks again!

Isaksson commented 2 years ago

Great that it solved the issue.