Volvo Penta J1939 messages into HA, using ESPHome

Hi All,

That’s probably a long shot but I’ll give it a go.

So, I am trying to find a way to get basic information currently broadcasted by my Volvo Penta engine, into Home Assistant. The engine uses J1939 protocol and my plan is to use an MCP2515 CAN bus module and an ESP32.

Has anyone done something similar before? Can someone suggest a suitable code that would help me listen and de-code specific PGNs/SPNs?

Thanks in advance for your time and help.

VP-CanBus-N2K-Interface should be what you need. It is based off of an excellent NMEA2000 library by Timo Lappalainen.

Thank you - I am aware of this, but I think it wouldn’t work with ESPHome or Home Assistant. I believe this is listening to messages and it’s broadcasting them back to NMEA.

I wrote a new NMEA 2000 HA integration. You might want to try it out. Will be glad to receive feedback.