My question is, can all of these things work together? I planned to connect the ESP8266 and the LED Lamp with the PowerSwitch so my microcontroller can control an AC device. But can the LED Lamp be dimmed by changing the PWM? Is it compatible with the PowerSwitch?
If you guys have any other ideas please do say so, thank you.