ned-kelly / docker-voltronic-homeassistant

Programmatically read data from your Voltronic, Axpert, Mppsolar PIP, Voltacon, Effekta etc Inverter and send it to Home Assistant via MQTT - Works with RS232 & USB!
GNU General Public License v3.0
257 stars 140 forks source link

Easun Power 3.2 SGH II : can't find values for #113

Open carmelo42 opened 7 months ago

carmelo42 commented 7 months ago

Hello,

I can't find values for qpiri, qpiws, qmod and qpigs for my Easun Power 3.2 SGH II.

I have tried this :

# This allows you to modify the buffersize for the qpiri command
qpiri=98

# 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

And here is what I get :

root@ced214cde071:/opt/inverter-cli/bin# ./inverter_poller -d -1
Thu Nov 23 14:39:45 2023 INVERTER: Debug set
Thu Nov 23 14:39:45 2023 INVERTER: Current CRC: 49 C1
Thu Nov 23 14:39:45 2023 INVERTER: QMOD reply size (5 bytes)
Thu Nov 23 14:39:45 2023 INVERTER: QMOD: 5 bytes read: (L
Thu Nov 23 14:39:45 2023 INVERTER: QMOD query finished
Thu Nov 23 14:39:45 2023 INVERTER: Current CRC: B7 A9
Thu Nov 23 14:39:48 2023 INVERTER: QPIGS read timeout
Thu Nov 23 14:39:48 2023 INVERTER: QPIGS reply too short (0 bytes)
Thu Nov 23 14:39:48 2023 INVERTER: Current CRC: F8 54
Thu Nov 23 14:39:48 2023 INVERTER: QPIRI reply size (98 bytes)
Thu Nov 23 14:39:48 2023 INVERTER: QPIRI: 98 bytes read: (230.0 13.9 230.0 50.0 13.9 3200 3000 24.0 23.0 22.0 29.0 29.0 2 20 020 1 0 2 6 01 0 0 27.0 0 1
Thu Nov 23 14:39:48 2023 INVERTER: QPIRI query finished
Thu Nov 23 14:39:48 2023 INVERTER: Current CRC: B4 DA
Thu Nov 23 14:39:51 2023 INVERTER: QPIWS read timeout
Thu Nov 23 14:39:51 2023 INVERTER: QPIWS reply too short (0 bytes)
Thu Nov 23 14:39:56 2023 INVERTER: Current CRC: B7 A9
Thu Nov 23 14:39:56 2023 INVERTER: QPIGS reply size (110 bytes)
Thu Nov 23 14:39:56 2023 INVERTER: QPIGS: 110 bytes read: (240.0 49.9 240.0 49.9 0167 0049 005 457 29.00 001 100 0023 0000 000.0 00.00 00000 00010101 00 00 00001 110
Thu Nov 23 14:39:56 2023 INVERTER: QPIGS query finished
Thu Nov 23 14:39:56 2023 INVERTER: Current CRC: B4 DA
INVERTER: ampfactor from config is 1.00
INVERTER: wattfactor from config is 1.01
{
  "Inverter_mode":3,
  "AC_grid_voltage":240.0,
  "AC_grid_frequency":49.9,
  "AC_out_voltage":240.0,
  "AC_out_frequency":49.9,
  "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":5,
  "Load_watt":49,
  "Load_watthour":1.6333,
  "Load_va":167,
  "Bus_voltage":457,
  "Heatsink_temperature":23,
  "Battery_capacity":100,
  "Battery_voltage":29.00,
  "Battery_charge_current":1,
  "Battery_discharge_current":0,
  "Load_status_on":1,
  "SCC_charge_on":0,
  "AC_charge_on":1,
  "Battery_recharge_voltage":23.0,
  "Battery_under_voltage":22.0,
  "Battery_bulk_voltage":29.0,
  "Battery_float_voltage":29.0,
  "Max_grid_charge_current":20,
  "Max_charge_current":20,
  "Out_source_priority":0,
  "Charger_source_priority":2,
  "Battery_redischarge_voltage":2579850948650221782946201194201088.0,
  "Warnings":""
}
Thu Nov 23 14:39:56 2023 INVERTER: All queries complete, exiting loop.
root@ced214cde071:/opt/inverter-cli/bin#

I can see some config topics in MQTT bus, but nothing in Home Assistant in the MQTT devices.