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: type: arduino # Enable logging logger: # Enable Home Assistant API api: password: "" # mqtt: # broker: "moritzgraf.de" # port: "30024" # username: "sender" # password: "ahQueteiRietufeko8do" # topic_prefix: "muc-living" ota: password: "" wifi: ssid: "Bababaambox" password: "mopRulezmopRulez" # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "Muc Living Fallback Hotspot" password: "iCMaF8TURlPg" captive_portal: # http://Gul3zooSa5Waphophuag:eeLie9Mai9ahfi5ahy2i@muc-living.local/metrics web_server: auth: username: Gul3zooSa5Waphophuag password: eeLie9Mai9ahfi5ahy2i 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: name: "muc-living-outside Temperature" humidity: name: "muc-living-outside Humidity" battery_level: name: "muc-living-outside Battery-Level" battery_voltage: name: "muc-living-outside Battery-Voltage" signal_strength: name: "muc-living-outside Signal" - platform: pvvx_mithermometer mac_address: "A4:C1:38:01:90:9A" temperature: name: "muc-living-living Temperature" humidity: name: "muc-living-living Humidity" battery_level: name: "muc-living-living Battery-Level" battery_voltage: name: "muc-living-living Battery-Voltage" signal_strength: name: "muc-living-living Signal" - platform: pvvx_mithermometer mac_address: "A4:C1:38:CF:6D:2E" temperature: name: "muc-living-sleeping Temperature" humidity: name: "muc-living-sleeping Humidity" battery_level: name: "muc-living-sleeping Battery-Level" battery_voltage: name: "muc-living-sleeping Battery-Voltage" signal_strength: name: "muc-living-sleeping Signal"