UDP into SignalK - Who sees the mistake? - 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: UDP into SignalK - Who sees the mistake? (/showthread.php?tid=4264) Pages:
1
2
|
UDP into SignalK - Who sees the mistake? - Oben - 2022-09-30 The Server Log shows these messages: signalk: streams:udp L,15,P,FUEL as sent by an ESP8266 every 2 seconds. But the data doesn't show up in the Connections Activity of the Dashboard. Does anybody know why? The Plugin Config of NMEA0183 XDR Sentence Parser: Does anybody know what we did wrong? RE: UDP into SignalK - Who sees the mistake? - PaddyB - 2022-09-30 (2022-09-30, 11:23 AM)Oben Wrote: The Server Log shows these messages: "L,15,P,FUEL" doesn't look like a XDR nmea0183 sentence? https://www.npmjs.com/package/xdr-parser-plugin "Examples of XDR sentences: $IIXDR,C,,C,ENV_WATER_T,C,28.69,C,ENV_OUTAIR_T,P,101400,P,ENV_ATMOS_P*69 $IIXDR,C,28.69,C,ENV_OUTSIDE_T,P,101400,P,ENV_ATMOS_P,H,47.38,P,ENV_OUTSIDE_H*0A $IIXDR,H,47.38,P,ENV_OUTSIDE_H*30 $IIXDR,P,101400,P,ENV_ATMOS_P*03" RE: UDP into SignalK - Who sees the mistake? - Oben - 2022-09-30 (2022-09-30, 01:21 PM)PaddyB Wrote: "L,15,P,FUEL" doesn't look like a XDR nmea0183 sentence? Paddy, thanks. I changed it into $IIXDR,L,15,P,FUEL Unfortunately it still doesn't show up in the Dashboard. Do you think the sentence now is correct? RE: UDP into SignalK - Who sees the mistake? - tkurki - 2022-09-30 (2022-09-30, 02:20 PM)Oben Wrote: I changed it into Since you can change the data why not send Signal K? Much more straightforward, less translations to have trouble with. RE: UDP into SignalK - Who sees the mistake? - Oben - 2022-10-01 (2022-09-30, 10:45 PM)tkurki Wrote:(2022-09-30, 02:20 PM)Oben Wrote: I changed it into Thanks. Will do this. As I never used SignalK-Sentences before and so far I just found the basic format of SignalK-Sentences. Where can I find any examples of SignalK-Sentences to understand how they look in reality? RE: UDP into SignalK - Who sees the mistake? - Oben - 2022-10-01 (2022-09-30, 10:45 PM)tkurki Wrote:I did try for a couple of hours several artificial signal K-Sentences like the first on this site:(2022-09-30, 02:20 PM)Oben Wrote: I changed it into https://signalk.org/specification/1.7.0/doc/data_model.html The code shows up in the Signal K-Server log but not on Dashboard. Do I need a certain plugin to make it work? Or can anybody give a small example which should show up on the Dasboard? Would be great. RE: UDP into SignalK - Who sees the mistake? - tkurki - 2022-10-02 (2022-10-01, 05:56 PM)Oben Wrote: Do I need a certain plugin to make it work? Or can anybody give a small example which should show up on the Dasboard? This is how to send Signal K data over UDP from the command line: Code: echo '{"updates":[{"values":[{"path":"navigation.speepOverGround","value":3.14}]}]}' |nc -4u -w1 127.0.0.1 7778 RE: UDP into SignalK - Who sees the mistake? - seandepagnier - 2022-10-08 speepOverGround is a typo correct? RE: UDP into SignalK - Who sees the mistake? - tkurki - 2022-10-08 Right! Even if any path will work. RE: UDP into SignalK - Who sees the mistake? - Oben - 2022-10-08 (2022-10-08, 03:57 PM)tkurki Wrote: Right! Even if any path will work. In SignalK-Log it shows up like this: {"updates":[{"values":[{"path":"navigation.speedOverGround","value":3.14}]}]} But it doesn't show up in Data Browser or Dashboard like it does for a 0183-signal. Do you have any idea why? |