Site Tools


solar-charging:canbus

CAN-BUS

GOALS, allow home assistant to send message to subtly change charging profiles on sunsynk inverter according to upcoming sun predictions;

ideally change voltage level on overnight setting from 48.9 to 45v for example Working out canbus messaging

log into venus pi and run command:

root@Venus_OS:/data# candump -tz can1,176:7FF

results are;

(047.998600)  can1  176   [8]  3C 3C 3C 3C 4D 00 60 39
(048.440567)  can1  176   [8]  3C 3C 3C 3C 4D 00 70 F4
(048.882475)  can1  176   [8]  3C 3C 3C 3C 4D 00 80 8B
(049.324418)  can1  176   [8]  3C 3C 3C 3C 4D 00 90 46
(049.785207)  can1  176   [8]  3C 3C 3C 3C 4D 00 A0 0C
(050.227168)  can1  176   [8]  3C 3C 3C 3C 4C 00 B0 4E

this outputs all ID 176 (see here http://manpages.ubuntu.com/manpages/bionic/man1/candump.1.html for mre filters)

id 351,355,356 are battery states as per https://drive.google.com/file/d/1gLMKXn3o4TW2vFnEVgG0mYSF5xp7_6Uu/view

Cansniffer is good to:

root@Venus_OS:/data# cansniffer can1 -c -t 0 

More canbus hacking: https://www.carhackingvillage.com/getting-started

solar-charging/canbus.txt · Last modified: by 127.0.0.1