A nightstand noise generator based on M5Stack Atom Echo and integrating with Home Assistant
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 18 lines 874 B view raw
1# Compile-time secrets for the sound-machine firmware. 2# 3# Copy this file to `cfg.toml` (which is gitignored) and fill in the real 4# values for your network and MQTT broker. The build will read these via 5# the `toml-cfg` crate and bake them into the binary at compile time. 6# 7# Empty values cause the firmware to panic at boot — better than silently 8# trying to connect to nothing forever. 9 10[sound-machine] 11wifi_ssid = "your-wifi-ssid" 12wifi_password = "your-wifi-password" 13# Full URL form so we can swap to mqtts://host:8883 later without a schema change. 14mqtt_url = "mqtt://mqtt.example.local:1883" 15# Base URL the device fetches OTA images from. Image URL is 16# `<ota_url_base>/sound-machine-<version>.bin`. Plain HTTP is fine on a 17# trusted LAN; TLS-without-code-signing only protects transit, not authenticity. 18ota_url_base = "http://firmware.example.lan/sound-machine"