WiFi Mains Socket....

Associate
Joined
20 Mar 2007
Posts
1,058
I'm looking for a WiFi controllable mains socket that I can control directly via TCP/UDP, I'm not particularly interested in app/google/amazon/apple control of it as I want to simply control it myself.
Anyone have any familiarity with any?
 
Have used this and rate it highly. Really simple to use and comes with energy monitoring capabilities too. Picked them up for £15 a few months back but I think they've gone up a little in price now.

Edit: actually seen some for £11.99 so will pick up a couple more myself
 
I can't seem to find any documentation on how you control it, this is generally the problem I'm having with any devices I look at, sure, you can use apps and stuff but I want to control it directly with my own UDP/TCP, that info seems to be hard to come by :(
 
I can't seem to find any documentation on how you control it, this is generally the problem I'm having with any devices I look at, sure, you can use apps and stuff but I want to control it directly with my own UDP/TCP, that info seems to be hard to come by :(

That's typically because all manufacturers are building them to be controlled with their own apps.

Most are built with an esp8266 chip so could be flashed with something like Tasmota for local control.
 
That particular one uses the TP-Link Kasa app. I've not really looked into it but haven't seen any products like this which have a local management interface.

Forget about UDP, there's no need to consider it here. TCP is what you need for this sort of application.
 
Forget about UDP, there's no need to consider it here. TCP is what you need for this sort of application.

I don't care which protocol, either will do as long as I can control it myself :cry:

Most are built with an esp8266 chip so could be flashed with something like Tasmota for local control.

Given the cost of these things, it would be potentially be cheaper to buy an esp8266, a relay and a tiny psu :p


After a fair bit of googling, I think home-assistant.io will allow me to achieve what I want, if I can find a cheap socket that actually works with it (It looks like the TP-Link kasa ones no longer do, grrrr)
 
Given the cost of these things, it would be potentially be cheaper to buy an esp8266, a relay and a tiny psu :p

It would yes :), i've seen a few projects where people have modified them to allow for local control + energy monitoring. If you know what you're doing then great, but i'd be more wary of it catching fire and insurance refusing to pay out because you've modified a plug :p

After a fair bit of googling, I think home-assistant.io will allow me to achieve what I want, if I can find a cheap socket that actually works with it (It looks like the TP-Link kasa ones no longer do, grrrr)

I've got HA setup to locally control some of mine with the local Tuya integration. I've got a couple of others (Meross) that there's a developer actively working on an integration that can provide local control.
 
Good find, but they're quite expensive for what are effectively teckin/gosund plugs that someone has modified/flashed.
Yeah definitely paying for some convivence but if you just want one or two then a few quid to not have to sit and figure out which plugs will flash easily and go through the tuya convert (admittedly not overly hard) process is a bargain.
 
I think I'm getting somewhere, it looks like the sonoff 26 sockets can be programmed with trasmota. I have also found a video which looks most useful:
https://www.youtube.com/watch?v=YX2qElPmqYw
No need for home-assistant.io, just autoit some http requests :)
Those ready flashed devices look like they solve some hassle issues, opening it and probably buying a FTDI cable (I don't think I have a 3v3 ttl one floating about). After a bit more googling, it looks like it may be possible to flash them without attaching a cable.

Thanks guys, you've all helped loads!
 
Back
Top Bottom