Smart Plug User Guide

Similar documents
Jump Test of ESP8266 s Secondary Bootloader (V1.6+)

Manufacturing Instruction

ESP8266 FOTA Guide Version 1.7 Copyright 2016

Geolocating with ESP8266

ESP8266 AT Command Examples

ESP-NOW User Guide Version 1.0 Copyright 2016

ESP8266 Application Note Firmware Download Protocol

ECO and Workarounds for Bugs in ESP32

ESP8266 AT Command Examples

ESP8266 Quick Start Guide

DISTRIBUTED BY TEXIM EUROPE. ESP32-DevKitC Getting Started Guide

ECO and Workarounds for Bugs in ESP32

ESP8266 AT Command Examples

Espressif IOT Demo. Smart Light/Plug/Sensor. Version 1.0.1

ESP32 BT&BLE Dual-mode Bluetooth. Version 1.0 Copyright 2018

TASCAM DR CONTROL. Contents. Trademarks

ESP8266 Quick Start Guide

Simple-Pair User Guide

ESP-WROVER-KIT Getting Started Guide

ESP8266 Flash RW Operation

Connect the DR-22WL/DR-44WL with the smartphone by Wi-Fi for the first time...3

DR CONTROL. Contents. Trademarks

Connect the DR-22WL/DR-44WL with the smartphone by Wi-Fi for the first time...3

INNOV.NET PTY LTD. User guide

ESP-01 WiFi Module Version1.0

Manual for disconnecting from the internet.

ESP8266 SSL User Manual

SAMSUNG ELECTRONICS RESERVES THE RIGHT TO CHANGE PRODUCTS, INFORMATION AND SPECIFICATIONS WITHOUT NOTICE. Products and specifications discussed

INNOV.NET PTY LTD. User guide

Quick Installation Guide

LonHand Series Product Specification USR-WM1 Ver: V1.3.1

Ai-Thinker. ESP-12S Datasheet. Version V0. Copyright 2018 ESP-12S WIFI MODULE V0. Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

Ai-Thinker. ESP-01F Datasheet. Version V1 Copyright Copyright 2018 Shenzhen Ai-Thinker Technology Co., Ltd All Rights Reserved

This user guide describes how to run the Atmel ATWINC3400 Bluetooth Low Energy (BLE) Provisioning demo from out-of-box conditions.

Cassia Hub Bluetooth Router. ios & ANDROID APPLICATION GUIDE

ESP8266 Non-OS SDK IoT_Demo Guide

NETGEAR genie Apps. User Manual. 350 East Plumeria Drive San Jose, CA USA. August v1.0

Installing your Nokia Home

LonHand series product specification

CHANGING THE MODES OF MOD-WIFI-ESP8266-DEV

QUICK START GUIDE. Wireless Gateway SBG6950AC2 SBG7400AC2

linkzone User ManUal

App for a Smartphone or Tablet Terminal EXILIM Connect 3.0

Wi-Fi Setup Guide TM. Model 7320 Universal Programmable Smart Wi-Fi Thermostat. Leave this Setup Guide with thermostat.

Abila Nonprofit Online. Connection Guide

HOW TO UPGRADE ESP8266 BOARDS USING ESP FLASH DOWNLOAD TOOLS

App for a Smartphone or Tablet Terminal EXILIM Connect 2.0

Secure Held Print Jobs. Administrator's Guide

SMART WI-FI OUTDOOR PLUG START GUIDE

DG-HR1160M Portable Power Bank 3G Router User Manual

AC1900 WiFi Mesh Extender Essentials Edition

LonHand Series Product Specification USR-R16-T

PV-RC300W. WI-FI 1.3M pix Cam Matchbox DVR Quick Guide

Pebble Manual. Please read these instructions before you begin installation to insure you have everything ready.

Entrust PartnerLink Login Instructions

INSTALLATION & OPERATING INSTRUCTIONS when Touch-5 Wi-Fi Module is Installed in PCR-4 Driver/Receiver

If you use Android smart devices, make sure the Android system is above 4.0. If you use Apple smart devices, make sure the ios system is above 6.0.

Point of View SmartTV-500 Center - Android 4.2. General notices for use...2 Disclaimer...2 Box Contents...2

Firmware Update Guide

QUICK START GUIDE. Wi-Fi Router with

HOW TO USE ESP8266 WITH ARDUINO IDE

LEGAL INFORMATION. Copyright 2014 ZTE CORPORATION. All rights reserved.

Mobile Print Guide for Brother iprint&label (Android )

Contents. 1. Downloading the ios Mobile App Configuration Additional Information... 9 LED indications... 9 Operating the Device...

