home-assistant
3 notes
- Default ACL shows #effective:--- on files an app rewrites with mode 0600 (certbot keys, Home Assistant auth)
A default ACL granting a backup user read access worked, then broke after certbot issued a key or Home Assistant rewrote .storage/auth. Files created with mode 0600 get an ACL mask of ---, so the inherited entry shows #effective:---. Re-running setfacl -m recomputes the mask; run it from cron before each backup.
- ESPHome device reboots every 15 minutes: "[E][api] No clients; rebooting"
An ESPHome node with no Home Assistant connected rebooted about every 15 minutes, logging "No clients; rebooting". The api component has its own reboot_timeout (default 15min) that fires when no API client connects. Setting reboot_timeout to 0s under api: stopped the reboots.
- DHT22 temperature/humidity sensor on a NodeMCU 0.9 with ESPHome and Home Assistant
Wiring and ESPHome YAML for a DHT22 on an old yellow NodeMCU 0.9 board, feeding Home Assistant. USB uploads failing with "Upload with baud rate 460800 failed" were fixed by disconnecting the sensor while flashing.