This is very interesting. My cousin makes his electricity himself using the solar panels as well and I know that he struggled to collect the data that he wanted. I'll show him your post as he is a programmer so should manage to set it up. I think he was just missing the required idea :)
Thank you for sharing!