DEPRECATED - unmaintained since 2023. Use dougeubanks/gmc-exporter instead.
328
Last built February 2023. Please move to
dougeubanks/gmc-exporter.
This image was a container build of the upstream anderskvist/GoGMC320 project, which is no longer developed. This image receives no updates, including security updates.
dougeubanks/gmc-exporter · source: https://github.com/RealDougEubanks/gmc-exporter · MIT licensed
It is not a fork. It is an independent implementation written from GQ Electronics' published protocol specification (GQ-RFC1201) and from direct measurement of the hardware. It supports the same GMC-series counters and the same radmon.org and InfluxDB destinations, plus Prometheus, MQTT with Home Assistant discovery, OpenTelemetry, GMCMAP and Safecast.
| This image | gmc-exporter | |
|---|---|---|
| Size | ~353 MB | ~7 MB |
| Runs as | root, --privileged | non-root, --device |
| Destinations | radmon.org, InfluxDB 1.x | 8 sinks, all optional |
| Health endpoints | none | /healthz, /readyz, /health, /metrics |
| Platforms | amd64 | amd64, arm64 |
| Maintained | no | yes |
Two behaviours were measured on a running instance of this image and are worth knowing if you are still using it:
Neither is a criticism of the upstream authors; both are simply what the code does, and you should know about the second one.
Your existing config.ini keeps working. Its schema is recognised
automatically, and InfluxDB defaults to the same measurement and field names so
existing dashboards keep matching.
Two changes are needed:
--group-add for the group owning /dev/ttyUSB0
(usually 16, dialout). You can keep your existing volume mapping and
privileged setting, or switch to --device=/dev/ttyUSB0 and turn privileged
off, which is the better option./config.ini argument. The file is found
automatically.docker run -d --name gmc-exporter \
--device=/dev/ttyUSB0 \
--group-add="$(stat -c '%g' /dev/ttyUSB0)" \
-v /path/to/config.ini:/config.ini:ro \
-p 9101:9101 \
dougeubanks/gmc-exporter:latest
Full guide: Migrating from the older GoGMC320 exporter
The latest and 2 tags remain published so nothing breaks for anyone pinned
to them. They will not be updated.
Content type
Image
Digest
sha256:6acf7b8b0…
Size
352.7 MB
Last updated
over 3 years ago
docker pull dougeubanks/gogmc320