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

Hint to use InfluxQL #1

Closed christmart closed 8 months ago

christmart commented 8 months ago

Thanks for this Howto and the Dashboard. After some trying I got it working. First I tried with Flux language. A hint in the readme to use InfluxQL or even a sample datasource.yaml for the provisioning of the datasources would be helpful. This is what I used:

apiVersion: 1

datasources:
  - name: inverter
    type: influxdb
    access: proxy
    url: http://localhost:8086
    jsonData:
      # This database should be mapped to a bucket
      dbName: inverter
      httpMode: GET
      httpHeaderName1: 'Authorization'
    secureJsonData:
      httpHeaderValue1: 'Token XXXXX'
chpro commented 8 months ago

Thank you for the input. I have adapted the readme accordingly.