-
-
Vevor 3500W offgrid solar inverter
Great posts Fellas. Thanks a lot. I finally got talking to my VEVOR 2400W 24V Low Frequency Pure Sine Wave Mppt Off-Grid Power Inverter 230V Ac Solar Inverter https://eur.vevor.com/off-grid-solar-inverter-c_10764/3kva-mppt-off-grid-solar-inverter-ac-charger-professional-solar-controller-p_010898157858 Using the supplied RJ45 (3 wire) to RS232 cable and a RS232 to USB cable I purchased https://www.ebay.ie/itm/292136305185 It was at 2400 baud for me. And running from a RPi4 on Linux the mpp-solar code: pi@sionnach:~ $ git clone https://github.com/aquarat/mpp-solar.git pi@sionnach:~ $ cd mpp-solar/ pi@sionnach:~/mpp-solar $ sudo python ./setup.py install pi@sionnach:~/mpp-solar $ mppsolar -c QPIGS Command: QPIGS - General Status Parameters inquiry -------------------------------------------------------------------------------- Parameter Value Unit ac_input_voltage 1.0 V {'icon': 'mdi:lightning'} ac_input_frequency 0.0 Hz ac_output_voltage 228.0 V ac_output_frequency 50.0 Hz ac_output_apparent_power 0 VA ac_output_active_power 0 W ac_output_load 0 % bus_voltage 391 V battery_voltage 26.46 V battery_charging_current 0 A battery_capacity 100 % inverter_heat_sink_temperature 479 °C pv_input_current_for_battery 0.0 A pv_input_voltage 0.0 V battery_voltage_from_scc 26.04 V battery_discharge_current 1 A is_sbu_priority_version_added 1 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 4 A pv_input_power 0 W is_charging_to_float 0 bool is_switched_on 0 bool is_reserved 0 bool -------------------------------------------------------------------------------- If you run the same command with the debug option -D you get wonderful low-level communications details :) I hope this helps others truncated version.... 2024-04-27 23:19:04,035:DEBUG:device:__init__@35: __init__ kwargs {'name': 'unnamed', 'port': '/dev/ttyUSB0', 'protocol': 'PI30', 'baud': 2400, 'porttype': None, 'mqtt_broker': <mppsolar.libs.mqttbrokerc.MqttBroker object at 0x7f7f596850>, 'udp_port': 5555, 'mongo_url': None, 'mongo_db': 'mppsolar', 'push_url': 'http://localhost:9091/metrics/job/pushgateway'} 2024-04-27 23:19:04,035:DEBUG:__init__:get_port_type@69: port matches ttyusb 2024-04-27 23:19:04,035:INFO:__init__:get_port@111: Using serialio for communications 2024-04-27 23:19:04,044:DEBUG:__init__:get_protocol@13: Protocol PI30 2024-04-27 23:19:04,387:DEBUG:device:__init__@39: __init__ name unnamed, port <mppsolar.inout.serialio.SerialIO object at 0x7f7f597110>, protocol PI30 protocol handler 2024-04-27 23:19:04,387:DEBUG:__init__:main@408: Commands [(<mppsolar.devices.mppsolar.mppsolar object at 0x7f7f596ed0>, 'QPIGS', 'QPIGS', 'screen', None, None)] 2024-04-27 23:19:04,387:INFO:__init__:main@413: Looping 1 commands 2024-04-27 23:19:04,387:INFO:__init__:main@423: Getting results from device: mppsolar device - name: unnamed, port: <mppsolar.inout.serialio.SerialIO object at 0x7f7f597110>, protocol: PI30 protocol handler for command: QPIGS, tag: QPIGS, outputs: screen 2024-04-27 23:19:04,387:INFO:device:run_command@51: Running command QPIGS 2024-04-27 23:19:04,388:INFO:abstractprotocol:get_full_command@61: Using protocol b'PI30' with 45 commands 2024-04-27 23:19:04,388:DEBUG:protocol_helpers:crcPI@308: Calculating CRC for b'QPIGS' 2024-04-27 23:19:04,388:DEBUG:protocol_helpers:crcPI@358: Generated CRC 0xb7 0xa9 0xb7a9 2024-04-27 23:19:04,388:DEBUG:abstractprotocol:get_full_command@67: full command: b'QPIGS\xb7\xa9\r' 2024-04-27 23:19:04,388:INFO:device:run_command@81: full command b'QPIGS\xb7\xa9\r' for command QPIGS 2024-04-27 23:19:04,388:DEBUG:abstractprotocol:get_command_defn@71: Processing command 'QPIGS' 2024-04-27 23:19:04,388:DEBUG:abstractprotocol:get_command_defn@73: Found command QPIGS in protocol b'PI30' 2024-04-27 23:19:04,388:DEBUG:serialio:send_and_receive@19: port /dev/ttyUSB0, baudrate 2400 2024-04-27 23:19:04,395:DEBUG:serialio:send_and_receive@22: Executing command via serialio... 2024-04-27 23:19:04,896:DEBUG:serialio:send_and_receive@30: serial response was: b'(001.0 00.0 229.0 50.0 0000 0000 000 390 26.46 000 100 0480 0000 000.0 26.04 00001 10010000 00 04 00000 000\x95f\r' 2024-04-27 23:19:04,898:DEBUG:device:run_command@98: Send and Receive Response b'(001.0 00.0 229.0 50.0 0000 0000 000 390 26.46 000 100 0480 0000 000.0 26.04 00001 10010000 00 04 00000 000\x95f\r' 2024-04-27 23:19:04,898:DEBUG:abstractprotocol:decode@236: response passed to decode: b'(001.0 00.0 229.0 50.0 0000 0000 000 390 26.46 000 100 0480 0000 000.0 26.04 00001 10010000 00 04 00000 000\x95f\r' 2024-04-27 23:19:04,898:DEBUG:abstractprotocol:get_command_defn@71: Processing command 'QPIGS' 2024-04-27 23:19:04,898:DEBUG:abstractprotocol:get_command_defn@73: Found command QPIGS in protocol b'PI30' 2024-04-27 23:19:04,898:DEBUG:protocol_helpers:crcPI@308: Calculating CRC for b'(001.0 00.0 229.0 50.0 0000 0000 000 390 26.46 000 100 0480 0000 000.0 26.04 00001 10010000 00 04 00000 000' 2024-04-27 23:19:04,899:DEBUG:protocol_helpers:crcPI@358: Generated CRC 0x95 0x66 0x9566 2024-04-27 23:19:04,899:DEBUG:pi30:check_response_valid@1028: CRCs match
Kilnageer
Members
-
Joined
-
Last visited