2020-02-22 10:03:32 -06:00
New
2018-09-09 16:45:50 -05:00
2018-12-27 09:41:27 -06:00
2019-01-10 21:20:28 +00:00
2020-02-22 10:03:32 -06:00
2018-12-27 09:41:27 -06:00

Use ESP8266 2.5.0 version for this project.

IOT-Light-Dimmer

IOT-Light-Dimmer

alt text

#Part List

Triac BTA16 600B

Optocoupler 4n25

Triac Output Optocoupler MOC3021

Bridge Rectifier diode d11510s

120k Ohms 5%

120k Ohms 5%

1k Ohms 5%

Resistor 331

Resistor 471

Resistor 103

LED

YouTube Tutorial Part # 1

https://www.youtube.com/watch?v=eFeOSiL-IBQ

YouTube Tutorial Part # 2

https://www.youtube.com/watch?v=uC9vyMdiJKQ

1): Setup Hassio

mqtt:

password: "welcome"

light:

- platform: mqtt

name: "Office Lights"

state_topic: "netmedias/office lights/status"

command_topic: "netmedias/office lights/switch"

brightness_state_topic: 'netmedias/office lights/brightness'

brightness_command_topic: 'netmedias/office lights/brightness/set'

qos: 0

optimistic: false 

2): Downgrade ESP board in arduino ide

3): Download Esplexa and copy it into lib folder https://github.com/Aircoookie/Espalexa

4): Download project update ssid and password and flash it to NodeMcu

Description
IOT-Light-Dimmer
Readme 837 KiB
Languages
C 77.7%
C++ 22.3%