DIY Zigbee rotary wall dimmer

I added my current firmware to the github repo and merged the changes into master: GitHub - dagroe/zigbee-rotary-dimmer-switch: a rotary dimmer switch

Ha anyone ever tested this one:

It says in specifications that the comm protocol is zigbee

Awesome project! Regarding the existing solutions, do I understand it correctly that the Schneider dimmer will not work (at least directly?) with more than one light at the same time? Does anyone know if the SLC SmartOne does?

I guess it works, I don’t have one. For me it wouldn’t fit with my existing switch/outlet program. And I guess it is not available everywhere.

This looks perfect mate! Sorry to join the party this late. Did you ever manage to design a battery powered one? Looking for a long time now to find a wireless rotary switch which will fit in my (round) Hager/Berker covers.

My current design could in theory be powered by battery. Its designed with a swappable back PCB, so the one for 230V main power could be replaced with a battery one. But I am not sure about battery life. The design hasn’t been optimized for battery and I think everyone currently interested is going for the mains powered version.

I just finished the latest design. Feedback is very welcome :slight_smile:

Major changes:

  • Single PCB instead of two stacked PCBs
  • Added Relay with toggle button for cutting power to bulb/outlet (replace external switch, use to turn off/reset bulb)
  • Reverted back to a standard encoder (will require an adapter from 6mm to 4mm shaft)
  • Slightly increased the PCB size, but still within 52mm radius
  • Added resistors/capacitors for external encoder, so a daughter board for a second encoder would only need the encoder and a connector)
  • Fixed various issues with pins etc.

Schematics here: zigbee-rotary-dimmer-switch/hardware/schematics/dimmer_esp_v2.pdf at e7d4fca43d7c52f50e599baea3e2af40e7118f88 · dagroe/zigbee-rotary-dimmer-switch · GitHub


Awesome project!

For those with less skills, there is a product like this out there, the Sunricher Zigbee 4 in 1 Rotary Switch SR-ZG2835 (resold as SLC SmartOne ZB Wall Rotary 4in1 Battery, Namron ZigBee 4 i 1 Vriddimmer, ROBB SMARRT Draadloze Dimmer Zigbee ++).

Thank you for this call-out!
Are there any that are mains-powered though? The ones that you linked, I believe, are all CR2450 (battery) powered.

The Aqara Dimmer Switch H2 EU is a good option.

But this requires a load to be used, correct? So I can use it to dimm a “dumb” bulb or can I also use it to control my philips hue lights without attaching some load?

Yes this is why people make rotary encoder remotes, because the only Zigbee things you can get with a rotary encoder are dimmers not remotes, expecting to control their own load, and do not have the ability to control other devices i.e. smart bulbs. And while you can get button-based remotes, nobody seems to make one that’s a rotary encoder for people who prefer the intuitiveness of using a dial.

By the way, this is absolutely terrifying, you can’t be having your mains voltage so close to anything low voltage, including on the other side of the same PCB, and you need a decent cut-out too.

Not quite. Look up Philips Hue Tap Dial or Aqara H2 dimmer.
There’s probably others too - these are just the ones off the top of my head

Yeah they’re quite fugly with huge dials and buttons and, even if they weren’t, are immediately very different from any other switch you might have. If you want something traditional and sympathetic to the rest of your house and doesn’t scream “Hey look at me, I’m different from anything else you’ve used before, come and learn how to use me!” then you have to shove your own module in something like this, and because you do actually want it smart and multiway with your HA, you need to replace the potentiometer with a rotary encoder too.

Hey, thanks for your feedback. You are right, this is an old design and has been fixed in the latest version :slight_smile:


The first version has reached a maturity where I am confident in ordering a larger batch.

I'll order PCBs fully assembled (likely from JLCPCB) and the case can be 3D printed or also ordered. My plan was then to ship the PCBs from Germany. Of course you can also order your own if that suits you better (all sources are on github). I am currently trying to achieve a price of around 20 Euro per PCB.

Anyone interested please drop me a message or join the discord.

I set up a google form to collect info on a pooled order for fully assembled PCBs and optional 3D printed cases here. If oyu want one, please fill the form: Dimmer PCB — Group Buy Signup

I am still getting responses on my form (although only 4 so far) and it’s currently holiday season (I’ll be away myself). I plan on finalizing the order around mid august.