Sonoff basic like dimmer?

Hello everyone,
i’m wondering if someone can recommend me something in size of sonoff basic with in/out terminals which will act as a dimmer?
I dont really need wall-switch-like dimmers as this is supposed to replace dimmer which is hidden in kitchen kabinet. But mainly i need input output terminals and ideally tasmota flashable eg. MQTT ready hw.

thanks for tips

I think, you need to be a little more precise.
Are we talking about 120/240V or 12/24V?
Just white LEDs or RGB(W) or standard bulbs?


i have use for 240V as well as for 12/24V :wink:

just white

For 12/24V, I used these ones:
I easily flashed Tasmota by soldering.


nice, thanks for tip! really appreciated

have you used this guide for flashing this particullar device?

I just received mine, just wanted be sure if they can be flashed by usb 3.3v as well or I need to use 5v or external powersource 12V

You have to solder Rx, TX and IO0. Then you can either solder the 3.3V and GND or use you external power supply. Never use 5V on the 3.3V pin.
This will kill your device.

There are some videos on youtube. Just search for tasmota and magichome


sure, just on tasmota wiki has been mentioned 12v

but sadly I have no luck to get to flash mode for some reason, regarding board version I have everything connected as it should be.
Crappy debugging ;/

edit, well one of my usb-uart is obviously dead, flashed with another one :wink:

@Joerg_Schreiner I’m wondering if GPIO0 on this little controller can be used for let’s say DHT or dallas 1wire sensor. Or even better PIR sensor

eg, is that board can support some voltage needed. Anybody tried? or i’ll be first? :slight_smile:

I think GPIO0 is not a good idea as you are setting the device in programming mode.
Why not using GPIO1 or GPIO3 (aka RX/TX)?


gpio0 sets device to flash mode only if shorted to ground during boot, so it’s pretty ok to use it.
for example ESP-01S is using gpio0 without any issues.

but gpio1/3 rx/tx is good idea indeed. Haven’t thought about those … :wink: