Skip to content

Instantly share code, notes, and snippets.

@debsahu
Created November 22, 2021 00:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save debsahu/eefa64dcc57a64496bdc5b9310e0aeaf to your computer and use it in GitHub Desktop.
Save debsahu/eefa64dcc57a64496bdc5b9310e0aeaf to your computer and use it in GitHub Desktop.
ESPHome config for IKEA VINDRIKTNING
esphome:
name: aqisensor1
platform: ESP8266
board: nodemcuv2
wifi:
networks:
- ssid: !secret esphome_wifi_ssid1
password: !secret esphome_wifi_pass1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "AQI Sensor 1 Hotspot"
password: !secret esphome_fb_wifi_pass
web_server:
port: 80
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: !secret esphome_haapi_pass
ota:
password: !secret esphome_ota_pass
mqtt:
broker: !secret mqtt_broker
username: !secret mqttuser
password: !secret mqttpass
text_sensor:
- platform: wifi_info
ip_address:
name: "AQI Sensor 1 IP Address"
ssid:
name: "AQI Sensor 1 Connected SSID"
bssid:
name: "AQI Sensor 1 Connected BSSID"
uart:
rx_pin: GPIO14
baud_rate: 9600
sensor:
- platform: pm1006
pm_2_5:
name: "Particulate Matter 2.5µm Concentration"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment