Wemos are switches you can operate from wifi and remotely.
Wemos nice and all. But they have two downsides:
- They are expensive.
- I don't trust them.
Here's some of why:
I like the Lan of Things, not the Internet of Things. So here's what i did:
I bought cheap (but not too cheap) wireless switches. 3 for NZ$37 at bunnings.
I tried a few libraries for arduino that work with other switches. I was able to decode the signal from the remote, but it changes every press. I'm not sure what's going on. I couldn't use simple replay. So, in frustration i opened the remote up.
and unsoldered the switches, added wires instead.
I then powered it from the Arduino uno's 3.3V output - and, using some voltage dividers, hooks each switch up to the GPIO of the uno.
Now, when i set a pin low, it grounds the switch - this causes the remote to transmit the code to tell a switch to turn off or on.
And it works.
I hooked this up with Mysensors.org, and into Openhab. All the goodness, for about $15 a switch.