MQTT PWM Dimmer Controller
Find a file
2025-06-30 16:30:44 +02:00
.vscode add esp lightdimmer mqtt code 2025-05-13 16:17:12 +02:00
cad adjust tolaranced for better fit 2025-05-14 10:24:47 +02:00
include add esp reset on failed retries 2025-06-30 16:30:44 +02:00
lib add esp lightdimmer mqtt code 2025-05-13 16:17:12 +02:00
src add fadetime and optimize output parameters 2025-05-14 11:56:07 +02:00
.gitignore add esp lightdimmer mqtt code 2025-05-13 16:17:12 +02:00
esp32_hardware.jpg add photo 2025-05-14 13:26:46 +02:00
platformio.ini add mac adress 2025-06-30 16:30:13 +02:00
README.md add topic description 2025-05-14 11:47:12 +00:00
wiring-optocoupler-meanwell.png add wiring schematic 2025-05-14 11:58:51 +02:00

ESP MQTT Lightdimmer

A esp based pwm dimmer Controller.

Used to Control a meanwell dimmable power supply via mqtt.

Topics

Brightness

Value from 0 to 100.

Set Brightness: devicename/dim/set

Returns value at devicename/dim

Fadetime

Fadetime is the time in milliseconds a fade from 0 to 100% should take.

Set Fadetime devicename/fadetime/set

Returns value at devicename/fadetime

Hardware

  • Olimex ESP32-POE-ISO
  • TLP621 Optocoupler
  • 100 Ohm Resistor
  • Dimmable Powersupply with pwm control input.

Wiring

Wiring overview ESP32 Hardware