Midnite Classic data logger

stephendv
stephendv Solar Expert Posts: 1,571 ✭✭
I've got my classic logging to a local mysql database and also uploading the data to cosm.com (a free data logging and graphing service). It's part of my Island Manager code which includes the sunny island logger, but you can use the files separately to log data just from the classic. Mine data is here: https://cosm.com/feeds/75889
The files you'll need are:

https://github.com/stephendv/IslandManager/blob/master/www/classic/classiclogger.php
https://github.com/stephendv/IslandManager/blob/master/www/classic/midniteclassic.php
https://github.com/stephendv/IslandManager/blob/master/www/cosm.php
The whole library:
https://github.com/stephendv/IslandManager/tree/master/www/Phpmodbus

And if you want to log to a local mysqldb, then also:
https://github.com/stephendv/IslandManager/blob/master/www/db.php

If you want to log to cosm then you'll need to setup an account and create a feed and 3 datastreams with the same names I used in classiclogger.php.

Comments

  • unicornio
    unicornio Solar Expert Posts: 217 ✭✭
    Re: Midnite Classic data logger

    Stephen!...

    so cool! ...;-)
    very good, I love the cosm ...

    Congratulations, you have your plant controlled globally! ...;-)
  • Vic
    Vic Solar Expert Posts: 3,208 ✭✭✭✭
    Re: Midnite Classic data logger

    Hi Spephen,

    WOW, you are making great progress! Thanks for sharing your work. I am just gowing to kick back and have another beer and let you do all the work.

    Thanks, Vic
    Off Grid - Two systems -- 4 SW+ 5548 Inverters, Surrette 4KS25 1280 AH X2@48V, 11.1 KW STC PV, 4X MidNite Classic 150 w/ WBjrs, Beta KID on S-530s, MX-60s, MN Bkrs/Boxes.  25 KVA Polyphase Kubota diesel,  Honda Eu6500isa,  Eu3000is-es, Eu2000,  Eu1000 gensets.  Thanks Wind-Sun for this great Forum.
  • stephendv
    stephendv Solar Expert Posts: 1,571 ✭✭
    Re: Midnite Classic data logger

    The interface to the classic is progressing nicely, added a new feature where the Raspberry Pi will monitor the actual return amps going into the battery by reading the shunt connected to the Sunny Island, and then it will terminate absorb on the classic based on this value.

    Return amps into the battery have been set at 3.5A.

    Attachment not found.

    Attachment not found.
  • ChrisOlson
    ChrisOlson Banned Posts: 1,807 ✭✭
    Re: Midnite Classic data logger

    Thanks much for posting this - very nice. I intend to try to get this working here when I get some time.
    --
    Chris