I have an off grid cabin that I have been running weewx at on a raspberry pi for a bit now connected to an Ultimeter weather station. Wanting to conserve power and maximize my data, I decided it would make sense to combine the logging of weather data, along with my charge status on my solar system up there, so I can track what is going on when I am away from the cabin. This turned out to be a much simpler exercise than I first imagined, and thought I would share my results.
Here is the resulting page demonstrating charge values: <https://lh3.googleusercontent.com/-R4RbmlRyY6g/W2nqeToxIVI/AAAAAAAAAA4/UJfbKRNX0kkiuoBXtZW-8MTDeZgkxOH3ACLcBGAs/s1600/screenshot.png> You can find the source code at: https://github.com/jim-olsen/weewx_tristar It runs as a data service and adds on the charge controller records to every archive packet generated so that these will be logged. Then you can add those values to any skin you wish using the standard weewx methodology. I just coded it up last night, so there are likely to be a few improvements, but overall so far it seems to be working fine. It uses modbus to communicate to the charge controller and grab the values. Turns out it is kind of nice to have them all together, and I might be able to do some fun things having the charge status and weather in single records like that. I had looked for a decent solution for doing this before, and did not find anything available that was integrated with a skinnable solution like this. So great job on weewx for being so easy to extend. Enjoy, Jim Olsen -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