QUICK START GUIDE FOR AVSIGNCLOUD

1. Press "Speed Test" to find out your actual uplink and downlink speed.

IpAlarm Module Set Up

Quick Start Guide U.S. Cellular Customer Service

Smart Device Connection Manual for Android

QCast Mirror - QP20 HDMI Wireless Dongle User Manual

Wi-Fi Direct Guide. Easy Setup Using Wi-Fi Direct. Troubleshooting. Appendix

THE SHADE STORE MOTORS WITH AMAZON ALEXA

2. If you cannot download Smart Life app, please search Smart Life on Google Play (for Android phone) or Apple Store (for ios phone) to download.

Smart Plug Software Design Reference Manual

ESP32-SOLO-1 OEM Installation Manual

THE SHADE STORE APP SETUP INSTRUCTIONS

SMART WI-FI LED BULB START GUIDE

Table of Contents. 2 Know your device. 4 Device setup. 8 Customize. 10 Connections. 11 Apps. 12 Contacts. 13 Messages. 14 Camera.

Cloud Platform. Version User's Guide

Samsung SmartThins Wifi ET-WV525. Samsung SmartTings Wifi Pro ET-WV535. User Manual

R6200v2 Smart WiFi Router Installation Guide

Vodafone Enterprise Broadband User Guide

3MP WI-FI SECURITY CAMERA QUICK START GUIDE ENGLISH

User Manual.

XA20/XA25 and VIXIA HF G30 Using Remote Browse

QUICK START GUIDE. U.S. Cellular Customer Care:

Content. Original configuration... 1 Configuration method for Android phones... 3 Configuration method for Apple phones... 4

Quick Guide. Light Sensor. Focus Adjustment Ring. Infrared LED (IR Model) PIR Sensor (PIR Model) Micro SD Card Slot. Speaker

woodbourne setup instructions using Wi-Fi or ethernet connections

Installing the Linksys app on your Android device via the Google Play Store and Google Play Website

Voltson Smart Wi-Fi Outlet

Cloud Frame User's Manual

ControlMySpa. Dealer User Guide.

How to connect my TP-Link Smart Plug to my home network via Kasa?

Voltson Smart Wi-Fi Outlet

Harmony Smart Keyboard

Nighthawk X4S AC2600 Smart WiFi Router Model R7800. Package Contents. NETGEAR, Inc. 350 East Plumeria Drive San Jose, CA USA.

Bluetooth PC Card Transport Layer

Secure Held Print Jobs

SafeNet MobilePASS+ for Android. User Guide

Transcription:

Smart Plug User Guide Version 1.2 Copyright 2016

About This Guide This document introduces to users an example of ESP IOT Platform applications, the Espressif Smart Plug. The document includes the following sections: Chapter Title Subject Chapter 1 Concept Introduction Introduces related concepts developed by Espressif. Chapter 2 Device Configuration Introduces how to configure and operate a Smart Plug in SmartConfig mode and Direct Connection mode. Release Notes Date Version Release notes 2015.07 V1.1 First release. V1.2 Updated Chapter 2.

Table of Contents 1. Concept Introduction... 1 1.1. ESP8266 IOT Platform... 1 1.2. ESP-TOUCH... 1 1.3. IOT Espressif App... 1 1.4. Local and Cloud Device... 1 1.4.1. Local Device... 1 1.4.2. Cloud Device... 2... 3 2.1. Overview... 3 2.2. Preparations... 3 2.2.1. Client Software and Hardware... 3 2.2.2. Micro-USB Cable... 3 2.2.3. Router (Optional)... 4 2.2.4. Smart Plug Firmware... 4 2.3. Smart Configuration Mode... 5 2.3.1. Configuring the Smart Plug... 5 2.3.2. Operating Smart Plug... 9 2.4. Direct Connection Mode... 9 2.4.1. Operating the Smart Plug... 9 2.4.2. Configuring Smart Plug... 10

1. Concept Introduction 1. Concept Introduction 1.1. ESP8266 IOT Platform 1.2. ESP-TOUCH ESP SDK provides users with a simple, fast and efficient development platform for Internetof-Things (IoT) products. The ESP8266 IOT Platform is based on the FreeRTOS ESP SDK with added commonly-used functionalities. Smart Plug is an application that is included in the ESP8266 IOT Platform. Smart Plug uses an ESP-TOUCH protocol in order to realize a smart configuration. The communication protocols are JSON and HTTP REST. The Android mobile APK is a basic template for users. ESP-TOUCH is a protocol developed by Espressif, which configures Wi-Fi devices connecting to a router. ESP-TOUCH can only configure such devices when they are in SmartConfig Mode. For details on the configuration procedure, please refer to Chapter 2, Device Configuration. 1.3. IOT Espressif App The IOT Espressif app (hereinafter referred to as IOT app) is a smartphone application developed by Espressif. It realizes local and remote control of Wi-Fi devices including smart lights and smart plugs. This is an open-source App which can be found on GIthub: IOT Espressif App. 1.4. Local and Cloud Device 1.4.1. Local Device If you configure a device to connect to the router by ESP-TOUCH, but do not activate it on the server-side, then the device is a local device, as shown in Figure 1-1. Such device is accessible over Wi-Fi when the mobile app is on a Wi-Fi network, but not over the cloud platform. Device Router Mobile App Local Network Espressif 1/12

