A complete inverter system app for gathering and monitoring your PV solar on-grid/off-grid system.
Simply connect over USB-B type connector directly to the controller and you can start reading data.
I've reversed engineered most of this from painfully reading registers and then checking on the actual PowMr device to see what it correlates to.
- Created powmr-multi.py, to handle multiple inverters. Tricky since the USB order can change everytime you connect so I do some fancy device enumeration and tests to ensure they are the devices you expect. Simple configuration inside the powmr-multi.py.
- Cool new website using uwsgi instead of weak Python-only flask webserver.
- Visualize your battery storage and solar/inverter/grid usage simply and beautifully using a custom CSS battery site I built.
- Many performance improvements (to powmr-multi.py). Keeping the old powrmr.py, but you'll want to migrate to the newer powmr-multi.py.
- Install python3 & pip:
apt install python3-pip
- Install minimalmodbus to communicate with controller:
pip install minimalmodbus
- Install NGINX, uwsgi, and Python FLASK module (for webpage):
Then install the uwsgi.service in /etc/systemd/system and enable.
apt install nginx pip install uwsgi pip install flask
- Connect over USB-B connecter (any common cable typical for connecting to a printer or USB hub) directly to the PowMr contoller (NOT RJ45 like a lot of bad documentation recommends)
- Run the app!
./powmr.py checkQuestions? Reach out to me seb@latestlinux.com
Enjoy!
