mirror of
https://codeberg.org/icewind/tasproxy.git
synced 2026-06-04 02:34:09 +02:00
fmt:
This commit is contained in:
parent
745376df6f
commit
e9a16ce546
5 changed files with 56 additions and 46 deletions
13
README.md
13
README.md
|
|
@ -8,7 +8,8 @@ Remembering what ip addresses all of your tasmota devices is a pain.
|
|||
|
||||
## Setup
|
||||
|
||||
Ensure your tasmota devices are connected to an MQTT server with the following "Full Topic":
|
||||
Ensure your tasmota devices are connected to an MQTT server with the following
|
||||
"Full Topic":
|
||||
|
||||
%prefix%/%topic%/
|
||||
|
||||
|
|
@ -22,12 +23,16 @@ Run the binary with the following environment variables
|
|||
- `MQTT_PASSWORD`: password to authenticate against the mqtt server
|
||||
- `PORT`: port this binary MQTT listen on, defaults to 80
|
||||
|
||||
You can also configure the proxy to send HTTP Basic authentication to the tasmota devices by setting the `TASMOTA_USERNAME` and `TASMOTA_PASSWORD` environment variables.
|
||||
You can also configure the proxy to send HTTP Basic authentication to the
|
||||
tasmota devices by setting the `TASMOTA_USERNAME` and `TASMOTA_PASSWORD`
|
||||
environment variables.
|
||||
|
||||
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.
|
||||
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 topic.
|
||||
Any request made to `%hostname%.example.com` will be proxied to the tasmota
|
||||
device with the corresponding topic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue