Adding configuration to maybe improve uptime in Regensburg

This commit is contained in:
Moritz Graf
2022-11-13 11:39:10 +01:00
parent 6df6bbc6dd
commit 90687e2818
5 changed files with 53 additions and 14 deletions
+20 -6
View File
@@ -1,6 +1,20 @@
esphome:
name: muc-kitchen
# due to problems we restart the controller every
# 1.5d (36h) + 1 h = 37h
switch:
- platform: restart
name: "Restart muc-living"
id: myrestart
time:
- platform: sntp
on_time:
# Cron syntax, trigger every 5 minutes
- cron: '0 0 1 * * *'
then:
- switch.toggle: myrestart
esp32:
board: nodemcu-32s
framework:
@@ -13,12 +27,12 @@ logger:
api:
password: ""
mqtt:
broker: "moritzgraf.de"
port: "30024"
username: "sender"
password: "ahQueteiRietufeko8do"
topic_prefix: "muc-kitchen"
# mqtt:
# broker: "moritzgraf.de"
# port: "30024"
# username: "sender"
# password: "ahQueteiRietufeko8do"
# topic_prefix: "muc-kitchen"
ota:
password: ""