2024-10-28 18:45:02 +00:00
|
|
|
external_components:
|
|
|
|
|
- source:
|
|
|
|
|
type: local
|
|
|
|
|
path: components
|
|
|
|
|
|
|
|
|
|
logger:
|
|
|
|
|
|
|
|
|
|
http_request:
|
2025-08-30 10:31:14 +02:00
|
|
|
timeout: 60s
|
2024-10-28 18:45:02 +00:00
|
|
|
verify_ssl: false
|
|
|
|
|
|
|
|
|
|
api:
|
|
|
|
|
encryption:
|
|
|
|
|
key: !secret api_key
|
|
|
|
|
|
|
|
|
|
ota:
|
|
|
|
|
- platform: esphome
|
2024-10-28 18:59:55 +00:00
|
|
|
id: ota_esphome
|
2024-10-28 18:45:02 +00:00
|
|
|
- platform: http_request
|
2024-10-28 18:59:55 +00:00
|
|
|
id: ota_http
|
2024-10-28 18:45:02 +00:00
|
|
|
|
|
|
|
|
update:
|
|
|
|
|
- platform: http_request
|
|
|
|
|
id: auto_update
|
2025-08-29 22:08:10 +02:00
|
|
|
name: Update
|
2024-10-28 18:45:02 +00:00
|
|
|
source: "https://juju.nz/michaelh/assets/esphome/${project_name}.json"
|
2025-08-30 13:03:42 +02:00
|
|
|
on_update_available:
|
|
|
|
|
then:
|
|
|
|
|
- delay: 4hours
|
|
|
|
|
- update.perform: auto_update
|
2024-10-28 18:45:02 +00:00
|
|
|
|
|
|
|
|
wifi:
|
2024-12-15 18:17:54 +13:00
|
|
|
networks:
|
2026-02-01 13:59:29 +13:00
|
|
|
- ssid: !secret wifi_ssid
|
|
|
|
|
password: !secret wifi_password
|
|
|
|
|
- ssid: !secret wifi2_ssid
|
|
|
|
|
password: !secret wifi2_password
|
|
|
|
|
- ssid: !secret wifi3_ssid
|
|
|
|
|
password: !secret wifi3_password
|
2024-10-28 18:45:02 +00:00
|
|
|
power_save_mode: "HIGH"
|
2026-01-31 06:15:36 +01:00
|
|
|
min_auth_mode: WPA2
|
2024-10-28 18:45:02 +00:00
|
|
|
|
|
|
|
|
time:
|
|
|
|
|
- platform: homeassistant
|
|
|
|
|
id: homeassistant_time
|
2024-12-15 18:27:07 +13:00
|
|
|
timezone: Pacific/Auckland
|
2024-10-28 18:45:02 +00:00
|
|
|
|
2025-08-27 14:06:01 +02:00
|
|
|
button:
|
2024-10-28 18:45:02 +00:00
|
|
|
- platform: restart
|
|
|
|
|
name: "Restart"
|
2025-03-18 21:50:50 +13:00
|
|
|
|
|
|
|
|
sensor:
|
|
|
|
|
- platform: wifi_signal
|
|
|
|
|
id: wlan_rssi
|
|
|
|
|
name: "WLAN RSSI"
|
|
|
|
|
- platform: uptime
|
|
|
|
|
name: Uptime
|