Adding configuration to maybe improve uptime in Regensburg
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user