Getting (BMS) influxdb info 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.

Ok. I’ve got the database ‘powerwall’ created. For some reason, setting the service to start in the task manager didn’t do anything. I had to run in in the prompt.

The link I posted above has directions on how to get it (Influx) to run as a service.

Let’s check your database.

type show databases <enter> to see that you actually do have a database named powerwall.

type use powerwall <enter> then
type show measurements <enter> to see the field names. If Influx is getting data from the BMS,
this list should have one or more names in it.

Show database shows powerwall and _internal
Use powerwall produces using database powerwall
show measurements produces nothing but an empty prompt

That means you have a database, but it’s not getting any data from the BMS.
My guess is the DiyBMS Management console is how you tell the BMS where to send the data.
But that’s strictly a guess, as I don’t have a BMS.

Thank you for all your help! I know I’m on the right track now. The BMS Management Console has a flip-box to turn on InfluxDB with the host I.P. and the http port along with login credentials and the name of the database ‘powerwall’.
I’ll keep digging, I guess. Thanks Much!

All of that sounds dead on the money.

The port on an out-of-the-box InfluxDB install is 8086 for HTTP.
Influx user name and credentials are not set straight out of the box either.

YVW, S! thumbsup

It’s frustrating. I’ve been through the config file and it all looks good. All but the host I.P, I haven’t used it yet. Is there somewhere it belongs in the config file?