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

homeassistant

11878 readers
1 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 1 year 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/

all 8 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 1 year ago

I've also become interested in adding some air quality sensors recently (from the Canadian wildfires). I just bought some Nova SDS011 modules with USB adapters. Doesn't come with a nice case but should require less hacking. Probably ends up similar in price.

[–] [email protected] 2 points 1 year ago (3 children)

It is 4x more expensive than the VINDRIKTNING but the newer VINDSTYRKA (Zigbee with a display) setup in seconds and just works via zigbee2mqtt.

Guess it depends if you have a lot of ESPs kicking around or can get them shipped with all parts and build for low enough / fast enough to justify it.

[–] [email protected] 1 points 1 year ago (1 children)

I wish either of the IKEA devices measured more. I picked up an Awair Element used off eBay and set it up to provide data locally. The C02 sensor in particular has been really enlightening.

[–] [email protected] 1 points 1 year ago

CO2 would be very useful. I picked up two VINDSTYRKA as I have been concerned about PPM counts in the air as we have a few people with asthma. The VOC reading is kind hard to use in HA as it works against a rolling average and a score in a range.

[–] [email protected] 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.

[–] [email protected] 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