Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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
- sdkconfig_options:
- CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
- CONFIG_BT_BLE_50_FEATURES_SUPPORTED: n
- # Enable logging
- logger:
- # Enable Home Assistant API
- api:
- web_server:
- port: 80
- local: true
- # Enable wifi
- wifi:
- ssid: !secret wifi_ssid
- password: !secret wifi_password
- # 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
- refresh: 1s
- files:
- - 'bed-presence-mk1/base.yaml'
- - 'esphome-common/bluetooth-proxy.yaml'
- # 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'
- # slow_delayed_on: '2s'
- # slow_delayed_off: '5s'
- # reporting_delta: '1.0'
- # reporting_interval_max: '180s'
- # calibrate_100: '408000'
- # calibrate_0: '276000'
Advertisement
Add Comment
Please, Sign In to add comment