User Guide for Milesight models including: VS135 Ultra ToF People Counter, VS135, Ultra ToF People Counter, ToF People Counter, People Counter, Counter

Milesight

Ultra ToF People Counter

23 févr. 2024 — Though the device is compliant with Class 1 (IEC/EN 60825-1:2014), please DO NOT look at the ToF sensor too close and directly.

Download Center


File Info : application/pdf, 34 Pages, 1.82MB

PDF preview unavailable. Download the PDF instead.

vs135-user-guide-en
Ultra ToF People Counter
Featuring LoRaWAN®
VS135
User Guide

Safety Precautions
Milesight will not shoulder responsibility for any loss or damage resulting from not following the instructions of this operating guide.  Though the device is compliant with Class 1 (IEC/EN 60825-1:2014), please DO NOT look at
the ToF sensor too close and directly.  The device must not be disassembled or remodeled in any way.  To avoid risk of fire and electric shock, do keep the product away from rain and moisture
before installation.  Do not place the device where the temperature is below/above the operating range.  Do not touch the device directly to avoid the scalds when the device is running.  The device must never be subjected to shocks or impacts.  Make sure the device is firmly fixed when installing.  Do not expose the device to where laser beam equipment is used.  Use a soft, dry cloth to clean the lens of the device.
Declaration of Conformity
VS135 is in conformity with the essential requirements and other relevant provisions of the CE, FCC, and RoHS.
Copyright © 2011-2024 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.support@milesight.com Support Portal: support.milesight-iot.com Tel: 86-592-5085280 Fax: 86-592-5023065 Address: Building C09, Software Park
Phase III, Xiamen 361024, China
2

Revision History
Date Feb. 23, 2024

Doc Version Description

V 1.0

Initial version

3

Contents
1. Product Introduction ......................................................................................................................... 5 1.1 Overview ...................................................................................................................................5 1.2 Key Features ............................................................................................................................ 5
2. Hardware Introduction ...................................................................................................................... 6 2.1 Packing List ..............................................................................................................................6 2.2 Hardware Overview ................................................................................................................. 6 2.3 Button and LED Indicators ...................................................................................................... 6 2.4 Dimensions (mm) .................................................................................................................... 7
3. Power Supply ..................................................................................................................................... 7 4. Access the Sensor .............................................................................................................................7 5. Operation Guide .................................................................................................................................8
5.1 Dashboard ................................................................................................................................8 5.2 Rule ...........................................................................................................................................9 5.3 Communication ..................................................................................................................... 14
5.3.1 WLAN ...........................................................................................................................14 5.3.2 LoRa .............................................................................................................................15 5.4 Report ..................................................................................................................................... 18 5.5 Validation ............................................................................................................................... 19 5.6 System ................................................................................................................................... 21 5.6.1 Device Info .................................................................................................................. 21 5.6.2 User ..............................................................................................................................21 5.6.3 Time Configuration .....................................................................................................23 5.6.4 System Maintenance ..................................................................................................23 6. Installation Instruction .................................................................................................................... 24 6.1 Installation Height ................................................................................................................. 25 6.2 Covered Detection Area ........................................................................................................ 25 6.3 Environment Requirements .................................................................................................. 26 6.4 Installation ............................................................................................................................. 27 6.5 Factors Affecting Accuracy .................................................................................................. 31 7. Communication Protocol ................................................................................................................31 7.1 Uplink Data .............................................................................................................................31 7.2 Downlink Command .............................................................................................................. 33
4

1. Product Introduction
1.1 Overview
VS135 is a high-end people counting sensor that is based on deep learning AI and second-generation ToF technology. It is capable of adapting to various complex scenarios while ensuring excellent privacy protection. This sensor possesses an impressive accuracy of up to 99.8% in people counting, fully meeting your needs, and it delivers exceptional performance for both indoor and outdoor applications. With high ceiling mounting of up to 6.5m and an IP65 waterproof rating, it adapts seamlessly to any environment.
1.2 Key Features
 Up to 99.8% accuracy with the 2nd generation ToF technology and AI algorithm.  Allow to collect more accurate people counting data by differentiating children / adults and
