@ned-kelly thankyou for creating this, ive just got my 5048mg’s (2 of them) set up and powered on, i use home assistant to run my house automation and come across this page, i have installed docker and docker compose on a pi3, i set the file to hidraw and qpiri to 102 also put the mqtt settings in for my broker (my home assistant runs on a i5 nuc direct no container just imaged straight to it)
i run the debug and it reads all the data fine…
pi@raspberrypi:/opt/ha-inverter-mqtt-agent $ docker exec -it voltronic-mqtt bash -c '/opt/inverter-cli/bin/inverter_poller -d -1'
Thu Apr 23 20:52:05 2020 INVERTER: Debug set
Thu Apr 23 20:52:05 2020 INVERTER: Current CRC: 49 C1
Thu Apr 23 20:52:05 2020 INVERTER: QMOD reply size (5 bytes)
Thu Apr 23 20:52:05 2020 INVERTER: QMOD: 5 bytes read: (S
Thu Apr 23 20:52:05 2020 INVERTER: QMOD query finished
Thu Apr 23 20:52:05 2020 INVERTER: Current CRC: B7 A9
Thu Apr 23 20:52:06 2020 INVERTER: QPIGS reply size (110 bytes)
Thu Apr 23 20:52:06 2020 INVERTER: QPIGS: 110 bytes read: (244.6 49.9 000.0 00.0 0000 0000 000 421 57.30 000 100 0037 0000 000.0 00.00 00000 00000101 00 00 00000 100
Thu Apr 23 20:52:06 2020 INVERTER: QPIGS query finished
Thu Apr 23 20:52:06 2020 INVERTER: Current CRC: F8 54
Thu Apr 23 20:52:06 2020 INVERTER: QPIRI reply size (102 bytes)
Thu Apr 23 20:52:06 2020 INVERTER: QPIRI: 102 bytes read: (230.0 21.7 230.0 50.0 21.7 5000 5000 48.0 49.0 46.2 57.4 57.3 2 60 060 1 2 1 9 01 0 1 54.0 0 0 000
Thu Apr 23 20:52:06 2020 INVERTER: QPIRI query finished
Thu Apr 23 20:52:06 2020 INVERTER: Current CRC: B4 DA
Thu Apr 23 20:52:06 2020 INVERTER: QPIWS reply size (36 bytes)
Thu Apr 23 20:52:06 2020 INVERTER: QPIWS: 36 bytes read: (00000000000000000000000000000000
Thu Apr 23 20:52:06 2020 INVERTER: QPIWS query finished
INVERTER: ampfactor from config is 1.00
INVERTER: wattfactor from config is 1.01
{
"Inverter_mode":2,
"AC_grid_voltage":244.6,
"AC_grid_frequency":49.9,
"AC_out_voltage":0.0,
"AC_out_frequency":0.0,
"PV_in_voltage":0.0,
"PV_in_current":0.0,
"PV_in_watts":0.0,
"PV_in_watthour":0.0000,
"SCC_voltage":0.0000,
"Load_pct":0,
"Load_watt":0,
"Load_watthour":0.0000,
"Load_va":0,
"Bus_voltage":421,
"Heatsink_temperature":37,
"Battery_capacity":100,
"Battery_voltage":57.30,
"Battery_charge_current":0,
"Battery_discharge_current":0,
"Load_status_on":0,
"SCC_charge_on":0,
"AC_charge_on":1,
"Battery_recharge_voltage":49.0,
"Battery_under_voltage":46.2,
"Battery_bulk_voltage":57.4,
"Battery_float_voltage":57.3,
"Max_grid_charge_current":60,
"Max_charge_current":60,
"Out_source_priority":2,
"Charger_source_priority":1,
"Battery_redischarge_voltage":2479072725932077545527213289373696.0,
"Warnings":"00000000000000000000000000000000"
so i know its communicating to the pi fine (ignor the output voltages the inverters power output is off at the moment so no current flowing, the problem is i have no mqtt entitites on my home assistant
when i was setting it all up, i stood the container up before i connected to my inverter via usb, is this where the problem lies?
if so how to i redo the standup part as when i type the docker-compose up -d it just says watchtower upto date and the other thing too.
im soooo close anyone help please?!?! thankyou
also my mqtt broker just does this constantly…
1587678785: Client mosqpub/616-1d7fb31f599 disconnected.
1587678785: New connection from 192.168.0.216 on port 1883.
1587678785: New client connected from 192.168.0.216 as mosqpub/638-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678785: Client mosqpub/638-1d7fb31f599 disconnected.
1587678786: New connection from 192.168.0.216 on port 1883.
1587678786: New client connected from 192.168.0.216 as mosqpub/660-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678786: Client mosqpub/660-1d7fb31f599 disconnected.
1587678786: New connection from 192.168.0.216 on port 1883.
1587678786: New client connected from 192.168.0.216 as mosqpub/682-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678786: Client mosqpub/682-1d7fb31f599 disconnected.
1587678786: New connection from 192.168.0.216 on port 1883.
1587678786: New client connected from 192.168.0.216 as mosqpub/704-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678786: Client mosqpub/704-1d7fb31f599 disconnected.
1587678786: New connection from 192.168.0.216 on port 1883.
1587678786: New client connected from 192.168.0.216 as mosqpub/726-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678786: Client mosqpub/726-1d7fb31f599 disconnected.
1587678787: New connection from 192.168.0.216 on port 1883.
1587678787: New client connected from 192.168.0.216 as mosqpub/748-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678787: Client mosqpub/748-1d7fb31f599 disconnected.
1587678787: New connection from 192.168.0.216 on port 1883.
1587678787: New client connected from 192.168.0.216 as mosqpub/770-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678787: Client mosqpub/770-1d7fb31f599 disconnected.
1587678787: New connection from 192.168.0.216 on port 1883.
1587678787: New client connected from 192.168.0.216 as mosqpub/792-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678787: Client mosqpub/792-1d7fb31f599 disconnected.
1587678788: New connection from 192.168.0.216 on port 1883.
1587678788: New client connected from 192.168.0.216 as mosqpub/814-1d7fb31f599 (p1, c1, k60, u'gazzaman2k').
1587678788: Client mosqpub/814-1d7fb31f599 disconnected.