feat: add initial ESPHome configuration files including secrets, test, and Docker Compose setup

This commit is contained in:
2026-04-02 10:16:53 +08:00
parent 2ce1cd8ea4
commit 5aec15f765
5 changed files with 72 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
{
"storage_version": 1,
"cookie_secret": "725ad7c6530eb9ef89bfbe3ef679e8cd53259f1c2ccfdc5367854a2abcbebe9916fdfc99db338cb138e40a0ca912f0ff092d24b7e2735625e1757dc068f72cf1",
"last_update_check": null,
"remote_version": null
}
@@ -0,0 +1,18 @@
{
"storage_version": 1,
"name": "test",
"friendly_name": "test",
"comment": null,
"esphome_version": null,
"src_version": 1,
"address": "test.local",
"web_port": null,
"esp_platform": "ESP32",
"build_path": "None",
"firmware_bin_path": "None",
"loaded_integrations": [],
"loaded_platforms": [],
"no_mdns": false,
"framework": null,
"core_platform": "esp32"
}
+3
View File
@@ -0,0 +1,3 @@
# Your Wi-Fi SSID and password
wifi_ssid: "radarmesh"
wifi_password: "test"
+32
View File
@@ -0,0 +1,32 @@
esphome:
name: test
friendly_name: test
esp32:
board: esp32-s3-devkitc-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "ZVBRfuXPf62uHZ5yYJraTdYeSZzx0ZI713KV2MoOXms="
ota:
- platform: esphome
password: "57bb187c9267e8b33a0386351fab0a99"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "rMGDOrRl6aui"
captive_portal:
+13
View File
@@ -0,0 +1,13 @@
services:
esphome:
container_name: esphome
image: ghcr.io/esphome/esphome
volumes:
- ./config:/config
- /etc/localtime:/etc/localtime:ro
restart: always
privileged: true
network_mode: host
environment:
- USERNAME=test
- PASSWORD=ChangeMe