devices.esphome.io

Lohas LH-ZN124 5000K 10W Dimmable

Lohas LH-ZN124 5000K 10W Dimmable

Device Type: light
Electrical Standard: us
Board: esp8266

GPIO Pinout

PinFunction
GPIO14Light

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 flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_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
Edit this page on GitHub