Closed hillbicks closed 3 years ago
What do you mean by "[object Object] message"?
Basically this is all I get. No message from the debug node.
Like I said, no matter whether I inset the SitesStas command via function node or in the unifi node directly. As I understood it, the StieStats command should work even if the sitename is empty. As long as:
This is where I'm stuck and I'm looking for hints what could be causing this.
Thanks
Okey, what Unifi controller do you have and could you access it from your docker container?
Same here... Can ping UDM-Pro from docker container. 0.1.15 Version UDM 5.14.22 / Firmware 1.8.0 Only shows [object Object] in node.status and no message at all.
Can read an error in nodered log in docker ERROR: Error: connect ECONNREFUSED 10.1.1.1:8443
If you have he UDM-Pro then you have to select the Unifi OS box.
Unifi OS box does not make any difference... Has the same behavior and error messages.
Unifi OS box does not make any difference... Has the same behavior and error messages.
Do you really use port 8443 on your UDM? Have you tested with 443?
That was it... Port 443 worked... How we find/change this? Thanks!
That was it... Port 443 worked... How we find/change this? Thanks!
Great that it works. I think its better to leave it as it is. On Unifi OS the default port is 443 and on the other controllers it is 8443.
I will add this to the documentation.
I have the same object Object message on a simple flow, controller version is 5.12.35.0
This is my configuration screen:
And your controller is not Unifi OS based? Like the UDM or UDM Pro?
Not UDM or UDM Pro. Interestingly, I have an old 0.0..6 version of Unifi node in another machine that is able to connect to the Unifi API without an issue.
On Tue, Sep 22, 2020, 1:09 PM Kristoffer Isaksson notifications@github.com wrote:
And your controller is not Unifi OS based? Like the UDM or UDM Pro?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Isaksson/node-red-contrib-unifi/issues/44#issuecomment-696952101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEVCTVGQNCS2MCPWVYXFWALSHD77ZANCNFSM4QTDNNXQ .
I have the same issue with an Cloud Key G2+. I tried every combination possible with UniFi OS and Ports. Any tips left?
[EDIT] My bad... had the firewall block the connection between two networks.... Now its working again perfectly. For everyone interested the settings for UniFi Cloud Key G2+ are: UniFi OS: NO Port: 8443
Hey,
I hope someone here can help me. No matter what I try, I always get the [object Object] message.I've tried with sitename empty and just SitesStats and also with
msg.payload = { command: "SitesStats"}; return msg
in a function before the unifi node. I've tested the password several times. The thing is, I don't even see the request in the server.log from unifi, even if I change the loglevel to debug, so it seems to me the request doesn't even reach the controller. ip address and port are also correct . Node Red is running as a docker instance and I can ping and ssh to the controller from inside the node red container.
This is the entry from the flow.json of node red:
{"id":"4b83155c.a3f5a4","type":"Unifi","z":"e0e6ffd9.5bbd3","name":"","ip":"172.16.39.50","port":8443,"site":"default","command":"10","unifios":false,"x":270,"y":1560,"wires":[["302c6cc7.34073c"]]}
Any idea what I'm doing wrong here?