Reading data from a [Morningstar Sunsaver MPPT] ssmppt and storing it in Redis.
Since inception, many improvements have been made to this project. It pulls data every 5 seconds, stores it to Redis, then can send it to a remote server as JSON to be stored and analyzed.
This runs on a Raspberry Pi. Requires [hiredis] hired and [libmodbus] libmod. Required is a USB to RS232 converter which connects to the [Morningstar PC Meterbus adapter] meterbus.
Basis of the modbus from [this blog post] tom-blog.
To setup a Raspberry Pi with Arch Linux see [rpi-arch-setup] arch-setup
Work to improve this:
send to statsd/graphite- Visualize with d3 (realtime and archived)
- Clean up collect.c
- DRY up data accessing and number conversions
[A few (older) images of the setup] flikr-set