You thought about it, do IT !

ESPHome MultiSensor – Simple LED Indicator

ESPHome MultiSensor – Simple LED Indicator
Project progress
20%

Now let’s configure a simple LED module to make an easy on / off light indicator.

LED Module needed :

Plug GND to GND, VCC to 3.3v of the Wemos D1, IN to D0

ESPHome code :

esphome:
  name: multisensor1
  friendly_name: MultiSensor1

esp8266:
  board: d1_mini

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "*****************************"

ota:
  password: "**************************"

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Multisensor1 Fallback Hotspot"
    password: "*******************"

output:
  - id: Green_Led_Indicator
    platform: gpio
    pin: D0
    
light:
  - platform: binary
    name: "LED Green"
    output: Green_Led_Indicator

Flash the firmware then go to your ESPHome device :

do-it.dev Avatar
if you liked it, please contribute !

Leave a Reply

Your email address will not be published. Required fields are marked *

Aurélien Bordinat

I am a french computer engineer, adept of DIY, home automation and new technologies. When i’m not busy trail running, i spend some time prototyping.