Milesight WS202-868M Manual de usuario

PIR & Light Sensor
Featuring LoRaWAN®
WS202
User Guide
www.ime.de

2
Safety Precautions
Milesight will not shoulder responsibility for any losses or damages resulting from not following
the instructions of this operating guide.
The device must not be modified in any way.
Do not expose the PIR lens to direct sunlight.
Do not paint or clean the PIR lens, or it will affect the detection of the device.
Do not place the device where the temperature is below/above the operating range.
Do not place the device close to objects with naked flames, heat source (oven or sunlight),
cold source, liquid and extreme temperature changes.
The device is not intended to be used as a reference sensor, and Milesight will not take
responsibility for any damages which may result from inaccurate readings.
When installing the battery, please install it accurately, and do not install the reverse or
wrong model.
Remove the battery if the device will not be used for a long time. Otherwise, the battery will
leak and damage the device.
The device must never be subjected to shocks or impacts.
Declaration of Conformity
WS202 conforms with the essential requirements and other relevant provisions of the CE, FCC,
and RoHS.
Copyright © 2011-2023 Milesight. All rights reserved.
All information in this guide is protected by copyright law. Whereby, no organization or individual
shall copy or reproduce the whole or part of this user guide by any means without written
authorization from Xiamen Milesight IoT Co., Ltd.
For assistance, please contact
Milesight technical support:
Email: iot.supp[email protected]om
Support portal: support.mileisght-iot.com
Tel: 86-592-5085280
Fax: 86-592-5023065
Address: Building C09, Software Park III,
Xiamen 361024, China
www.ime.de

3
Revision History
Date
Doc Version
Description
July 15, 2021
V 1.0
Initial version
Sept. 10, 2021
V 1.1
1. Add Milesight D2D feature;
2. Support light collection enabled/disabled;
3. Delete low power alarm interval, device only
uplinks once when battery level is lower than 10%.
Jan. 16, 2023
V 1.2
1. Add Single-Channel mode;
2. Add Milesight D2D LoRa Uplink feature.
3. Add reboot downlink command.
May 15, 2023
V 1.3
Add blocking stickers
www.ime.de

4
Contents
1. Product Introduction......................................................................................................................... 5
1.1 Overview ...................................................................................................................................5
1.2 Features ................................................................................................................................... 5
2. Hardware Introduction ...................................................................................................................... 5
2.1 Packing List ..............................................................................................................................5
2.2 Hardware Overview ................................................................................................................. 6
2.3 Dimensions (mm) ....................................................................................................................6
2.4 LED Patterns ............................................................................................................................ 7
3. Operation Guide .................................................................................................................................7
3.1 NFC Configuration ................................................................................................................... 7
3.2 LoRaWAN Settings .................................................................................................................. 8
3.3 General Settings .................................................................................................................... 11
3.4 Threshold Settings ................................................................................................................ 11
3.5 Milesight D2D Settings..........................................................................................................12
3.6 Maintenance .......................................................................................................................... 12
3.6.1 Upgrade ....................................................................................................................... 12
3.6.2 Backup .........................................................................................................................13
3.6.3 Reset to Factory Default .............................................................................................14
4. Installation ....................................................................................................................................... 14
5. Device Payload ................................................................................................................................ 15
5.1 Basic Information .................................................................................................................. 16
5.2 Sensor Data ........................................................................................................................... 16
5.3 Downlink Commands ............................................................................................................ 17
www.ime.de

5
1. Product Introduction
1.1 Overview
WS202 is a PIR sensor based on passive infrared technology to detect a motion or occupancy.
WS202 can detect whether there is a movement within the range of 6-8 m. Besides, WS202
equips with a light sensor which can link PIR detection results to trigger scenes. WS202 can be
widely used in smart homes, smart offices, schools, warehouses, etc.
Sensor data are transmitted in real-time using the standard LoRaWAN®protocol. LoRaWAN®
enables encrypted radio transmissions over long distances while consuming very little power.
The user can get an alarm through Milesight IoT Cloud or through the user's own
Application Server.
1.2 Features
Built-in light sensor, combine PIR sensor to achieve triggers
Up to 15 km communication range
Easy configuration via NFC
Standard LoRaWAN®support
Compatible with Milesight IoT Cloud
2. Hardware Introduction
2.1 Packing List
1 ×
WS202 Sensor
2 ×
Wall Mounting Kits
1 ×
3M Tape
3 ×
Blocking Stickers
1 ×
Quick Guide
If any of the above items is missing or damaged, please contact your sales representative.
www.ime.de

6
2.2 Hardware Overview
PIR Area
2.3 Dimensions (mm)
www.ime.de

