This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UDP into SignalK - Who sees the mistake?
#1
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?
Reply
#2
(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"
Reply
#3
(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?
Reply
#4
(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.
Reply
#5
(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?
Reply
#6
(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.
Reply
#7
(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
Reply
#8
speepOverGround is a typo correct?
Reply
#9
Right! Even if any path will work.
Reply
#10
(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?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)