Adding configuration to maybe improve uptime in Regensburg
This commit is contained in:
parent
6df6bbc6dd
commit
90687e2818
|
|
@ -1,6 +1,20 @@
|
||||||
esphome:
|
esphome:
|
||||||
name: muc-kitchen
|
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:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
|
|
@ -13,12 +27,12 @@ logger:
|
||||||
api:
|
api:
|
||||||
password: ""
|
password: ""
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: "moritzgraf.de"
|
# broker: "moritzgraf.de"
|
||||||
port: "30024"
|
# port: "30024"
|
||||||
username: "sender"
|
# username: "sender"
|
||||||
password: "ahQueteiRietufeko8do"
|
# password: "ahQueteiRietufeko8do"
|
||||||
topic_prefix: "muc-kitchen"
|
# topic_prefix: "muc-kitchen"
|
||||||
|
|
||||||
ota:
|
ota:
|
||||||
password: ""
|
password: ""
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,20 @@
|
||||||
esphome:
|
esphome:
|
||||||
name: muc-living
|
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:
|
esp32:
|
||||||
board: nodemcu-32s
|
board: nodemcu-32s
|
||||||
framework:
|
framework:
|
||||||
|
|
@ -45,6 +59,11 @@ prometheus:
|
||||||
esp32_ble_tracker:
|
esp32_ble_tracker:
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
|
- platform: uptime
|
||||||
|
name: Uptime Sensor
|
||||||
|
- platform: wifi_signal
|
||||||
|
name: "WiFi Signal Sensor"
|
||||||
|
update_interval: 60s
|
||||||
- platform: pvvx_mithermometer
|
- platform: pvvx_mithermometer
|
||||||
mac_address: "A4:C1:38:04:1A:70"
|
mac_address: "A4:C1:38:04:1A:70"
|
||||||
temperature:
|
temperature:
|
||||||
|
|
|
||||||
|
|
@ -19,13 +19,15 @@ ota:
|
||||||
wifi:
|
wifi:
|
||||||
ssid: "Bababaambox"
|
ssid: "Bababaambox"
|
||||||
password: "mopRulezmopRulez"
|
password: "mopRulezmopRulez"
|
||||||
|
reboot_timeout: "5 min"
|
||||||
|
fast_connect: True
|
||||||
|
|
||||||
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
# Enable fallback hotspot (captive portal) in case wifi connection fails
|
||||||
ap:
|
# ap:
|
||||||
ssid: "rgbg living Fallback Hotspot"
|
# ssid: "rgbg living Fallback Hotspot"
|
||||||
password: "iCMaF8TURlPg"
|
# password: "iCMaF8TURlPg"
|
||||||
|
|
||||||
captive_portal:
|
# captive_portal:
|
||||||
|
|
||||||
# http://oot6ainge9aef6iaf4Cu:oonohNaej6soh7TooPha@rgbg-kitchen.local/metrics
|
# http://oot6ainge9aef6iaf4Cu:oonohNaej6soh7TooPha@rgbg-kitchen.local/metrics
|
||||||
web_server:
|
web_server:
|
||||||
|
|
@ -38,12 +40,16 @@ prometheus:
|
||||||
esp32_ble_tracker:
|
esp32_ble_tracker:
|
||||||
|
|
||||||
sensor:
|
sensor:
|
||||||
|
- platform: wifi_signal
|
||||||
|
name: "rgbg-living WiFi Signal Sensor"
|
||||||
|
- platform: uptime
|
||||||
|
name: "rgbg-living Uptime Sensor"
|
||||||
- platform: pvvx_mithermometer
|
- platform: pvvx_mithermometer
|
||||||
mac_address: "A4:C1:38:9B:18:D0"
|
mac_address: "A4:C1:38:9B:18:D0"
|
||||||
temperature:
|
temperature:
|
||||||
name: "rgbg-living-outside Temperature"
|
name: "rgbg-living-outside Temperature"
|
||||||
humidity:
|
humidity:
|
||||||
name: "rgbg-kilivingtchen-outside Humidity"
|
name: "rgbg-living-outside Humidity"
|
||||||
battery_level:
|
battery_level:
|
||||||
name: "rgbg-living-outside Battery-Level"
|
name: "rgbg-living-outside Battery-Level"
|
||||||
battery_voltage:
|
battery_voltage:
|
||||||
|
|
@ -61,9 +67,9 @@ sensor:
|
||||||
battery_voltage:
|
battery_voltage:
|
||||||
name: "rgbg-living-living Battery-Voltage"
|
name: "rgbg-living-living Battery-Voltage"
|
||||||
signal_strength:
|
signal_strength:
|
||||||
name: "rgbg-living-kitchen Signal"
|
name: "rgbg-living-living Signal"
|
||||||
- platform: xiaomi_hhccjcy01
|
- platform: xiaomi_hhccjcy01
|
||||||
mac_address: 'A4:C1:38:67:44:95'
|
mac_address: 'C4:7C:8D:67:44:95'
|
||||||
temperature:
|
temperature:
|
||||||
name: "rgbg-living-outside-flora Temperature"
|
name: "rgbg-living-outside-flora Temperature"
|
||||||
moisture:
|
moisture:
|
||||||
|
|
@ -75,7 +81,7 @@ sensor:
|
||||||
battery_level:
|
battery_level:
|
||||||
name: "rgbg-living-outside-flora Battery-Level"
|
name: "rgbg-living-outside-flora Battery-Level"
|
||||||
- platform: xiaomi_hhccjcy01
|
- platform: xiaomi_hhccjcy01
|
||||||
mac_address: 'A4:C1:38:67:42:34'
|
mac_address: 'C4:7C:8D:67:42:34'
|
||||||
temperature:
|
temperature:
|
||||||
name: "rgbg-living-krasser-kaktus Temperature"
|
name: "rgbg-living-krasser-kaktus Temperature"
|
||||||
moisture:
|
moisture:
|
||||||
|
|
|
||||||
Binary file not shown.
Loading…
Reference in New Issue