How to send PGN from SK?
I installed signalk-to-nmea2000 plugin, enabled and configured to send 128267
I see in Log:
May 9 11:54:54 pi0 signalk-server[28102]: 2024-05-09T09:54:54.759Z signalk-to-nmea2000 environment.depth.belowTransducer:9.72405
May 9 11:54:54 pi0 signalk-server[28102]: 2024-05-09T09:54:54.769Z signalk-to-nmea2000 emit nmea2000JsonOut {"pgn":128267,"SID":255,"Depth":9.72405,"Offset":0}
But my "candump can0" remains silent
Any suggestions?
9 Replies
Make sure you are using canboatjs?
It's Canbus( canboatjs)
You say candump can0 is silent. You’re getting absolutely nothing? Or your looking for that specific message?
Absolutly silent.
Do you have any other n2k devices on your network?
Sounds like something is wrong with your n2k connection, if you are seeing nothing from candumpo
My Tranceiver is alone in N2K Bus....
I know that if I unplug from the bus, then candump does not show any data that I send out.
I’ll test later today to see what happens when I have nothing else on the bus.
Since sending generated n2k to canbus works in general I would personally not debug this further, as long as there is nothing on the bus to test with end2end
What do you plan as your next step when you have verified successfully that things work?
Sorry. It was my logic fault. It works
1. I have reconfigured data source to use vcan0. And saw with candump that PGN was sent
2. I extended N2K bus with esp32-nmea2000 ( https://github.com/wellenvogel/esp32-nmea2000 ) and I see now that SK sends PGNs