docker-voltronic-homeassistant
docker-voltronic-homeassistant copied to clipboard
Make a wiki so that we can share qpiri config
As title
Couldnt find a place to share my Kodak 5kW King settings
# The following settings allow you to modify runtime buffers.
# N.B. These values may not be applicable to all inverter types, as such you will
# need to run docker exec -it voltronic-mqtt bash -c '/opt/inverter-cli/bin/inverter_poller -d -1'
# or simply inverter_poller -d -1 to check for warnings or errors
# mentioned in https://github.com/ned-kelly/docker-voltronic-homeassistant/issues/5
# This allows you to modify the buffersize for the qpiri command
qpiri=104
# This allows you to modify the buffersize for the qpiws command
qpiws=40
# This allows you to modify the buffersize for the qmod command
qmod=5
# This allows you to modify the buffersize for the qpigs command
qpigs=110
Mecer SOL-I-AX-3VP 3000VA/3000W
Working on below settings with qpiws commented out:
qpiri=97 #qpiws=67 qmod=5 qpigs=110
Axpert MKSII (https://me3energy.ng/axpert-mks-ii-5kw-48v)
qpiri=102 qpiws=36 qmod=5 qpigs=110
Running through device=/dev/hidraw0
Axpert King II 5KW
# This allows you to modify the buffersize for the qpiri command
qpiri=105
# This allows you to modify the buffersize for the qpiws command
qpiws=40
# This allows you to modify the buffersize for the qmod command
qmod=5
# This allows you to modify the buffersize for the qpigs command
qpigs=110
For future reference, to find the QPIRI value I had to:
-
install
mpp-solar
cli -
run the
QPIRI
command to check whether it works at all via USBhidraw
$ mpp-solar -p /dev/hidraw0 -c QPIRI
-
it worked, so I ran it in debug mode
mpp-solar -p /dev/hidraw0 -c QPIRI -D
-
I noticed the line with the raw response
... usb response was: b'(230.0 21.7 230.0 50.0 21.7 5000 5000 48.0 46.0 42.0 56.4 54.0 2 030 010 1 0 0 9 01 0 0 54.0 0 1 000 0B\xd3\r'` ...
-
I copy pasted the response to
echo -e
to print the nonprintable character, andwc
command to count the byte length$ echo -e "230.0 21.7 230.0 50.0 21.7 5000 5000 48.0 46.0 42.0 56.4 54.0 2 030 010 1 0 0 9 01 0 0 54.0 0 1 000 0B\xd3\r" | wc -c 105
thus **105**
is my magic number for the qpiri
patameter