Skip to content

Reads data from a Morningstar Sunsaver MPPT solar charge controller and saves it to a Redis database

Notifications You must be signed in to change notification settings

brianfoshee/modbus-redis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Reads data from a Morningstar Sunsaver MPPT solar charge controller and saves it to a Redis database

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published