• 1 Post
  • 2 Comments
Joined 1 year ago
cake
Cake day: July 1st, 2023

help-circle
  • Same thing here. Using ESPHome almost identical config from the tutorial except for my wifi secrets.

    If anyone is interested here is the ESPHome config I arrived on:

    substitutions:
      name: "vindriktning_01"
      friendly_name: "vindriktning 01"
      project_name: "ikea.vindriktning-sensor"
    
    ota:
      password: !secret freindly_password
    
    wifi:
        ssid: !secret wifi_ssid
        password: !secret wifi_password
    
        # Enable fallback hotspot (captive portal) in case wifi connection fails
        ap:
          ssid: "Ikea-Vindriktning-01"
          password: !secret freindly_password
          ap_timeout: 30s
    
    esphome:
        name: "${name}"
        project:
              name: "${project_name}"
              version: "1.0"
    
    esp8266:
      board: esp01_1m
    
    # Enable logging
    logger:
      baud_rate: 0
    
    # Enable Home Assistant API
    api:
    
    uart:
      rx_pin: GPIO2
      baud_rate: 9600
    
    sensor:
      - platform: pm1006
        pm_2_5:
          name: "Particulate Matter 2.5µm Concentration"
    
    web_server:
        port: 80
        local: true