Dusun Roombanker S Serial User manual

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
User Manual
Product Name: S-Serial Smart Gateway
Model Name: DSGW-030
Revision History
Specification Sect. Update Description By
Rev Date
1.0 2020-12-19 New version release
Approvals
Organization Name Title Date

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
1. Introduction .......................................................................................................................................................... 4
1.1 Purpose&Description .................................................................................................................................. 4
1.2 Product List ................................................................................................................................................. 4
1.3 Appearance Description ............................................................................................................................. 4
2. How To Use ........................................................................................................................................................... 6
2.1 Position Your Smart Gateway ..................................................................................................................... 6
2.2 Installation Method 1 (paste) ..................................................................................................................... 6
2.3 Installation Method 1 (Place) ..................................................................................................................... 7
2.4 Connect Your Gateway................................................................................................................................ 7
3.Luci......................................................................................................................................................................... 7
3.1. Introduction ............................................................................................................................................... 8
3.1.1 Purpose& Description ...................................................................................................................... 8
3.1.2 Product Feature Summary ............................................................................................................... 8
3.1.3 System block diagram ...................................................................................................................... 8
3.1.4 Development Environment and Tool ............................................................................................... 9
3.2. Reference Documentation ......................................................................................................................... 9
3.2.1 Standard Protocol Documentation .................................................................................................. 9
3.3. Configuration ............................................................................................................................................. 9
3.3.1 Basic Configuration .......................................................................................................................... 9
3.3.2 IOT Service ..................................................................................................................................... 13
3.3.3 Application solution ....................................................................................................................... 23
3.3.4 Advance ......................................................................................................................................... 29
3.3.5 Logout ............................................................................................................................................ 33

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
1. Introduction
1.1 Purpose&Description
The Smart Gateway S Serial is a gateway product used in the smart home, intelligent security
industry, pension services. It a central device, support multiple wireless protocols including Wi-Fi
and zigbee3.0, BLE, Z-WAVE. There is a USB port that different between DSGW-030 and DSGW-031.
The user can connect the network through Wi-Fi and Ethernet. Besides, smart sensors can be
connected through zigbee3.0, BLE, Z-WAVE.
1.2 Product List
Product list Number
Gateway 1
Network Cable 1
USB Power Cable 1
5V-2A power adapter 1
* Tip: Please do not install with power
1.3 Appearance Description

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
Power indicator Indicates whether the power supply is connected properly
Network indicator Indicates whether the network is connected
Signal indicator Indicate whether the signal is connected
Reset hole Restore factory settings

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
2. How To Use
2.1 Position Your Smart Gateway
With the gateway, you can access your network from anywhere within the wireless network
coverage. However, the wireless signal strength and coverage varies depending on the actual
environment where your gateway is in. Many obstacles may limit the range of the wireless signal,
for example, concrete structures, thickness and number of walls.
For your security and best Wi-Fi performance, please:
•Do not locate the router in the place where it will be exposed to moisture or excessive heat.
•Keep away from strong electromagnetic radiation source and electromagnetic-sensitive devices.
•Place the router in a location where it can be connected to the various devices as well as to a
power source.
•Place the router in a location where it can receive a strong mobile internet signal.
•Make sure the cables and power cord are safely placed out of the way so they do not create a
tripping hazard.
Tips: The gateway can be placed on a shelf or desktop.
2.2 Installation Method 1 (paste)
Step 1.Paste 3M glue on the back of gateway
Step 2. Paste the gateway vertically in the right place

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
2.3 Installation Method 1 (Place)
You can place the router flat wherever you need it,Please avoid metal desktop and place.
2.4 Connect Your Gateway
Follow the steps below to connect your gateway
1.Press and hold the wifi enable button 5s to enable the wifi function.
You can search for the following device information:
SSID :dusun_xxxx(The last four digits of the mac address)
Password:xxxxxxxx(The last eight digits of the mac address)
2.Make the computer connect to the Wi-Fi.
Open browser
Enter URL:192.168.66.1
User: root password : root
3. Configuring gateway features on the website.
1. Observe the indicator signal, whether the gateway is working
2. Reset hole:Long poke reset hole for more than 8s, the gateway enters the reset mode, after
the completion, the factory settings will be restored, and all the pairing information in the
gateway will be cleared.
Power indicator The green light is always on, the gateway is powered on, the green light is
off, and the router power is off.
Network indicator The yellow light flashes, that is the LAN and the WAN is communicating
normally.
Signal indicator The red light flashes, indicating that the network is communicating
normally.
WiFi enable button
Long press 5s to enable AP function.

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.Luci
3.1. Introduction
3.1.1 Purpose& Description
The DSGW-020/DSGW-010 is gateway product used in smart home, intelligent security industry,
pension services. It’s a central device, support LTE-M1 (EMTC), Wi-Fi, zigbee3.0, Bluetooth and Z-
WAVE wireless protocol. User can connect the network through LTE-M1, Wi-Fi and Ethernet. In
addition, smart sensors can be connected through zigbee3.0, Bluetooth and z-wave.
3.1.2 Product Feature Summary
- System:
- OS: Linux@ OpenWrt
- Processor: MTK7620A (MIPS24KEc(580MHZ)) / MTK7688 (MIPS24KEc(580MHZ))
- RAM: 128MB
- Flash: 16MB
- Wireless protocol:
- LTE-M1
- Wi-Fi
- Zigbee3.0
- Bluetooth
- Z-Wave
- Ethernet
- WLAN
- LAN
3.1.3 System block diagram
Drivers (Zigbee, Bluetooh, Z-wave, LTE…..)
OpenWrt System Zigbee3.0
Protocol Stack
Silicon lab
BLE stack
Z-Wave
Protocol
UBUS , Message Bus in OpenWrt ……..
Ember GwZ3
Zigbee3.0 App
MQTT
Client
Beacon
scanner
Customization
App
Wifi sniffer Z-Wave
app

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.1.4 Development Environment and Tool
Development
Environment
Linux
Version Openwrt Barrier Breaker
Development tool Toolchain
3.2. Reference Documentation
3.2.1 Standard Protocol Documentation
Specifications for zigbee3.0
- 07-5123-06-zigbee-cluster-library-specification
Specifications for BT
- bluetooth-api-reference
Specifications for MQTT
- MQTT API offered by Dusun
-
3.3. Configuration
3.3.1 Basic Configuration
3.3.1.1 Deploy the environment of configuration
a) For DSGW-030 gateway
1) Connect the gateway with a router using WAN port
2) Connect a PC to the same router
3) Find out the IP address of the gateway in the router
4) Log in the gateway use the IP address in a broswer

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
b) For DSGW-040 gateway
Putting the PC connect to the LAN port of the gateway by netting twine or connect the gateway
with a router using WAN port by the same process as DSGW-030.
3.3.1.2 Login Password of Configuration Page
Open the website, if connect the gateway using Lan port, Input Gateway IP Address: 192.168.66.1.
Otherwise, input the real IP address of the gateway from the router.
Enter the username and Password
Username: root
Password: root

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
In this page, you can check the status of system, memory, Network.
System Information: The host name, Model, Firmware Version, Kernel Version, Local Time.
Memory Information: Total Available, Free, Buffered.
3.3.1.3 WAN Configuration
Switch to Internet Setting menu, set the address type of the wan port

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.1.4 Wifi Setting
Switch to Wifi Setting menu, the gateway supported both wifi ap and wifi sta mode to
Wifi AP mode: In this mode, the gateway works as a router, user can connect to the SSID using the
AP Password。 The AP SSID, AP Password and AP encryption mode are configurable
Wifi STA mode: In this mode, the gateway functions as a access point and is able to connect to a
router. User can fill in the SSID and Password of the router to let gateway connect to router.

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.1.5 LAN setting
Switch to LAN setting menu ,
Configure the LAN IP and Netmask of the gateway
3.3.2 IOT Service
Switch to IOT Service menu,
3.3.2.1 Cloud Config
3.3.2.1.1 MQTT config
Configure the parameter in this page to connect to a mqtt broker. Filled in the right value offered
by the MQTT broker.

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.2.1.2 TuYa config
If the gateway is TuYa version, fill in the right UUID and Key then gateway would be able to connect
to TuYa platform,
3.3.2.1.3Azure Config
Fill in the Azure connection string obtained from the Azure platform to enable gateway’s connection.
3.3.2.1.4 AWS config
Configure the parameters obtained by AWS platform to establish the connection

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.2.1.5 UDP config
Configure the UDP parameters to connect to UDP server

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.2.1.6 TCP config
Config the TCP parameters to establish the TCP connection
3.3.2.1.7 HTTP config
Config the HTTP parameters to establish HTTP connection
3.3.2.1.8 UTP config
Fill in the UTP parameters to enable UTP connection

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
3.3.2.2 Bluetooth
Switch to Bluetooth section, this page is used to debug of BLE connection

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
The filter options on the top can be used to filter the specific devices you want, from left to right is
MAC, DEV type and RSSI
On the bottom, user can connect to the devices in the list by pressing the connect button,

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
A pop-up window would appear after the pressing and it would scan the device’s gatt service after
connection established,
User can press SELECT to search for the characteristic related,

