mirror of
https://github.com/esphome/esphome.git
synced 2025-04-14 06:40:32 +01:00
cleanup
This commit is contained in:
parent
93b11bb7d5
commit
e461effe0c
5
esphome/components/espnow/.gitignore
vendored
5
esphome/components/espnow/.gitignore
vendored
@ -1,5 +0,0 @@
|
|||||||
# Gitignore settings for ESPHome
|
|
||||||
# This is an example and may include too much for your use-case.
|
|
||||||
# You can modify this file to suit your needs.
|
|
||||||
/.esphome/
|
|
||||||
/secrets.yaml
|
|
@ -1,29 +0,0 @@
|
|||||||
esphome:
|
|
||||||
name: espnow-test
|
|
||||||
friendly_name: espnow test
|
|
||||||
name_add_mac_suffix: true
|
|
||||||
project:
|
|
||||||
name: LumenSoft.espnow_test
|
|
||||||
version: "0.25"
|
|
||||||
|
|
||||||
esp32:
|
|
||||||
board: m5stack-atom
|
|
||||||
framework:
|
|
||||||
type: esp-idf
|
|
||||||
version: 4.4.8
|
|
||||||
|
|
||||||
espnow:
|
|
||||||
auto_add_peer: true
|
|
||||||
peers:
|
|
||||||
- FF:FF:FF:FF:FF:FF
|
|
||||||
on_receive:
|
|
||||||
- logger.log:
|
|
||||||
format: "Received: %s RSSI: %d"
|
|
||||||
args: [packet->contest_bytes(), packet->rssi()]
|
|
||||||
|
|
||||||
binary_sensor:
|
|
||||||
- platform: gpio
|
|
||||||
pin: GPIO39
|
|
||||||
name: Button
|
|
||||||
on_click:
|
|
||||||
- espnow.send: "hallo everyone"
|
|
@ -1,61 +0,0 @@
|
|||||||
# These substitutions allow the end user to override certain values
|
|
||||||
substitutions:
|
|
||||||
name: "lum-iot-test"
|
|
||||||
friendly_name: "Project Template"
|
|
||||||
|
|
||||||
#xternal_components:
|
|
||||||
# - source: github://pr#7141
|
|
||||||
# components: [ espnow ]
|
|
||||||
# refresh: 1 sec
|
|
||||||
|
|
||||||
esp32:
|
|
||||||
board: esp32-s3-devkitc-1
|
|
||||||
framework:
|
|
||||||
type: esp-idf
|
|
||||||
|
|
||||||
wifi:
|
|
||||||
|
|
||||||
esphome:
|
|
||||||
name: "${name}"
|
|
||||||
# Friendly names are used where appropriate in Home Assistant
|
|
||||||
friendly_name: "${friendly_name}"
|
|
||||||
# Automatically add the mac address to the name
|
|
||||||
# so you can use a single firmware for all devices
|
|
||||||
name_add_mac_suffix: false
|
|
||||||
|
|
||||||
# This will allow for (future) project identification,
|
|
||||||
# configuration and updates.
|
|
||||||
project:
|
|
||||||
name: esphome.project-template
|
|
||||||
version: "1.0"
|
|
||||||
|
|
||||||
# To be able to get logs from the device via serial and api.
|
|
||||||
logger:
|
|
||||||
|
|
||||||
# API is a requirement of the dashboard import.
|
|
||||||
api:
|
|
||||||
|
|
||||||
# OTA is required for Over-the-Air updating
|
|
||||||
ota:
|
|
||||||
platform: esphome
|
|
||||||
|
|
||||||
# Sets up Bluetooth LE (Only on ESP32) to allow the user
|
|
||||||
# to provision wifi credentials to the device.
|
|
||||||
esp32_improv:
|
|
||||||
authorizer: none
|
|
||||||
|
|
||||||
espnow:
|
|
||||||
auto_add_peer: true
|
|
||||||
peers:
|
|
||||||
- FF:FF:FF:FF:FF:FF
|
|
||||||
on_receive:
|
|
||||||
- logger.log:
|
|
||||||
format: "Received: %s RSSI: %d"
|
|
||||||
args: [it->data().data(), it->rssi()]
|
|
||||||
|
|
||||||
binary_sensor:
|
|
||||||
- platform: gpio
|
|
||||||
pin: GPIO39
|
|
||||||
name: Button
|
|
||||||
on_click:
|
|
||||||
- espnow.send: "hallo everyone"
|
|
Loading…
x
Reference in New Issue
Block a user