detecting staffs via identification like staff lanyards for clearer people analysis.  Smart U-turn detection to filter redundant counting of people wandering in the area.  Support queuing management via dwell time detection and regional people counting.  Support Group Counting function to gain deeper insights into customers' behaviors.  With radar sensor based ESG friendly working mode, it allows to experience full-speed
operation when occupied while switching to a power-saving sleep mode when unoccupied.  By incorporating 3-axis sensors for automatic height calibration, it ensures enhanced
precision and guarantees accurate data analysis.  Support automatic compensation of person height values when the device is mounted at a
tilt.  Working well even in low-light or completely dark environments with great lighting
adaptability.  Free from privacy concerns without image capturing.  Automatically detect the optimal installation height, facilitating fast deployment and
intelligent detection.  Support video validation function to help customers verify statistical accuracy.  Store a million counting data locally and securely.  Easy configuration via Wi-Fi for web GUI configuration.  Function well with standard LoRaWAN® gateways and network servers.  Quick and easy management with Milesight IoT Cloud.
5

2. Hardware Introduction 2.1 Packing List

1 × VS135 Device

4 × Ceiling Mounting Kits

8 × Staff Tags

1 × VB01 Multifunctional Bracket Kit (Optional)

1 x Power Adapter

1 × Quick Guide

1 × Warranty Card If any of the above items is missing or damaged, please contact your sales representative.
2.2 Hardware Overview

2.3 Button and LED Indicators

Function

Action

Turn On/Off Wi-Fi
Reset to

Press and hold the power button for more than 3 seconds. Press and hold the reset

LED Indication
Turn On/Off: Blue light blinks for 3 seconds. Wi-Fi On: Blue light on. Wi-Fi Off: Green light on. Green light blinks until the reset process is

6

Factory Default button for more than 10 seconds.
2.4 Dimensions (mm)

completed.

3. Power Supply
VS135 can be powered by power adapter (12V DC, 2A).
4. Access the Sensor
VS135 provides user-friendly web GUI for configuration access via Wi-Fi. Users need to customize the password when using the device for the first time. The default settings are as below: Wi-Fi SSID: People Counter_xxxxxx (can be found on the device label) Wi-Fi IP: 192.168.1.1 Here are the wireless method way of accessing the web GUI: Step 1: Enable the Wireless Network Connection on your computer, search for corresponding Wi-Fi SSID to connect it, then type 192.168.1.1 to access the web GUI. Step 2: Select the language. Step 3: Users need to set the password and three security questions when using the sensor for the first time (three questions can be skipped by refreshing webpage). After configuration, log in with username (admin) and custom password. Note: 1) Password must be 8 to 16 characters long, which contains at least two kinds or more in
combination with numbers, lowercase letters, uppercase letters and special characters .
7

2) You can click the "forgot password" in login page to reset the password by answering three security questions when you forget the password if you set the security questions in advance.
5. Operation Guide 5.1 Dashboard
After logging on to the device web GUI successfully, user is allowed to view live video as following.
8

Parameters Reset Count

Description
Hide Capacity: Hide the total count data capacity; Staff Excluded: Exclude staff data from statistical data; Children Excluded: Exclude children data from statistical data.
Clear all accumulated entrance and exit people counting values.
Click to edit the preview layout. Step 1: Select video stream preview, static image preview or no image preview as needed. Step 2: Click to show tracking lines, detection lines, U-turn areas and detection regions as needed.

Edit Preview Layout

5.2 Rule

9

Basic Counting Settings
Users can draw detection lines to record the people count values which indicate the number of people enter or exit. Step 1: Click Draw Detection Lines. Step 2: Left-click to start drawing and drag the mouse to draw a line, left-click again to continue drawing a different direction edge, and right-click the mouse to complete the drawing. The line can be dragged to adjust the location and length. One device supports at most 4 broken lines with maximum 4 segments each. Step3: If users need to delete the line, click Draw Detection Lines and select the line which need to be deleted, then click Clear This Line or click Clear All.
Note: 1) The arrow direction of the detection line depends on your drawing direction. If users need to
flip the line, select the line which need to be flipped and click Flip Arrow Direction. And users can click Flip All to flip all detection lines.
10

