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?
 
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 :(
 
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)
 
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:
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