Setting up new standards, and new Lilygo Chip for buttonbox

This commit is contained in:
Tim Meneely
2021-01-31 20:16:21 -05:00
parent e18bfca8ed
commit 1ff1394a04
5 changed files with 119 additions and 1 deletions

17
standard_mqtt.yaml Normal file
View File

@@ -0,0 +1,17 @@
mqtt:
broker: !secret mqtt_broker
discovery: True
username: !secret mqtt_username
password: !secret mqtt_password
# keepalive: 2s
birth_message:
topic: ${device_name}/status
payload: coming_online_birth
will_message:
topic: ${device_name}/status
payload: going_offline_will
on_message:
topic: ${device_name}/ota_mode
payload: 'ON'
then:
- deep_sleep.prevent: deep_sleep_1