mqttbutton/config.example.lua

22 lines
486 B
Lua

-- vim: set sw=4 ts=4 sts=4 et :
config = {
wifi = {
ssid = "homeassistant",
pwd = "somereallylongandsecurewpapassphrasehopefully"
},
mqtt = {
host = "192.168.1.10",
clientid = "client1",
user = "homeassistant",
pwd = "mqttpassword",
keepalive = 120,
topic = "buttons/basement"
},
buttons = {
[1] = "theatre_lights",
[2] = "main_basement_lights",
[7] = "office_lights"
}
}