2) Ensure that the detected target can pass through the detection line completely. It's recommended that the detection line is perpendicular to the In/Out direction and on the center of the detection area without other objects around.
3) A redundant identification area needed to be left on both sides of the detection line for the target. This is to ensure that the sensor has stable recognition and tracking of this target before it passes the detection line, which will make the detection and count more accurate.
Rule Configuration
Rule Configuration
Users can set the rules to ensure accurate counting.
11

Parameters

Description

Installation Height
Max. Target Height
Min. Target Height
Tracking Mode
U-turns Filtering

Set the device installation height. Click Detect to detect the current installation height automatically. Note: 1) Ensure that there is no object directly below the device avoiding interfering the height detection. 2) The automatic detection of the installation height is not supported with dark floor/carpet (black, grey, etc.) Set the maximum target height, then the device will ignore the objects higher than this setting value. Set the minimum target height, then the device will ignore the object shorter than this setting value. Select the tracking mode of counting, including Heads Tracking and Feet Tracking. Note: It is recommended to use heads tracking mode when the installation height is low in standalone working mode. When enabled, it allows to draw an area for every line and the device will

12

Children Distinction Staff Detection
Group Counting

count the In and Out values only when people pass this area. Users can left-click to start the drawing and add edges for this area, then right-click to stop drawing.
The device will detect the people shorter than child filter height as children.
The device will detect the people who wear reflective stripes as staff tags on the visible parts (neck, shoulders, etc.) as staffs. Reflective stripe requirements: width > 2cm, 500 cd/lux.m2 Click to enable the group counting function that based on the distance, moving direction and speed difference to gain deeper insights into customer' behaviors. Note: 1) This function is only applicable for line cross people counting. 2) LoRa reporting only transmit group counting data when group counting function is enabled. Click "+Add" to add the region monitoring. Up to 4 regions are supported with maximum 10 segments each. Step 1: Draw the region monitoring areas on the screen.

Region Monitoring
Step 2: You can customize the zone name. And click to enable Region People Counting and Dwell Time Detection as needed. Pass-by Filtering can be set to improve statistical accuracy and Min.Dwell Time can be set to improve statistical validity.

13

Step 3: The configuration is displayed in the list after the configuration is complete. You can redraw the areas by clicking the redraw button in the list. Click the edit button to modify the advanced settings of the areas or click delete button to delete the areas separately.

Reset Cumulative Count on Schedule Periodic Report
Period

Enable to periodically reset cumulative count on schedule. Cumulative Count includes: Total In/Out counting of each detection line. Max./Avg. Dwell Time of each detection region. Report the people counting data periodically. Set the period of reporting periodic report. Range: 1-1080 mins, default: 10 mins

Note:

Due to the error in ToF distance measurement (0.035 m), the Max. Target Height should be set as maximum pedestrian height plus 0.035 m and the Min. Target Height as minimal pedestrian height minus 0.035 m in the actual applications. For example, if the pedestrian height is 1.6 m to 1.8 m, the Max. and Min. Target Height should be configured as 1.835 m and 1.565 m respectively.

5.3 Communication
5.3.1 WLAN
VS135 supports wlan feature to work as AP mode to configure device and it can not connect to other access point.

14

Parameters
Enable WLAN
Wi-Fi SSID Protocol Bandwidth Channel
Security Mode
Cipher Wi-Fi Password

Description Enable or disable Wi-Fi feature. If disabled, users can use button or LoRaWAN® downlink command to enable it. The unique name for this device Wi-Fi access point. 802.11b (2.4 GHz), 802.11g (2.4 GHz), 802.11n (2.4 GHz) are optional. 20 MHz or 40 MHz are optional. Select the wireless channel. Auto, 1,...11 are optional. No Encryption, WPA-PSK, WPA2-PSK and WPA-PSK/WPA2-PSK are optional. AES, TKIP, AES/TKIP are optional. Customize the password when security mode is not No Encryption.

5.3.2 LoRa
LoRa settings are used for configuring the transmission parameters in LoRaWAN® network.

