Closed sralus closed 1 year ago
Its a bit out of scope of support for this code, but one way is to send the data to influx via mqtt and telegraf. there is an example (though it is a little dated) https://github.com/jblance/mpp-solar/blob/master/docs/MQTT_Influx_Grafana.md
I tested MPP Solar and got this output:
Parameter Value Unit total_generated_energy 57607 Wh error full_command not found for EY in protocol b'PI18' serial_number 1496142207102981000000 main_cpu_version 8661 slave_1_cpu_version 0 slave_2_cpu_version 0 ac_input_rated_voltage 240.0 V ac_input_rated_current 25.0 A ac_output_rated_voltage 240.0 V ac_output_rated_frequency 50.0 Hz ac_output_rated_current 25.0 A ac_output_rating_apparent_power 6000 VA ac_output_rating_active_power 6000 W battery_rated_voltage 48.0 V battery_re-charge_voltage 51.0 V battery_re-discharge_voltage 51.0 V battery_under_voltage 48.0 V battery_bulk_voltage 53.6 V battery_float_voltage 53.5 V battery_type User max_ac_charging_current 2 A max_charging_current 120 A input_voltage_rang UPS output_source_priority Solar-Battery-Utility charger_source_priority Solar First parallel_max_num 9 machine_type Grid-Tie topology transformerless output_model_setting Single module solar_power_priority Battery-Load-Utiliy + AC Charger mppt_strings 1 unknown_value_in_response_25 01 grid_voltage 0.0 V grid_frequency 0.0 Hz ac_output_voltage 240.1 V ac_output_frequency 50.0 Hz ac_output_apparent_power 1 VA ac_output_active_power 1 W output_load_percent 0 % battery_voltage 53.4 V battery_voltage_from_scc 0.0 V battery_voltage_from_scc2 0.0 V battery_discharge_current 0 A battery_charging_current 2 A battery_capacity 52 % inverter_heat_sink_temperature 26 °C mppt1_charger_temperature 5 °C mppt2_charger_temperature 0 °C pv1_input_power 183 W pv2_input_power 0 W pv1_input_voltage 330.0 V pv2_input_voltage 0.0 V setting_value_configuration_state Nothing changed mppt1_charger_status charging mppt2_charger_status abnormal load_connection connect battery_power_direction charge dc/ac_power_direction DC-AC line_power_direction donothing local_parallel_id 0 working_mode Battery mode buzzer_beep Enabled overload_bypass_function Enabled display_back_to_default_page Disabled overload_restart Enabled over_temperature_restart Disabled backlight_on Enabled alarm_primary_source_interrupt Disabled fault_code_record Enabled reserved 2 max._charging_current_value_1 10 A max._charging_current_value_2 20 A max._charging_current_value_3 30 A max._charging_current_value_4 40 A max._charging_current_value_5 50 A max._charging_current_value_6 60 A max._charging_current_value_7 70 A max._charging_current_value_8 80 A unknown_value_in_response_8 090 unknown_value_in_response_9 090 unknown_value_in_response_10 100 unknown_value_in_response_11 110 max._ac_charging_current_value_1 2 A max._ac_charging_current_value_2 10 A max._ac_charging_current_value_3 20 A max._ac_charging_current_value_4 30 A max._ac_charging_current_value_5 40 A max._ac_charging_current_value_6 50 A max._ac_charging_current_value_7 60 A max._ac_charging_current_value_8 70 A max._ac_charging_current_value_9 80 A unknown_value_in_response_12 120 protocol_version 18
I have the Easun IGrid SV II 6kv Identical in construction to the Infini_v_serie.
could you possibly tell me what the command should be for SBU etc.. Many Thanks!!
all the commands for PI18 are in this document https://github.com/jblance/mpp-solar/blob/master/docs/protocols/PI18_InfiniSolar-V-protocol-20170926.pdf
On Fri, 20 Jan 2023 at 08:19, sralus @.***> wrote:
I tested MPP Solar and got this output: sudo mpp-solar -p /dev/hidraw1 -P PI18 --getstatus Processing DEFAULT type responses 2023-01-19 @.***: full_command not found for EY in protocol b'PI18' Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Processing DEFAULT type responses Command: PI - Device Protocol Version inquiry
Parameter Value Unit total_generated_energy 57607 Wh error full_command not found for EY in protocol b'PI18' serial_number 1496142207102981000000 main_cpu_version 8661 slave_1_cpu_version 0 slave_2_cpu_version 0 ac_input_rated_voltage 240.0 V ac_input_rated_current 25.0 A ac_output_rated_voltage 240.0 V ac_output_rated_frequency 50.0 Hz ac_output_rated_current 25.0 A ac_output_rating_apparent_power 6000 VA ac_output_rating_active_power 6000 W battery_rated_voltage 48.0 V battery_re-charge_voltage 51.0 V battery_re-discharge_voltage 51.0 V battery_under_voltage 48.0 V battery_bulk_voltage 53.6 V battery_float_voltage 53.5 V battery_type User max_ac_charging_current 2 A max_charging_current 120 A input_voltage_rang UPS output_source_priority Solar-Battery-Utility charger_source_priority Solar First parallel_max_num 9 machine_type Grid-Tie topology transformerless output_model_setting Single module solar_power_priority Battery-Load-Utiliy + AC Charger mppt_strings 1 unknown_value_in_response_25 01 grid_voltage 0.0 V grid_frequency 0.0 Hz ac_output_voltage 240.1 V ac_output_frequency 50.0 Hz ac_output_apparent_power 1 VA ac_output_active_power 1 W output_load_percent 0 % battery_voltage 53.4 V battery_voltage_from_scc 0.0 V battery_voltage_from_scc2 0.0 V battery_discharge_current 0 A battery_charging_current 2 A battery_capacity 52 % inverter_heat_sink_temperature 26 °C mppt1_charger_temperature 5 °C mppt2_charger_temperature 0 °C pv1_input_power 183 W pv2_input_power 0 W pv1_input_voltage 330.0 V pv2_input_voltage 0.0 V setting_value_configuration_state Nothing changed mppt1_charger_status charging mppt2_charger_status abnormal load_connection connect battery_power_direction charge dc/ac_power_direction DC-AC line_power_direction donothing local_parallel_id 0 working_mode Battery mode buzzer_beep Enabled overload_bypass_function Enabled display_back_to_default_page Disabled overload_restart Enabled over_temperature_restart Disabled backlight_on Enabled alarm_primary_source_interrupt Disabled fault_code_record Enabled reserved 2 max._charging_current_value_1 10 A max._charging_current_value_2 20 A max._charging_current_value_3 30 A max._charging_current_value_4 40 A max._charging_current_value_5 50 A max._charging_current_value_6 60 A max._charging_current_value_7 70 A max._charging_current_value_8 80 A unknown_value_in_response_8 090 unknown_value_in_response_9 090 unknown_value_in_response_10 100 unknown_value_in_response_11 110 max._ac_charging_current_value_1 2 A max._ac_charging_current_value_2 10 A max._ac_charging_current_value_3 20 A max._ac_charging_current_value_4 30 A max._ac_charging_current_value_5 40 A max._ac_charging_current_value_6 50 A max._ac_charging_current_value_7 60 A max._ac_charging_current_value_8 70 A max._ac_charging_current_value_9 80 A unknown_value_in_response_12 120 protocol_version 18
I have the Easun IGrid SV II 6kv Identical in construction to the Infini_v_serie.
could you possibly tell me what the command should be for SBU etc.. Many Thanks!!
— Reply to this email directly, view it on GitHub https://github.com/jblance/jkbms/issues/4#issuecomment-1397486357, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJVKNUV7OBH43XCAWGDYJDWTGHVVANCNFSM6AAAAAASIDJFXE . You are receiving this because you modified the open/close state.Message ID: @.***>
hier is my output:
mpp-solar -p C8:47:8C:E5:1D:B1 -P JK04 -c getInfo -D