Git Product home page Git Product logo

solpiplog's Introduction

SolPipLog solpiplog

GitHub release (latest by date) GitHub All Releases donate Suporter Names

Logger for the PIP Inverter series ( USB + RS232 version)

  • working on Raspberry Pi2/Pi3/Pi4 version.
  • sends data over MQTT
  • change by time to grid or to batterie/solar
  • change by time charge order
  • change on SOC to grid or to batterie/solar
  • logs data from Inverter to remote or local Emoncms server
  • logs MULTIPLE USB Inverter ( v. 2.3.0 and up )

Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.

PVOutput is a free service for sharing and comparing PV output data.

Install

  • For RASPBERRY users. Copy folder "sol" to yout "/home/pi" directory. Execute "setup.sh" which is inside "sol" folder
  • make solpiplog executable with
    • sudo chmod +x solpiplog or
    • change it with graphical interface inside of Raspberry. Right click on file - properties - permissions tab - tick execute allow excecuting file as program
    • problably you dont even need to do it, if i dont forget to make it executable :)
  • create an account on Emoncms or install Emoncms on your own server.
  • optional: create an account on PVOutput.
  • configure SolPipLog with your Emoncms API-Key
  • optional configure SolPipLog with your PVOutput SystemID and API-Key.
  • choose autoload config and start and press on Save ( if you restart SolPipLog it loads the config file and runs. )

Release

GitHub release (latest by date)

Example

  • Example of Emoncms Dashboard solar

Image

  • image image based on RASPBIAN Buster, RealVNC installed, Emoncms installed, MQTT installed burn with etcher.io or similar software. username:pi password:solpiplog

follow on http://www.photovoltaikforum.com/datenlogger-f5/usb-datenlogger-fuer-pip-serie-solpiplog-t114101.html

Appearance

solpiplog solpiplog

solpiplog's People

Contributors

njfaria avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

solpiplog's Issues

AutoStart

i want to auto start the Solpiplog with saved configurations. is it possible to autorun this app when pi restart on any error e.g low voltage or any other issue ?

solpiplog rasp pi B rev 2

attempting to run solpiplog as root on raspberry pi model b rev 2 reports the following

An unhandled exception occurred at $0002F340:
EAccessViolation: Access violation
$0002F340

High CPU with Raspberry 4

Hello,
I like your tool SolPipLog and so far everything was good. For some time I realized that on my Raspberry 4 solpiplog uses more and more CPU until 100% and only a reboot of the Raspberry or ending SolPipLog ends this. I use an autostart with /etc/init.d.
Maybe you know some explanation for this behavior

grafik

No issue, just thank's

Thank's for your commit. It's running fine since today on my home pi3, login to PVoutput: FR-Balanos
Just a question, in witch language did you develop ?
I looking forward to interface with Domoticz on the same pi3.

Best regards
Pascal

Time Based change the Output Source priority(SBU or SOL)

Hello.
Yes, It is working fine on Voltronic VMIII. Thanks.
I want time based change of output source priority setting. like from 8AM to 5PM it should be in SBU and after 5PM it should be SOL.
This option i have seen in ubuntu version. i want this option in pi version.
Thanks.

pylontech monitoring crashes

When I connect to my pylontech pack, the values read seem corrupted
image
image

When value "number of packs" gets a crazy value, solpiplog crashes

Parallel inverters not detected

Hi,
I’ve a problem with SolPipLog as he doesn’t seem to recognise two inverters connected in parallel. He only seems to detect the one connected to the USB port with a lower number.
I’ve already tried 2.1.0 from your website but that doesn’t seem to find any inverter.
The inverters are Effekta AX-M 4kVA, similar to the Voltronic Axpert MKS 4K-48.

Best regards

ANT BMS Support

