question

demophobie avatar image
demophobie asked

BlueSmart IP22 control charge current

Hi,

i am controlling the charge current of a Victor BlueSmart IP22 16A via a USB to TTL converter. Another user showed in detail how to do this:

https://community.victronenergy.com/questions/226131/bluesmart-ip22-charger-and-vedirect.html

I use the following python code:

ser_loadbat1 = serial.Serial("/dev/ttyTTLNight", 19200)

numP1_bat1 = (int)(bat_night_current * 10)
numP2_bat1 = (0x70 - numP1_bat1) & 0xFF
hexP1_bat1 = "%02X" % (numP1_bat1)
hexP2_bat1 = "%02X" % (numP2_bat1)

msg_bat1 =  ':8F0ED00' + hexP1_bat1[0] + hexP1_bat1[1] + '00' + hexP2_bat1[0] + hexP2_bat1[1] + '\n'

ser_loadbat1.write(msg_bat1.encode())

, where "bat_night_current" is the current i want, for example "6.6".

Works like a charme for 4A to 16A load. Any idea how to set the current to 0A? It doesnt accept "0.0". I dont want to switch on/off the loader all the time....

bluesmart ip22
2 |3000

Up to 8 attachments (including images) can be used with a maximum of 190.8 MiB each and 286.6 MiB total.

0 Answers