#solar #morningstar #mppt #charge

morningstar

A small library to control Morningstar solar charge controllers

7 releases

new 0.2.0 Jul 11, 2019
0.1.5 Jul 11, 2019
0.1.4 Dec 16, 2018
0.1.2 Nov 23, 2018
0.1.1 Oct 28, 2018

#137 in Hardware support

Download history 6/week @ 2019-03-28 5/week @ 2019-04-04 2/week @ 2019-04-11 5/week @ 2019-04-18 2/week @ 2019-04-25 1/week @ 2019-05-02 9/week @ 2019-05-09 12/week @ 2019-05-16 5/week @ 2019-05-23 13/week @ 2019-05-30 15/week @ 2019-06-06 15/week @ 2019-06-20 67/week @ 2019-06-27 15/week @ 2019-07-04

55 downloads per month

MIT/Apache

37KB
676 lines

morningstar-rs

Gather stats from, and control morningstar solar charge controlers. Currently only the Prostar MPPT is supported, because that's the only one I have physical access to.

see document http://support.morningstarcorp.com/wp-content/uploads/2015/12/PSMPPT_public-MODBUS-doc_v04.pdf for details on the modbus interface.

Programming the charge controller is now supported. No checks are done to the parameters you set, and I cannot be responsible for the outcome of an improperly programmed controler, you could set fire to your house, destroy your batteries, destroy your charge controllers, or summon lightning from the angry gods. All that said, I program my Prostar MPPT40M using this code, and it works just fine :-)

Dependencies

~6.5MB
~111K SLoC