speedtest2mqtt

command module
v0.0.0-...-06d4530 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2021 License: MIT Imports: 7 Imported by: 0

README

speedtest2mqtt

Measures internet speed and publishes the results to an MQTT broker.

Based on

Usage

The application is configured through environment variables. The essential ones are:

MQTT_BROKER URL to your broker tcp://127.0.0.1:1883
MQTT_USERNAME
MQTT_PASSWORD
MQTT_TOPIC Publish topic of the results speedtest
MQTT_HOME_ASSISTANT_DISCOVERY Discovery topic for home-assistant homeassistant
MQTT_NAME Sensor name in home-assistant speedtest

The application will perform a single measurement and publish the result into the configured topic and exit. It is intented to be triggered by an k8s CronJob.

All output is written to stdout.

Docker

Multi-arch images ca be build using docker buildx.

docker buildx build --platform linux/arm/v7,linux/arm64,linux/amd64 --tag speedtest2mqtt:latest .

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL