Overview MK110 gateway supports multiple servers like EMQTT,AWS,Ali etc.This document will explain the operation process during you use it,and 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 1.Download MOKO Scanner from Googleplay or APP store.Or scan the QR code below to directly download. 2.Power on the plug and shortly press the button on plug,the indicated light will flash green.
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 :EMQTT,One-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. Host:47.104.81.
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 neccessary,If APP side is null,you can set them everything.
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 :EMQTT,One-way SSL: ALI ,Two-way SSL: AWS Certificate files: Including CA root certificate,client private key and client certificate 2.
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 neccessary.
1.After the MQTT configuration parameters entered,click "Next".The app interface will jump to the network connection interface like this: 2.Click in the SSID and password of your router,enter "Confirm".the indicated light flash green turns to solid green.it means that the plug bluetooth connected with APP.Once network connection successed,the indicated light becomes solid blue.Then you can rename the device as you want,and click "Done".then the device shows “online”.
3.Click the online device name,now you can configure the MK110 gateway through MOKO Scanner app. 4 How to set MK110 gateway via MOKO Scanner 4.1 Scan BLE device Click the switch status menu to turn on the scanner switch. and set the scanning time,click “Save”,Your plug will start scaning BLE device nearby.When the scanning time reached, the device will automatically stop scanning.
4.
Click the "Edit filter" textbox,app will go to the setting interface.the filter RSSI and filter name can be set according to your needs. 4.3 About OTA Click the upper right icon of the scanning interface,APP enters "More".Click "OTA" ,enter the server IP,port,and certificate file path where the upgrade package is stored,then click "Start Upadate",we can update the firmware of the plug online.
4.4 Factory reset Click the upper right icon of the scanning interface,app enters "More" interface,and then click the "Reset",the led will flash blue and green alternately once,that means you reset the plug successfully. In another way,you can press the button on the plug for 10 seconds to reset the plug.
4.
You can remove devices both in the device list interface and the "More" interface.After clicking "Remove Device" and "Confirm",the removed device will disappear in the device list. FAQ 1.
3.What devices can the MK110 gateway scan for? MK110 gateway can scan almost all Bluetooth devices,such as beacon,wristband and so on. FCC STATEMENT 1.This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: This device may not cause harmful interference. This device must accept any interference received, including interference that may cause undesired operation. 2.