devices.esphome.io
Lohas LH-ZN124 5000K 10W Dimmable
Lohas LH-ZN124 5000K 10W Dimmable
Device Type: lightElectrical Standard: usBoard: esp8266
GPIO Pinout
| Pin | Function |
|---|---|
| GPIO14 | Light |
Basic Configuration
# Basic Config# https://www.lohas-led.com/lohas-smart-led-light-bulbs-google-home-siri-and-iftttno-hub-required-e26-daylight-5000k-dimmable-2-pack-p0238-p0238.html# https://amzn.to/2Pe5j2m
esphome: name: lightname platform: ESP8266 esp8266: board: esp01_1m restore_from_flash: true
# OTA flashingota: - platform: esphome
wifi: # Your Wifi network details # Enable fallback hotspot in case wifi connection fails ap:
# Enabling the logging componentlogger:
# Enable Home Assistant APIapi:
# Enable the captive portalcaptive_portal:
# Enable the Web Server component webserver:
output: - platform: esp8266_pwm id: pwm_output # frequency: 1000 Hz pin: GPIO14
light: - platform: monochromatic name: "lightname" default_transition_length: 1s output: pwm_output