15

16

Parameters LoRa Status Device EUI
App EUI Application Port
Join Type
Application Key
Device Address Network Session
Key Application Session Key
Rejoin Mode

Description LoRaWAN® network joining status of this device. Unique ID of the device, which can also be found on the label. The Default App EUI is 24E124C0002A0001. The port used for sending and receiving data, default port is 85. OTAA and ABP mode are available. Appkey for OTAA mode, the default key is 5572404C696E6B4C6F52613230313823. DevAddr for ABP mode, the default address is the 5th to 12th digits of SN. Nwkskey for ABP mode, the default key is 5572404C696E6B4C6F52613230313823. Appskey for ABP mode, the default key is 5572404C696E6B4C6F52613230313823. Reporting interval  35 mins: the device will send a specific number of LinkCheckReq MAC packets to the network server every reporting interval or every double reporting interval to validate connectivity; If there is no

17

response, the device will re-join the network.

Reporting interval > 35 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.

Number of

When rejoin mode is enabled, set the number of detection.

Detection

Note: the actual sending number is Number of Detection + 1.

LoRaWAN® Version

V1.0.2, V1.0.3 are available.

Region

Frequency plan of this device.

RX2 Data Rate RX2 data rate to receive downlinks.

RX2 Frequency RX2 frequency to receive downlinks.

Spreading Factor If ADR is disabled, the device will send data via this spreading factor.

Select the channel from channel list or enter the index to select the

Channel

frequency channel. Index 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

Confirm Mode

If the device does not receive ACK packet from network server, it will resend data once.

ADR

Allow network server to adjust data rate of the device.

Note:

1) Please contact sales for device EUI list if there are many units.

2) Please contact sales if you need random App keys before purchase.

3) Only OTAA mode supports rejoin mode.

4) Select OTAA mode when you connect device to Milesight IoT Cloud.

5.4 Report
VS135 supports to generate visual line chart or bar chart to display the people traffic and supports to export the report. Before using this feature, ensure that the device time is correct on System page.

18

Parameters
Event Time Unit Time Range

Description Select the event which you want to query the report. Line crossing counting, region people counting and dwell time detection are optional. Select the unit to generate the graph or export the data. Select the time range to generate the graph.
Select the line to display the graph.

Select the individuals counting reports or groups counting reports.

Select the region to display the graph.

Click to generate the graph according to the time range and line option.

Export
Staff Included/Excluded

Export the historical traffic data as CSV file according to the selected time unit. The device can store up to one million data records to CSV file.
Select whether to contain staff counting values on the graph.

Select the display type as line or bar.

Download the graph screenshot.

5.5 Validation
Video validation function can assist users in verifying the accuracy of people counting by setting up a video task of recording. Note:

19

 Only one video task can be performed at a time, please delete the previous task before creating a new one.
 Detection rules and ToF frequency parameters cannot be modified during the recording process.

Parameters Start Recording

Video Task

Set a Task of Recording

Description
Clicking "Start Recording" to initiate the recording task. You can manually click "Stop Recording" to end the recording, or it will automatically stop when the recording time reaches 60 minutes. Configure the start time and duration of the recording. The duration can be set from 1 to 240 minutes. Clicking "Cancel Task" manually will cancel the recording schedule.

Playback Button

Enable/Disable detection lines in the recording footage. Enable/Disable u-turn area in the recording footage. Enable/Disable detection region in the recording footage. Enable/Disable tracking line in the recording footage. Rewind/Pause/Play/Forward(supports switching between
20

0.5x, 1x, 2x, and 4x playback speed). Start time and end time of the recording. Download video stream footage.
5.6 System 5.6.1 Device Info
All information about the hardware and software can be checked on this page.

5.6.2 User

Parameters

Description 21

You can change the login password of this device.
Click to set three security questions for your device. In case that you forget the password, you can click Forget Password button on login page to reset the password by answering three security questions correctly.
Click to add a viewer, who will only have access to the "Dashboard" and "Report" interfaces.
22

5.6.3 Time Configuration

Parameters Time Zone
Daylight Saving Time
Setting Time Synchronize with
computer time

