2018-06-10, 08:06 PM
Code:
[{"id":"1c59823a.00a2ae","type":"debug","z":"134ba20d.9b210e","name":"","active":false,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":550,"y":220,"wires":[]},{"id":"844fc22d.71486","type":"websocket in","z":"134ba20d.9b210e","name":"","server":"f75668d3.33a0c8","client":"","x":220,"y":220,"wires":[["1c59823a.00a2ae"]]},{"id":"f75668d3.33a0c8","type":"websocket-listener","z":"","path":"ws://localhost:3000/signalk/v1/stream","wholemsg":"false"}]
finally with this simple flow I get all Signal K keys:
10/06/2018, 18:54:19node: 1c59823a.00a2ae
msg.payload : string[622]
"{"updates":[{"source":{"sentence":"GGA","talker":"GP","type":"NMEA0183","label":"OPkplex"},"timestamp":"2018-06-10T18:54:19.000Z","values":[{"path":"navigation.position","value":{"longitude":7.149719666666667,"latitude":51.37150533333333}},{"path":"navigation.gnss.methodQuality","value":"GNSS Fix"},{"path":"navigation.gnss.satellites","value":10},{"path":"navigation.gnss.antennaAltitude","value":105},{"path":"navigation.gnss.horizontalDilution","value":0},{"path":"navigation.gnss.differentialAge","value":0},{"path":"navigation.gnss.differentialReference","value":0}]}],"context":"vessels.urn:mrn:imo:mmsi:123456789"}"
The flow from jim231 shows nothing in debug.
Now need help to learn how to filter e.g. "navigation.gnss.sattellites" and show it e.g. in a gauge.
Thanks for Your help.