Does anyone have any tips on getting the influxdb info into grafana?
Hi Fred,
I use Influx/Grafana (not for a BMS, but the same principles apply WRT Influx and Grafana)
and found this to be helpful getting it up and running:
https://grafana.com/docs/guides/getting_started/
Thanks Bill. Hopefully Iâll find what Iâm missing.
If you get stuck, donât hesitate to ask for help.
Ok I need some help
I canât seem to retrieve the BMS data in grafana. I have the data source configured correctly, at least it tells me itâs ok. When I go to the query, I get âUndefined Responseâ where the panel is supposed to be updating as I configure the query fields.
It appears there is no data being transferred into grafana
The query looks like it should be OK.
Generally, when Grafana gives a âNo Dataâ response,
it means the data source - InfluxDB - isnât receiving any data,
Have you verified Influx is indeed getting data from the BMS?
How do I verify Influx is getting the data?
Are you running Influx on the machine youâre sitting at? Or on another machine?
The machine Iâm at
New Post:
It appears Iâve run out of replies, Iâm a new user.
***There is a database named âpowerwallâ in the DiyBMS Management console. And in Grafana, setting up the InfluxDB data source. Is that what you mean?
Before we go any furtherâŚ
You did create a database, right?
Youâre good to go now. I bumped you up a notch.
While you do need those parts, you also need an Influx database.
Is your machine a Linux or Windows box?
Windows
OK. Youâll need to do the following at a command prompt.
type influx
, hit enter.
type create database
(database name goes here), no spaces, no ( or ) characters)
type exit
, hit enter.
Thatâs all there is to creating the database.
After you create the database we can easily check to see if the data is actually getting into the database. So after you create it, leave your command prompt window open.
Unless youâve configured influx to run automatically, youâll want to look at this:
Unlike the Linux variant, the Windows version doesnât start automatically unless you configure it to do so.
Ok. Giving it a shot. Iâve got influx set up as a service, but it didnât seem to help. Iâll let you know in a minute.
Sounds like all youâre missing is the database.