Description Choose the time zone for your location. Enable or disable Daylight Saving Time (DST). Start Time: the start time of DST time range. End Time: the end time of DST time range. DST Bias: the DST time will be faster according to this bias setting. Set the device time manually.
Synchronize the time with your computer.

5.6.4 System Maintenance

23

Parameters
Frequency Adjustment

Description
Adjust the ToF frequency modulation mode to avoid the interference of surrounding IR devices. Please avoid using the same mode if there are multiple VS135 devices around. Note: If there is only one option, please contact Milesight IoT support: iot.support@milesight.com

ToF Lighting Mode

Adjust the ToF light mode as Always On or Auto. When using Auto mode, the device will turn off the ToF light when radar detects no person for some times to save the power.

Enable to automatic compensation of person height values when the device is Tilt Correction
mounted at a tilt.

Reset Reboot

Recovery device basic configuration: keep the IP settings and user information when resetting. Recovery device to factory settings: reset device to factory default, which needs to verify admin password. Restart the device immediately.

Upgrade
Backup and Restore

Click the folder icon and select the upgrading file, then click the Upgrade button to upgrade. The update will be done when the system reboots successfully. Note: The upgrade process takes about 1-10 minutes. Do not turn off the power and complete automatic restart after the upgrade. Export Config File: Export configuration file. Import Config File: Click the file icon and select the configuration file, click Import button to import configuration file.

6. Installation Instruction

Parameter definition:

Parameters

Explanation

H

Installation height

Value Standard Version: 3.5 m

24

d

Minimum detection distance of VS135

d

Distance measurement error of VS135

hmax

Maximum pedestrian height

hmin

Minimum pedestrian height



ToF horizontal field of view angle



ToF vertical field of view angle

x

Length of detection range

y

Width of detection range

High Ceiling Mount: 6.5 m Standard Version: 0.5 m High Ceiling Mount: 2 m 0.035 m Example 1.8 m Example 1.7 m Standard Version: 98° High Ceiling Mount: 60° Standard Version: 80° High Ceiling Mount: 45°

6.1 Installation Height
 The maximum installation height is 3.5 m and the minimum installation height is hmax+d+d. For example, when the maximum pedestrian height is 1.8 m, then the minimum installation height is 1.8+0.5+0.035=2.335 m.
 The maximum installation height is 6.5 m and the minimum installation height is hmax+d+d. For example, when the maximum pedestrian height is 1.8 m, then the minimum installation height is 1.8+2+0.035=3.835 m.

6.2 Covered Detection Area
The detection area covered by the device is related to the field of view angle of the device, the installation height and the target height. The length of the detection area is approximately x=1.155×(H-hmin) and the width of the detection area is approximately y=0.828x (H-hmin).

For example, if the Minimum height of pedestrians is 1.7 m, the detection area corresponding to each installation height is as follows:

Standard Version:

Installation Height (m)

Monitored Area (m)

Detection Area(m)

25

2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.2 3.3 3.4 3.5 High Ceiling Mount: Installation Height (m) 3.5 3.7 3.9 4.1 4.3 4.5 4.7 4.9 5.1 5.3 5.5 5.7 5.9 6.1 6.3 6.5

5.75 × 4.20 5.98 × 4.36 6.21 × 4.53 6.44 × 4.70 6.67 × 4.87 6.90 × 5.03 7.13 × 5.20 7.36 × 5.37 7.59 × 5.54 7.82 × 5.71 8.05 × 5.87
Monitored Area (m) 4.04 x 2.90 4.27 x 3.07 4.50 x 3.23 4.73 x 3.40 4.97 x 3.56 5.20 x 3.73 5.43 x 3.89 5.66 x 4.06 5.89 x 4.22 6.12 x 4.39 6.35 x 4.56 6.35 x 4.72 6.81 x 4.89 7.04 x 5.05 7.27 x 5.22 7.51 x 5.38

