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
No known key found for this signature in database
GPG Key ID: 74908B979B924E74
5 changed files with 53 additions and 14 deletions

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: ""

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:

View File

@ -19,13 +19,15 @@ ota:
wifi:
ssid: "Bababaambox"
password: "mopRulezmopRulez"
reboot_timeout: "5 min"
fast_connect: True
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "rgbg living Fallback Hotspot"
password: "iCMaF8TURlPg"
# ap:
# ssid: "rgbg living Fallback Hotspot"
# password: "iCMaF8TURlPg"
captive_portal:
# captive_portal:
# http://oot6ainge9aef6iaf4Cu:oonohNaej6soh7TooPha@rgbg-kitchen.local/metrics
web_server:
@ -38,12 +40,16 @@ prometheus:
esp32_ble_tracker:
sensor:
- platform: wifi_signal
name: "rgbg-living WiFi Signal Sensor"
- platform: uptime
name: "rgbg-living Uptime Sensor"
- platform: pvvx_mithermometer
mac_address: "A4:C1:38:9B:18:D0"
temperature:
name: "rgbg-living-outside Temperature"
humidity:
name: "rgbg-kilivingtchen-outside Humidity"
name: "rgbg-living-outside Humidity"
battery_level:
name: "rgbg-living-outside Battery-Level"
battery_voltage:
@ -61,9 +67,9 @@ sensor:
battery_voltage:
name: "rgbg-living-living Battery-Voltage"
signal_strength:
name: "rgbg-living-kitchen Signal"
name: "rgbg-living-living Signal"
- platform: xiaomi_hhccjcy01
mac_address: 'A4:C1:38:67:44:95'
mac_address: 'C4:7C:8D:67:44:95'
temperature:
name: "rgbg-living-outside-flora Temperature"
moisture:
@ -75,7 +81,7 @@ sensor:
battery_level:
name: "rgbg-living-outside-flora Battery-Level"
- platform: xiaomi_hhccjcy01
mac_address: 'A4:C1:38:67:42:34'
mac_address: 'C4:7C:8D:67:42:34'
temperature:
name: "rgbg-living-krasser-kaktus Temperature"
moisture:

Binary file not shown.