esphome/tests/test12.3.yaml
2024-05-12 13:37:32 +02:00

66 lines
929 B
YAML

---
nrf52:
board: adafruit_itsybitsy_nrf52840
esphome:
name: nrf52-test-nrf-adafruit
logger:
level: DEBUG
logs:
switch: NONE
switch:
- platform: gpio
pin:
number: 15
inverted: true
mode:
output: true
id: gpio_15
interval:
- interval: 500ms
then:
- switch.toggle: gpio_15
output:
- platform: gpio
pin:
number: 14
inverted: true
mode:
output: true
id: rest_gpio
dfu:
reset_output: rest_gpio
zephyr_ble_server:
zephyr_ble_nus:
log: true
zephyr_debug:
debug:
sensor:
- platform: uptime
name: Uptime Sensor
update_interval: 5sec
- platform: adc
pin: VDDHDIV5
name: "VDDH Voltage"
update_interval: 5sec
filters:
- multiply: 5
- platform: adc
pin: VDD
name: "VDD Voltage"
update_interval: 5sec
- platform: adc
pin: AIN0
name: "AIN0 Voltage"
update_interval: 5sec