杭州软库科技有限公司
Hangzhou Roombanker Technology Co., Ltd. A DUSUN company
杭州市大关路 189 号万通中心 A 幢 8楼,310004 Floor 8, building A, Wantong center,
Tel:86-571-86769027/8 8810480 Hangzhou 310004, china
Website: www.dusuniot.com www.dusunremotes.com www.dusunlock.com
The data related to every characteristics can be found out by read or notify, if user want to notify
the value, type in 1 in the command window. If user want to write configuration to the ble device,
type in the hex value in the command line
This manual suits for next models
1
Table of contents
Other Dusun Gateway manuals
Popular Gateway manuals by other brands

AudioCodes
AudioCodes Mediant 1000B user manual

Sollae Systems
Sollae Systems SMG-5400 user manual

VP Networks
VP Networks NC-3620 user manual

Videotron
Videotron EMG2926-Q10A user guide

VegaStream
VegaStream Vega 50 8 FXS + 2 FXO Initial configuration guide

AudioCodes
AudioCodes MediaPack 20 Series quick guide

Badger Meter
Badger Meter ORION Fixed Network SE Application data

Fieldbus Specialists
Fieldbus Specialists Profibus user manual

Portech
Portech MV-374 user manual

Mediatrix
Mediatrix 1124 Administration manual

Siemens
Siemens OCT200.KNBA manual

Yeastar Technology
Yeastar Technology NeoGate TA FXS Quick installation guide