MOKO TECHNOLOGY MK110 User Manual

Overview
MK110 gateway supports multiple servers like EMQTT,AWS,Ali etc.This document will explain
the operation process during you use itand the following demo pictures take android
phone as example.

Connect to MQTT server

1 Connect to EMQTT server

1.1 How to to connect app to EMQTT server

download.
2.Power on the plug and shortly press the button on plug,the indicated light will flash
green.open your MOKO Scanenr,click the upper left icon to the "MQTT settings for APP" interface.
3.Enter the MQTT configuration parameters,click "Save".
Host: MQTT server host IP or domain name
Port: MQTT server host port
Clean session:on
Username: can be set or can be null
Password: can be set or can be null
QoS: Range: 0~2
Client id: Unique identity after the client connects to the server
Connect mode: tcp EMQTTOne-way SSL: ALi ,Two-way SSL: AWS
Subscribed Topic and Publish Topic can be set or empty
Note: The host ip and port in the DEMO can be used directly if you need.
Host47.104.81.55
port1883
Just available for test

1.2 How to connect plug to EMQTT server

1.Afer MQTT settings for APP successed,click "Add device" to choose the waiting connection
device.then enter into the "MQTT settings for device"
Differences from MQTT settings for APP:
Client id: Unique identifier for MQTT servre distinguishing device. It can't be set the same as
APP side Client Id and can't be null.
Device id: Unique identifier for APP distinguishing device and it can't be null.
Subscribed Topic and Published Topic are neccessaryIf APP side is nullyou can set them
everything.If APP topics have been set,you should set them according to the APP side.The
device Subscribed Topic must be consistent with APP Published Topic,and the device
Published Topic is the same as APP Subscribed Topic too.(Setting rulesAPP Subscribed
Topic = Device Published Topic and APP Published Topic = Device Subscribed Topics

2.Connect to AWS

2.1 How to connect app to AWS

1.Download MOKO Scanner from Googleplay or APP store.
2.Power on the plug and shortly press the button on plug,the indicated light will flash
green.open your MOKO Scanenr,click the upper right icon to the "MQTT settings for APP"
interface.
3.Enter the MQTT configuration parameters,click "Save".
Host: MQTT server host IP or domain name
Port: MQTT server host port
Clean session:on
Username: can be set or can be null
Password: can be set or can be null
QoS: Range: 0~2
Client id: Unique identity after the client connects to the server
Connect mode: tcp EMQTTOne-way SSL: ALI ,Two-way SSL: AWS
Certificate files: Including CA root certificate,client private key and client certificate

2.2 How to connect plug to AWS

Loading...
+ 9 hidden pages