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
+19
View File
@@ -1,6 +1,20 @@
esphome:
name: muc-living
# 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:
@@ -45,6 +59,11 @@ prometheus:
esp32_ble_tracker:
sensor:
- platform: uptime
name: Uptime Sensor
- platform: wifi_signal
name: "WiFi Signal Sensor"
update_interval: 60s
- platform: pvvx_mithermometer
mac_address: "A4:C1:38:04:1A:70"
temperature: