I want to connect to a remote HTTP server that supports websockets so I can read status updates, the address is ws://2ndfloor-pi:8080/
status.ws and when I use the simple websocket client Chrome extension all is fine and I get:
{"status": {"temperature": "24.35"}}
{"status": {"roomtemperature": "24.35"}}
{"status": {"temperature": "24.33"}}
{"status": {"roomtemperature": "24.33"}}
Now when I try to create a websocket client in NR I always get "disconnected", no matter what I do or how I configure the node. I tried running node-red -v but no messages appear in the console. It's just disconnected, as if it isn't even trying. Any help troubleshooting this is much appreciated. Where should I look first?
Here's the config:
[{"id":"46f7a7d.ae26558","type":"debug","z":"dcbcc49f.0a2fc8","name":"","active":true,"console":"false","complete":"true","x":627,"y":245,"wires":[]},{"id":"1561d83c.aba248","type":"websocket in","z":"dcbcc49f.0a2fc8","name":"","server":"","client":"ad00d4f.6210328","x":226.5,"y":249,"wires":[["46f7a7d.ae26558"]]},{"id":"ad00d4f.6210328","type":"websocket-client","z":"","path":"ws://2ndfloor-pi:8080/
status.ws","wholemsg":"false"}]
KR,
Sander