WCBonner
(William Christian Bonner)
4 September 2024 17:26
1
I’ve been reading https://community.victronenergy.com/questions/187303/victron-bluetooth-advertising-protocol.html and have got my C++ code decoding information from my smartlithium batteries.
I’m trying to recognize my Orion XS DC/DC charger and it appears to have a record type of 0x0f which is not in the pdf listed in that same thread. (https://community.victronenergy.com/storage/attachments/48745-extra-manufacturer-data-2022-12-14.pdf )
Is there an updated document listing structures of newer devices?
thiemovanengelen
(Thiemo van Engelen (Victron Energy staff))
5 September 2024 07:12
2
Here is the layout for the Orion XS:
WCBonner
(William Christian Bonner)
5 September 2024 17:40
3
@thiemovanengelen Thanks for sending that. Is there a link to where that data is published? (Is it on GitHub somewhere?)
Are the items in the Remark column described somewhere?
Am I correct that 0x0F in the manufacturer data byte 4 tells me to interpret the extended data using this bit packing?
I recreated it in Markdown for my own documentation and because it’s easier to copy/paste.
Orion XS
Start Bit
Nr of Bits
Meaning
Units
Range
NA Value
Remark
0
8
Device State
0…0xFF
VE_REG_DEVICE_STATE
8
8
Error Code
0…0xFF
VE_REG_CHR_ERROR_CODE
16
16
Output Voltage
0.01 V
-327.68…327.66 V
0x7FFF
VE_REG_DC_CHANNEL1_VOLTAGE
32
16
Output Current
0.01 V
-327.68…327.66 A
0x7FFF
VE_REG_DC_CHANNEL1_CURRENT
48
16
Input Voltage
0.01 V
0…655.34 V
0xFFFF
VE_REG_DC_INPUT_VOLTAGE
64
16
Input Current
0.01 V
0…655.34 A
0xFFFF
VE_REG_DC_INPUT_CURRENT
80
32
Device Off Reason
0…429496728
VE_REG_DEVICE_OFF_REASON_2
112
16
Unused
I don’t think we’ll ever get a complete list from Victron.
Part of them are found here: Victron registers
Still, for a somehow complete list, if you get a little creative, you can get them from inside the VictronConnect application.
thiemovanengelen
(Thiemo van Engelen (Victron Energy staff))
6 September 2024 06:26
5
Thanks for sending that. Is there a link to where that data is published?
Perhaps this will change in the future, but for now, this is not published anywhere.
Are the items in the Remark column described somewhere?
Some can be found in other documentation. As this is taken from our internal documentation, it is more meant for our own use.
Am I correct that 0x0F in the manufacturer data byte 4 tells me to interpret the extended data using this bit packing?
That is correct.
WCBonner
(William Christian Bonner)
8 September 2024 20:59
6
I thought that I’d share that I’m now recognizing and graphing the Orion XS in my C++ Code
Log Victron Direct Bluetooth LE messages and graph battery states
3 Likes
Thank you for sharing.
From my experiences few came back to post their results for all to see and learn…
1 Like