Comments (5)
When passing -c QPIRI
instead, the last section of the DEBUG output reads as follows:
DEBUG:MPP-Solar:Searching for cmd 'QPIRI'
INFO:MPP-Solar:DIRECT USB connection: executing QPIRI
Current Settings inquiry
-- queries the current settings from the Inverter
DEBUG:MPP-Solar:length of to_send: 8
DEBUG:MPP-Solar:1 chunk send
DEBUG:MPP-Solar:usb byte_response was: b'^0\x1b\xe3\r'
DEBUG:MPP-Solar:Byte_Response length: 5
DEBUG:MPP-Solar:CRC resp 27, 227
DEBUG:MPP-Solar:Calculating CRC for b'^0'
DEBUG:MPP-Solar:Generated CRC 1b e3 1be3
DEBUG:MPP-Solar:CRC calc 27 227
DEBUG:MPP-Solar:CRCs match
DEBUG:MPP-Solar:getResponse with protocol = PI18
DEBUG:MPP-Solar:Response invalid as insufficient number of elements in byte_response. Got 1, expected as least 25
INFO:MPP-Solar:Invalid byte_response
DEBUG:MPP-Solar:getResponse with protocol = PI18
error Invalid byte_response
response
pi@solpiplog:~ $
from mpp-solar.
Pi18 has different commands
Try one of the below instead of PI
GS
ET
MOD
from mpp-solar.
Probably better to use the latest code for your model of inverter to be honest (even though it is marked unstable)
from mpp-solar.
Ah, that looks better:
pi@solpiplog:~ $ mpp-solar -c GS -M PI18 -d /dev/hidraw0
ac_output_active_power 1014 W
ac_output_apparent_power 1097 VA
ac_output_frequency 60.0 Hz
ac_output_voltage 120.6 V
battery_capacity 100 %
battery_charging_current 1 A
battery_discharge_current 0 A
battery_power_direction charge
battery_voltage 27.1 V
battery_voltage_from_scc 27.1 V
battery_voltage_from_scc2 0.0 V
dc/ac_power_direction AC-DC
grid_frequency 60.0 Hz
grid_voltage 120.6 V
inverter_heat_sink_temperature 33 oC
line_power_direction input
load_connection connect
local_parallel_id 0
mppt1_charger_status charging
mppt1_charger_temperature 38 oC
mppt2_charger_status abnormal
mppt2_charger_temperature 0 oC
output_load_percent 42 %
pv1_input_power 35 W
pv1_input_voltage 65.6 V
pv2_input_power 0 W
pv2_input_voltage 0.0 V
setting_value_configuration_state Something changed
pi@solpiplog:~ $ mpp-solar -c ET -M PI18 -d /dev/hidraw0
total_generated_energy 317 KWh
pi@solpiplog:~ $ mpp-solar -c MOD -M PI18 -d /dev/hidraw0
working_mode Hybrid mode(Line mode, Grid mode)
I'll give the new code a shot. [s]Is there a reference for Pi18?[/s] Never mind, I see https://github.com/jblance/mpp-solar/blob/master/docs/PI18_InfiniSolar-V-protocol-20170926.pdf
from mpp-solar.
There is a doc in the docs directory and the new code should have an option to display avaliable commands (pi18 hasn't had many implemented as yet)
from mpp-solar.
Related Issues (20)
- pip install mppsolar[ble] Freeze Raspberry PI Zero W2 HOT 11
- Wont run on raspbian bullseye. HOT 5
- PACE BMS protocol HOT 1
- Most time connect error BLE HOT 1
- JK-BD6A20S10P BLE Issue "No module found for protocol jkv11" HOT 1
- Can't set charge voltages on MPPSolar MPI 15K HOT 12
- Non-programmer here. I think something is amiss with paho-mqtt, mqttbrokerc.py and / or callbackapiversion. I'm flailing in the dark... HOT 3
- Voltronic Infinisolar V II WP 5Kw no data read HOT 29
- MQTT problem HOT 1
- wrong output if jk04 and jkv11 used in config (different proto per section) HOT 9
- ERROR: No matching distribution found for mppsolar HOT 5
- Docker: Run mpp-solar as a daemon? HOT 8
- Two different BMSes same issue, all values other than cell voltages wrong. HOT 1
- Python version 3.12 rquirement breaks Debian 12 installation HOT 1
- QPIWS command problem HOT 2
- JKBMS V4.23.0 cannot read data
- QUESTION HOT 6
- JKBMS and RS485 strange output? Looks different/better with new cable... HOT 9
- Can not pair with iPhone HOT 1
- Axpert MKS IV Hybrid stops responding every few weeks HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mpp-solar.