7
2.4 LED Patterns
Function
Action
LED Indicator
PIR Detection
PIR is triggered (network unregistered)
Red, blink once
PIR is triggered (network registered)
Green, blink once
Network Status
Send join network requests
Red, blinks once
Joined the network successfully
Green, blinks twice
Reboot
Press and hold the reset button for more than 3s
Slowly blinks
Reset to Factory
Default
Press and hold the reset button for more than 10s
Quickly blinks
3. Operation Guide
3.1 NFC Configuration
WS202 can be configured via an NFC-enabled smartphone.
1. Pull out the battery insulating sheet to power on the device. The indicator will light up in green for 3
seconds when the device turns on.
2. Download and install “Milesight ToolBox” App from Google Play or App Store.
3. Enable NFC on the smartphone and open Milesight ToolBox.
4. Attach the smartphone with NFC area to the device to read device information.
5. Basic information and settings of the device will be shown on ToolBox if it’s recognized
successfully. You can read and configure the device by tapping the Read/Write device on the
App. In order to protect the security of the device, password validation is required when
configuring via a new smartphone. The default password is 123456.
Note:
www.ime.de

8
1) Check the location of the smartphone NFC area and it’s recommended to take off the phone
case.
2) If the smartphone fails to read/write configurations via NFC, move the phone away and back
to try again.
3) WS202 can also be configured by ToolBox software via a dedicated NFC reader provided by
Milesight IoT, you can also configure it via TTL interface inside the device.
3.2 LoRaWAN Settings
Go to Device > Setting > LoRaWAN Settings of ToolBox App to configure join type, App EUI, App
Key and other information. You can also keep all settings by default.
Parameters
Description
Device EUI
Unique ID of the device which can also be found on the label.
App EUI
Default App EUI is 24E124C0002A0001.
Application Port
The port used for sending and receiving data. The default port is 85.
Join Type
OTAA and ABP modes are available.
LoRaWAN Version
V1.0.2, V1.0.3 are available.
Work Mode
It’s fixed as Class A.
Application Key
Appkey for OTAA mode, default is 5572404C696E6B4C6F52613230313823.
Device Address
DevAddr for ABP mode, default is the 5th to 12th digits of SN.
www.ime.de

9
Network Session
Key
Nwkskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
Application
Session Key
Appskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
RX2 Data Rate
RX2 data rate to receive downlinks or send D2D commands.
RX2 Frequency
RX2 frequency to receive downlinks or send D2D commands. Unit: Hz
Channel Mode
Select Standard-Channel mode or Single-Channel mode. When Single-Channel
mode is enabled, only one channel can be selected to send uplinks. Please
enable Single-Channel mode if you connect device to DS7610.
Channel
Enable or disable the frequency to send uplinks.
If frequency is one of CN470/AU915/US915, enter the index of the channel
that you want to enable and make them separated by commas.
Examples:
1, 40: Enabling Channel 1 and Channel 40
1-40: Enabling Channel 1 to Channel 40
1-40, 60: Enabling Channel 1 to Channel 40 and Channel 60
All: Enabling all channels
Null: Indicates that all channels are disabled
www.ime.de

10
Spread Factor
If ADR is disabled, the device will send data via this spread factor.
Confirmed Mode
If the device does not receive ACK packet from network server, it will resend
data once.
Rejoin Mode
Reporting interval ≤ 30 mins: the device will send a specific number of
LinkCheckReq MAC packets to the network server with periodic or threshold
uplinks everytime more than 25~35 mins passes to validate connectivity; If
there is no response, the device will re-join the network.
Reporting interval > 30 mins: the device will send a specific number of
LinkCheckReq MAC packets to the network server every reporting interval to
validate connectivity; If there is no response, the device will re-join the
network.
Set the number of
packets sent
When join mode is enabled, set the number of LinkCheckReq packets sent.
Note: the actual sending number is Set the number of packet sent + 1.
ADR Mode
Allow network server to adjust data rate of the device. This only works with
Standard Channel Mode.
Tx Power
Transmit power of device.
Note:
1) Please contact sales representative for device EUI list if there are many units.
2) Please contact sales representative if you need random App keys before purchase.
www.ime.de
Este manual sirve para los siguientes modelos
1
Tabla de contenidos
Otros manuales de Sensor de seguridad de Milesight

Milesight
Milesight WS302-868M Manual de usuario

Milesight
Milesight AM100 Series Manual de usuario

Milesight
Milesight EM310-TILT-868M Manual de usuario

Milesight
Milesight EM300 Series Manual de usuario

Milesight
Milesight VS132 Manual de usuario

Milesight
Milesight EM320-TILT-868M Manual de usuario

Milesight
Milesight EM320-TH-868M Manual de usuario

Milesight
Milesight GS301 Manual de usuario

Milesight
Milesight TS30 Series Manual de usuario

Milesight
Milesight VS121 Manual de usuario


















