What’s currently recommended

Started by Simonbr, July 07, 2022, 10:24:50 AM

Previous topic - Next topic

Simonbr

I have a raspberry pi that I don’t use and was wondering what is currently available to use to log and or do other tasks? I noticed there wasn’t much activity in this part of the forum so decided to ask.

ClassicCrazy

You mean to log in to the Classic ?
There is the Classic DIY project on github
and there was another project going for awhile too that worked on a pi - forget now what it was called but should be in this heading .
The one I use is this
http://midniteftp.com/forum/index.php?topic=5741.0
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Simonbr

Quote from: ClassicCrazy on July 07, 2022, 05:21:46 PM
You mean to log in to the Classic ?
There is the Classic DIY project on github
and there was another project going for awhile too that worked on a pi - forget now what it was called but should be in this heading .
The one I use is this
http://midniteftp.com/forum/index.php?topic=5741.0
Larry

Hello Larry, I am very interested in this project and want to give it a shot. Currently I was hopping that I could get MM2 to work with the logging, I had set a smart plug to turn on every 3 hours for 20 minutes at camp so that my internet would turn on, update to MM2 then turn off. With my luck the classic does not keep a log of of the info sent to MM2 when its not online.

My next option was to just get a low voltage cellular router and a cheap cell pay as you go plan to have the classic update, just not sure of the data usage. Downside initial investment is about $200 cnd. https://www.inhandnetworks.com/products/inrouter300.html

The raspberry pi option looks very good too and I can still configure to be able to connect to the pi every few hours. I was looking at the wiki and was wondering if there was a getting started guide to configure the pi with the OS and the software needed? I had bought one a couple years ago for the kids with to play emulated classic games but the lag was horrible so its been sitting there for years. I have the CanaKit Raspberry Pi 3 Complete Starter Kit - 32 GB Edition, I was wondering if this is good for this project?

Any help with the initial configuration would be greatly appreciated.

ClassicCrazy

Yes this is the easiest way to install Classic monitoring on Raspberry Pi .
That is unless something has changed - let me know if you have any problems with it.
Once  you have the Pi monitoring Classic and publishing via mqtt then there are many options to use like Grahams android app, running the Grafana on the pi , etc.
https://github.com/ClassicDIY/ClassicMQTT/wiki/3.1-Raspberry-Pi-setup-using-IOTStack
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Simonbr

Quote from: ClassicCrazy on July 13, 2022, 02:09:53 PM
Yes this is the easiest way to install Classic monitoring on Raspberry Pi .
That is unless something has changed - let me know if you have any problems with it.
Once  you have the Pi monitoring Classic and publishing via mqtt then there are many options to use like Grahams android app, running the Grafana on the pi , etc.
https://github.com/ClassicDIY/ClassicMQTT/wiki/3.1-Raspberry-Pi-setup-using-IOTStack
Larry

Thank you for the link, I have everything installed and configured but I have one small problem. At the last step for Grafana, I cant seem to be able to use the MQTT data. I created the data source using the info provided in the wiki, but when I load the sample dashboard or try to use the FROM query, it says no options found.

ClassicCrazy

Use Portainer and go to each program - Mosquitto , Telegraf, etc and click on the logs and see if any of them have errors.
Also did you get Verified Data Source in Grafana ?
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

Seems like Grafana must not be seeing your mqtt_consumer .
Been awhile since I set all that up so I would have to reread the instructions you just followed.
See below for my example
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Simonbr

Quote from: ClassicCrazy on July 15, 2022, 12:03:51 AM
Use Portainer and go to each program - Mosquitto , Telegraf, etc and click on the logs and see if any of them have errors.
Also did you get Verified Data Source in Grafana ?
Larry

There are no errors in any of the logs.

ClassicCrazy

example of Telegraf file
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

Did you restart containers after you modified any files in them ?
after I modified Telegraf the other day I used portainer to restart that.
Larry
system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

Simonbr

Quote from: ClassicCrazy on July 15, 2022, 12:16:14 AM
Did you restart containers after you modified any files in them ?
after I modified Telegraf the other day I used portainer to restart that.
Larry
I rebooted the pi earlier and just tried to restart Telegraf, same error. And yes I did get the message Data source is working.

Simonbr


ClassicCrazy

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable

ClassicCrazy

system 1
Classic 150 , 5s3p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system 2
 5s 135w Kyocero , 3s3p 270w Kyocera  to Classic 150 ,   8s Kyocera 225w to Hawkes Bay Jakiper 48v 15kwh LiFePO4 , Outback VFX 3648 inverter
system 3
KID / Brat portable