Is there any way to turn LOAD On/Off via Serial line?

Hi,

I am using SmartSolar MPPT 100|20 device. I have connected with that device via UART line.
I wants to control the LOAD to ON/OFF based on the our device’s need via sending commands via UART line.

So, I have tried withVE.Direct Protocol BlueSolar and SmartSolar MPPT chargers - https://www.victronenergy.com/upload/documents/BlueSolar-HEX-protocol.pdf)

Format:

: [command] [data][data][…] [check]\n as in the document

  • Start character ‘:’

  • Command = 8 (value of SET)

  • Register 0xEDAB => this will be turn to = ABED

  • Data = 0 for OFF and 4 for ON

  • Calculated checksum = 0x55 – 8 – AB – ED -

I have tried to send “:8ABED00B5\n” for LOAD ON or “:8ABED04B1\n” for LOAD OFF but not successfully.

Q1. Is there any way to turn on / off the load of MPPT 100|20 device via Serial?

Q2. If yes for Q1, Which format (Text or Hex) should be used?

Q3. Is there any document about the commands and theif formats? And some examples for it?

Q4. Is there any open-source code repo from Victron that includes examples for those SET commands?

BR
MEQ

Hi,

Your VE.Direct command is missing the flags field right after the register value. So the valid strings are:
:8ABED0000B5\n and :8ABED0004B1\n
Do take to to not change this setting to often as it is written to storage at each change and when changing this for example every few seconds might destroy the internal storage.

Kind regards,
Thiemo van Engelen

Thanks Thiemo, it works for me.

Well notes for the frequency of writing that value.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.