allow using config file instead of env

This commit is contained in:
Robin Appelman 2024-10-27 13:51:54 +01:00
commit 7f7ad384a8
7 changed files with 357 additions and 33 deletions

11
config.toml Normal file
View file

@ -0,0 +1,11 @@
[listen]
port = 3030
[names]
mitemp = { 35f3d4 = "Bedroom" }
rftemp = { "Bresser-3CH:73:1" = "Home" }
[mqtt]
hostname = "mqtt.icewind.link"
username = "taspromto"
password = "wYTYUkP10IP3LGiMOXHGbNjKLAMe6bjI"