diy solar

diy solar

Help with Grafana/Prometheus and SRNE inverter

Dmichel123

New Member
Joined
Apr 10, 2024
Messages
9
Location
Lancing, TN USA
I'm trying to monitor my SRNE hybrid inverter with a Raspberry Pi. I think this is what I need, or at least a very good start:


I've gotten as far as running the main.py script, but I don't think everything is fully functional yet. I am able to open Grafana and see graphs/charts of my Raspberry Pi stats, but unsure how to get the SRNE stats into Grafana. This main.py script appears to be using FastAPI and outputting to port 5004, but I'm not able to access that in my browser.

Any help would be greatly appreciated.
 
Can somebody show me how to change this script to use Prometheus instead of FastAPI/Uvicorn or walk me through making this work as is?
 
if you give me some time i can add support for it to my project. or if your in a rush you can implement it. not too hard to make the config/csv files.


assuming SRNE's v1.7 v3.9 modbus protocol is the correct one.
 
Last edited:

implemented in v1.1.2 branch. untested.

be aware the write functionality is still in it's infancy for this project.
 
Back
Top