mpp-solar icon indicating copy to clipboard operation
mpp-solar copied to clipboard

build array of commands in __init__.py

Open VictorBucha opened this issue 4 years ago • 3 comments

Not changed ',' for ';' makes PI17 fail on some commands, which use comma as separator

VictorBucha avatar Oct 10 '21 19:10 VictorBucha

Need to add an option to configure this

jblance avatar Oct 14 '21 20:10 jblance

@VictorBucha I think that you can use # as command separator. I have tested this on my PI17 based inverter and it works. Example command I use sudo mpp-solar -p /dev/hidraw0 -P PI17 -c GS#PS#MOD and this executes all 3 commands. Looking into the code I believe it should process commands with comma as well

skoky avatar Apr 25 '22 17:04 skoky

Thank you, but my suggestion was not intended to run 2or 3 commands at once but to execute commands, which have comma in its body. But thanks for this information.

VictorBucha avatar Apr 26 '22 05:04 VictorBucha