ESP32 C6 Advice

Hi,
I want to use esp32 - c6 to control a relay board with added manual switches. Something like this except I only want zigbee and HomeAssistant: WiFi + Bluetooth + Manual Switch control 8 relays with ESP32 - Hackster.io

Does anyone know about any tutorial / ready made solution / code snippets? I don’t want to reinvent the wheel if I can help it.

THX!

Unfortunately esphome doesn’t support (yet) zigbee.

In that case, it’s lucky that I haven’t fully plunged into this project yet. Do we know when this will be likely implemented? This thing is not that new. Or is it?

I have no idea, but I don’t expect to have zigbee here in next few months.
You could ask that on Discord.

You can try this instead: GitHub - luar123/zigbee_esphome: External zigbee component

Or use Tasmota boards, something like this: https://aliexpress.com/item/1005007705252927.html

Why not use an 8 relay zigbee board of the shelf. They are cheap, no hassle and it’s zigbee

3 Likes

That would be optimal but I haven’t found one that suits my project.
I need one that is (obviousl)y ZigBee.

The relays can be switched on and off with external latching switches (this is harder than it sounds).

I also want to be able to control the relays from the software side even if the latching switch is set to ON or OFF. (I’ve just got a board that doesn’t allow controlling the board remotely if it’s set to manual switch mode)

And of course the price matters too.

This is the first one that came up in a search.
Doesn’t this do the job?

[AliExpress: €16,56 | with 8 Analogue inputs Tuya zigbee or tuya wifi 8 channels Relay Module board card plate controller remote control switch https://a.aliexpress.com/_EvXYRKs]

If I saw that correctly the external component doesn’t support external switches.

I was just wondering about that tasmota board or if I should make one just like it. I find it a bit expensive for only 4 switches though …

I’ve got that one. It works almost perfect except if I set it to manual switch mode, it doesn’t allow to change the relays state remotely.
It uses a tuya ztu ZigBee board that is capable of doing what I want (4 gang aubess like mini switch uses the same board) but it’s not implemented on this board.

Do the switches need to be made available over Zigbee, or are they for “internal” use? If the latter, you can just use ESPHome automations for them.

You might be able to make the switches available over Zigbee with the workaround mentioned here.

I absolutely need them both physically and over ZigBee too. Also I need to be able to override the state of the physical switches.
I have a small aubess type (4 gang) switch like this but it’s very easy to reset the switch (turning it on and off a couple or times) and then it needs to be re-paired.