OpenMarine

Full Version: UDP into SignalK - Who sees the mistake?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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:

[attachment=1929]

Does anybody know what we did wrong?
(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"
(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?
(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.
(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?
(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.
(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
speepOverGround is a typo correct?
Right! Even if any path will work.
(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?
Pages: 1 2