OpenMarine
signalk - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: signalk (/showthread.php?tid=653)



signalk - jim321 - 2017-07-28

i have reinstalled and updated now ws does not work..if i go to "http:/myip:3000/signalk/v1/stream " it says "Upgrade Required"

any idea what i need to do.?

jim


RE: signalk - PaddyB - 2017-07-28

Try this..

http:/myip:3000

Sent from my SGP511 using Tapatalk


RE: signalk - jim321 - 2017-07-28

i do get that page but when i go to app's store page this is not installed "@signalk/signalk-ws-provider Signal K Node Server plugin to pull data from Signal K Gateways/Servers via WebSocket connection"
and if i try to install it errors..
no info comes thru the example in node red or dashboard..
jim


RE: signalk - PaddyB - 2017-07-28

It's not installed on my machine either, the instrument app still works though.

The address for node-red WebSocket input node  is ws://localhost:3000/signalk/v1/stream


RE: signalk - jim321 - 2017-07-28

no go there ether..

This site can’t be reached
The webpage at ws://localhost:3000/signalk/v1/stream might be temporarily down or it may have moved permanently to a new web address.

thanks for the help
jim

startup restart shows this..

pi@openplotter:~ $ startup restart
WiFi access point started.

SSID: OpenPlotter
Address: 10.10.10.1
Signal K starting
No settings/defaults.json available
marinetrafficreporter: mmsi missing in settings
signalk-server running at 0.0.0.0:3000

thanks
jim


RE: signalk - PaddyB - 2017-07-28

Same in my web browser - it doesn't display websock data, but the address works in node red.

If you are on chrome there's a plugin call simple websocket client which shows the data coming through, it is there at  ws://MY-PI-IP:3000/signalk/v1/stream

node -red
Code:
[
   {
       "id": "67b79641.1fad68",
       "type": "websocket in",
       "z": "749e8283.293f4c",
       "name": "SignalK input",
       "server": "fc1b2b62.0b63a8",
       "client": "",
       "x": 90,
       "y": 180,
       "wires": [
           [
               "20af45d9.7fe30a",
               "42cc7086.5ff36"
           ]
       ]
   },
   {
       "id": "42cc7086.5ff36",
       "type": "debug",
       "z": "749e8283.293f4c",
       "name": "",
       "active": false,
       "console": "false",
       "complete": "false",
       "x": 464.44444444444446,
       "y": 98.88888888888889,
       "wires": []
   },
   {
       "id": "fc1b2b62.0b63a8",
       "type": "websocket-listener",
       "z": "",
       "path": "ws://localhost:3000/signalk/v1/stream",
       "wholemsg": "false"
   }
]



RE: signalk - jim321 - 2017-07-28

this is all that appears in both the flow and simple web socket..

{"name":"signalk-server","version":"0.1.28","timestamp":"2017-07-28T12:36:10.165Z","self":"urn:mrn:imo:mmsi:98765432","roles":["master","main"]}

thanks
jim

i like your flow for the shutdown i am using it ,also made a reboot one thanks..

i am getting info from gps in opencpn debug but it does not pass thru do i need to create a connection there .?

SOLVED ..

i did not have gps in op nmea 0183 tab..
thanks for your help..
jim