mirror of
https://codeberg.org/icewind/tasproxy.git
synced 2026-06-03 18:24:08 +02:00
basic readme
This commit is contained in:
parent
5d1feb368a
commit
5084011305
1 changed files with 27 additions and 0 deletions
27
README.md
Normal file
27
README.md
Normal file
|
|
@ -0,0 +1,27 @@
|
||||||
|
# Tasproxy
|
||||||
|
|
||||||
|
Auto-discovery reverse proxy for [tasmota](https://tasmota.github.io/docs/)
|
||||||
|
|
||||||
|
## 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
|
||||||
|
- `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.
|
||||||
Loading…
Add table
Add a link
Reference in a new issue