Is there a document for the Smart Shunt Hex protocol available?
This site is now in read-only archive mode. Please move all discussion, and create a new account at the new Victron Community site.
Is there a document for the Smart Shunt Hex protocol available?
I'm not sure, but I'd expect it to be the same as the BMV: https://www.victronenergy.com/download-document/4460/bmv-7xx-hex-protocol-public.pdf
Yes, more or less certainly. In detail, I get return values that are not listed here! E.g. Ping (:154), Application version (:352). Here I always get: 2AAAAFF back!
Hi,
I was also starting to work with the BMV Hex protocol for the smart shunt. But im new in this topic. There is a text based protocol and the hex. If im sending a hex request e.g. for battery voltage, ill get back a text based protocol with the correct hex answer in the last line (checksum). Is this right? I thought the shunt is stopping with sending text protocols for a moment, after he is receiving a hex request? I mean.. i can deal with it, im just wondering if im missing something because i couldnt find anything about it in the documentation.
Firstly the text protocol is only for receiving, cant send requests.
In HEX protocol if you send a command, the response will be return in HEX protocol also.
There are a documentation that explains the HEX protocol well.
Keep in mind, in HEX protocol you can also receive async messages like for example when a config is changed via bluetooth or the display.
We did some work on reverse engineering the ble protocol.
We have two different repositories with the results.
This is for development, It contains a wireshark dissector and some python scripts: https://github.com/vvvrrooomm/victron/
This is one is more ready for usage, You can output the data to syslog or mqtt to integrate it in homeassistant or other: https://github.com/birdie1/victron
I know you were asking for the hex protocol via serial, but from the other serial protocol descriptions we found out, that many of the attributes share the same hex values between bluetooth and serial. Maybe this will help you a bit.
Additional resources still need to be added for this topic
25 People are following this question.