20240410
This commit is contained in:
38
esphome/cfg_experimental/mailboxsensor.yaml
Executable file
38
esphome/cfg_experimental/mailboxsensor.yaml
Executable file
@@ -0,0 +1,38 @@
|
||||
substitutions:
|
||||
device_name: "mailboxsensor"
|
||||
friendly_name: "mailbox sensor"
|
||||
comment: "esp32, distance"
|
||||
api_password: !secret mailboxsensor_api
|
||||
ota_password: !secret ota_password
|
||||
wifi_ssid: !secret wifi_ssid
|
||||
wifi_password: !secret wifi_password
|
||||
gateway: !secret ip_gateway
|
||||
subnet: !secret ip_subnet
|
||||
ip: !secret mailboxsensor_ip
|
||||
pin_echo: GPIO25
|
||||
pin_trig: GPIO26
|
||||
pin_vbatt: GPIO35
|
||||
update_interval: 60s
|
||||
run_duration: 20s
|
||||
sleep_duration: 1800s
|
||||
pin_wake: GPIO14
|
||||
pin_status: GPIO5
|
||||
mqtt_broker_ip: !secret mqtt_broker_ip
|
||||
mqtt_broker_user: !secret mqtt_broker_user
|
||||
mqtt_broke_pass: !secret mqtt_broker_pass
|
||||
mqtt_ota_topic: "esphomeOTA/mailbox"
|
||||
|
||||
|
||||
|
||||
packages:
|
||||
board: !include boards/esp32_wroom_arduino.yaml
|
||||
connection: !include common/wifi.yaml
|
||||
device_base: !include common/common.yaml
|
||||
logger: !include templates/logger.yaml
|
||||
#bt_proxy: !include common/bluetooth.yaml
|
||||
distance: !include sensors/distance_hc-004.yaml
|
||||
battery: !include sensors/battery.yaml
|
||||
deepsleep: !include common/deepsleep.yaml
|
||||
status: !include templates/status.yaml
|
||||
|
||||
|
||||
Reference in New Issue
Block a user