1.84 × 1.34 2.07 × 1.51 2.30 × 1.68 2.53 × 1.85 2.76 × 2.01 2.99 × 2.18 3.22 × 2.35 3.45 × 2.52 3.68 × 2.69 3.91 × 2.85 4.14 × 3.02
Detection Area(m) 2.08 x 1.49 2.31 x 1.66 2.54 x 1.82 2.77 x 1.99 3.00 x 2.15 3.23 x 2.32 3.46 x 2.49 3.70x 2.65 3.93 x 2.82 4.16 x 2.98 4.39 x 3.15 4.62 x 3.31 4.85 x 3.48 5.08 x 3.65 5.31 x 3.81 5.54 x 3.98

6.3 Environment Requirements
 Dark floor/carpet (black, grey, etc.) will affect the device to count staffs when Staff Detection is enabled.

26

 Avoid 940nm light which may result in incorrect counting.  Outdoor sunlight shining on the over channel will not have any effect, but the mirrored
reflections that allow sunlight to shine on the ToF Sensor should be avoided.  When the carpet/floor is black, ensure there is no obstacle within a 60cm hemisphere range
in the direction of the device. Otherwise, the device imaging may appear abnormally red.
6.4 Installation
Ceiling Mount
Installation condition: ceiling thickness > 30mm. Step 1: Take down the side covers.
Step 2: Fix wall plugs into ceiling holes.
27

Step 3: Remove rubber plugs on the rubber sleeve, connect all required wires.
Note:  Remove the rubber sleeve if waterproof is not required for easy installation.  Use round wires.  Ensure the rubber sleeve and the bottom cover are tightly connected without a gap if
waterproof is required; if necessary, wrap the waterproof tapes around the wires to avoid any gap.  Tighten the wires to avoid contact with internal modules. Step 4: Fix the device to ceiling with mounting screws.
Step 5: Restore side covers.
28

Ceiling/Lintel Mount (with Optional VB01 Multifunctional Bracket)
Step 1: Fix the pole to the device with the hole on the device. Step 2: Adjust the length of the pole, then adjust the direction of 3-axis ball and tighten it with the handle. Step 3: Determine the mounting location and drill 3 holes, fix the wall plugs into the mounting holes, then fix the bracket base to the wall plugs via mounting screws. (Note: If the wire needs to be extended to the interior of the ceiling or wall, a wire hole with a suitable size is also required to be drilled.)
Step 4: Remove the cover on the device, and then connect all required wires and pass them through the inside of pole. Step 5: Fix the pole to bracket base with screws and nuts. Ceiling Mount
Lintel Mount
29

Installation Note:  Ensure that the ToF sensor is facing down and the tilt angle from the ground is no greater
than 15° for the standard version, and no greater than 10° for the high ceiling mount version.  Avoid direct Infrared LED light in the detection area.  Not suggested to install the sensor close to glass or mirror.  Ensure that there are no other objects blocking the ToF light within a 50cm radius of the
device's field of view.  Though the device is compliant with Class 1 (IEC/EN 60825-1:2014), please DO NOT look at
the ToF sensor too close and directly.  Avoid installing the device against the wall and ensure the device keeps away from the wall
with a distance of at least 40cm.  When you install devices on the top of swinging doors, it is suggested to keep the door
normally open. If the door must be normally closed, please install the device on the other side of the door to keep away from the door's movement. And it is suggested to keep away from the door with a distance of at least 40cm.
30

6.5 Factors Affecting Accuracy
 Wearing a fisherman's hat or carrying a cardboard box on the shoulder: The target will not be recognized because it will become unlike a human in depth map.
 Handheld or cart-carrying a humanoid doll with sufficient height to pass by: The doll will be mistakenly detected as people because it is human-like in depth map.

7. Communication Protocol

7.1 Uplink Data

VS135 reports basic information of sensor once joining the network and the number of people periodically. For decoder examples please find files on https://github.com/Milesight-IoT/SensorDecoders.

Channel

Type

Description

01 (Protocol Version)

01=> V1

09 (Hardware Version) ff
16 (Device SN) 1f (Software Version)

01 04 => V1.4 16 digits 85 01 00 05 => 133.1.0.5

03 d2 (Accumulated counter) Line 1 accumulated in counter, 4 bytes

