Skip to content

Python package to communicate to MPP Solar PIP-4048MS inverters (and similar)

License

Notifications You must be signed in to change notification settings

BarkinSpider/mpp-solar

 
 

Repository files navigation

MPP Solar Inverter Python Package

Note refactor underway - code likely broken / changing

use the 'stable' release 0.4.6

Note: python2 no longer supported

Build Status Coverage Status Codacy Badge

Python package with reference library of serial commands (and responses) for MPP and similar inverters, some known to work (to varying amounts):

  • PIP-4048MS
  • IPS-4000WM
  • Voltronic Axpert MKS 5KVA Off-grid Inverter-Chargers
  • LV5048

Good overview and technical discussion here http://forums.aeva.asn.au/viewtopic.php?f=31&t=4332

Tested On

Also

  • Raspberry Pi 3
  • USB cable to USB port of inverter
  • connected to 1x PIP-4048MS (/dev/hidraw0 on Pi)

Also

  • Raspberry Pi
  • 3x USB to serial adapters
  • connected to 3x LV5048 inverters

Also

Install

sudo python3 ./setup.py install

Documented Ubuntu Install

venv Install

for when you want to keep the install and dependencies separate from the rest of the environment

  • create venv folder mkdir ~/venv
  • create venv python3 -m venv ~/venv/mppsolar
    • might need python3-venv installed
  • activate venv source venv/mppsolar/bin/activate (needed each time before using)
  • pip install from git pip install -e "git+https://github.com/jblance/mpp-solar.git#egg=mpp-solar" (only needed if the code is updated)

see worked example here

MQTT / Influx / Grafana Setup

Instruction of one way of connecting the inverter output to Grafana Setup Instructions

Example Usage

Usage

Protocol / Command Documentation

Protocol Index

About

Python package to communicate to MPP Solar PIP-4048MS inverters (and similar)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%