Homey Community

Xiaomi wireless zigbee switch combined with momentary switch

zigbee

#1

I would like to share my little “momentary wall switch project” combined with a Xiaomi wireless switch.

The one major issue I kept running in to when trying to add lights into my smart home config was that I have “rvs wall switches” which cost me a lot of money and regular switches don’t work well in flows.

Trying to keep my solutions up to the “acceptance levels” of my wife :laughing: was really hard, untill now I couldn’t find a momentary switch that would work with my “Merten Schneider” wallswitches.

Now that I’ve found a momentary switch that works, I was contemplating about making it work with homey.
At first I wanted to add a Fibaro Z-wave relais but they are pretty pricey!

Then a collegue showed a youtube clip off someone modifying a Xiaomi Aqara switch, we decided to try this.
I went for a regular round Xiaomi wireless switch because this can also handle a “long push” as a scene trigger.

When disassembling the Xiaomi switch my collegue found that it wasn’t necessary to remove the switch button, he found 2 holes on the pcb which also had switch capabilities therefore leaving the button intact and just adding 2 wires.

Imgur
Button with addition.

Imgur
Still with the original batteryholder.

Imgur
2 thicker cable ends for fitting in the wall switch.

The first setup will be a Ikea Trädfri dimable lightbulb combined with the above hooked up to a momentary switch. Making it possible to dim the Trädfri light or turning on multiple light with the flick of a switch!! :star_struck:

More will follow later!


#2

a link to youtube might be usefull


#3

This is the link to the video that was my inspiration: Xiaomi wireless switch hack

After trying to fit the complete button behind the momentary switch I was quite disappointed that it wouldn’t fit in the wall.
So we removed the housing and added some protective shrink tubing, for the next few switches we’ll be adding a proper battery holder.

Imgur

The modified Xiaomi wireless switch now works perfectly, fitted in my bedroom. Added flows to turn on/off the Ikea Tradfri bulb, Dimm or brighten the Tradfri bulb and telling Homey we’re going to sleep and turn off everything in the house.

More to follow!


#4

Very nice!
Could you show us some flows?
Which triggers can be used by this switch?


#5

@Kevin_Vijver Very interested in the answer on the question @Robin_van_Kekem asked.

Does somebody know if this modification is only possible with this Xiaomi switch or is it also possible with the other Xiaomi switches?


#6

@Tom_Starren @Robin_van_Kekem

With the other square Xiaomi switch it is also possible to do this modification with.
The reason I chose this round switch is that is has the “long push” scene trigger that the square one doesn’t have.

These are the scene triggers that can be used with the round Xiaomi switch:
image

These are the scene triggers that can be used with the square Xiaomi switch
image


#7

Offcourse, here are some of my current flows:

image

The “Schakelaar slaapkamer licht - aan/uit” flow is for a square Xiaomi switch button that’s on my night stand to turn on/off the light when I’m in bed.

The others are for activating scene’s and behaviour.

Wandschakeling Licht - Dimmer/Feller:

Wandschakeling Licht - Aan/Uit

Wandschakeling - Alles uit

Yesterday I received another order, I also found a double momentary switch, so we’re now going to hookup 2 modified Xiaomi switches to 1 CR2025 battery holder to make sure 2 switches will fit inside the wall behind the momentary switch.


More to follow!


#8

Cool, I sent you a PM and I will follow this topic.


#9

You could also use the
Double (2018) (WXKG02LM, productID remote.b286acn01 ) (1x, 2x click, long press for each button and combined) and connect it to the double momentary switch.

It has a flat PCB, see below screenshot:

It will be a bit tricky to find this version (with these capabilities); because Aqara sells them based on the same product number.


#10

@TedTolboom Ah, I didn’t know they also had a double version, thank you! Will see if I can find one of those to modify.


#11

@TedTolboom Do you know if this one fits in a wall socket when custimized??