This commit is contained in:
NP v/d Spek 2024-09-19 16:44:52 +02:00
parent 93b11bb7d5
commit e461effe0c
3 changed files with 0 additions and 95 deletions

View file

@ -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

View file

@ -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"

View file

@ -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"