1. Concept Introduction Figure 1-1. Local Network 1.4.2. Cloud Device If you configure a device to connect to the router by ESP-TOUCH and activate it on the server-side, then the device is a cloud device, as shown in Figure 1-2. There are three possible connection statuses: cloud status, online status, and offline status. Room Office Device Mobile App Router A Phone Router B Server Cloud Network Figure 1-2. Cloud Network Espressif 2/12

2.1. Overview You can configure a Smart Plug via the IOT app or a browser, as shown in Figure 2-1. Start Preparations Smart Configuration via IOT App Directly Connection via browser Configuring a device Operating a device Operating a device Configuring a device 2.2. Preparations There are two modes for a Smart Plug: Figure 2-1. Configuration Process SmartConfig Mode: configure a Smart Plug via the IOT app in this mode. Direct Connection Mode: connect and operate the device through your browser in this mode. You need to make the following preparations. 2.2.1. Client Software and Hardware 2.2.2. Micro-USB Cable A mobile phone with the IOT app, or a mobile phone with a browser, or a PC with a browser. End The ESP8266 Development Board can get connected to a power supply with a micro-usb cable and a power adapter. Espressif 3/12

2.2.3. Router (Optional) A router that can connect to the internet. If you only need to operate a local device, you do not need to connect the router to the internet. 2.2.4. Smart Plug Firmware The Smart Plug firmware is based on the FreeRTOS ESP8266 SDK with added commonlyused functionalities. Notes: You can download FreeRTOS ESP8266 SDK here: FreeRTOS ESP8266 SDK. For more information on the ESP8266 IOT Platform, please go to: ESP8266 IOT Platform. Notice: We use the ESP8266 Development Board with the Smart Plug firmware to show the process. The Smart Plug firmware can work with any ESP module. The ESP8266 Development Board with all of its buttons and LED indicator lights are shown in Figure 2-2, while Table 2-1 gives short descriptions of them. Smart Plug Reset Smart Plug Status LED Micro-USB for 5V Power ESP8266 Power Switch Smart Plug Power LED Figure 2-2. ESP8266 Development Board Table 2-1. ESP8266 Development Board Description Name Description GPIO Smart Plug Reset This is the reset button of the Smart Plug. GPIO 13 Espressif 4/12

Name Description GPIO Smart Plug Status LED This is a blue light that indicates the status of the Smart Plug. There are three statuses: Blue light flashes slowly. Blue light flashes quickly. Blue light is on. GPIO 12 Micro-USB for 5V This is the Micro-USB power jack for 5V. - ESP8266 Power On/Off This is the power switch of ESP8266. - Smart Plug Power LED The LED indicates the power status. GPIO 15 Note: You can modify the user_plug.h file to change the GPIOs. 2.3. Smart Configuration Mode 2.3.1. Configuring the Smart Plug When you want to operate a Smart Plug with the IOT app, they need to configure it first. Please follow the steps below: 1. Add the mobile phone to the Wi-Fi that the Smart Plug will connect to. 2. Enter the IOT app. Figure 2-3 shows the login interface. Figure 2-3. IOT Espressif App Login Interface Espressif 5/12

Notes: If you are a new user, touch Register to create a new account. You can touch Quick Usage to operate the local device. If you want to operate the cloud device, please log in IOT App first. 3. Log in with your account and password. The system shows the operation interface, as in Figure 2-4. Note: Figure 2-4. IOT Espressif App Operation Interface If you are a new user, the lists will be empty. After you become a registered user, your devices can be saved and synchronized on different smartphones. 4. Touch to enter the Add devices page, as shown in Figure 2-5, then input the Wi- Fi password. Following this, table 2-2 provides explanations for the options displayed in Figure 2-5. Espressif 6/12

