Would someone have an updated firmware for an mpp solar 10kw/Hybrid inverter. the firmware now is Main FW version: 00001.01 ?. Sry for asking for this here. But from what i can read is more realisable with the newest firmware. Kind Regards Michael
InfiniSolar 3P 10kw
For anyone using an MPP/Voltronic 7.2kw Inverter, these settings got me going.
qpiri=108
qpiws=45
qmod=5
qpigs=110
Further discussion here - 7.2 Voltronic Max with x2 MPPT · Issue #60 · ned-kelly/docker-voltronic-homeassistant (github.com)
I needed the app to read my mpp solar inverter (PIP 5048 GK) using a raspberry pi zero via USB, the docker stuff and all were to heavy, I rewritten a mono app that suits my need feel free to have a look and maybe contribute.
I have a 5sec loop between measure, but can be less.
Does your inverter have 2x MPPTs?
If so does this read both?
I cannot read PV data currently on my 7.2kw
I only have 1 MPPT does the documentation tells how to read both ?
I found all details for mine in product-application_pdf-20190724092401-8519-pip-gk-mk-protocol.pdf
Hi Mark, Sorry I know this dates back some time but a quick question. Is there anything else specifically you needed to do to get all the paralleled inverters to pull the entities for each into HA via MQTT ? I have the same as yourself with giving each container a different MQTT devicename and specified hidraw0,1,2 for the 3 inverters. If i go to the MQTT listener in HA I can see the topics for each but for some reason it will only display the 1st inverter entities (hidraw0). Does the Client ID being the same across the 3 containers matter ?
Hi Kenny. My config is as follows:
config/mqtt.json as follows:
{
"server": "192.168.10.102",
"port": "1883",
"topic": "homeassistant",
"devicename": "voltronic1",
"username": "*********",
"password": "********"
}
With the only change for each container being the devicename. voltronic2, voltronic3 & voltronic4
config/inverter.conf as follows:
device=/dev/hidraw0
run_interval=120
amperage_factor=1.0
watt_factor=1.01
qpiri=98
qpiws=36
qmod=5
qpigs=110
With the only change for each container being the device=/dev/hidraw0 / 1/ 2/ 3
docker-compose.yml as follows:
version: '3'
services:
voltronic-mqtt:
image: bushrangers/ha-voltronic-mqtt
container_name: voltronic-mqtt1
privileged: true
restart: always
volumes:
- ./config/:/etc/inverter/
devices:
- /dev/bus/usb:/dev/bus/usb:rwm
- /dev/ttyUSB0:/dev/ttyUSB0:rwm
- /dev/ttyUSB1:/dev/ttyUSB1:rwm
- /dev/ttyS0:/dev/ttyS0
- /dev/ttyS1:/dev/ttyS1
- /dev/ttyS2:/dev/ttyS2
watchtower:
image: containrrr/watchtower
container_name: watchtower1
restart: always
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --interval 500
With the only change for each container being the container_name: voltronic-mqtt1, voltronic-mqtt2, etc
Hope this helps you out.
My inverter
I also have this snmp card installed: And with this i can get some values into homeassistant by snmp protocol, But i want to make use of the homeassistant energy meter.
https://voltronicpower.com/en-US/Product/Detail/SNMP-web-Card,-SNMP-Box
I have the 10kw hybrid mpp solar inverter
can someone help with the correct values
qpiri=108
qpiws=45
qmod=5
qpigs=110
Hi Dan
My MppSolar inverter has 3 solar inputs, and it is only read the first. Did you find out more about reading from multiple inputs/MPPT’s?
Thanks for your time in supplying the info regarding your config Mark, I managed to get it work !
Hi
Does anyone deal already with Axpert VM 1000 or Master Power Omega UM 1000?
What I can do to find the right config?
This is how the output looks like. Any help appreciated.
root@Solar1:/opt/docker/ha-inverter-mqtt-agent/sources/inverter-cli# ./inverter_poller -1 -d
Sun Jan 2 12:34:13 2022 INVERTER: Debug set
Sun Jan 2 12:34:13 2022 INVERTER: Current CRC: 49 C1
Sun Jan 2 12:34:16 2022 INVERTER: QMOD read timeout
Sun Jan 2 12:34:16 2022 INVERTER: QMOD reply size (215 bytes)
Sun Jan 2 12:34:16 2022 INVERTER: QMOD: incorrect start/stop bytes. Buffer: .56 001 95 003 0002 03.7 14.00 10 31 00<(28.50.0 2 .0 000 000431 14.2 00109 2 50 0031 0(32…0 28. 50000 00 0031 452 00 09 00370002 552 000 1000111 0 031 000▒(0000000000(0000000000000000(00000000000000000000000(NAK
Sun Jan 2 12:34:16 2022 INVERTER: Current CRC: B7 A9
Sun Jan 2 12:34:19 2022 INVERTER: QPIGS read timeout
Sun Jan 2 12:34:19 2022 INVERTER: QPIGS reply size (67 bytes)
Sun Jan 2 12:34:19 2022 INVERTER: QPIGS: incorrect start/stop bytes. Buffer: (28.0 0.0 280 500000 0043 146 0 0950037 02 0500 10101100300032000▒
Sun Jan 2 12:34:19 2022 INVERTER: Current CRC: F8 54
Sun Jan 2 12:34:22 2022 INVERTER: QPIRI read timeout
Sun Jan 2 12:34:22 2022 INVERTER: QPIRI reply size (31 bytes)
Sun Jan 2 12:34:22 2022 INVERTER: QPIRI: incorrect start/stop bytes. Buffer: 3050015 1.5 14. 13. 20 303(NAs
Sun Jan 2 12:34:22 2022 INVERTER: Current CRC: B4 DA
Sun Jan 2 12:34:25 2022 INVERTER: QPIWS read timeout
Sun Jan 2 12:34:25 2022 INVERTER: QPIWS reply size (22 bytes)
Sun Jan 2 12:34:25 2022 INVERTER: QPIWS: incorrect start/stop bytes. Buffer: (0000000000000000000▒
Sun Jan 2 12:34:30 2022 INVERTER: Current CRC: 49 C1
Sun Jan 2 12:34:33 2022 INVERTER: QMOD read timeout
Sun Jan 2 12:34:33 2022 INVERTER: QMOD reply size (10 bytes)
(NAssan 2 12:34:33 2022 INVERTER: QMOD: incorrect start/stop bytes. Buffer: B▒▒
Sun Jan 2 12:34:33 2022 INVERTER: Current CRC: B7 A9
Sun Jan 2 12:34:36 2022 INVERTER: QPIGS read timeout
Sun Jan 2 12:34:36 2022 INVERTER: QPIGS reply size (68 bytes)
Sun Jan 2 12:34:36 2022 INVERTER: QPIGS: incorrect start/stop bytes. Buffer: ( 500 229.05000 0 000 14.1 0003 0001.2 459 00 100011 00 03 0038 00▒
Sun Jan 2 12:34:36 2022 INVERTER: Current CRC: F8 54
Hi
Not sure if i missed it or not but how do I add the devices on HA build in energy integration without using another fork ?
everything else is working perfect thanks !!
Hello @henry.joubert, were you able to send MUCHGC002 command in to the inverter please? I’m fighting with the same issue. It seems that it’s possible to send comands into the inverter up to 5 charracters so for example POP00 or PCP01 will work correctly and inverter is understanding, but whenever I’m trying to send some longer command, It’s not working. In my case I’m trying to change operation logic of inverter using command POPLG02
POPLG<nn><cr>: Setting operation logic (Only for KING)
Computer: POPLG <nn.n><CRC><cr>
Inverter: (ACK<CRC><cr> if Inverter accepts this command, otherwise, responds (NAK<CRC><cr>
nn:00: automatically, 01: On-line mode, 02: ECO mode
thanks
Hi I done it in this way
Add this to ESPHOME config for my inverter
api:
services:
- service: ac_grid_current
variables:
ACCurent: float
then:
- logger.log: "STARTING VARIABLE ACCurrent"
- output.pipsolar.set_level:
id: rct0_current_max_ac_charging_current
value: !lambda 'return ACCurent;'
- logger.log: "VARIABLE ACCurrent ENDS"
output:
- platform: pipsolar
pipsolar_id: inverter0
current_max_ac_charging_current:
possible_values:
- 2
- 10
- 20
- 30
id: rct0_current_max_ac_charging_current
on HA
in automation.yaml
- id: '1627028353839'
alias: Rct Setting max charging Current
description: ''
trigger:
- platform: state
entity_id: input_select.setting_max_charging_current
condition: []
action:
- service: esphome.rct_inverter_ac_max_current
data:
ACCurent: "{% if is_state(\"input_select.setting_max_charging_current\", \"\
2 Amp\") %}\n 2\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"10 Amp\") %}\n 10\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"20 Amp\") %}\n 20\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"30 Amp\") %}\n 30\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"40 Amp\") %}\n 40\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"50 Amp\") %}\n 50\n{% elif is_state(\"input_select.setting_max_charging_current\"\
, \"60 Amp\") %}\n 60\n{% endif %}\n"
mode: single
and
create in helpers
input_select.setting_max_charging_current
with the values of
2 Amp, 10 Amp, 20 Amp, 30 Amp,40 Amp,50 Amp,60 Amp
Hope this help
I think you are using (Usb)Hidraw,thats why long command not working.
…you should use Serial connection to send long command.
Hello, many thanks to Henry and ans-gw. Yes I’m using Hidraw (usb) and docker, not esphome. Now I connected serial port but then my values does not work anymore which is strange:
qpiri=104
qpiws=38
qmod=5
qpigs=110
It’s for 5048MK model. Shuld they be corrected for serial connection somehow please?
Hi @Lee1
I change from the docker to the esphome setup because I was having issues. I also did use the usb interface. On the Esphome i use a d1 mini with a ttl to serial converter to the inverter.
Hi
mind sharing some links where we can get a d1 mini and the ttl to serial ?
I assume you also from SA ?
Hi @Ottiie
Yes SA and I order the following
https://www.robotics.org.za/MINI-D1-4M?search=d1%20mini
https://www.robotics.org.za/D1-POWER?search=d1
then I soldered a vero board on top of the d1 with a max3232 chip with the caps and then out to a rj45 for the serial, but you could also use the following board to hook it to the d1 mini
https://www.robotics.org.za/W3965?search=max3232
and only use VCC, Gnd, Rx amd Tx
Hope this help
I’m a newbie, but I got the correct values from my inverter (3Kw, 24V, PowerMr) on my Raspberry after a day of work.
Sun Jan 16 11:01:09 2022 INVERTER: Debug set
Sun Jan 16 11:01:09 2022 INVERTER: Current CRC: 49 C1
Sun Jan 16 11:01:09 2022 INVERTER: QMOD reply size (5 bytes)
Sun Jan 16 11:01:09 2022 INVERTER: QMOD: 5 bytes read: (L
Sun Jan 16 11:01:09 2022 INVERTER: QMOD query finished
Sun Jan 16 11:01:09 2022 INVERTER: Current CRC: B7 A9
Sun Jan 16 11:01:09 2022 INVERTER: QPIGS reply size (110 bytes)
Sun Jan 16 11:01:09 2022 INVERTER: QPIGS: 110 bytes read: (219.5 50.0 219.5 50.0 0417 0359 013 364 26.00 009 075 0036 01.0 168.3 00.00 00000 00010110 00 00 00175 010
Sun Jan 16 11:01:09 2022 INVERTER: QPIGS query finished
Sun Jan 16 11:01:09 2022 INVERTER: Current CRC: F8 54
Sun Jan 16 11:01:10 2022 INVERTER: QPIRI reply size (98 bytes)
Sun Jan 16 11:01:10 2022 INVERTER: QPIRI: 98 bytes read: (230.0 13.0 230.0 50.0 13.0 3000 3000 24.0 25.0 21.5 27.5 27.5 2 02 010 0 2 3 1 01 0 0 27.0 0 1
Sun Jan 16 11:01:10 2022 INVERTER: QPIRI query finished
Sun Jan 16 11:01:10 2022 INVERTER: Current CRC: B4 DA
Sun Jan 16 11:01:10 2022 INVERTER: QPIWS reply size (40 bytes)
Sun Jan 16 11:01:10 2022 INVERTER: QPIWS: 40 bytes read: (000000000000000000000000000000000000
Sun Jan 16 11:01:10 2022 INVERTER: QPIWS query finished
INVERTER: ampfactor from config is 1.00
INVERTER: wattfactor from config is 1.01
{
“Inverter_mode”:3,
“AC_grid_voltage”:219.3,
“AC_grid_frequency”:50.0,
“AC_out_voltage”:219.3,
“AC_out_frequency”:50.0,
“PV_in_voltage”:142.7,
“PV_in_current”:1.0,
“PV_in_watts”:0.0,
“PV_in_watthour”:0.0000,
“SCC_voltage”:0.0000,
“Load_pct”:13,
“Load_watt”:338,
“Load_watthour”:11.2667,
“Load_va”:394,
“Bus_voltage”:359,
“Heatsink_temperature”:34,
“Battery_capacity”:67,
“Battery_voltage”:25.70,
“Battery_charge_current”:6,
“Battery_discharge_current”:0,
“Load_status_on”:1,
“SCC_charge_on”:1,
“AC_charge_on”:0,
“Battery_recharge_voltage”:25.0,
“Battery_under_voltage”:21.5,
“Battery_bulk_voltage”:27.5,
“Battery_float_voltage”:27.5,
“Max_grid_charge_current”:2,
“Max_charge_current”:10,
“Out_source_priority”:2,
“Charger_source_priority”:3,
“Battery_redischarge_voltage”:-0.0,
“Warnings”:“000000000000000000000000000000000000”
}
HA has inverter entities, but values are “unknown”. If I cancel the MQTT and entities, they reappear when I restart the inverter docker using Portainer always “unknown” values. Any idea?
Thank you