Aqara Wallswitch H1 as remote device

Is it possible to setup the Zigbee2mqtt device and only run it to change the settings? I assume that this setting is something stored on the device itself, so what we really need is a way to send the raw Zigbee command to the switch to update that value.

Would be curious to know if it still works with your rpi powered off.

Probably not, because settings typically don’t survive the pairing procedure (which is required to pair the device with Homey again).

in that case, after looking at the documentation for zigbee2mqtt for that device, I think this could be modified by sending a raw zigbee command to the switch to enable that other mode. Do you think this is possible via one of the Homey developer APIs? I’m not afraid to get my hands a little dirty (software dev day job), but I also don’t want to spend more than a Saturday figuring it out!

AFAIK the Homey app for the device needs to implement that, and it doesn’t.

I’m aware the Homey app doesn’t support it, but I’m asking if the developer tools do? If you don’t know, that’s fine!

And I’m telling you that AFAIK the Homey app needs to implement that (which also means that no, the developer tools cannot do this).

Bummer. Thanks for the info!

Alright, I think I figured out what was happening and also some good news for future folks who stumble across this thread!

About a month ago, the driver was updated to support the “decoupled/detached” mode but I guess I missed it? The label is called “Button controls switch”. I could have sworn I checked the settings again today (I’ve had this tab pinned to come back to for a while…) or maybe my brain was in lizard mode for that 30 seconds! :lizard:

I tested it out with a Simple Flow to log a message to the Timeline and that worked fine. I setup an automation to toggle the connected Hue bulb that is in the socket and went back to work.

Now after a couple of hours, I had the lights on and decided to use the switch to turn off the bulb. This worked fine, however later when I came back and hit the switch to turn the light on, nothing happened.

I tried holding, double pressing, nothing worked. But I could go to a separate scene controller that I had in the room and adjust the connected light bulb with no issues, but after clicking the switch to turn the lights off, it would no longer respond to button presses.

A quick search turned up this thread and specifically a comment calling out the 3W minimum to run the switch. Doh. I turned the light on to full brightness with via App and sure enough, the tiny blue LED on the front came back on (it’s really hard to see without getting right next to it in my room) and after about 10 seconds, it would start sending button pushes back to Homey.

So in conclusion, the H1 can be set to Decoupled mode now natively in Homey but for arguably the most likely usage scenario (controlling a smart bulb), you will need to add one of those bypass accessories that I assume is just a capacitor that sips power to keep the switch powered on. Or depending on the connected smart light, maybe it requires more than 3w at idle. I can say for certain that a Tradfri bulb from Ikea does not draw more than that when “off”.

If you want to control something else other than the load on the circuit, then I assume it should all work as expected.

I’m going to order one of those bypass dongle things and see if that “fixes” my problem.

2 Likes

Interesting experience. I also had a few small annoyances with the Aqara H1 (No Neutral) switches, and after adding blue cables in most of the rooms and replacing the switches with the (Neutral) versions, things went much better. Plus I can now see how much power each light uses, and instead of being end devices, those switches now act as routers. Very happy with the transition, even though in 2 rooms the inner in-wall pipes weren’t as smooth as I hoped. So at least from my experience I can recommend adding a neutral cable.

I’m tempted to try it out in my house, but I haven’t found one yet that I’m willing to test it hah. Knowing my luck, I would break something pulling the new wire through. Or perhpas I’ll take all the switches off and have the electrician come by and pull all the wires… then if it breaks, he has to fix it! :wink:

I just moved in to this house a few months ago so there’s time to experiment.

@Yevgen I see you’re also Dutch. Did you pull the wires yourself or pay an electrician? How difficult was it/costs? It’s hard to find info about Dutch houses and wiring online in English for obvious reasons :smiley:

I was surprised how easy it was at the end. I went to Gamma, bought 2 rolls of 2.5mm² solid blue cable. I already had that nylon rope with a hole at the end to pull the cables through. I just had to open the sockets in the ceiling, there I always could find some old Wago 3 connectors, to attach my cable to. 2 cables were already present - one to the lamp and another to the meterkast I guess.


1 Like

I’m trying to do this but where do you see “Button Controls switch” option? I am using the official Aqara Homey app which brought my switches to Homey.

I have set the switch to wireless mode in the iPhone Aqara app but not sure how to get that functionality in Homey.

In the advanced settings for the device.

Thanks.

My switch was paired to the Aqara hub and then brought over to Homey using Matter. Had to remove it from Aqara and pair it directly to Homey to see those options.

Hmm glad you figured something out! The setting should have been available in the Aqara hub as well but idk what it’s called.