Figure 2-5. Add Devices Interface Table 2-2. Different Options Descriptions SSID Show password This Wi-Fi is hidden Multiple devices Make device connect to cloud This is the SSID of the Wi-Fi to which the smartphone connects. You can change it through the settings of your smartphone. Choose this item to check the password you have entered. If checked, the Wi-Fi password appears in plaintext. Choose this item if the Wi-Fi is hidden. Most of the Wi-Fi networks, however, are not hidden. If you want to configure one device, do not choose Multiple devices. It takes dozens of seconds to configure one device. If you want to configure multiple devices at the same time, choose the relevant option. It takes less than one minute to configure multiple devices. Choose this item so that you can configure the device and activate it on the serverside. If you want to configure a local device, do not check the box. It takes about one minute to configure a local device. If you want to configure a cloud device, check the box. It takes about one to two minutes to configure a cloud device. Note: The system will remember the password, and, once you enter it, you do not need to enter it again for the same Wi-Fi SSID. Make sure, though, your smartphone remain connected to the Wi-Fi network, or else you will not add any other devices. 5. Turn on the Smart Plug and wait till the blue light flashes slowly. For details on the Smart Plug Status LED, please refer to Table 2-3. Espressif 7/12

Table 2-2. Different Device Statuses Smart Plug Status LED Blue light flashes slowly Blue light flashes quickly Blue light is on Device status The Smart Plug is in the Smart Configuration Mode. You can configure it via the IOT App. You are configuring the Smart Plug via the IOT App. You have configured the Smart Plug via the IOT App or web browser. Notes: When you power on the Smart Plug for the first time, it will enter the Smart Configuration Mode by default. If the Smart Plug is not in the Smart Configuration Mode, please press and hold the reset button for at least five seconds until the blue light flashes slowly. 6. Touch OK, and the system shows Configuring 7. When configuration is completed, the system shows that the device has been configured. If the configuration is completed, the system shows Configuration completed. If the configuration fails, the system shows Configuration failed. 8. Hold and slide down the screen to refresh the device list. The system shows the Smart Plug online status, as in Figure 2-6. Figure 2-6. Smart Plug Online Status Espressif 8/12

2.3.2. Operating Smart Plug After you have added Smart Plug to the IOT App, you can operate it. Please follow the steps below: 1. Touch SMART PLUG to see the operation page. 2. Touch " to power on/off the Smart Plug. " : Smart Plug is powered off (Power LED is off). " : Smart Plug is powered on (Power LED is on). 3. Touch " to set the timer. 2.4. Direct Connection Mode 2.4.1. Operating the Smart Plug You can operate the Smart Plug directly through your browser. Please follow the steps below: 1. Power off the Smart Plug. 2. Hold and press the reset button for at least three seconds, and then switch the Smart Plug back on, without releasing the reset button. 3. Release the reset button. The Smart Plug enters the Direct Connection Mode and the blue light is on. 4. Connect the mobile phone or the PC to the same Wi-Fi as the Smart Plug. The Smart Plug SSID is named as: ESP + _ + the last 24 bits of the MAC address e.g. ESP_A132F0 Espressif 9/12

" 5. The browser shows the operation page. The URL is http://esp.nonet/index.html. 6. Click/Touch " to turn on/off Smart Plug. 2.4.2. Configuring Smart Plug In the Direct Connection Mode, you can configure the Smart Plug to connect to a Wi-Fi network via your browser. Please follow the steps below: 1. After Step 5 in 2.4.1 (Operating the Smart Plug), click/touch the WiFi setup link. You will see the following screen. 2. Choose a Wi-Fi SSID and enter the password. Espressif 10/12

3. Click/Touch Connect. You will see the following message. If your mobile phone is in the same network then you can control your Smart Plug via the IOT App. Espressif 11/12

Espressif IOT Team www.espressif.com Disclaimer and Copyright Notice Information in this document, including URL references, is subject to change without notice. THIS DOCUMENT IS PROVIDED AS IS WITH NO WARRANTIES WHATSOEVER, INCLUDING ANY WARRANTY OF MERCHANTABILITY, NON-INFRINGEMENT, FITNESS FOR ANY PARTICULAR PURPOSE, OR ANY WARRANTY OTHERWISE ARISING OUT OF ANY PROPOSAL, SPECIFICATION OR SAMPLE. All liability, including liability for infringement of any proprietary rights, relating to use of information in this document is disclaimed. No licenses express or implied, by estoppel or otherwise, to any intellectual property rights are granted herein. The Wi-Fi Alliance Member logo is a trademark of the Wi-Fi Alliance. The Bluetooth logo is a registered trademark of Bluetooth SIG. All trade names, trademarks and registered trademarks mentioned in this document are property of their respective owners, and are hereby acknowledged. Copyright 2016 Espressif Inc. All rights reserved.