8

I'm looking for a single or dual Wi-Fi light switch that I can activate with Linux. It needs to fit a standard 2-gang switch box and/or include a trim plate that covers a 2-gang box. Anyone know of such a thing? I can't tell from the selection on Amazon if any of these work without installing some smartphone app. I'm based in the US.

At this point, I'd settle for a micro-remote controlled switch, if nothing else, and then just wire a Raspberry Pi to the contacts.

The current switches I have in the gang box now are like this one. I suppose there is a little room for a wider switch – like I just found a Z-Wave switch , but they don't list with dimensions of the switch so I don't know it will fit in the box next to the "regular" switch.

6
  • 3
    Relevant: Is there a way to control my lights from my Linux desktop? (but that question doesn't specifically ask for switches)
    – Aurora0001
    Commented Dec 9, 2017 at 15:50
  • 1
    For the Z-Wave switch you mentioned, they do list "package dimensions" in the Amazon listing of 5 x 3.8 x 3 inches . What I usually do in a case like that is to find a website for the company making the component, and search for that specific item. You might be able to find a drawing giving exact dimensions. Or send an email or phone call to their support contacts. You could also post a question to those that have purchased one on the Amazon itself, and/or post a question to via the Amazon Innovelli storefront (click on the blue Innovelli link on the ad).
    – JCDeen
    Commented Feb 1, 2018 at 5:09
  • 1
    This link from their site shows actual dimensions of a switch: inovelli.com/shop/smart-light-switches/… Please do your own research to make sure it is the same one or similar enough.
    – JCDeen
    Commented Feb 1, 2018 at 5:16
  • 1
    If you're OK with having to do the initial setup with a phone, then Belkin WeMo Insight switches work with Linux (specifically with Home Assistant running on a Raspberry Pi 3). Not "out of the box" though, unfortunately.
    – Aaron F
    Commented May 18, 2018 at 8:14
  • 1
    Thanks for the tips everyone. @AaronF what is the Home Assistant? A python script? compiled binary?
    – Will T.
    Commented Jun 2, 2018 at 10:48

1 Answer 1

2

paraphrased from my answer here:

You could use the Belkin Wemo Light Switch, if you can find one (apparently Belkin aren't making new ones any more).

The initial configuration has to be done using the Belkin Wemo phone app, but once it's connected to your wireless network then you can forget the app and use Home Assistant instead.

I personally run Home Assistant on a Raspberry Pi 3 and have some Wemo switches and light bulbs. They're automatically detected with no extra configuration required.


Another option, which I saw the other day in this answer, is a batteryless Bluetooth Low Energy wall switch.
I can't find any to actually buy online, at the time of writing this answer, but they appear to be a good generic solution: pressing the switch generates enough power to send a BLE packet.
You'll still need something like Home Assistant to listen out for that event and act upon it, though.

3
  • 1
    Thanks. Just checked back on this post as I haven't found a simple solution yet. It's hard to fathom with all the Alexa and Google incorporated into these gizmos that none of them support a Linux compatible interface.
    – Will T.
    Commented Jan 25, 2019 at 11:03
  • 1
    It's crazy, isn't it? Every manufacturer wants to get you into their walled garden and eschews interoperability. I have to move house soon and have been looking again at the available options. There's still nothing that ticks all my boxes. I think I'm going to end up buying some Pi-compatible relays that can safely switch 240V...
    – Aaron F
    Commented Jan 25, 2019 at 13:33
  • Ran across this today. Looks promising: openhomeautomation.net/…
    – Will T.
    Commented Feb 23, 2019 at 20:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.