IoT AC dimmer for ESP8266 D1 Mini

On Aliexpress we found this IoT AC dimmer that can house a ESP8266 D1 mini. It’s made by a company called RobotDyn.

You can use it for dimming certain LED lamps as well as incandescent lamps. When dimming LED make sure the LED lamps are in fact dimmable and consume at least 10 Watt.

Setting it up in esphome is fairly straight forward:

substitutions:
  devicename: d1mini-dimmer01
  long_devicename: D1 mini AC dimmer

esphome:
  name: $devicename
  comment: $long_devicename
  platform: ESP8266
  board: d1_mini
  
wifi:
  ssid: !secret esphome_wifi_ssid
  password: !secret esphome_wifi_password
  ap:
    ssid: "$devicename Fallback Hotspot"
    password: !secret esphome_ap_password
    ap_timeout: 15s

captive_portal:

web_server:
  port: 80

logger:

api:
  password: !secret esphome_api_password

ota:
  password: !secret esphome_ota_password

sensor:
  - platform: wifi_signal
    name: "$devicename WiFi Signal"
    update_interval: 60s
    
output:
  - platform: ac_dimmer
    id: dimmer
    gate_pin: D0
    zero_cross_pin:
      number: D1
      mode: INPUT
      inverted: yes

light:
  - platform: monochromatic
    output: dimmer
    name: "$long_devicename - Light"

 

 

 

Please subscribe to our newsletter!

0 0 votes
Article Rating
Subscribe
Notify of
guest
2 Comments
Oldest
Newest Most Voted
Joris
Joris
June 5, 2022 14:35

It seems this one is no longer available on AliExpress. Maybe you guys can make a nice alternative ๐Ÿ™‚

Newsletter

Fresh off the workbench, straight to your inbox.

One mail when something new is published. No spam, unsubscribe at any time.

Translate ยป
2
0
Would love your thoughts, please comment.x
()
x