generated from esphome/esphome-project-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
bed-presence-mk1.yaml
57 lines (49 loc) · 1.29 KB
/
bed-presence-mk1.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
esphome:
name: bed-presence
friendly_name: Bed Presence
min_version: 2024.6.0
name_add_mac_suffix: true
project:
name: ElevatedSensors.BedPresenceMk1
version: DIY
platformio_options:
board_build.flash_mode: dio
esp32:
board: esp32-c3-devkitm-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
# Enable wifi
wifi:
# Set up a wifi access point
ap: {}
# In combination with the `ap` this allows the user
# to provision wifi credentials to the device via WiFi AP.
captive_portal:
# Enable esphome OTA updates
ota:
- platform: esphome
################################################################################
packages:
remote_package:
url: https://github.com/ElevatedSensors/sensor-configs
ref: main
files: ['bed-presence-mk1/base.yaml']
refresh: 1s
# See https://github.com/ElevatedSensors/sensor-configs/blob/main/bed-presence-mk1/sensor.yaml for a detailed
# description of available substitutions.
#
# substitutions:
# trigger_percentile: '0.75'
# averaging_window_samples: '5'
# fast_delayed_on: '0ms'
# fast_delayed_off: '0ms'
# standard_delayed_on: '0s'
# standard_delayed_off: '1s'
# reporting_delta: '1.0'
# reporting_interval_max: '180s'
# calibrate_100: '408000'
# calibrate_0: '276000'