04 d2 (Accumulated counter) Line 1 accumulated out counter, 4 bytes

05 cc (Periodic counter)

Line 1: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval

06 d2 (Accumulated counter) Line 2 accumulated in counter, 4 bytes

07 d2 (Accumulated counter) Line 2 accumulated out counter, 4 bytes

08 cc (Periodic counter)

Line 2: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval

09 d2 (Accumulated counter) Line 3 accumulated in counter, 4 bytes

0a d2 (Accumulated counter) Line 3 accumulated out counter, 4 bytes

0b cc (Periodic Counter)

Line 3: Byte 1-2: in counter during the report interval Byte 3-4: out counter during the report interval

0c d2 (Accumulated counter) Line 4 accumulated in counter, 4 bytes

31

0d d2 (Accumulated counter) Line 4 accumulated out counter, 4 bytes

Line 4:

0e cc (Periodic Counter)

Byte 1-2: in counter during the report interval

Byte 3-4: out counter during the report interval

Byte 1: number of people in region 1

0f e3 (Region Monitoring)

Byte 2: number of people in region 2 Byte 3: number of people in region 3

Byte 4: number of people in region 4

Byte 1: region ID

10 e4 (Region Monitoring)

Byte 2-3: avg. dwell time

Byte 4-5: max. dwell time Note: If children distinction feature or staff detection feature is enabled, the counter uplinks will minus children and staff. For example, if children distinction is enabled, the accumulated in counter=total in counter-children in, the accumulated out counter=total out counter-children out. Example: 1. Device information

ff0101 ff166600b09409760000 ff090102 ff1f85010001

Channel ff
Channel ff

Type 01
(Protocol Version)
Type 09
(Hardware version)

Value 01 (V1) Value 0102 (V1.2)

Channel ff
Channel ff

Type

Value

16(Device SN)

66 00 b0 94 09 76 00 00

Type

Value

1f (Software 85 01 00 01

version)

(V133.1.0.1)

2. Line 1 People counter

03d205000000 04d203000000 05cc02000100

Channel 03
Channel 05

Type d2
(accumulated in counter) Type
cc (Periodic Counter)

Value
05 00 00 00 => 00 00 00 05=5
Value In: 02 00 => 00
02 = 2 Out: 01 00 => 00
01 =1

Channel 04

Type d2
(accumulated out counter)

Value 03 00 00 00 => 00 00 00
03=3

32

7.2 Downlink Command

VS135 supports to configure the device via downlink commands. Application port is 85 by

default.

Channel

Type

Description

10 (Reboot)

ff (Reserved)

03 (Reporting Interval)

2 Bytes, unit: s

04 (Confirm Mode)

00: disable, 01: enable

Byte 1: Channel index range

01: 0-15

02: 16-31

03: 32-47

05 (LoRaWAN® Channel Mask) 04: 48-63

05: 64-79

ff

06: 80-95

Byte 2-3: indicate disable or enable via every

bit, 0=disable, 1=enable

40 (ADR)

00: disable, 01: enable

41 (Application Port)

1 Byte, default is 85

42 (Wi-Fi)

00: disable, 01: enable

43 (People Counting Periodic Report)

00: disable, 01: enable

51 (Clear the accumulated counting)

ff (Reserved)

Note: After changing any parameter of LoRaWAN® settings, the device will re-join the network.

Example:

1. Disable Wi-Fi.

ff4200

Channel ff

Type 42 (Wi-Fi)

Value 00: disable

2. Set AU915 or US915 channel mask as 8-15.

ff0501ff00 ff05020000 ff05030000 ff05040000 ff05050000

Channel ff

Type 05
(Set Channel Mask)

Value 01: Channel index 0-15, ff00 => 8-15 is enabled 02-05: Channel index 16-79, 0000 => all disabled

33

3. Reboot the device.
Channel ff

ff10ff Type 10 (Reboot)

Value ff (Reserved)

4. Set reporting interval as 20 minutes.

ff03b004

Channel ff

Type 03(Set Reporting
Interval)

Value b0 04 => 04 b0 = 1200s
=20 minutes

-END-

34



References

WPS 文字