I’m trying to use a Stream Deck connected to my PC (not the HA server) to fire off node-red flows using websockets so that the Stream Deck can get a response and update the button icon to reflect the success or otherwise of the intended action. This is nothing to do iwht HA, I’m simply trying to re-use the node-red server for other uses.
I have the websocket plugin added to the Stream Deck and am firing ws://homeassistant.local:1880/streamdeck
. the node-red addon is configured to open port 1880, but it is not receiving the websocket calls. I’ve tried using the IP address, but it makes no difference.
Running Wireshark I can see that the SD connects OK and then does a GET / HTTP/1.1
requesrting a websocket upgrade. The server is responding with a 400 BAD REQUEST
saying it is trying to do an http call on an https socket.
UPDATE:
Disabling ssl gets me further. I now get a 401 Unauthorized
response.