Closed borisgit86 closed 1 year ago
@jblance I was able to reset the inverter this morning by powering it off by disconnecting all power sources. The LED bar is working correctly now, but unfortunately running the PLEDE1
command still returns the same output that I posted above.
Hi @jblance!
The OP wrote:
i try to use commands QEY, QEM, QED, QLY, QLM, QLD the inverter return NAK. QET and QLT works.
I just tested these commands on my MPPSolar PIP 8048MAX with the following results:
The following work and return results: QET, QEM, QLT, QLM
The following do not work. Debug messages below:
```bash
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30MAX -b 2400 -c QEY2023 --debug
2023-02-02 23:09:02,961:INFO:__init__:main@218: Solar Device Command Utility, version: 0.14.7
2023-02-02 23:09:02,961:DEBUG:__init__:main@238: MqttBroker(name='localhost', port=1883, username=None, password=None, results_topic='mpp-solar', mqttc=
```bash
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30MAX -b 2400 -c QED20230130 --debug
2023-02-02 23:12:59,691:INFO:__init__:main@218: Solar Device Command Utility, version: 0.14.7
2023-02-02 23:12:59,691:DEBUG:__init__:main@238: MqttBroker(name='localhost', port=1883, username=None, password=None, results_topic='mpp-solar', mqttc=
```bash
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30MAX -b 2400 -c QLY2023 --debug
2023-02-02 23:15:03,853:INFO:__init__:main@218: Solar Device Command Utility, version: 0.14.7
2023-02-02 23:15:03,854:DEBUG:__init__:main@238: MqttBroker(name='localhost', port=1883, username=None, password=None, results_topic='mpp-solar', mqttc=
```bash
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30MAX -b 2400 -c QLD20230130 --debug
2023-02-02 23:19:32,025:INFO:__init__:main@218: Solar Device Command Utility, version: 0.14.7
2023-02-02 23:19:32,025:DEBUG:__init__:main@238: MqttBroker(name='localhost', port=1883, username=None, password=None, results_topic='mpp-solar', mqttc=
You had asked one other time what commands would be important to me to implement. I realized that the QED and QLD daily total would be very important to me as these could be queried at timed intervals to see the input or output during a period by subtracting the previous total. Thanks again for all your work on this project! Frederick
@frederickjh what return your inverter with this command QPI#QMN#QGMN
https://github.com/jblance/mpp-solar/wiki/Protocol-Recommendations
@Saentist
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30MAX -b 2400 -c QPI#QMN#QGMN
Processing DEFAULT type responses
Command: QPI - Protocol ID inquiry
------------------------------------------------------------
Parameter Value Unit
protocol_id PI30
Command: QMN - Model Name Inquiry
------------------------------------------------------------
Parameter Value Unit
model_name MKS2-8000
Command: QGMN - No description found
------------------------------------------------------------
Parameter Value Unit
warning No definition for command QGMN in protocol b'PI30MAX'
(044È®
$ /usr/local/bin/mpp-solar -p /dev/mppsolarusb/direct/0 -P PI30 -b 2400 -c QPI#QMN#QGMN
Processing DEFAULT type responses
Command: QPI - Protocol ID inquiry
------------------------------------------------------------
Parameter Value Unit
protocol_id PI30
Command: QMN - No description found
------------------------------------------------------------
Parameter Value Unit
rning No definition for command QMN in protocol b'PI30'
Command: QGMN - No description found2-8000²
------------------------------------------------------------
Parameter Value Unit
warning No definition for command QGMN in protocol b'PI30'
(044È®
@frederickjh PI30-044:MKS2-8000 @jblance some docs about inverter protocol, xlsx files ;)
@frederickjh PI30-044:MKS2-8000
@Saentist not sure what I should do with that information. I already saw that information in the wiki you linked. I am guessing that it the original manufactures model number.
@frederickjh Information is important because each device support different command set. Just simple firmware update can change supported commands aka can add or remove commands on exact same model.
I found this: https://powerforum.co.za/topic/16996-reading-pv2-input-for-kodak-og72-qpigs2-returning-nak/
I have MAX with SolPipLog and it is working over direct USB connection. https://github.com/njfaria/SolPipLog/issues/61 With mpp-solar i get NAK.
So there is problem with mpp-solar.
found and fixed issue with hidraw io for commands longer than 5 chars - in latest branch
Hi, i try to use commands QEY, QEM, QED, QLY, QLM, QLD the inverter return NAK. QET and QLT works.
Do you check and help me?