Looking for a Zigbee 12V input module for low‑voltage push buttons

I have 12V push buttons in my apartment that control the lighting via central relays in the electrical cabinet. At each switch location, only a 12V DC line is available. I want to integrate these buttons into Home Assistant using Zigbee, so I need a module that can:

  • run on 12V DC,
  • read a push‑button / dry‑contact input,
  • communicate via Zigbee,
  • fit inside a wall box.

Sonoff and Shelly don’t seem to offer Zigbee devices that work with 12V DC. Does anyone know a reliable Zigbee input module for this kind of setup, or an alternative solution?

Thanks!

Hi, I think the FRIENT IOMZB Does all that for you.

This would be easy with ESPHome and reliable too. But it is DIY.

The smallest. The lowest power processor would work, and you only need a few I/O pins. You would have to regulate the 12V down to 5V to power the ESP and level shift the inputs down to 3.3V.

These devices look really good the realay says it is rated at 30V and 10A. You would just have to DC/DC power supply to power them. See 2nd link for power supply

https://www.aliexpress.us/item/3256810386483297.html
https://www.aliexpress.us/item/3256808071645977.html

Yes, a learning curve but isn’t that why we are all here?

Oh, one more idea. Disconnect and cover over all the switches and place some battery-powered controls on the wall. The Philips Hue Button is nice but you can find cheaper ones. These can mount to any wall surface with double sided tape and have no wire connected.

Then near the relay pannel you use ther Shelly dry contact relays. Simply ignore all the in-wall wire 12volt wire.

I have modified a cheap AliEx Tuya zigbee switch to run from 12V as a detached switch. I removed all the mains circuit (and the relay) and added a small DC-DC module to provide the 3.3V. It works fine and as a bonus it is also a zigbee router.

1 Like

Shrieks in terror - a home full of battery powered ZigBee devices! All these complicated solutions being suggested.

This may not be required. Look at what you have already and what you need.

You already have functional switches, with hard wiring going back to your switchboard to drive your relays. Why replace that nice reliable solid and already functional wiring with a scattering of radio connections and all the associated (probable) unreliability and pitfalls?

A simple voltage divider [two resistors] to drop a 12v signal to 3.3v on a GPIO will detect your switch position with a ESP32. One GPIO per switch input. That takes care of the input side. [Be sure to configure as switch to take account of debounce factors.] Do this at the switchboard, all in a central location. Don’t even touch your existing switches on the wall - they already work!

Disconnect your wall switches from the 12v relays at the switchboard, and instead drive the relay inputs at 12V from a HomeAssistant connected relay board, one relay channel per switch, maybe even using the same ESP32 chip with other GPIOs. Multichannel 12V powered relay boards already configured to work with Arduino/ESP32s are very cheap and come in various configurations to support 1, 2, 4, 8 and even 16 channels. Their outputs should be a 1-to-1 connection for your existing relay inputs that you have disconnected from the switches. That would mean cutting the connection from the switch to the relay input and interspersing your smarts in between, only two wires for each switch, and maybe take off a 12v/GND to power your ESP32s and relay board as well.

All your wiring is at the switchboard. Low voltage. No batteries, no tampering behind each switch at the wallbox. No ZigBee configuration, intermittent fadeouts, hubs, or firmware nightmares. When you move house just take out your ESP32 bits and connect the 12v wires back again.

If you run out of GPIO pairs, just add more ESP32s and relay boards. What you have done is logically broken the link between the switch and the relay, and substituted with your own.

Configuring switch inputs and relay outputs using ESPHome should be your biggest challenge.

Simplez!

Out of curiosity, how many switches/relays are we talking about?