Make a Smart Socket/Plug to connect anything to Internet

Published August 3, 2020  ( 5 min read )

There are several brands of smart sockets easily available in the market these days. If your interest is to just connect any electrical equipment to the internet, you can use any one of those available smart sockets. Our smart device is much more versatile than a smart socket/plug. Our smart device can be configured for a variety of applications including a smart socket/plug. In this blog, we will learn how to make a smart socket/plug out of the smart device and how to connect any electrical equipment (for example, a floor lamp) to the internet so that it can be operated from remote using a smart phone or Google Home Assistant or Amazon Alexa.

Things we need

  1. One unit of WifiSecureAccess Smart iDevice
  2. One extension cable
WiFiSecureAccess smart device can be purchased from Amazon.

Fig 1: WiFi Secure Access Smart Device

Step 1

As a first step to make a smart socket out of the smart device, obtain an extension cable of the desired length and cut that into two pieces. That gives us a plug with lead wire, and a socket with its lead wire.

Fig 2: Extension Cable

Step 2

Cable both socket and the plug as per the cabling diagram in Fig 3 through 6.

Fig 3: Cabling Diagram

Fig 4: Making a smart socket out of Smart device

Fig 5: Making a Smart Plug out of the Smart Device

Fig 6: Making a Smart Plug out of the Smart Device

Step 3

Once the cabling is completed, connect any electrical equipment through this smart socket. For example, plug in a floor lamp to this socket and connect its plug to the wall socket in your house. Then put on the power. If this is brand new smart device, follow the steps given in section 2 (Installation) of the Automation Control documentation. That section explains how to set up WiFi of this device. It is a requirement to have WiFi available at the location where this smart socket is used. If the above steps are completed successfully, you should be seeing the LED of the smart device red

You have now connected the electrical equipment to the internet. You can now manually operate it from remote using a smart phone. You can also use Google assistant or Amazon alexa to put ON or OFF the electrical equipment. Please keep in mind that the current rating of the smart device is 10A. So, try not to connect any equipment which takes higher current than 10A when using the smart device.

Before trying to add this device to Google Homei or Amazon alexa, try to name the RELAY port of this smart device. As this device has two discoverable ports (P0 and RELAY), it is better if P0 is disabled so that it will not appear in Google Home or Alexa when trying to add this device. To do that, follow the steps given in section 2.10 and 2.11 of the Automation Control documentation. When going through those steps, select 'No' for 'Allow DOUTP0 in Google Home' and 'Allow DOUTP0 in Alexa", and select 'Yes' for 'Allow RELAY in GoogleHome' and "Allow REALAY in Alexa" (Fig 14A of the documentation).

You can also allow as many users to operate this equipment as you want. Follow the steps given in section 3 (Allowing Multiple Users) of the Automation Control documentation.

Once this cabling and configuration are completed, you can now put the electrical equipment ON/OFF using either one of four methods as explained in Section 2.8 of the documentation.