My Solar Monitoring configuration.

Started by zie, March 10, 2019, 03:15:43 PM

Previous topic - Next topic

zie

I documented my Solar monitoring setup, which includes fancy graphs.

One thing I really like about it, is I monitor the capacity of both my solar panels and my batteries.  I.e. I keep track of the % of sun I'm getting relative to the panels I have installed.  A picture is probably worth 1k words, see attached.

Source code, documentation, etc is all available at: https://hg.sr.ht/~zie/solmon/browse

ClassicCrazy

#1
I am not proficient enough with linux to understand how to install and view this.
I recently installed Node-Red , Influx , and Grafana on a Raspberry Pi  inspired by  this
https://youtu.be/JdV4x925au0
So I am just trying to get a good understanding via the node red how to put some of these things together - it is easier for me when I see the graphical blocks of the programming . I am guessing your code could be adapted to run on node red .
Thanks for sharing your project . I may try to figure out how to get it running some day but first I start with the node red stuff .
I find it easy to be able to copy the "flows" as they call them in node red since then just paste them in and it all usually works but also shows the processes it takes to make it work .

Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

zie

Hi Larry,

Interesting.   I'd love to see your Grafana dashboard JSON file.  You can export it via the Share button, and save it to a file, and then post it here.

Mine is available here: https://hg.sr.ht/~zie/solmon/browse/default/grafana-solar.json

Basically everything I do is local, no calls to/across the Internet, which might be an advantage vs your solution(assuming I understand node-red properly).  I like owning my own data.

Alternatively you could write up exactly how you do everything, it would be an interesting read!

If you(or anyone else) wants to go down the road I did, I'd be happy to help answer questions.

ClassicCrazy

No the flows to share are just the programming blocks - no data or personal information in there ( unless you leave something like an IP address in there ) . 
I have not gotten to the Grafana yet . Spent today messing around trying to get Node Red to work right on a Raspberry Pi. I have it running earlier okay no problems on my Windows computer.
This is all I know about Node Red and the Classic so far - I did a write up on the forums  and some others also contributed too.
Take a look .
http://midniteftp.com/forum/index.php?topic=4081.0

Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

zie

Interesting.

I've not seen anyone share their grafana dashboards.

I actually run my monitoring stuff on an old mac laptop, just because that's what I had laying around not doing anything.  My config would probably work on windows too, the only question would be if midnitelogger would compile, but I think it would.  I'm not energetic enough at the moment to find out.

But it would certainly run on an rpi, the original author uses it on one.

Anyways, it looks like you have been working on your monitoring setup for a while now.  I hope you enjoy tinkering with it!

My setup involves 3 programs(all running locally on the same machine):

1) midnitelogger -- grabs data from classic(s) over ethernet connection and puts the data into postgresql database. (custom version in my repository)
2) Postgresql -- stores the data and makes it available via SQL. https://www.postgresql.org/
3) Grafana -- pretty graphs, totally optional. https://grafana.com/

There is no flow graphs or button pushing or really even much setup required.