-
Notifications
You must be signed in to change notification settings - Fork 151
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
Adding commands for LV5048. #11
Comments
Hi Yep - if you want to do it just for you - the approach is too add/change the json files in mpp-solar/commands folder (if you do it in the download copy you'll need to reinstall afterward) For me to do it more generically would take a bit longer as I'd need to add a way to filter commands based on what device you have (though that is probably a good idea for the future) |
Which file? Is it lot of typing. I have a daughter at the house with nothing to do due to virus. Is it mostly copy paste type of adding commands? Thanks, |
Depends what you want to change... Then re-install the package with Hope this helps - if not let me know your priorities and I'll try to get time to look at implementing something |
I really do I appreciate your help. But before we put a lot of work on this, what would be the easiest way to see if these commands can communicate with all 6 inverters. 2 per chassis for 3 chassis. All I can do now is one half of one chassis. |
So what command is working now? |
i@raspberrypi:~ $ sudo mpp-solar -c QPIGS -R |
pi@raspberrypi:~ $ sudo mpp-solar -c QPGS0 -R |
pi@raspberrypi:~ $ sudo mpp-solar -c QPI |
what about I take it that you are using a USB to serial converter? |
pi@raspberrypi:~ $ sudo mpp-solar -c QPGS1 -R Same thing for additional numbers |
Yes usb to serial |
So, (coz QPGS0 should work accord to the doc you sent |
pi@raspberrypi:~ $ sudo mpp-solar -c QMOD Yes, on all 3 commands |
Unless all of them need to be connected via usb or serial to raspberry pi |
thats not what the doc says (i.e. it implies you can get details from any using QPGSn) |
pi@raspberrypi:~ $ mpp-solar -c QP2GS0 -M LV5048 EBUG:MPP-Solar:Loading command information from /usr/local/lib/python2.7/dist-packages/mpp_solar-0.2.2-py2.7.egg/mppsolar/commands/qflag.json DEBUG:MPP-Solar:port /dev/ttyUSB0, baudrate 2400 |
Weird - your inverter doesn't seem to respond to the new commands in the documentation, or the documentation is incorrrect? Maybe you have a 2 digit ID or the ID isnt 0-3?? |
Yes. Windows side. It is called watch power. https://usa-mpp-solar.com/manuals/Software/WatchPowerV1.13SP3(latest)/ and you can find Linux stuff on that link. |
I know just weird. I have been pulling my hair out for last 4 weeks. Just can't figure it out. |
Can you check the inverters to see what IDs are set |
They are set as they requested it. System is performing flawlessly. |
So the dip switches have the IDs set to 0 and 1? |
If you look at the diagram all three are set as they want them to be. |
Dalibor Majksner
Hera Realty
2444 Duluth Highway STE 203
Duluth GA 30097
404-710-4876
…-------- Original message --------
From: jblance <notifications@github.com>
Date: 3/27/20 8:32 PM (GMT-05:00)
To: jblance/mpp-solar <mpp-solar@noreply.github.com>
Cc: Dalibor Majksner <dalibor@jcwon.com>, Author <author@noreply.github.com>
Subject: Re: [jblance/mpp-solar] Adding commands for LV5048. (#11)
So the dip switches have the IDs set to 0 and 1?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<#11 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AO4DWSXCIZIBEKNDBGWCBGTRJVASDANCNFSM4LUD7OBA>.
|
Watch power app does see all three. |
Thanks, |
Does the command QPIGS2 work? |
How do I start from begining. All I see is this GNU nano 3.2 /tmp/crontab.qBSB5G/crontab Edit this file to introduce tasks to be run by cron.Each task to run has to be defined through a single lineindicating with different fields when the task will be runand what command to run for the taskTo define the time you can provide concrete values forminute (m), hour (h), day of month (dom), month (mon),and day of week (dow) or use '*' in these fields (for 'any').Notice that tasks will be started based on the cron's systemdaemon's notion of time and timezones.Output of the crontab jobs (including errors) is sent throughemail to the user the crontab file belongs to (unless redirected).For example, you can run a backup of all your user accountsat 5 a.m every week with:0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos M-U Undo |
use the arrow keys to go to the bottom (any line with a # is a comment) |
pi@raspberrypi:~ $ crontab -l Edit this file to introduce tasks to be run by cron.Each task to run has to be defined through a single lineindicating with different fields when the task will be runand what command to run for the taskTo define the time you can provide concrete values forminute (m), hour (h), day of month (dom), month (mon),and day of week (dow) or use '*' in these fields (for 'any').Notice that tasks will be started based on the cron's systemdaemon's notion of time and timezones.Output of the crontab jobs (including errors) is sent throughemail to the user the crontab file belongs to (unless redirected).For example, you can run a backup of all your user accountsat 5 a.m every week with:0 5 * * 1 tar -zcf /var/backups/home.tgz /home/For more information see the manual pages of crontab(5) and cron(8)m h dom mon dow command
pi@raspberrypi:~ $ |
looks ok
makes it easier to read and follow |
now after a minute the CMD1 window should show more info (might pay to stop and rerun the command) |
Ok. Close this CMD 1 and open new one and execute same command again I will assume |
basically yes |
I did. Waiting for data |
no data yet |
is the command (with the |
yes |
we'll need to add your model to the command and track errors, i.e. change the command part of the crontab to |
do you use any chat system (might be easier than these messages?) |
what do you have? |
hangouts, messenger, whatsapp etc |
whats up I have |
whatsapp i meant I am at 404-710-4876 |
I installed everything including the telegraf. |
Did you configure grafana with an influx source? |
Which instructions did you use ? |
On your github page |
Commands added and filter by model available for LV5048 |
Very interesting the project! |
Hello, |
Hello! I really appreciate your time. |
Half way down the main page you can click on the link Setup Instructions or https://github.com/jblance/mpp-solar/blob/master/docs/MQTT_Influx_Grafana.md. Now that you have his code installed you will need to get other stuff going. MQTT, Influxdb, Telegraf, Grafana and https://github.com/jblance/mpp-solar/tree/master/daemon |
Have you followed links in previous post? Or if you have issue try opening new thread. But by the looks of it you are getting somewhere. |
I have made several attempts but not yet any reading in Grafana. |
LV5048 5KW protocol-20190222 for customer.pdf
Hello,
Thank you for your help last week. I was in touch with MPP Solar and they provided communication protocol for LV5048. See attached. Is there way to integrate some of these commands with what you have written so far?
The text was updated successfully, but these errors were encountered: