Skip to content

Auto-discovery reverse proxy for tasmota

Notifications You must be signed in to change notification settings

AndreTeixeira1998/tasproxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Auto-discovery reverse proxy for tasmota

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 95.9%
  • Dockerfile 4.1%