Hi, sorry for my bad English.
Thank you for the great program! I would be grateful, if you add support for ANT BMS (https://aliexpress.ru/item/32826820690.html),
It is used by many people and it connects via Bluetooth to Raspberry without any problem
Protocol is simple, a virtual com port is used (/dev/rfcomm*)
Script on Python available at (https://github.com/juamiso/ANT_BMS/blob/master/bms_post.py
I interested in monitoring parameters and switching SBU SUB depending on the SoC level inside Solpiplog. Thank you!

MQTT not starting correctly on reboot with 2.4.0 - maybe implement auto-reconnect?

Hi Nuno, I saw that you added "Fixed MQTT connection on startup" to the changelog of 2.4.0.

I'm running 2.4.0 but still have connection issue. Stopping and starting MQTT fixes the problem. I have already built in a 180 second delay into starting SolPipLog, but this doesn't help.

I'm wondering if a simple solution would not be to try and reconnect every 10 seconds if the MQTT connection fails?

Log of failure and then restart and working:

0
waterbessie
connect: false
server not responding or not found !
MQTT OFF
0
waterbessie
connect: true
ping request: true
MQTT ON
Connection Accepted

Support for Axpert 7.2 MAX

These inverters have 2 mppt chargers and they dont show up in solpiplog, or the total PV power, it only shows 1 MPPT charger

Mqtt - Par - Only inverter 1 usage

Mqtt only sends STATS (acoutw) for inverter1 not for 1+2.
Emon is also not updating, but i would have to see if its not an issue on my side.

No longer able to get data from inverter

initially i was succeeded to get get data from my inverter. but once i restarted my PI, i am no longer getting data through pvouput.org, although the inverter connects to PI through usb but it doesn't retrieve the data.
some snaps are for your kind consideration
image
image
image
image

I will be thankful if someone points out what iam doing wrong.

True state of charge and Ant bms support

Thanks for this program. It would be worthwhile if the following features are added to this wonderful project.

  1. Inverter state of charge as displayed in the inverter is usually not correct. The value read from BMV can be used to update the inverter's record of battery state of charge.
  2. support for Ant BMS. Check out bms_post.py code from: ANT_BMS in github
    The state of charge from the ANT_BMS can also be used to update the inverter state of charge as well, just as in 1 above.

FR: Controll via MQTT

Hi I have implemented solar-sis then only recently found your project
I really like it and i am considering making a move across to it.
I like to tinker, so if you don't mind i will send you Feature requests if i think of things to better your project?

at the moment is the support to run commands via mqtt?
or to feed battery data to you via mqtt (since i already have battery watts remaining on mqtt (this is for the pylon techs that have built in BMS?

I currently use solar-sis and have the ability to add custom commands to run on the inverter
mostly what i do is use 2 features from my hass.io:
image
This is primarily to charge the batteries to 100% from grid if i expect a utilities outage.
Further i have the following automations setup that i find helpful due to where i started:
image
Inverter to Grid switched back to grid at roughly sunset -2.5 hours, i found that works for my battery setup, but i would assume one could basically do that if bat % less than 90% after set time.

Furthermore, i have set up Inverter to SBU (used to go to solar mode but started getting error 09)
and that is basically after sunrise +2 i haven't tested this metric as per say, but find it to be cutting out on early morning back and forth switching so seems to work ok.
considered doing it only after battery reaches 100% the first time for the day, but haven't fixed it since it wasn't broken ;p
image

I know this is just my use case, and may only form a small part of the usage market.

I will install your latests, and test if when i get some time.

MQTT Charger mode Settings

Hi Nuno,

Using mqtt I am able to set the mode from sol to uti to sbu without a problem -

When I try and set the charger mode via mqtt, nothing seems to happen - I have checked the mqtt log and it does not reflect the request.

Command Used: "solpiplog/pip/status/set 2"

Many thanks for an awesome bit of software...

Regds
Ed

V 2.2.0 for Raspberry PI zero

Hi,

I have an old raspberry pi zero version but not have latest 2.2.0 version for raspberry pi zero. Can you please send me latest solpiplog file for raspberry pi zero?

Regards,

Growatt Support

Hi
I got an request. Replaced my Axpert PIP with a Growatt, but now cant use solpiplog anymore.

I think it will be great if we can add Growatt inverter to the list as we;ll. My idea is that we use api.ning.com method of Network Capture then maybe create a extra tab for growatt, so that these values can be used with EMONCMS. One can easily set the server address in server.growatt,com portal, or even scrape the values from there using growattscrape and or even growattmqtt on github.

It will be grate if we can add support for another set of inverters.

https://api.ning.com/ - Automatic Growatt Wifi Module data upload to pvoutput.org with Raspberry Pi

HI sir

I installed pi image with solpiplog initially it worked now im getting error saying

access violation

see url
https://ibb.co/kK3FdrB

Doesn't work on Raspberry Pi Zero W

Encountered following error while running ./solpiplogstart.sh.

An unhandled exception occurred at $0002F4E4:
EAccessViolation: Access violation
$0002F4E4

Working fine on RPi 3

Float and Bulk voltage to feed.

Hello, I would like to ask you if it will be possible to have also float and/or bulk voltage in the feed for emoncms. I'm using home assistant and need these values to setup proper automation algorithm.
(for example I need to setup in home assistant a condition - if actual battery voltage will be near the bulk or float than do something else)
Thanks in advance
Kind Regards
Ladislav

maurangzaib

Hi,

The software is perfect and it works flawlessly on Voltronic Axpert VM & VM II Inverters. But it is unable to connect with Voltronic Axpert Infini 10kw inverter.

Kindly guide is it supported or not?

Regards,

Not working on Schneider SunEzy

SolPipLog Working perfect on Axpert solar and VMIII Inverter. Now i am trying to run this with Schneider SunEzy 600E Solar inverter.
Please help me so that i can run this software with Schneider SunEzy grid tie inverter.

MPP Solar LV 5048

Hello,

I'm setting up my MPP Solar LV 5048 split phase inverter and would like to use SolPipLog to log to influxdb / grafana. I've compared the attached communication protocol for this inverter and it appears to be very similar (but not identical) to the HS_MS_MSX-Communication Protocol posted here in the docs. When you're able, could you evaluate this protocol sheet and advise as to whether it's likely to work with SolPipLog?

Thank you and kind regards.

LV5048 5KW protocol-20190222 for customer-1.pdf

MQTT Port

The option for use of a port to mqtt is missing.
If i use serverip:port no data will send.

Can you add this

Cannot change username/password on MQTT

I use this software to monitor my MPP Solar inverter through Domoticz using MQTT processed through NODE_RED, and I must say I LOVE IT! The problem I have is this: I put in all the information in the MQTT fields and save. When my raspberry pi reboots, it can’t log into the MQTT server. When I check the settings, the username/password have defaulted to their initial values. Am I doing something wrong perhaps?
Thanks again for your hard work that is so useful!

Time Switch Setting

Hi,
I am very happy to get the Time Switch setting and it is working fine. but a small issue with me that is when it switch to Solar then i get SBU setting that is fine. but when it convert back to Grid it shift to UTI but i want it to be in SOL setting when back to grid.
Each day end i convert it to SOL and in Morning it switch fine to SBU but in evening it should convert back to SOL not to UTI.
Thanks

Idea: Command line only version

Hello,

would be possible to create a command line only version where you can define the output in a config file. For example output to Emoncms, influxdb or even a text file.

Thanks
hemmi

SolPipLog v2.3.0 (Gandalf) Hangs

This is an intermittent problem that I am struggling to find the source of.

Using a Pi4-4GB model.

I wrote a "emonpi 17Oct19" image as a base.
Loaded all the required GUI elements for Raspbian
Next I loaded SolPipLog v2.3.0

My suspicion is that I have a buffer issue of some kind, but I am grasping here.

Any advice or solution I will be grateful for.

GREAT product!

run under x86?

Hi, Is there a way to run it under linux x86 platform? (debian)
Thank you
L.

Output Source Priority based on Axpert provided Voltage

i am running it for vmiii successfully but dont have a BMV. I am looking to modify Output Source Priority state based on the battery voltage either provided by axpert (BATT_V or BATT_CAPACITY_PERCENT) instead of BMV or an external circuit (not victron BMV).

another possibility could be to input MQTT / http request for the change in Output Source Priority state so i can push an external value (eg. 1/2/3) to RPI for change in state from maybe Node red. thanks.

EmoncCMS Logging - Specify name still logs with S/N

When choosing Name for iemoncms logging as per Lion 2.5.0 release does not work and still logs with S/N, is there any special conditions or config that is required?

"logging to emoncms with node and name. you are free to choose name at which emoncms is displaying. Not tied to the serialnumber"

Regards,
Dawie

bulk & float max values ...

Not a real issue, just sharing for improvement: the Change Bulk and Change Float values seem limited to 30V - not appropriate to change settings for 48V inverters.

image

Thanks,

Pylontech MQTT values incorrect

Good day
Thank you for an awesome project. It has saved me many hours of completing my own project.
The pylontech functionality is most welcome but I have an issue.
Values for Pack1 current, voltage remainah are correct but watt, voltage, current, remainah are incorrect as per attached photo.
image

comunication USB HID

Hello,
I switched inverter PIP MKS for MSXE. MKS had a variant RS-232 and I had no problem with communication.
MSXE variant has a USB HID and the script can not read data as RS-232 variants.
I need to ask the inverter to commands QPIRI and save the result to a file.
Can you please help communicate how you solved? In your solarpiplog runs fine

Charge and output priority

Is it possible to access the charge source priority and output source priority via MQTT or to send it to emoncms?

parallel inverters not logged to pvoutput

I have 2 inverters in a parallel configuration.
Only the data from the first inverter gets logged to pvoutput although solpiplog shows data from both inverters comming in.

Vm Ubnt 18.04

Hi I am getting the following error, Any advice, or what platform needs to be avail?

image

bash: ./solpiplog: cannot execute binary file: Exec format Error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.