-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can not get all Info's out from mpp 8048max #130
Comments
Sorry I dont understand - is there something still not working? |
Hello not show up at all. mfg |
This info show up on the wifi app |
Can you run `QPIGS` and `QPGS0` commands with `-D` flag and post all the
output.
(The 8048max uses pi30 but is a different configuration so the current
protocol definition is not correct)
…On Wed, 14 Jul 2021, 4:44 pm AnKloss, ***@***.***> wrote:
This info show up on the wifi app
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNTKUNKUJTIGES7I57LTXUI3XANCNFSM5AKQRFPQ>
.
|
okay will do, mfg |
i use this command output >>>
|
is_charging_on 1 bool |
command output >>>
|
Hello good day, mfg |
Hello, |
Yep, it might take a couple of days before I can resolve the issue though.
…On Thu, 15 Jul 2021, 7:52 pm AnKloss, ***@***.***> wrote:
Hello,
Can you help my to fix this ?
mfg
Andreas
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNWECZYCNYNDYNNYEITTX2HUHANCNFSM5AKQRFPQ>
.
|
okay may thanks. |
If you can get the protocol document that would make a big difference
…On Thu, 15 Jul 2021, 8:02 pm AnKloss, ***@***.***> wrote:
okay may thanks.
i will ask to mpp service , is there any change between 5048 and 8048
Do you need any spec. info from mpp ?
mfg
Andreas
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#130 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVKNUDPRSLHHNLZOJRWNTTX2IX5ANCNFSM5AKQRFPQ>
.
|
So QPGS0 gives 4 extra values as shown at the end, do these match anything?
extra results:
Can you try: |
|
cron is off |
ok, so that command isnt supported |
|
so some response there (though clearly not for the details as displayed) |
|
is the wifi app |
The screenshot you posted is the terminal screen. |
PV1 and 2 input watt (Current * Volt = watt) not Wh |
I don't understand what you mean. |
might need to have the full path for mpp-solar for cron user |
i edit if in both conf (mppsolar) pi@raspberrypi:~ $ sudo crontab -l
(mppsolar) pi@raspberrypi:~ $ crontab -l
|
|
only use one |
test the script outside of the venv (the virtual environment will not be activated in the environment that cron scripts run under) |
(mppsolar) pi@raspberrypi:~ $ which mpp-solar |
okay i deactivate venc |
venv sorry |
edit the script to add the full path to the mpp-solar command, e.g. |
then do the testing of the script from a non-venv terminal screen, using the full path to the script (and sudo if you are using the root crontab) |
okay change script with full path
|
|
this should not be needed - editing crontab will reload the service |
you are getting clashes due to multiple things (cron and commandline) trying to access the serial port at the same time |
yes right |
after 3 times start the script i get no error more , but the other 2 times before , get error. |
error from the first 2 times 2021-08-05 09:42:47,136:WARNING:serialio:send_and_receive@33: Serial read error: read failed: device reports readiness to read but returned no data (device disconnected or multiple access on port?) |
huh? |
right |
if testing on command line, comment out cron entry |
okay |
great |
if not sins, may have same (call it sinc errors) erros and the is will show up in the next sinc |
can you public this? then all can use it to run this . |
public what? |
yes but same times, people like me , need to get on the right way how is will by working to get the data out. |
fair enough - I may add it to a document |
yes have e nice day and wait on the office update 0.7.76 mfg |
Hello,
After change output to mpp-solar, i get 36 command out from mpp controller, but missing all info's about
mpp-solsr is version 0.7.67 , as can see in cron.out file
How can i get this info out ?
cron.out file >>>>
2021-07-14 02:29:01,239:INFO:init:main@235: Solar Device Command Utility, version: 0.7.67, move jk04 to new processing, ad>2021-07-14 02:29:01,240:INFO:init:main@338: Creating device "unnamed" (type: "mppsolar") on port "/dev/ttyUSB0 (porttype=N>2021-07-14 02:29:01,244:INFO:device:set_port@160: Using serialio for communications
2021-07-14 02:29:01,274:INFO:init:main@394: Looping 1 commands
2021-07-14 02:29:01,275:INFO:init:main@404: Getting results from device: mppsolar device - name: unnamed, port: <mppsolar.>2021-07-14 02:29:01,275:INFO:device:run_command@270: Running command QPIGS
2021-07-14 02:29:01,275:INFO:abstractprotocol:get_full_command@30: Using protocol b'PI30' with 36 commands
2021-07-14 02:29:01,275:INFO:device:run_command@296: full command b'QPIGS\xb7\xa9\r' for command QPIGS
2021-07-14 02:29:02,841:INFO:abstractprotocol:decode@174: response passed to decode: b'(242.7 50.0 230.1 50.0 0828 0753 010 41>2021-07-14 02:29:02,844:INFO:abstractprotocol:decode@214: Processing response of type DEFAULT
2021-07-14 02:29:02,845:INFO:abstractprotocol:decode@225: Processing DEFAULT type responses
2021-07-14 02:29:02,846:INFO:device:run_command@334: Decoded response {'raw_response': ['(242.7 50.0 230.1 50.0 0828 0753 010 >2021-07-14 02:29:02,847:INFO:init:get_outputs@26: attempting to create output processor: screen
2021-07-14 02:29:02,850:INFO:screen:output@19: Using output processor: screen
Command: QPIGS - General Status Parameters inquiry
outout from mosquitto >>>
mpp-solar mpp-solar,command=QPGS1 parallel_instance_number="Not valid"
mpp-solar mpp-solar,command=QPGS1 serial_number="xxxxxxxxxxxxxx" (sorry i not show this)
mpp-solar mpp-solar,command=QPGS1 work_mode="Battery Mode"
mpp-solar mpp-solar,command=QPGS1 fault_code="No fault"
mpp-solar mpp-solar,command=QPGS1 grid_voltage=242.4
mpp-solar mpp-solar,command=QPGS1 grid_frequency=50.05
mpp-solar mpp-solar,command=QPGS1 ac_output_voltage=230.2
mpp-solar mpp-solar,command=QPGS1 ac_output_frequency=50.0
mpp-solar mpp-solar,command=QPGS1 ac_output_apparent_power=414
mpp-solar mpp-solar,command=QPGS1 ac_output_active_power=387
mpp-solar mpp-solar,command=QPGS1 load_percentage=5
mpp-solar mpp-solar,command=QPGS1 battery_voltage=53.0
mpp-solar mpp-solar,command=QPGS1 battery_charging_current=18
mpp-solar mpp-solar,command=QPGS1 battery_capacity=68
mpp-solar mpp-solar,command=QPGS1 pv_input_voltage=171.3 (<< is PV1 volt)
mpp-solar mpp-solar,command=QPGS1 total_charging_current=18
mpp-solar mpp-solar,command=QPGS1 total_ac_output_apparent_power=414
mpp-solar mpp-solar,command=QPGS1 total_output_active_power=387
mpp-solar mpp-solar,command=QPGS1 total_ac_output_percentage=4
mpp-solar mpp-solar,command=QPGS1 is_scc_ok=1
mpp-solar mpp-solar,command=QPGS1 is_ac_charging=0
mpp-solar mpp-solar,command=QPGS1 is_scc_charging=1
mpp-solar mpp-solar,command=QPGS1 is_battery_over_voltage=0
mpp-solar mpp-solar,command=QPGS1 is_battery_under_voltage=0
mpp-solar mpp-solar,command=QPGS1 is_line_lost=0
mpp-solar mpp-solar,command=QPGS1 is_load_on=1
mpp-solar mpp-solar,command=QPGS1 is_configuration_changed=0
mpp-solar mpp-solar,command=QPGS1 output_mode="single machine"
mpp-solar mpp-solar,command=QPGS1 charger_source_priority="Solar + Utility"
mpp-solar mpp-solar,command=QPGS1 max_charger_current=80
mpp-solar mpp-solar,command=QPGS1 max_charger_range=120
mpp-solar mpp-solar,command=QPGS1 max_ac_charger_current=10
mpp-solar mpp-solar,command=QPGS1 pv_input_current=4
mpp-solar mpp-solar,command=QPGS1 battery_discharge_current=0
mpp-solar mpp-solar,command=QPGS1 unknown_float=179.8 (<<- is PV2 volt)
mpp-solar mpp-solar,command=QPGS1 unknown_flags?="04"
The text was updated successfully, but these errors were encountered: