syssi / esphome-pipsolar

ESPHome component to monitor and control a pipsolar inverter via RS232
Apache License 2.0
91 stars 40 forks source link

PIP 18 : Problem with "current_max_ac_charging_current" string not having the #71

Open simongautier57 opened 1 year ago

simongautier57 commented 1 year ago

Hello every one, I am struggling setting up the "current_max_ac_charging_current" through pip-solar, PIP18 branch software. (which other than this works great and does exactly what I was desiring - Thank you to all the contributors).

here is the log I get : [01:24:16][D][main:212]: STARTING VARIABLE ACCurrent [01:24:16][D][pipsolar.output:015]: Will write: ^S013MUCHGC0,00 out of value 10.000000 / 10 [01:24:16][D][pipsolar:757]: got command: ^S013MUCHGC0,00 [01:24:16][D][pipsolar:748]: Command queued successfully: ^S013MUCHGC0,00 with length 15 at position 0 [01:24:16][D][main:029]: VARIABLE ACCurrent ENDS

Queued for some time and then: [01:30:51][D][pipsolar:708]: Sending command from queue: ^S013MUCHGC0,00 with length 15 [01:30:52][D][pipsolar:061]: response length for command ^S013MUCHGC0,00 not OK: with length 5 Not surprising, 00 is not a "possible value".

I am wondering why (checked the code without success) the string is not well formed, having the last field "00" instead of "10" . Do you mind helping? Many thanks in advance for your comments

meccip commented 1 year ago

hello, For PI18 i think AC charger is ^S014MUCHGC0,000 So, to set 20A is ^S014MUCHGC0,020