chpro / fronius-grafana-dashboard

Setting up and visualizing data from your Fronius Symo GEN24 10.0 inverter and Smart Meter TS 65A-3 using InfluxDB and Grafana.
MIT License
34 stars 2 forks source link

Grafana Problem Energy Meters/Inverter Status #6

Closed robotnikz closed 4 months ago

robotnikz commented 4 months ago

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.

robotnikz commented 4 months ago

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.

robotnikz commented 4 months ago

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_CurrentAC", "Body_Data_0_Power", "Body_Data_0_Voltage",

"Body_Data0*_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_SiteP", "Body_Data_Siterel", "Body_Data_Site_E_Total"

robotnikz commented 4 months ago

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