Open rob42 opened 9 years ago
The subscription should be 'vessels.self'.
My plan is to convert Sailgauge to a widget in SignalK/instrumentpanel so this may get very little attention.
Updated to use signalk-js-client, which now needs method to send subscriptions.
The java server needs a subscription request before data is sent. Line 115 of index.html
connection = new WebSocket(theUrl); connection.onopen = function (msg) { // console.log("open:" + msg); //send sub var sub =
{"context":"vessels.motu","subscribe":[{"path":"navigation"},{"path":"environment.wind"},{"path":"environment.depth"}]}
connection.send(sub); };