# Nut-influxdbv2-exporter

Nut-influxdbv2-exporter is a self-hosted home automation app. A Docker-based exporter that pushes power metrics from a NUT (Network UPS Tools) server into InfluxDB v2. It is open source and self-hosted, installable on Docker Hub and Unraid.

Canonical page: https://ourlocalhost.com/app/2044/nut-influxdbv2-exporter

## Description

A Docker-based exporter that pushes power metrics from a NUT (Network UPS Tools) server into InfluxDB v2. It queries your UPS and writes the readings to a configured InfluxDB bucket, so homelabbers can track power and battery stats over time in dashboards like Grafana.

## Platform availability

Available on 1 of 10 platforms: Unraid.

## Health score

13/100 (Low), based on 3 of 4 factors.
- Maintained: 0 (last commit 1303 days ago)
- Popular: 16 (5 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)

## Links

- Docker Hub: https://hub.docker.com/r/jwillmer/nut-influxdbv2
- Unraid: https://ca.unraid.net/apps/nut-influxdbv2-exporter-0z9e3o106n8u39?q=nut-influxdbv2-exporter

## Common questions

### Which environment variables must I set for the container?

INFLUXDB2_TOKEN is required, and WATTS is required only if the UPS does not report ups.realpower.nominal. The other variables have default values.

### How do I configure the container for an HTTPS InfluxDB endpoint?

Use INFLUXDB2_SSL and INFLUXDB2_SSL_VERIFY to match your InfluxDB TLS setup, since the defaults assume HTTP and invalid certificates can cause errors.

### Why might Grafana show errors even when the exporter is running?

Check that the dashboard panels use InfluxDB 2 Flux queries instead of InfluxDB v1 queries, because some dashboards can be based on the older query language.

### Which Grafana dashboard is specifically for this exporter?

Dashboard 20077 is described as a NUT UPS InfluxDBv2 dashboard for data exported by nut-influxdbv2.

---
Source: Our Local Host (https://ourlocalhost.com/app/2044/nut-influxdbv2-exporter), the self-hosted and open-source app directory.
