No description
  • Rust 72.5%
  • Nix 27.5%
Find a file
2020-12-28 20:23:28 +01:00
.github/workflows ci and docker 2020-12-15 00:16:52 +01:00
src delay device queries 2020-12-28 20:23:28 +01:00
.dockerignore ci and docker 2020-12-15 00:16:52 +01:00
.gitignore allow authentication against mqtt server 2020-12-16 20:08:04 +01:00
Cargo.lock rustls 2020-12-15 00:34:41 +01:00
Cargo.toml rustls 2020-12-15 00:34:41 +01:00
Dockerfile ci and docker 2020-12-15 00:16:52 +01:00
README.md allow authentication against mqtt server 2020-12-16 20:08:04 +01:00

Tasproxy

Auto-discovery reverse proxy for tasmota

Why

Remembering what ip addresses all of your tasmota's ip addresses is a pain.

Setup

Ensure your tasmota devices are connected to an MQTT server with the following "Full Topic":

%prefix%/%topic%/%hostname%/

Run the binary with the following environment variables

  • MQTT_HOSTNAME: hostname of the MQTT server to connect to
  • MQTT_PORT: port of the mqtt server to connect to, defaults to 1883
  • MQTT_USERNAME: username to authenticate against the mqtt server
  • MQTT_PASSWORD: password to authenticate against the mqtt server
  • PORT: port this binary MQTT listen on, defaults to 80

Setup dns/hosts/etc to point *.example.com to the server running this binary

Usage

The proxy server will use MQTT to discover and gather the ip addresses of your tasmota devices.

Any request made to %hostname%.example.com will be proxied to the tasmota device with the corresponding hostname.