(2018-02-20, 07:50 PM)jim321 Wrote: i have also used a mqtt out node to send the websocket to another computer or tab.seems to work
the link node is probably the correct way
Code:[{"id":"f9b8ac34.ac186","type":"websocket in","z":"217cab7.d842f54","name":"ws","server":"d009e142.23546","client":"","x":85,"y":159.6666612625122,"wires":[["33b5ed11.586bc2","1be6a5e8.8fb36a","157ee13a.40ff0f","897027a1.6c99c8"]]},{"id":"897027a1.6c99c8","type":"mqtt out","z":"217cab7.d842f54","name":"","topic":"ws","qos":"","retain":"","broker":"d83d8d21.7359e","x":218,"y":181,"wires":[]},{"id":"d009e142.23546","type":"websocket-listener","z":"","path":"ws://localhost:3000/signalk/v1/stream","wholemsg":"false"},{"id":"d83d8d21.7359e","type":"mqtt-broker","z":"","name":"","broker":"192.168.1.104","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"willTopic":"","willQos":"0","willPayload":"","birthTopic":"","birthQos":"0","birthPayload":""}]
With the same basic idea I have sent the signal K stream to mqtt and had it come in on another pi running openplotter in my basement.
I use the second pi as a poor mans FRED server with no node limits or subscription fee.