TasmotaManager/network_configuration.example.json

48 lines
1.3 KiB
JSON

{
"unifi": {
"host": "https://unifi.example.com",
"username": "your_username",
"password": "your_password",
"site": "default",
"network_filter": {
"network_name": {
"name": "Human-readable name",
"subnet": "192.168.1",
"exclude_patterns": [
"device-to-exclude*",
"*another-pattern*"
],
"unknown_device_patterns": [
"tasmota*",
"ESP-*"
]
}
}
},
"mqtt": {
"Host": "mqtt.example.com",
"Port": 1883,
"User": "mqtt_username",
"Password": "mqtt_password",
"Topic": "%hostname_base%",
"FullTopic": "%prefix%/%topic%/",
"NoRetain": false
},
"device_list": {
"Example_Device": {
"template": "{\"NAME\":\"Example\",\"GPIO\":[0],\"FLAG\":0,\"BASE\":18}",
"console_set": "Default"
}
},
"console_set": {
"Default": [
"SwitchRetain Off",
"ButtonRetain Off",
"PowerOnState 3",
"PowerRetain On"
],
"alt": [
"SwitchRetain Off"
]
}
}