esphome: name: bma280 friendly_name: ESPHome BMA280 platform: ESP8266 board: d1_mini # Enable logging logger: # Enable Home Assistant API api: encryption: key: "/790pJKEywnmVNLXGZylVTSxNI74ptiBAjeqgPltlHc=" ota: - platform: esphome password: "bma280" # сюди свій пасс вписати wifi: output_power: 8.5dB #важлива хрінь, не прибирати ssid: "IoT" password: 20302233Qq # Enable fallback hotspot (captive portal) in case wifi connection fails ap: ssid: "BMA280" password: "0000000009" captive_portal: web_server: port: 80 version: 3 i2c: - id: bus_a sda: D3 scl: D4 scan: true button: - platform: restart name: "Restart BME280" sensor: - platform: bme280_i2c address: 0x76 temperature: name: "Ambient temperature" oversampling: 16x pressure: name: "Atmospheric pressure" humidity: name: "BME280 Humidity" update_interval: 300s i2c_id: bus_a - platform: wifi_signal name: "Wi-Fi Signal" update_interval: 60s icon: mdi:wifi