Compare commits

...

3 Commits

Author SHA1 Message Date
eba065dd2d Add boot startup LED flashes
Helpful to signal successful boot when enclosed.
2025-09-22 01:13:29 -04:00
4a416fa710 Convert PIR GPIO to pulldown
As per [1] this is the suggested configuration.

[1] https://community.home-assistant.io/t/am312-motion-sensors-going-crazy/335073/10
2025-09-21 01:01:11 -04:00
b2845eb479 Ignore strapping warning on GPIO15
This is a dummy component anyways, so it doesn't matter.
2025-09-21 01:00:45 -04:00

View File

@@ -36,6 +36,14 @@ esphome:
id(pir_presence).publish_state(false);
id(light_presence).publish_state(false);
id(radar_presence).publish_state(false);
- priority: 100
then:
- light.turn_on:
id: output_led
effect: flash_white
- delay: 2s
- light.turn_off:
id: output_led
- priority: -100
then:
- if:
@@ -373,6 +381,7 @@ i2s_audio:
- id: i2s_dummy
i2s_lrclk_pin:
number: GPIO15 # WS
ignore_strapping_warning: true # This isn't connected to anything anyways
i2s_bclk_pin:
number: GPIO14 # SCK
@@ -762,7 +771,7 @@ binary_sensor:
id: pir_gpio
pin:
number: GPIO32
mode: INPUT_PULLUP
mode: INPUT_PULLDOWN
internal: false
device_class: motion
on_press: