Advertisement
johannwilken

BME680 (Bosch Library)

Dec 28th, 2021
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. esphome:
  2. name: give a name
  3. platform: ESP8266
  4. board: esp01_1m
  5. libraries:
  6. - SPI
  7.  
  8. # Enable logging
  9. logger:
  10.  
  11. # Enable Home Assistant API
  12. api:
  13.  
  14. ota:
  15. password: ota password
  16.  
  17. wifi:
  18. ssid: your ssid
  19. password: your password
  20. manual_ip:
  21. static_ip: static ip
  22. gateway: your gateway
  23. subnet: your subnet
  24. dns1: your dns
  25. dns2: your dns
  26.  
  27. # Enable fallback hotspot (captive portal) in case wifi connection fails
  28. ap:
  29. ssid: "hotspot name"
  30. password: "password"
  31.  
  32. i2c:
  33. sda: your GPIO number
  34. scl: Your GPIO number
  35. scan: true
  36. id: bus_a
  37.  
  38. bme680_bsec:
  39. # i2c address
  40. # -----------
  41. # Common values are:
  42. # - 0x76
  43. # - 0x77
  44. # Default: 0x76
  45. address: 0x77
  46.  
  47. # Temperature offset
  48. # ------------------
  49. # Useful if device is in enclosure and reads too high
  50. # Default: 0
  51. temperature_offset: 0
  52.  
  53. # IAQ calculation mode
  54. # --------------------
  55. # Available options:
  56. # - static (for fixed position devices)
  57. # - mobile (for on person or other moveable devices)
  58. # Default: static
  59. iaq_mode: static
  60.  
  61. # Sample rate
  62. # -----------
  63. # This controls the sampling rate for gas-dependant sensors and will govern the interval
  64. # at which the sensor heater is operated.
  65. # By default this rate will also be used for temperature, pressure and humidity sensors
  66. # but these can be overridden on a per-sensor level if required.
  67. #
  68. # Available options:
  69. # - lp (low power - samples every 3 seconds)
  70. # - ulp (ultra low power - samples every 5 minutes)
  71. # Default: lp
  72. sample_rate: ulp
  73.  
  74. # Interval at which to save BSEC state
  75. # ------------------------------------
  76. # Default: 6h
  77. state_save_interval: 6h
  78.  
  79. sensor:
  80. - platform: bme680_bsec
  81. temperature:
  82. # Temperature in °C
  83. name: "Master Bedroom Temperature"
  84. sample_rate: lp
  85. filters:
  86. - median
  87. pressure:
  88. # Pressure in hPa
  89. name: "Master Bedroom Pressure"
  90. sample_rate: lp
  91. filters:
  92. - median
  93. humidity:
  94. # Relative humidity %
  95. name: "Master Bedroom Humidity"
  96. sample_rate: lp
  97. filters:
  98. - median
  99. gas_resistance:
  100. # Gas resistance in Ω
  101. name: "Master Bedroom Gas Resistance"
  102. filters:
  103. - median
  104. iaq:
  105. # Indoor air quality value
  106. name: "Master Bedroom IAQ"
  107. filters:
  108. - median
  109. iaq_accuracy:
  110. # IAQ accuracy as a numeric value of 0, 1, 2, 3
  111. name: "Master Bedroom Numeric IAQ Accuracy"
  112. co2_equivalent:
  113. # CO2 equivalent estimate in ppm
  114. name: "Master Bedroom CO2 Equivalent"
  115. filters:
  116. - median
  117. breath_voc_equivalent:
  118. # Volatile organic compounds equivalent estimate in ppm
  119. name: "Master Bedroom Breath VOC Equivalent"
  120. filters:
  121. - median
  122.  
  123. text_sensor:
  124. - platform: bme680_bsec
  125. iaq_accuracy:
  126. # IAQ accuracy as a text value of Stabilizing, Uncertain, Calibrating, Calibrated
  127. name: "Master Bedroom IAQ Accuracy"
  128.  
  129. captive_portal:
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement