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
Signal K to NMEA 2000 Plugin
#1
Thumbs Up 
Hi all,

Just having a first play with NMEA 2000 and I'm trying to convert some signal K data into NMEA 2000. For Batteries and Engines, what is meant by SignalK Battery ID and the same for engines on the SK to NMEA 2000 Plugin?

I've got other data converted such as temperatures and i can see that on the network but for these two nothing i've tried is working.

Im trying to use data from a Victron Smart Shut using the VE Direct plugin so i've tried the SK paths but that doesn't seem to work.

Any help is greatly received.

Many thanks,
Mat


I've solved one, Batteries for me is just 'House' or 'Starter'

I had used 'Main' and Engine', now I've set everything to 'Engine' its working correctly.
Reply
#2
(2023-05-07, 12:20 PM)Boatingbaileys Wrote: Hi all,

Just having a first play with NMEA 2000 and I'm trying to convert some signal K data into NMEA 2000. For Batteries and Engines, what is meant by SignalK Battery ID and the same for engines on the SK to NMEA 2000 Plugin?

I've got other data converted such as temperatures and i can see that on the network but for these two nothing i've tried is working.

Im trying to use data from a Victron Smart Shut using the VE Direct plugin so i've tried the SK paths but that doesn't seem to work.

Any help is greatly received.

Many thanks,
Mat


I've solved one, Batteries for me is just 'House' or 'Starter'

I had used 'Main' and Engine', now I've set everything to 'Engine' its working correctly.

When translating from Signal K (SK) to NMEA 2000, “SignalK Battery ID” and “SignalK Engine ID” are the unique identifiers or pathways utilized by the Signal K data structure to indicate engine and battery-related information.
Reply
#3
Hi, Are you telling me that's the case or asking a question? Not being funny with that comment, just couldn't quite get that from your response.

I got this working in the end for me its House & Starter and I also needed to update my code on the ESP as I had picked both in the data coming from the engine.
Reply
#4
Hi Mat, could you do me a favour and let me know what you have in "SignalK engine id" and the path for the data.... Iam completely stuck now although I have had it working previously, thanks
Reply
#5
Your just need the first part of the path, so if your paths are engine.oilTemperature for example then you would just add engine and the code will do the rest.

If it’s engine.1.oilTemperature then it would be engine.1

You should then see that in the log and then on your mfd. out of curiosity what mfd do you have? I had a similar issue where it just stopped and I wondered if the code had changed somewhere
Reply
#6
Hi Mat
Thanks for responding, i had it running with your code on an esp direct, but have changed to using the gpio on the pie via Openplotter. I managed to get the exhaust temp working but not the rpm and coolant temp, those are related to the engine pgn's ...

Iam using a garmin plotter and raymarine i70's and have had more luck showing data on the Garmin mfd.

Have just started to re-install SignalK from scratch to start again
Reply
#7
Hi, if I remember correctly RPM and Temp are different pgns to exhaust, I can’t get exhaust to work on my Axiom as they have used the extended range and that’s not yet in th plug-in.

Are all of your paths the same, I.e engine?
Reply
#8
Iam using "engine" as "Signal K engine id" in the plugin and propulsion.engine.coolantTemperature and propulsion.engine.revolutions ....

After re-install of signalk I can get the RPM showing on my plotter but not the exhaust and not the coolant temp although my plotter can show them.

When checking the server log for the plugin it looks like the data is sent but when using the webapp nmea2000 debug utility it does not look like there as any traffic !!
Reply
#9
Did you get any further with this? It might be worth changing the paths to engine.0 (and engine.1 If you have more than one) and seeing if that helps. This happened to me, it was working fine and then just stopped.
Reply
#10
(2024-05-25, 02:57 PM)Boatingbaileys Wrote: Did you get any further with this? It might be worth changing the paths to engine.0 (and engine.1 If you have more than one) and seeing if that helps. This happened to me, it was working fine and then just stopped.

Yes and No.... I ended up changing the code (by use of chatgpt!!) in engineparameters.js to use coolantTemperature and it worked out fine, however now iam struggling with the exhaust temperature which is a different pgn as mentioned earlier.... not sure if its related but will for sure need another go to clarify whats going on.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)