Guest User

Untitled

a guest
Jun 25th, 2025
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.67 KB | None | 0 0
  1. esphome:
  2. name: bed-presence
  3. friendly_name: Bed Presence
  4. min_version: 2024.6.0
  5. name_add_mac_suffix: true
  6. project:
  7. name: ElevatedSensors.BedPresenceMk1
  8. version: DIY
  9. platformio_options:
  10. board_build.flash_mode: dio
  11.  
  12. esp32:
  13. board: esp32-c3-devkitm-1
  14. framework:
  15. type: esp-idf
  16. sdkconfig_options:
  17. CONFIG_BT_BLE_42_FEATURES_SUPPORTED: y
  18. CONFIG_BT_BLE_50_FEATURES_SUPPORTED: n
  19.  
  20. # Enable logging
  21. logger:
  22.  
  23. # Enable Home Assistant API
  24. api:
  25.  
  26. web_server:
  27. port: 80
  28. local: true
  29.  
  30. # Enable wifi
  31. wifi:
  32. ssid: !secret wifi_ssid
  33. password: !secret wifi_password
  34. # Set up a wifi access point
  35. ap: {}
  36.  
  37.  
  38. # In combination with the `ap` this allows the user
  39. # to provision wifi credentials to the device via WiFi AP.
  40. captive_portal:
  41.  
  42. # Enable esphome OTA updates
  43. ota:
  44. - platform: esphome
  45.  
  46. ################################################################################
  47. packages:
  48. remote_package:
  49. url: https://github.com/ElevatedSensors/sensor-configs
  50. ref: main
  51. refresh: 1s
  52. files:
  53. - 'bed-presence-mk1/base.yaml'
  54. - 'esphome-common/bluetooth-proxy.yaml'
  55.  
  56. # See https://github.com/ElevatedSensors/sensor-configs/blob/main/bed-presence-mk1/sensor.yaml for a detailed
  57. # description of available substitutions.
  58. #
  59. # substitutions:
  60. # trigger_percentile: '0.75'
  61. # averaging_window_samples: '5'
  62. # fast_delayed_on: '0ms'
  63. # fast_delayed_off: '0ms'
  64. # standard_delayed_on: '0s'
  65. # standard_delayed_off: '1s'
  66. # slow_delayed_on: '2s'
  67. # slow_delayed_off: '5s'
  68. # reporting_delta: '1.0'
  69. # reporting_interval_max: '180s'
  70. # calibrate_100: '408000'
  71. # calibrate_0: '276000'
Advertisement
Add Comment
Please, Sign In to add comment