Posts: 6
Threads: 1
Joined: Sep 2022
Reputation:
0
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?
Posts: 1,169
Threads: 98
Joined: Mar 2016
Reputation:
69
(2022-09-30, 11:23 AM)Oben Wrote: 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?
"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"
Posts: 6
Threads: 1
Joined: Sep 2022
Reputation:
0
(2022-09-30, 01:21 PM)PaddyB Wrote: "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"
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?
Posts: 330
Threads: 5
Joined: Mar 2018
Reputation:
24
(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.
Posts: 6
Threads: 1
Joined: Sep 2022
Reputation:
0
(2022-09-30, 10:45 PM)tkurki Wrote: (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.
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?
Posts: 6
Threads: 1
Joined: Sep 2022
Reputation:
0
(2022-09-30, 10:45 PM)tkurki Wrote: (2022-09-30, 02:20 PM)Oben Wrote: I changed it into
Since you can change the data why not send Signal K? I did try for a couple of hours several artificial signal K-Sentences like the first on this site:
https://signalk.org/specification/1.7.0/...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.
Posts: 330
Threads: 5
Joined: Mar 2018
Reputation:
24
(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
Posts: 2,184
Threads: 20
Joined: Jun 2016
Reputation:
64
speepOverGround is a typo correct?
Posts: 330
Threads: 5
Joined: Mar 2018
Reputation:
24
Right! Even if any path will work.
Posts: 6
Threads: 1
Joined: Sep 2022
Reputation:
0
(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?
|