Author Topic: What’s currently recommended  (Read 1902 times)

Simonbr

  • Jr. Member
  • **
  • Posts: 53
Re: What’s currently recommended
« Reply #15 on: July 15, 2022, 10:18:47 AM »
example of Telegraf file

What exactly is this file, i can verify it.
https://github.com/ClassicDIY/ClassicMQTT/wiki/3.1-Raspberry-Pi-setup-using-IOTStack
You may have skipped a step ?

Just verified that location and the conf file is there, opened it with nano and it has the correct db user/password also.

Simonbr

  • Jr. Member
  • **
  • Posts: 53
Re: What’s currently recommended
« Reply #16 on: July 15, 2022, 10:26:07 AM »
example of Telegraf file

What exactly is this file, i can verify it.
I show where the telegraf file is in this video
https://youtu.be/xKxGaerzNKM
Larry

Does the file need any modification from the defaults after doing the install from the wiki?

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 3345
Re: What’s currently recommended
« Reply #17 on: July 15, 2022, 10:59:33 AM »
Yes you need to put in the name of your Classic exactly as you have it in the compose override.
Did you try the mqtt explorer to see if it is sending out the mqtt data ?
Larry
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , Jakiper 48v LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batteries

Simonbr

  • Jr. Member
  • **
  • Posts: 53
Re: What’s currently recommended
« Reply #18 on: July 15, 2022, 11:15:08 AM »
Yes you need to put in the name of your Classic exactly as you have it in the compose override.
Did you try the mqtt explorer to see if it is sending out the mqtt data ?
Larry

I am assuming you mean the circled area in the attached image? No I have not tried the mqtt explorer, could you explain how to get to it?

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 3345
Re: What’s currently recommended
« Reply #19 on: July 15, 2022, 11:33:24 AM »
yes what you have circled above .
At bottom of this link is mqtt tool info - called mqtt.fx  ( I think there is another called mqtt explorer)
https://github.com/ClassicDIY/ClassicMQTT/wiki/3.1-Raspberry-Pi-setup-using-IOTStack
Search on internet should find either one
Larry
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , Jakiper 48v LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batteries

Simonbr

  • Jr. Member
  • **
  • Posts: 53
Re: What’s currently recommended
« Reply #20 on: July 15, 2022, 11:35:47 AM »
OK after changing the name of the classic from the circled area in the image and restarting telegraf and grafana it seems that it worked. I am playing around a little to see if I can make a nice dashboard with the values I require.

I noticed from your dashboard I used the charging current, looking at the table view it only pulls info every 5 minutes, is it a bad idea to pull more info more often, i would like to have closer to a live view for some values like current and PV info.

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 3345
Re: What’s currently recommended
« Reply #21 on: July 15, 2022, 02:15:15 PM »
I have experimented a lot with Grafana and the timings and graphs.
Just try everything and see what works best for you. I think the Classic MQTT is posting every 10 seconds ? 
Not even sure how much I have changed my graphs and ways I did stuff since the last time I posted sample stuff.
Probably a lot of changes.
I know I just changed some of my own graphs this morning from 5 minutes to 10 seconds - at the time i had a bunch of dots but there are other settings in there that fill in the graph . I mostly been figuring it all out by trial and error.
Larry
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , Jakiper 48v LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batteries

Simonbr

  • Jr. Member
  • **
  • Posts: 53
Re: What’s currently recommended
« Reply #22 on: July 21, 2022, 11:53:43 AM »
I have experimented a lot with Grafana and the timings and graphs.
Just try everything and see what works best for you. I think the Classic MQTT is posting every 10 seconds ? 
Not even sure how much I have changed my graphs and ways I did stuff since the last time I posted sample stuff.
Probably a lot of changes.
I know I just changed some of my own graphs this morning from 5 minutes to 10 seconds - at the time i had a bunch of dots but there are other settings in there that fill in the graph . I mostly been figuring it all out by trial and error.
Larry

Good Morning Larry, I've been playing with Grafana and have a pretty good handle on it, making myself a nice interface. I was wondering on the interval for refreshing, it seems even if i set it lower like 20 seconds, it doesn't seem to be getting new info from the CC. Is there another setting above Grafana that pulls info more often from the CC?

ClassicCrazy

  • Hero Member
  • *****
  • Posts: 3345
Re: What’s currently recommended
« Reply #23 on: July 21, 2022, 12:07:21 PM »
I have experimented a lot with Grafana and the timings and graphs.
Just try everything and see what works best for you. I think the Classic MQTT is posting every 10 seconds ? 
Not even sure how much I have changed my graphs and ways I did stuff since the last time I posted sample stuff.
Probably a lot of changes.
I know I just changed some of my own graphs this morning from 5 minutes to 10 seconds - at the time i had a bunch of dots but there are other settings in there that fill in the graph . I mostly been figuring it all out by trial and error.
Larry



Good Morning Larry, I've been playing with Grafana and have a pretty good handle on it, making myself a nice interface. I was wondering on the interval for refreshing, it seems even if i set it lower like 20 seconds, it doesn't seem to be getting new info from the CC. Is there another setting above Grafana that pulls info more often from the CC?

I was just looking at the code for Classic mqtt . It looks like it  there are various wake , snooze, and publish rates in there to get data from the Classic .
Best to ask Graham about if there is a way to speed it up - that is a bit above my knowledge.
Let us know what you find out.
It almost seems like he told me how to change some of those timings in the past.
I think the snooze time is in there so the Midnite Local Status app can butt in and take control when you want to use that .
Then when you close the Local Status app , the Classic MQTT will resume.( and if you forget to close it you will wonder why the mqtt quit working !)
Can you share a screen shot of your Grafana ? It would be nice to see what you came up with.
Larry
« Last Edit: July 21, 2022, 12:09:15 PM by ClassicCrazy »
system one
Classic 150 , 5s4p  Kyocera 135watt , 12s Soneil 2v 540amp lead crystal for 24v pack , Outback 3524 inverter
system two
Classic 150 ,5s 135 watt Kyocero , Jakiper 48v LiFePO4 , Outback VFX 3648 inverter
system three
Midnite KID MPPT 24 DC in to  12 volt AGM batteries