Skip to content

Prometheus Exporter for Fronius Symo Photovoltaics

License

Notifications You must be signed in to change notification settings

cd-gumo/fronius-exporter

 
 

Repository files navigation

Fronius Exporter

Build Maintainability Tests Releases License Docker image

About

Scrapes a Fronius Photovoltaic power installation and converts sensor data to Prometheus metrics. It has been tested with Fronius Symo 8.2-3-M (Software version 3.14.1-10).

Grafana

Installing

Traditional packages or binary

  1. Download latest binary or package from the Releases page

  2. dpkg -i fronius-exporter_linux_amd64.deb (Debian/Ubuntu)

  3. rpm -i fronius-exporter_linux_amd64.rpm (CentOS)

  4. chmod +x fronius-exporter && mv fronius-exporter /usr/local/bin/

Docker

  1. docker run -d --name fronius-exporter -p "8080:8080" ccremer/fronius-exporter

Helm Chart

  1. helm repo add ccremer https://ccremer.github.io/charts

  2. helm install fronius ccremer/fronius-exporter

Usage

fronius-exporter --url http://symo.ip.or.hostname/solar_api/v1/GetPowerFlowRealtimeData.fcgi

Upon each call to /metrics, the exporter will do a GET request on the given URL, and translate the JSON response to Prometheus metrics format.

Configuration

fronius-exporter can be configured with CLI flags. Call the binary with --help to get a list of options.

💡
All flags are also configurable with Environment variables. Replace the . char with _ and uppercase the names in order for them to be recognized, e.g. --log.level debug becomes LOG_LEVEL=debug. CLI flags take precedence though.

As a client API

See Example

Developing

Requirements

Building

  1. make build

Tests

  1. make test

About

Prometheus Exporter for Fronius Symo Photovoltaics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 97.4%
  • Makefile 1.7%
  • Dockerfile 0.9%