softwarecrash/Solar2MQTT

[Bug]: AC_in_Voltage is 0

Closed this issue · 1 comments

Is there an existing issue for this?

  • I have searched the existing issues

Used Hardware?

Wemos D1 Mini

What happened?

AC_in_Voltage is 0 on the Webinterface and also in MQTT LiveData
QPIGS does contain the correct Voltage.

Screenshots / Fotos

image_2023-09-18_08-59-27

Screenshot 2023-09-18 091324

Steps To Reproduce

  • Connect you Solar2MQTT to your Inverter
  • Visit the Webinterface
  • find out that it shows 0 at AC input Voltage
  • Check the MQTT Broker
  • find out that it shows 0 at LiveData/AC_in_Voltage
  • find out that it gets the correct value in RAW/QPIGS

Version

1.x.x and above

Relevant livejson output

{"EspData":{"Device_name":"StecaWiFi","ESP_VCC":3.015,"Wifi_RSSI":-60,"sw_version":"1.1.0_debug d1_mini Sep 16 2023 20:29:29","Free_Heap":18336,"HEAP_Fragmentation":6,"json_memory_usage":1169,"json_capacity":4096,"runtime":1172,"ws_clients":0},"DeviceData":{"AC_in_rating_voltage":230,"AC_in_rating_current":21.7,"AC_out_rating_voltage":230,"AC_out_rating_frequency":50,"AC_out_rating_current":21.7,"AC_out_rating_apparent_power":5000,"AC_out_rating_active_power":5000,"Battery_rating_voltage":48,"Battery_re-charge_voltage":48,"Battery_under_voltage":46,"Battery_bulk_voltage":56.4,"Battery_float_voltage":56.4,"Battery_type":"User","Current_max_AC_charging_current":2,"Current_max_charging_current":30,"Input_voltage_range":"Appliance","Output_source_priority":"SBU first","Charger_source_priority":"Solar first","Parallel_max_num":9,"Machine_type":"Off Grid","Topology":"Transformerless","Output_mode":0,"Battery_re-discharge_voltage":52,"PV_OK_condition_for_parallel":0,"PV_power_balance":1,"Max_charging_time_at_CV_stage":300,"Protocol_ID":"PI30"},"LiveData":{"AC_in_Voltage":0,"AC_in_Frequenz":50,"AC_out_Voltage":230,"AC_out_Frequenz":50,"AC_out_VA":115,"AC_out_Watt":62,"AC_out_percent":2,"Inverter_Bus_Voltage":374,"Battery_Voltage":53,"Battery_Charge_Current":2,"Battery_Percent":66,"Inverter_Bus_Temperature":31,"PV_Input_Current":4,"PV_Input_Voltage":96.2,"Battery_SCC_Volt":52.88,"Battery_Discharge_Current":0,"Status_Flag":110110,"Battery_voltage_offset_fans_on":0,"EEPROM_Version":0,"PV_Charging_Power":248,"Device_Status":10,"Battery_Load":2,"PV_Input_Power":384,"Inverter_Operation_Mode":"Battery"}}

What browsers are you seeing the problem on?

Firefox, Chrome, Safari, Microsoft Edge

fixed by @softwarecrash in Version Solar2MQTT_d1_mini_1.1.0L2_debug