That’s what it’s for
I only record hot water. Not solar.
my script i suggest gauge not counter so it takes the live value every second and averages it.
Counter should work but I did have an issue using counter for power hence my recommendation to use gauge. It seems to work for my water ok though. The other thing is by using both live values pvoutput automatically works out the energy values.
Happy for you guys to test it all out. I created this because I couldn’t put home assistant onto my pi2. I done what I could to get it working then realised alot of others had the same issue as me so i released it to help everyone. It’s had very limited testing!. It suits me. But then I started adding rules and other features for the benefit of everyone so it’s not perfect is not right but it gets the job done.
First off you haven’t allocated solar to anything
The sensor id’s can be put against any sensor number, you then edit the type “gauge” or “counter” to suit.
Then edit the “pvoutput_v” value to suit ie “v2”
Second do you have a screenshot of pvoutput?
Are you saying your solar is showing on the graph but it’s red?
So either edit the v8 to v2.
But then if solar is showing red on pvoutput maybe you need to edit v4 to v2 and v8 to v4