I am trying to implement the example of paragraph 3.6.4 from the document https://www.victronenergy.com/live/ess:ess_mode_2_and_3
The document explains that one should first read the Assistant ID and table size in the RAM ID table by reading RAM ID 128.
When i do that by sending { 0x05, 0xFF, 'W', 0x30, 0x80, 0x00, 0xF5 } I get a valid response
07 FF 57 85 01 00 23 5B 9F
This would mean that there is an Assistant ID = 0 and that there is one RAM ID. The only assistant on my system is the ESS Assistant so this would indicate that I can use RAM ID 129 to set the ESS grid set point.
Unfortunately when i use the CommandWriteRamVar on RAM ID 129 by sending { 0x05, 0xFF, 'W', 0x32, 0x81, 0x00, 0xF2 } I get a response of
04 FF 57 80 00 26
The documentation states that there should be no response. This response indicates a Unrecognised Command.
Sending the CommandWriteData does not make any sense now. (and gives the same error)
What am i doing wrong? It looks like I don't have the Assistant in the RAM table. Is there a way to check this (other than running VEConfigure and looking at the Assistant tab, because it is present there...)
Any help would be very much appreciated! Links to other documentation on the MK2 MK3 protocol would be very nice too.