Linux (and Mac OS X) MODBUS Software for SunSaver MPPT

Options
124»

Comments

  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    Lost my SD Card on my Raspberry
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    oops lost my sd card on my raspberry with the tristar software. I tried to get it back from here but the url is no good anymore any help on finding this old code?
    http://rosebud.homedns.org/solar/tristar.tar.gz


  • westyd1982
    westyd1982 Solar Expert Posts: 85 ✭✭
    Options
    The code is still available from my Word Press page: https://westyd1982.wordpress.com/
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    Thank you I had forgot about that link. Been without internet for awhile.  I  hope I can remember what all it took to get this going on the raspberry pi 1. it was nice since it worked off the 12volt battery system and I could just connect via wifi to it.
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    Well Tom,
    I can't remember on the Raspberry pi if I had to do something extra. Elder age I guess. Anyway when I try to execute the dailylog in either powersystem/bin or powersystem/tools I get an modbus error of Illegal_data_address? I seems to remember this and see on this thread that I had bad paths before but I have checked this time and all programs except this one are running. Any ideas?
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    update tristartRam is working just fine.


  • westyd1982
    westyd1982 Solar Expert Posts: 85 ✭✭
    Options
    okiejim said:
    Well Tom,
    I can't remember on the Raspberry pi if I had to do something extra. Elder age I guess. Anyway when I try to execute the dailylog in either powersystem/bin or powersystem/tools I get an modbus error of Illegal_data_address? I seems to remember this and see on this thread that I had bad paths before but I have checked this time and all programs except this one are running. Any ideas?
    In powersystem.h, did you set the paths for the log files and the html files before you compiled the programs (make)?
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    And I thought retirement was going to give me more time to play. LOL  Anyway I feel stupid again. Paths were fine I had a typo on my first executable line in cron. That made nothing work. All back up on the raspberry again. This time I am going to make a back-up of the SD card just in case this happens again. Wonderful job on this again. I really do use it when I am boondocking. And in two week I go for a two week stay so just in time. What I like the best is I can tell by the charts what times I start charging in the morning. It helps me understand early on if I will need the generator or not for the day.
  • okiejim
    okiejim Registered Users Posts: 16 ✭✭
    Options
    Tom,
    I knew there was one thing I had to change that is in powersystemstatus.c

    line 217
    fprintf(htmlfile,"<tr><td><img src=\"vvarray.png\"></td><td><img src=\"viarray.png\"></td>");

    changed to:
    fprintf(htmlfile,"<tr><td><img src=\"panelmeters/varray.png\"></td><td><img src=\"panelmeters/iarray.png\"></td>");