This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
signalk
#1
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
Reply
#2
Try this..

http:/myip:3000

Sent from my SGP511 using Tapatalk
Reply
#3
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
Reply
#4
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
Reply
#5
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
Reply
#6
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"
   }
]
Reply
#7
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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)