User avatar
By RichardS
#43104 User
kas

Description
A power socket that can be controlled at home and from anywhere around the world

Control is performed through a remote computer or by using an Android Smartphone or tablet
MQTT commander App is freely available (home made design)

Data is transmitted through an MQTT broker service
MQTT is a recent "Internet of Things" connectivity protocol. It was designed as an extremely lightweight
publish/subscribe messaging transport. It is useful for connections with remote locations where a small code
footprint is required and/or network bandwidth is at a premium.

- directly talks to the home router, no local computer required
- checks connection with router on a regular basis and will attempt re connecting if needed

Android App and power device are two-way synchronized:
- the App button drives the device state
- a local state change will be reflected on the Android device screen
see video below

Safety issues have been taken under advisement (optocouplers, 100% plastic enclosed)

I use it on a daily basis, bulletproof, never failed

Parts
- ESP8266 Esp-01 module
- AC-DC Power Supply 3.3V step down module
- 3V Relay with optocouplers
- 5X7cm prototype PCB
- 100nF capacitor
- salvaged X10 module enclosure

Links
Forum on ESP8266

Video



Images
Attachments
(7.3 KiB) Downloaded 691 times
MQTTtest.png
PCB.JPG
Socket (details).jpg
Power socket.jpg
MQTTCommander.png