this post was submitted on 04 Jul 2023
5 points (100.0% liked)

homeassistant

12130 readers
17 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 2 years ago
MODERATORS
 

Most all of the tutorials for this say to use a ESP-01s with a voltage regulator but I Wanted to share a different solution I have found. I had some of these Amazon esp8266 hi let go chips laying around with the added benefit of being able to run on 5v. I found they fit pretty nice if you cut a hole in the top and pass the antenna out. It looks like they don't obstruct the airflow too much that way. They work great soldered directly to the Ikea board and also work for the constant 3.3v noise hack if you wire the fan positive to the 8266's 3.3v pin.

Board used: HiLetgo 3pcs ESP8266 NodeMCU... https://www.amazon.com/dp/B081CSJV2V?ref=ppx_pop_mob_ap_share

Instructable tutorial: https://www.instructables.com/Connecting-a-IKEA-Vindriktning-to-Home-Assistant-U/

you are viewing a single comment's thread
view the rest of the comments
[–] mtgpcs 1 points 1 year ago (1 children)

You could also get a d1 mini. That's what I used it's smaller and doesn't come with the pins soldered on. It also has a 5V in. What are you using to bring the data into HA? I used esphome.

[–] SharkyPants 1 points 1 year ago* (last edited 1 year ago)

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