esphome/tests/components/espnow/common.yaml

16 lines
313 B
YAML
Raw Normal View History

2024-07-26 16:23:36 +02:00
espnow:
auto_add_peer: true
peers:
- FF:FF:FF:FF:FF:FF
2024-08-24 20:08:40 +02:00
on_receive:
2024-07-26 16:23:36 +02:00
- logger.log:
format: "Received: %s RSSI: %d"
2024-09-24 16:41:35 +02:00
args: [packet->content_as_bytes(), packet->rssi]
2024-07-26 16:23:36 +02:00
binary_sensor:
- platform: gpio
pin: GPIO39
name: Button
on_click:
- espnow.send: "hallo everyone"