Closed Saentist closed 1 year ago
Im not sure what you are after. Are you wanting to change how it looks in the configure screen? If you know what needs to be sent to the broker I can look at changing the message
Lets imagine that we have multiple inverters only difference is in entities name string. It will be more usefully if grouped by source.
Im still not clear what you mean by 'group' When I was using 2 inverters, I was using the 'tag' option to provide entity names that we easy to select by wildcard
Is this what you mean?
On Mon, 7 Nov 2022 at 19:25, Saentist @.***> wrote:
Lets imagine that we have multiple inverters only difference is in entities name string. It will be more usefully if grouped by source.
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1305142979, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNTKOHNXS4AFV4F2UF3WHCOGTANCNFSM6AAAAAARYB332E . You are receiving this because you commented.Message ID: @.***>
I try to use this software
https://github.com/lluiscab/MPQTT
(very limited support to inverters commands response and direct crash in my case)
but perfect organized sending of data
I see Inverter sensors as "Device with sensors" with is more organized, then bunch of sensors
Can you grab some of the discovery mqtt messages from mpqtt
On Tue, 8 Nov 2022 at 09:37, Saentist @.***> wrote:
I try to use this software https://github.com/lluiscab/MPQTT (very limited support to inverters commands response and direct crash in my case) but perfect organized sending of data I see Inverter sensors as "Device with sensors" with is more organized, then bunch of sensors [image: image] https://user-images.githubusercontent.com/16975883/200408092-9c0911ca-5d3b-4221-89f6-d4fa1335bb5b.png
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1306156512, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNT2HLUZJU6DTKTR32LWHFSBBANCNFSM6AAAAAARYB332E . You are receiving this because you commented.Message ID: @.***>
Can you grab some of the discovery mqtt messages from mpqtt
Is there any guide how to do it?
{"unique_id":"mpqtt_last_error","name":"MPQTT - Last error","state_topic":"mpqtt/status/error","icon":"mdi:hammer-wrench","device":{"name":"MPQTT","identifiers":["mpqtt"],"model":"MPQTT","manufacturer":"MPQTT","sw_version":"1.1.0"},"force_update":false}
{"unique_id":"mpqtt_qid_serial_number","name":"MPQTT - Serial number","value_template":"{{ value_json.serial_number }}","state_topic":"mpqtt/status/qid","icon":"mdi:slot-machine","device":{"name":"MPQTT","identifiers":["mpqtt"],"model":"MPQTT","manufacturer":"MPQTT","sw_version":"1.1.0"},"force_update":false}
In 'Settings' for MQTT go to Configure Then you can listen to messages: (my autoconfigure prefix us homeassistant) Need to grab the config message related to mpqtt
[image: image.png]
On Tue, 8 Nov 2022 at 09:54, Saentist @.***> wrote:
Can you grab some of the discovery mqtt messages from mpqtt
Is there any guide how to do it?
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1306177420, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNQ4OLX5QIKTOJWJRSTWHFUATANCNFSM6AAAAAARYB332E . You are receiving this because you commented.Message ID: @.***>
mqtt-1.json.txt this is mqtt info
ok, first attempt in version 0.13.8 which uses the name field
oh and new output module hassd_mqtt
Any example of command used?
Same as your original but change -o hass_mqtt
to -o hassd_mqtt
On Tue, 8 Nov 2022, 7:19 pm Saentist, @.***> wrote:
Any example of command used?
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1306693216, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNQIX7VFV6GXGS4DLVDWHHWI5ANCNFSM6AAAAAARYB332E . You are receiving this because you commented.Message ID: @.***>
I get some strange results in screen
mpp-solar -p /dev/hidraw1 -o hassd_mqtt,screen -c QID#QMOD#QPI#QPIGS#QPIRI -q 192.168.1.12 --mqttuser user --mqttpass 'pass' -n VMIII-5000 --daemon
Service Initializing ...
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QID, tag: QID, outputs: hassd_mqtt,screen
{"name": "QID Serial Number", "state_topic": "homeassistant/sensor/mpp_QID_serial_number/state", "unit_of_measurement": "", "unique_id": "mpp_QID_serial_number", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
serial_number 55355535553555
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QMOD, tag: QMOD, outputs: hassd_mqtt,screen
{"name": "QMOD Device Mode", "state_topic": "homeassistant/sensor/mpp_QMOD_device_mode/state", "unit_of_measurement": "", "unique_id": "mpp_QMOD_device_mode", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
device_mode Line
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPI, tag: QPI, outputs: hassd_mqtt,screen
{"name": "QPI Protocol ID", "state_topic": "homeassistant/sensor/mpp_QPI_protocol_id/state", "unit_of_measurement": "", "unique_id": "mpp_QPI_protocol_id", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
protocol_id PI30
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPIGS, tag: QPIGS, outputs: hassd_mqtt,screen
{"name": "QPIGS AC Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_ac_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Input Frequency", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_input_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIGS_ac_input_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_ac_output_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Frequency", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIGS_ac_output_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Apparent Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_apparent_power/state", "unit_of_measurement": "VA", "unique_id": "mpp_QPIGS_ac_output_apparent_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Active Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_active_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIGS_ac_output_active_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIGS AC Output Load", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_load/state", "unit_of_measurement": "%", "unique_id": "mpp_QPIGS_ac_output_load", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS BUS Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_bus_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_bus_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_battery_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_battery_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Capacity", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_capacity/state", "unit_of_measurement": "%", "unique_id": "mpp_QPIGS_battery_capacity", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Inverter Heat Sink Temperature", "state_topic": "homeassistant/sensor/mpp_QPIGS_inverter_heat_sink_temperature/state", "unit_of_measurement": "\u00b0C", "unique_id": "mpp_QPIGS_inverter_heat_sink_temperature", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Current for Battery", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_current_for_battery/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_pv_input_current_for_battery", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_pv_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Voltage from SCC", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_voltage_from_scc/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_battery_voltage_from_scc", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Discharge Current", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_discharge_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_battery_discharge_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SBU Priority Version Added", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_sbu_priority_version_added/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_sbu_priority_version_added", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Configuration Changed", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_configuration_changed/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_configuration_changed", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SCC Firmware Updated", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_scc_firmware_updated/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_scc_firmware_updated", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Load On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_load_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_load_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Battery Voltage to Steady While Charging", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_battery_voltage_to_steady_while_charging/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_battery_voltage_to_steady_while_charging", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SCC Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_scc_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_scc_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is AC Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_ac_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_ac_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS RSV1", "state_topic": "homeassistant/sensor/mpp_QPIGS_rsv1/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_rsv1", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS RSV2", "state_topic": "homeassistant/sensor/mpp_QPIGS_rsv2/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_rsv2", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIGS_pv_input_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIGS Is Charging to Float", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_charging_to_float/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_charging_to_float", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Switched On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_switched_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_switched_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Reserved", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_reserved/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_reserved", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
ac_input_voltage 224.3 V
ac_input_frequency 49.9 Hz
ac_output_voltage 224.3 V
ac_output_frequency 49.9 Hz
ac_output_apparent_power 0 VA
ac_output_active_power 0 W
ac_output_load 0 %
bus_voltage 277 V
battery_voltage 0.7 V
battery_charging_current 0 A
battery_capacity 0 %
inverter_heat_sink_temperature 23 °C
pv_input_current_for_battery 0.0 A
pv_input_voltage 0.0 V
battery_voltage_from_scc 0.0 V
battery_discharge_current 0 A
is_sbu_priority_version_added 0 bool
is_configuration_changed 0 bool
is_scc_firmware_updated 0 bool
is_load_on 1 bool
is_battery_voltage_to_steady_while_charging 0 bool
is_charging_on 0 bool
is_scc_charging_on 0 bool
is_ac_charging_on 0 bool
rsv1 0 A
rsv2 0 A
pv_input_power 0 W
is_charging_to_float 0 bool
is_switched_on 1 bool
is_reserved 0 bool
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPIRI, tag: QPIRI, outputs: hassd_mqtt,screen
{"name": "QPIRI AC Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_ac_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Input Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_input_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_ac_input_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_ac_output_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Frequency", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIRI_ac_output_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_ac_output_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Apparent Power", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_apparent_power/state", "unit_of_measurement": "VA", "unique_id": "mpp_QPIRI_ac_output_apparent_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Active Power", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_active_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIRI_ac_output_active_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIRI Battery Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Recharge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_recharge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_recharge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Under Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_under_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_under_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Bulk Charge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_bulk_charge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_bulk_charge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Float Charge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_float_charge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_float_charge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Type", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_type/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_battery_type", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max AC Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_ac_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_max_ac_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_max_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Input Voltage Range", "state_topic": "homeassistant/sensor/mpp_QPIRI_input_voltage_range/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_input_voltage_range", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Output Source Priority", "state_topic": "homeassistant/sensor/mpp_QPIRI_output_source_priority/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_output_source_priority", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Charger Source Priority", "state_topic": "homeassistant/sensor/mpp_QPIRI_charger_source_priority/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_charger_source_priority", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max Parallel Units", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_parallel_units/state", "unit_of_measurement": "units", "unique_id": "mpp_QPIRI_max_parallel_units", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Machine Type", "state_topic": "homeassistant/sensor/mpp_QPIRI_machine_type/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_machine_type", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Topology", "state_topic": "homeassistant/sensor/mpp_QPIRI_topology/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_topology", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Output Mode", "state_topic": "homeassistant/sensor/mpp_QPIRI_output_mode/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_output_mode", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Redischarge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_redischarge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_redischarge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI PV OK Condition", "state_topic": "homeassistant/sensor/mpp_QPIRI_pv_ok_condition/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_pv_ok_condition", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI PV Power Balance", "state_topic": "homeassistant/sensor/mpp_QPIRI_pv_power_balance/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_pv_power_balance", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
ac_input_voltage 230.0 V
ac_input_current 21.7 A
ac_output_voltage 230.0 V
ac_output_frequency 50.0 Hz
ac_output_current 21.7 A
ac_output_apparent_power 5000 VA
ac_output_active_power 5000 W
battery_voltage 48.0 V
battery_recharge_voltage 46.0 V
battery_under_voltage 42.0 V
battery_bulk_charge_voltage 56.4 V
battery_float_charge_voltage 54.0 V
battery_type AGM
max_ac_charging_current 2 A
max_charging_current 10 A
input_voltage_range UPS
output_source_priority SBU first
charger_source_priority Only solar charging permitted
max_parallel_units 1 units
machine_type Off Grid
topology transformerless
output_mode single machine output
battery_redischarge_voltage 54.0 V
pv_ok_condition As long as one unit of inverters has connect PV, parallel system will consider PV OK
pv_power_balance PV input max power will be the sum of the max charged power and loads power
Sleeping for 60 sec
oh, I left a print statement uncommented v 0.13.9 should fix this
On Wed, 9 Nov 2022 at 09:08, Saentist @.***> wrote:
I get some strange results in screen
mpp-solar -p /dev/hidraw1 -o hassd_mqtt,screen -c QID#QMOD#QPI#QPIGS#QPIRI -q 192.168.1.12 --mqttuser user --mqttpass 'pass' -n VMIII-5000 --daemon
Service Initializing ...
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QID, tag: QID, outputs: hassd_mqtt,screen
{"name": "QID Serial Number", "state_topic": "homeassistant/sensor/mpp_QID_serial_number/state", "unit_of_measurement": "", "unique_id": "mpp_QID_serial_number", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
serial_number 55355535553555
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QMOD, tag: QMOD, outputs: hassd_mqtt,screen
{"name": "QMOD Device Mode", "state_topic": "homeassistant/sensor/mpp_QMOD_device_mode/state", "unit_of_measurement": "", "unique_id": "mpp_QMOD_device_mode", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
device_mode Line
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPI, tag: QPI, outputs: hassd_mqtt,screen
{"name": "QPI Protocol ID", "state_topic": "homeassistant/sensor/mpp_QPI_protocol_id/state", "unit_of_measurement": "", "unique_id": "mpp_QPI_protocol_id", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
protocol_id PI30
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPIGS, tag: QPIGS, outputs: hassd_mqtt,screen
{"name": "QPIGS AC Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_ac_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Input Frequency", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_input_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIGS_ac_input_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_ac_output_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Frequency", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIGS_ac_output_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Apparent Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_apparent_power/state", "unit_of_measurement": "VA", "unique_id": "mpp_QPIGS_ac_output_apparent_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS AC Output Active Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_active_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIGS_ac_output_active_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIGS AC Output Load", "state_topic": "homeassistant/sensor/mpp_QPIGS_ac_output_load/state", "unit_of_measurement": "%", "unique_id": "mpp_QPIGS_ac_output_load", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS BUS Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_bus_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_bus_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_battery_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_battery_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Capacity", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_capacity/state", "unit_of_measurement": "%", "unique_id": "mpp_QPIGS_battery_capacity", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Inverter Heat Sink Temperature", "state_topic": "homeassistant/sensor/mpp_QPIGS_inverter_heat_sink_temperature/state", "unit_of_measurement": "\u00b0C", "unique_id": "mpp_QPIGS_inverter_heat_sink_temperature", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Current for Battery", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_current_for_battery/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_pv_input_current_for_battery", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_pv_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Voltage from SCC", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_voltage_from_scc/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIGS_battery_voltage_from_scc", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Battery Discharge Current", "state_topic": "homeassistant/sensor/mpp_QPIGS_battery_discharge_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_battery_discharge_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SBU Priority Version Added", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_sbu_priority_version_added/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_sbu_priority_version_added", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Configuration Changed", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_configuration_changed/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_configuration_changed", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SCC Firmware Updated", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_scc_firmware_updated/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_scc_firmware_updated", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Load On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_load_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_load_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Battery Voltage to Steady While Charging", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_battery_voltage_to_steady_while_charging/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_battery_voltage_to_steady_while_charging", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is SCC Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_scc_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_scc_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is AC Charging On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_ac_charging_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_ac_charging_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS RSV1", "state_topic": "homeassistant/sensor/mpp_QPIGS_rsv1/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_rsv1", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS RSV2", "state_topic": "homeassistant/sensor/mpp_QPIGS_rsv2/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIGS_rsv2", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS PV Input Power", "state_topic": "homeassistant/sensor/mpp_QPIGS_pv_input_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIGS_pv_input_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIGS Is Charging to Float", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_charging_to_float/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_charging_to_float", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Switched On", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_switched_on/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_switched_on", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIGS Is Reserved", "state_topic": "homeassistant/sensor/mpp_QPIGS_is_reserved/state", "unit_of_measurement": "bool", "unique_id": "mpp_QPIGS_is_reserved", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
ac_input_voltage 224.3 V
ac_input_frequency 49.9 Hz
ac_output_voltage 224.3 V
ac_output_frequency 49.9 Hz
ac_output_apparent_power 0 VA
ac_output_active_power 0 W
ac_output_load 0 %
bus_voltage 277 V
battery_voltage 0.7 V
battery_charging_current 0 A
battery_capacity 0 %
inverter_heat_sink_temperature 23 °C
pv_input_current_for_battery 0.0 A
pv_input_voltage 0.0 V
battery_voltage_from_scc 0.0 V
battery_discharge_current 0 A
is_sbu_priority_version_added 0 bool
is_configuration_changed 0 bool
is_scc_firmware_updated 0 bool
is_load_on 1 bool
is_battery_voltage_to_steady_while_charging 0 bool
is_charging_on 0 bool
is_scc_charging_on 0 bool
is_ac_charging_on 0 bool
rsv1 0 A
rsv2 0 A
pv_input_power 0 W
is_charging_to_float 0 bool
is_switched_on 1 bool
is_reserved 0 bool
Getting results from device: mppsolar device - name: VMIII-5000, port: <mppsolar.inout.hidrawio.HIDRawIO object at 0x7ff065ba5220>, protocol: <mppsolar.protocols.pi30.pi30 object at 0x7ff0653f21f0> for command: QPIRI, tag: QPIRI, outputs: hassd_mqtt,screen
{"name": "QPIRI AC Input Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_input_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_ac_input_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Input Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_input_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_ac_input_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_ac_output_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Frequency", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_frequency/state", "unit_of_measurement": "Hz", "unique_id": "mpp_QPIRI_ac_output_frequency", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_ac_output_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Apparent Power", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_apparent_power/state", "unit_of_measurement": "VA", "unique_id": "mpp_QPIRI_ac_output_apparent_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI AC Output Active Power", "state_topic": "homeassistant/sensor/mpp_QPIRI_ac_output_active_power/state", "unit_of_measurement": "W", "unique_id": "mpp_QPIRI_ac_output_active_power", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}, "state_class": "measurement", "device_class": "power"}
{"name": "QPIRI Battery Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Recharge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_recharge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_recharge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Under Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_under_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_under_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Bulk Charge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_bulk_charge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_bulk_charge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Float Charge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_float_charge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_float_charge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Type", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_type/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_battery_type", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max AC Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_ac_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_max_ac_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max Charging Current", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_charging_current/state", "unit_of_measurement": "A", "unique_id": "mpp_QPIRI_max_charging_current", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Input Voltage Range", "state_topic": "homeassistant/sensor/mpp_QPIRI_input_voltage_range/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_input_voltage_range", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Output Source Priority", "state_topic": "homeassistant/sensor/mpp_QPIRI_output_source_priority/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_output_source_priority", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Charger Source Priority", "state_topic": "homeassistant/sensor/mpp_QPIRI_charger_source_priority/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_charger_source_priority", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Max Parallel Units", "state_topic": "homeassistant/sensor/mpp_QPIRI_max_parallel_units/state", "unit_of_measurement": "units", "unique_id": "mpp_QPIRI_max_parallel_units", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Machine Type", "state_topic": "homeassistant/sensor/mpp_QPIRI_machine_type/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_machine_type", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Topology", "state_topic": "homeassistant/sensor/mpp_QPIRI_topology/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_topology", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Output Mode", "state_topic": "homeassistant/sensor/mpp_QPIRI_output_mode/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_output_mode", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI Battery Redischarge Voltage", "state_topic": "homeassistant/sensor/mpp_QPIRI_battery_redischarge_voltage/state", "unit_of_measurement": "V", "unique_id": "mpp_QPIRI_battery_redischarge_voltage", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI PV OK Condition", "state_topic": "homeassistant/sensor/mpp_QPIRI_pv_ok_condition/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_pv_ok_condition", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
{"name": "QPIRI PV Power Balance", "state_topic": "homeassistant/sensor/mpp_QPIRI_pv_power_balance/state", "unit_of_measurement": "", "unique_id": "mpp_QPIRI_pv_power_balance", "force_update": "true", "device": {"name": "VMIII-5000", "identifiers": ["mppsolar"], "manufacturer": "MPP-Solar"}}
Parameter Value Unit
ac_input_voltage 230.0 V
ac_input_current 21.7 A
ac_output_voltage 230.0 V
ac_output_frequency 50.0 Hz
ac_output_current 21.7 A
ac_output_apparent_power 5000 VA
ac_output_active_power 5000 W
battery_voltage 48.0 V
battery_recharge_voltage 46.0 V
battery_under_voltage 42.0 V
battery_bulk_charge_voltage 56.4 V
battery_float_charge_voltage 54.0 V
battery_type AGM
max_ac_charging_current 2 A
max_charging_current 10 A
input_voltage_range UPS
output_source_priority SBU first
charger_source_priority Only solar charging permitted
max_parallel_units 1 units
machine_type Off Grid
topology transformerless
output_mode single machine output
battery_redischarge_voltage 54.0 V
pv_ok_condition As long as one unit of inverters has connect PV, parallel system will consider PV OK
pv_power_balance PV input max power will be the sum of the max charged power and loads power
Sleeping for 60 sec
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1307768993, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNVL73KBAGLE3CY3H3DWHKXNPANCNFSM6AAAAAARYB332E . You are receiving this because you commented.Message ID: @.***>
How can be implement this predefined type of setting icon, for sensors to new super module hassd_mqtt?
// Register QPIGS Sensors
register_sensor(client, cfg, "qpigs", "grid_voltage", "Grid Voltage", Some("V".to_string()), "power-plug").await?;
register_sensor(client, cfg, "qpigs", "grid_frequency", "Grid Frequency", Some("Hz".to_string()), "current-ac").await?;
register_sensor(client, cfg, "qpigs", "ac_out_voltage", "Out Voltage", Some("V".to_string()), "power-plug").await?;
register_sensor(client, cfg, "qpigs", "ac_out_frequency", "Out Frequency", Some("Hz".to_string()), "current-ac").await?;
register_sensor(client, cfg, "qpigs", "ac_out_apparent_power", "Out apparent power", Some("W".to_string()), "power-plug").await?;
register_sensor(client, cfg, "qpigs", "ac_out_active_power", "Out active power", Some("W".to_string()), "power-plug").await?;
register_sensor(client, cfg, "qpigs", "out_load_percent", "Out load percent", Some("%".to_string()), "brightness-percent").await?;
register_sensor(client, cfg, "qpigs", "bus_voltage", "Bus Voltage", Some("V".to_string()), "details").await?;
register_sensor(client, cfg, "qpigs", "battery_voltage", "Battery Voltage", Some("V".to_string()), "battery-outline").await?;
register_sensor(client, cfg, "qpigs", "battery_charge_current", "Battery charge current", Some("A".to_string()), "current-dc").await?;
register_sensor(client, cfg, "qpigs", "battery_capacity", "Battery capacity", Some("%".to_string()), "battery-outline").await?;
register_sensor(client, cfg, "qpigs", "inverter_heat_sink_temp", "Heat sink temperature", Some("°C".to_string()), "details").await?;
register_sensor(client, cfg, "qpigs", "pv_input_current", "PV Input Current", Some("A".to_string()), "solar-power").await?;
register_sensor(client, cfg, "qpigs", "pv_input_voltage", "PV Input Voltage", Some("V".to_string()), "solar-power").await?;
register_sensor(client, cfg, "qpigs", "battery_scc_voltage", "Battery SCC Voltage", Some("V".to_string()), "current-dc").await?;
register_sensor(client, cfg, "qpigs", "battery_discharge_current", "Battery discharge current", Some("A".to_string()), "battery-negative").await?;
register_sensor(client, cfg, "qpigs", "device_status.charge_status", "Device charge status", None, "power-plug").await?;
register_sensor(client, cfg, "qpigs", "device_status.active_load", "Active load", None, "power").await?;
@jblance Is value type can be defined? Aka V, A, W, kWh, Hz, °C/F, % ... etc. Idea is to be used with Energy monitoring in HA.
I'd like to also use this new hassd_mqtt output format. How do I go about upgrading my install to get the latest version? I tried:
sudo pip install -e "git+https://github.com/jblance/mpp-solar.git#egg=mppsolar"
But I get errors about modules not installed.
I'd like to also use this new hassd_mqtt output format. How do I go about upgrading my install to get the latest version? I tried:
sudo pip install -e "git+https://github.com/jblance/mpp-solar.git#egg=mppsolar"
But I get errors about modules not installed.
I have same problem and need to force update. Start new Issue and attach logs.
The pip install mppsolar
command should get a suitable version.
Though if you've installed from source you may need to do some cleanup first
On Wed, 14 Dec 2022, 7:11 pm Saentist, @.***> wrote:
I'd like to also use this new hassd_mqtt output format. How do I go about upgrading my install to get the latest version? I tried:
sudo pip install -e "git+ https://github.com/jblance/mpp-solar.git#egg=mppsolar"
But I get errors about modules not installed.
I have same problem and need to force update
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1350454156, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNR5D4NHLFEI3J5ULRLWNFQJ3ANCNFSM6AAAAAARYB332E . You are receiving this because you were mentioned.Message ID: @.***>
The
pip install mppsolar
command should get a suitable version. Though if you've installed from source you may need to do some cleanup first
No, there is a problem of pip with stuck in some old version in his core components. There are few lines yellow messages with version conflicts.
Can you post the relevant bits so I can see if I've messed something up
On Wed, 14 Dec 2022, 7:27 pm Saentist, @.***> wrote:
The pip install mppsolar command should get a suitable version. Though if you've installed from source you may need to do some cleanup first … <#m-5551978763641168814> On Wed, 14 Dec 2022, 7:11 pm Saentist, @.> wrote: I'd like to also use this new hassd_mqtt output format. How do I go about upgrading my install to get the latest version? I tried: sudo pip install -e "git+ https://github.com/jblance/mpp-solar.git#egg=mppsolar https://github.com/jblance/mpp-solar.git#egg=mppsolar" But I get errors about modules not installed. I have same problem and need to force update — Reply to this email directly, view it on GitHub <#269 (comment) https://github.com/jblance/mpp-solar/issues/269#issuecomment-1350454156>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNR5D4NHLFEI3J5ULRLWNFQJ3ANCNFSM6AAAAAARYB332E https://github.com/notifications/unsubscribe-auth/AAJVKNR5D4NHLFEI3J5ULRLWNFQJ3ANCNFSM6AAAAAARYB332E . You are receiving this because you were mentioned.Message ID: @.>
No, there is a problem of pip with stuck in some old version in his core components. There are few lines yellow messages with version conflicts.
— Reply to this email directly, view it on GitHub https://github.com/jblance/mpp-solar/issues/269#issuecomment-1350473658, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNU362EK7XCJH44WQ2TWNFSD5ANCNFSM6AAAAAARYB332E . You are receiving this because you were mentioned.Message ID: @.***>
@RoySalisbury post complete terminal output whet run update command.
Rolling back uninstall of mppsolar Moving to /usr/local/bin/jkbms from /tmp/pip-uninstall-dpk4i3gf/jkbms Moving to /usr/local/bin/mpp-solar from /tmp/pip-uninstall-dpk4i3gf/mpp-solar Moving to /usr/local/bin/powermon from /tmp/pip-uninstall-dpk4i3gf/powermon Moving to /usr/local/lib/python3.9/dist-packages/mppsolar-0.12.5.dist-info/ from /usr/local/lib/python3.9/dist-packages/~ppsolar-0.12.5.dist-info Moving to /usr/local/lib/python3.9/dist-packages/mppsolar/ from /usr/local/lib/python3.9/dist-packages/~ppsolar ERROR: Command errored out with exit status 1: /usr/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/pi/src/mppsolar/setup.py'"'"'; file='"'"'/home/pi/src/mppsolar/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' develop --no-deps Check the logs for full command output. pi@workshop-pi:~ $
And if just ran as a "upgrade from the original install:
pi@workshop-pi:~ $ sudo pip install mppsolar Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: mppsolar in /usr/local/lib/python3.9/dist-packages (0.12.5) Requirement already satisfied: pymongo in /usr/local/lib/python3.9/dist-packages (from mppsolar) (4.2.0) Requirement already satisfied: paho-mqtt in /usr/local/lib/python3.9/dist-packages (from mppsolar) (1.6.1) Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from mppsolar) (3.5b0) Requirement already satisfied: bluepy in /usr/local/lib/python3.9/dist-packages (from mppsolar) (1.3.0) pi@workshop-pi:~ $
use
sudo pip install -U mppsolar
to force update
Great.. That works. The device group seems to work now and I will try with two different inverter sections in the conf file. I tried with my JK BMS, but the PI bluetooth is so bad that Its just not worth it (will never stay running very log).
I tried with my JK BMS, but the PI bluetooth is so bad that Its just not worth it (will never stay running very log).
I have my pi3 doing ble connection to my jkbms working ok I have started a new approach that will improve on the ble access but it is a complete refactor as some of the 'bad' connectivity is baked in to the current code. There is the esp32 esphome solution that i have heard works well for the jkbms https://github.com/syssi/esphome-jk-bms by @syssi
Home assistant devices added and initial work with icons and device classes added
Currently I use this command
But in home assistant i get bunch of sensors no group/source etc. How to get them in groups?