chpro/fronius-grafana-dashboard

Grafana Problem Energy Meters/Inverter Status

Closed this issue · 3 comments

Hello @chpro ,
at first, thank you very much for your work here. It is awesome :)

I am absolutely new to TIG,so i tried to get the environment working and it seems that I am doing not thaaat bad but I am facing some problems with the Energy Meters and Inverter Status to get some values.

I have imported your grafana.json as it is but changes some visuals for the gauges, nothing more.

The Inverter Status is fully missing.
grafik
grafik

The Energy Meter Values are there but at this point I have doubt about the accuracy and correctness.
grafik

Sorry for asking this way but I hope you have an Idea how to get these working :)

Grafana.json
grafana.json

Thank you very much id advance.

Small Update:
Got it working for the Inverter Status. Just used the Explorer and did a value mapping while creating the bars.
grafik

For the Energy Meters. I thin kthe reason that it's not working is I don't have "smartmeter" in autogen.
I just have inverter, powerflow and storage. So I still need to figure out how to solve this.

Any clue why telegraf does not push the "smartmeter" to influx?

fronius inverter data

[[inputs.http]]

measurement name

name_override = "smartmeter"

override default http query interval

interval = "1m"

One or more URLs from which to read formatted metrics

urls = [
"http://192.168.20.20/solar_api/v1/GetMeterRealtimeData.cgi?Scope=System"
]

Data format to consume.

json parsing

data_format = "json"
json_time_key = "Body_Data_0_TimeStamp"
json_time_format = "unix"

data filtering

EnergyReal_WAC_Plus_Absolute ... Import

EnergyReal_WAC_Minus_Absolute ... Export

Power* individual phases; *_Sum only sum of all phases.

fieldpass = [
"Body_Data_0_Energy*",
"Body_Data_0_Current_AC_",
"Body_Data_0_Power
",
"Body_Data_0_Voltage*",
# "Body_Data_0_*_Sum"
]
[inputs.http.tags]
influxdb_bucket = "inverter"

[[inputs.http]]

measurement name

name_override = "powerflow"

override default http query interval

interval = "1m"

One or more URLs from which to read formatted metrics

urls = [
"http://192.168.20.20/solar_api/v1/GetPowerFlowRealtimeData.fcgi"
]

Data format to consume.

json parsing

data_format = "json"
json_time_key = "Head_Timestamp"
json_time_format = "2006-01-02T15:04:05Z07:00"

data filtering

fieldpass = [
"Body_Data_Site_P_",
"Body_Data_Site_rel_
",
"Body_Data_Site_E_Total"

Solved. Needed to change the Body_Data_0_Energy*" to Body_Data_1_Energy*"
, etc.
Also changed the default telegraf input for data format etc. to
data_format = "json"
json_time_key = "Head_Timestamp"
json_time_format = "2006-01-02T15:04:05Z07:00"

Now it's working