User Guide for Milesight models including: VS121, Workplace LoRaWAN Sensor, LoRaWAN Sensor, Workplace Sensor, Sensor, VS121 LoRaWAN Sensor

来一打AD钙奶

MU VS121

Index of /wp-content/uploads/2022/07

AI Workplace Sensor


File Info : application/pdf, 27 Pages, 1.47MB

PDF preview unavailable. Download the PDF instead.

MU VS121
AI Workplace Sensor
Featuring LoRaWAN®
VS121
User Guide

Safety Precautions
Milesight will not shoulder responsibility for any loss or damage resulting from not following the instructions of this operating guide.  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 components which may be hot.  The device must never be subjected to shocks or impacts.  Make sure the device is firmly fixed when installing.  Make sure the plug is firmly inserted into the power socket.  Do not expose the device to where a laser beam equipment is used.  Use a soft, dry cloth to clean the lens of the device. Stubborn stains can be removed using a
cloth dampened with a small quantity of detergent solution, then wipe them dry.
Declaration of Conformity
VS121 is in conformity with the essential requirements and other relevant provisions of the CE, FCC, and RoHS.
Copyright © 2011-2022 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 Tel: 86-592-5085280 Fax: 86-592-5023065 Address: Building C09, Software Park
Phase III, Xiamen 361024, China
2

Revision History
Date Apr. 26, 2021
Jan. 18, 2022
Apr. 8, 2022
June 20, 2022

Doc Version V 1.0 V 1.1
V 1.2
V 1.3

Description Initial version 1. Support line crossing counting feature; 2. Support LoRa D2D feature; 3. Support people counting debounce; 4. Support uploading max number of people; 5. Support downlink control. 1. Milesight LOGO update; 2. Support recognition scheme selection. 1. Update web GUI menu; 2. Support customize people counting detection area to 16 regions; 3. Add recommended installation guide and line drawing note.

3

Contents
1. Product Introduction ......................................................................................................................... 5 1.1 Overview ...................................................................................................................................5 1.2 Key Features ............................................................................................................................ 5
2. Hardware Introduction ...................................................................................................................... 5 2.1 Packing List ..............................................................................................................................5 2.2 Hardware Overview ................................................................................................................. 6 2.3 Buttons and LED Indicators .................................................................................................... 6 2.4 Dimensions .............................................................................................................................. 6
3. Access the Sensor .............................................................................................................................7 3.1 Access without Plugin .............................................................................................................7 3.2 Access with Plugin .................................................................................................................. 8
4. Operation Guide ...............................................................................................................................10 4.1 Live Video ...............................................................................................................................10 4.2 IoT ...........................................................................................................................................10 4.2.1 Region People Counting .............................................................................................10 4.2.2 Line Crossing Counting .............................................................................................. 11 4.2.3 LoRa .............................................................................................................................13 4.2.4 Wi-Fi ............................................................................................................................. 16 4.2.5 Recognition Scheme .................................................................................................. 17 4.3 System ................................................................................................................................... 18
5. Mount the Sensor ............................................................................................................................22 5.1 Recommended Height for Certain Object ............................................................................22 5.2 Illuminance Requirements for AI Analysis ...........................................................................22 5.3 Recommended Installation for Line Crossing Counting .....................................................22 5.4 Factors Affecting Accuracy .................................................................................................. 24 5.5 Ceiling Installation .................................................................................................................24
6. Device Payload ................................................................................................................................ 25 6.1 Uplink Data .............................................................................................................................25 6.2 Downlink Command .............................................................................................................. 26
4

1. Product Introduction
1.1 Overview
VS121, based on Artificial Intelligence (AI) technology, is an AI workplace sensor designed to mo nitor occupancy & utilization in modern workspace, which can reach up to 95% recognition rate. With the ability to sense from up to 78m2, fewer sensors are needed to cover the same area, dec reasing the deploy costs for users. Only counter values are transmitted over LoRaWAN® network to prevent the privacy concerns. VS121 is equipped with Wi-Fi for easy configuration without any tools.
Sensor data are transmitted in real-time using standard LoRaWAN® protocol. LoRaWAN® enables encrypted radio transmissions over long distance while consuming very little power. The user can obtain sensor data and view the trend of data change through the user's own network server.
1.2 Key Features
 Recognition rate is up to 95% based on advanced AI identification and analysis technology and wide detection range
 Support to map up to 16 custom regions  No image data is collected, free from privacy concerns  Equipped with Wi-Fi for web GUI configuration  Function well with standard LoRaWAN® gateways and network servers
2. Hardware Introduction 2.1 Packing List

1 × VS121 Device

4 × Wall Mounting Kits

1× Type-C Cable (1 m) &
Power Adapter

1× Mounting Sticker

5

1× Warranty Card

1× Quick Guide

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

2.3 Buttons and LED Indicators

Function

Action

LED Indication

Press and hold the Wi-Fi button for more than 3 seconds. Off  On Turn On/Off Wi-Fi
Press and hold the Wi-Fi button for more than 3 seconds. On  Off

Reset to Factory Press and hold the reset button for more than 10

Blinks 6 times.

Default

seconds.

2.4 Dimensions (mm)

6

3. Access the Sensor
VS121 sensor provides user-friendly web GUI for configuration and users can access it via Wi-Fi connection. The recommended browsers are Internet Explorer, Firefox, Chrome, Microsoft Edge, Safari. The default IP of sensor is 192.168.1.1, and default SSID is Workplace Sensor_XXXXXX (can be found on the label).
3.1 Access without Plugin
Step 1: Power on the device. Step 2: Enable the Wireless Network Connection on your computer and search for corresponding access point, then connect computer to this access point. Step 3: Open the Browser and type 192.168.1.1 to access the web GUI. Step 4: Select the language. Step 5: Users need to set the password when using the sensor for the first time. And three security questions can also be set optionally. After configuration, use username (admin) and custom password to log in the sensor. Note: 1) Password must be 8 to 32 characters long, contains at least one number and one letter. 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.
7

3.2 Access with Plugin
For IE browser access, users need to install the MsActiveX firstly. You can refer the steps as follows: Step1: Launch the IE browser and enter the IP address of the sensor; Step2: Enter the user name and custom password and click "Login"; Step3: At the first time to log in the device, the browser will prompt to install Controls, please
click "Click here to download and install controls manually" as shown below;
NoteDuring installing the controls, please keep the browsers close. Step4: Follow the prompts to install the Controls, when it`s finished, it will pop out a window as
shown below. Please click "Finish" and refresh the browser, then you will see the video.
If IE9 or higher version browser is used, it is suggested that the web link should be added as a trusted site. See the instructions as follows: Step1: Start the IE9 or higher version browser, and select "Tools" "Internet Options";
8

Step2: Select "Security" to "Trusted";
Step3: Enter the IP address of the device in the blank and click "Add";
Step4: Enter the IP address. After logging on web GUI successfully, user is allowed to view live video.
9

4. Operation Guide 4.1 Live Video
After logging on to the device web GUI successfully, user is allowed to view live video as follows.

Parameters Image Config

Description Brightness: Adjust the Brightness of the scene Contrast: Adjust the color and light contrast
Saturation: Adjust the Saturation of the image. Higher Saturation makes colors appear more "pure" while lower one appears more "wash-out" Sharpness: Adjust the Sharpness of image. Higher Sharpness sharps the pixel boundary and makes the image looks "more clear" 2D DNR/3D DNR: Adjust the noise reduction level
Default: Restore brightness, contrast and saturation to default settings
Click to access the configuration page
People Counting (Region): show the mapped or non-mapped regions of people counting Line Crossing Counting: show the detection line and counting people it detected

4.2 IoT 4.2.1 Region People Counting
Users can set the report settings and detection regions here.

10

Parameters Enable

Description Enable or disable region people counting feature.

Number of People Show current number of people.

Report Regularly Report by Result Debounce Time
Enable
Detection Area
Clear

Report the current number of people according to reporting interval. Reporting Interval: 5-3600 s, default: 300 s Report according to the following changes of people number result:  Zero to Non-zero/Non-zero to Zero  Once result changes VS121 will reduce the count value only when the people come out of the detection area for more than 2 s. Enable the detection area customization feature. If disabled, the whole area will be the detection area. Select the customized area as either mapped or except mapped area. You can draw the area in the below screen. 16 regions can be set at most. Mapped Region: Only people who are in the mapped region will be detected. Non-mapped Region: Only people who are not in the mapped region will be detected. Note: when drawing the area, right click the mouse can make the area closed. Clear all areas you have drawn before.

4.2.2 Line Crossing Counting
The sensor will count the number of people who crossed a defined virtual line, then upload the count value according to the reporting interval.

11

Parameters

Description

Enable

Enable or disable line crossing counting feature.

Report the count value of people in/out during the reporting interval, the

Reporting Interval device will clean the previous values to re-count after reported, range: 5-3600

s, default: 300 s

The device allows to set up only one line. For the detection line, crossing Set Detection Line
along the direction of the arrow means "In" and the opposite is "Out".

Clear Line

Clear the line you have drawn before.

Note:

1) The arrow direction of the detection line depends on your drawing direction.

2) Ensure the detection target can pass through the detection line completely. It's recommended that draw the detection line perpendicular to the In/Out direction, and make the line on the center of detection area without other objects around.
12

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.
4.2.3 LoRa
LoRa settings is used for configuring the transmission parameters in LoRaWAN® network or LoRa D2D network.
4.2.3.1 Basic Settings
13

Parameters Status
Device EUI App EUI Join Type
Application Key Device Address Network Session
Key Application Session Key RX2 Data Rate
RX2 Frequency/MHz
Confirmed Mode
ADR Mode
Rejoin Mode
Application Port

Description LoRaWAN® network status of this device. Unique ID of the device which can also be found on the label. Default App EUI is 24E124C0002A0001. OTAA and ABP mode are available. Appkey for OTAA mode, default is 5572404C696E6B4C6F52613230313823. DevAddr for ABP mode, default is the 5th to 12th digits of SN.
Nwkskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
Appskey for ABP mode, default is 5572404C696E6B4C6F52613230313823.
RX2 data rate to receive downlinks or send LoRa D2D command.
RX2 frequency to receive downlinks or send LoRa D2D command.
If the device does not receive ACK packet from network server, it will resend data once. Allow network server to adjust data rate of the device. The device will send a specific number of LinkCheckReq MAC packets to the network server every 30 mins to validate connectivity; If there is no response, the device will re-join the network. The port used for sending and receiving data, default port is 85.

14

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

LoRaWAN Version V1.0.2, V1.0.3, V1.1.0 are available.

Region

Frequency plan of this device.

Channel

Enter the index to select the frequency channel. 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

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) For -868M model, default frequency is EU868; for -915M model, default frequency is AU915.

4.2.3.2 LoRa D2D Settings
LoRa D2D protocol is developed by Milesight and used for setting up transmission among Milesight LoRa devices without gateway. When the LoRa D2D setting is enabled, VS121 can work as a LoRa D2D controller for sending control commands to trigger LoRa D2D agent devices.

Parameters Enable D2D
LoRa D2D Key Condition

Description
Enable or disable LoRa D2D feature.
Define a unique LoRa D2D key and this key is the same as the setting in LoRa D2D agent device. Default value: 5572404C696E6B4C6F52613230313823 Occupied: when total people counter value is non-zero in detection area

15

Unoccupied: when total people counter value is 0 in detection area

Control Command

Define a 2-byte hexadecimal control command (0x0000 to 0xffff). When the condition is meet, the device will send the control command to corresponding LoRa D2D agent devices.

Note: When this feature is enabled, the control command from this device will not send to

LoRaWAN® gateway.

4.2.4 Wi-Fi

Parameters

Description

Enabled Enable Wi-Fi feature.

Work Mode Work mode is fixed as AP and can not connect to other access point.

SSID

The unique name for this device Wi-Fi access point.

Protocol 802.11b (2.4 GHz), 802.11g (2.4 GHz), 802.11n (2.4 GHz) are optional.

Bandwidth 20 MHz or 40 MHz are optional.

Channel Select the wireless channel. Auto, 1,...11 are optional.

No Encryption, WEP Open System, WEP Shared Key, WPA-PSK, WPA2-PSK Security Mode
and WPA-PSK/WPA2-PSK are optional.

16

DHCP Server Settings
Static IP Settings

LAN IP Address: IP address that used to access the web GUI of sensor. Subnet mask: identify the subnet where the sensor is located. Start Address: define the beginning of IP address pool which assigns to DHCP clients. End Address: define the end of IP address pool which assigns to DHCP clients. Lease Time (min): the lease time on which DHCP client can use the IP address assigned by the sensor. Primary DNS Server: translate the domain name to IP address. Secondary DNS Server: backup DNS server. Add MAC address and static IP address if users need to add a static IP address to a specific computer.

4.2.5 Recognition Scheme
You can select the recognition scheme for region people counting.

Parameters Recognition
Scheme
Image

Description Select the recognition scheme based on your detection environment. Algorithm 1: Suitable for monitoring complex environments which have many objects, like office supplies (books, printers, lamps, etc.) Algorithm 2: Suitable for monitoring simple and clean environments like meeting rooms. Power Line Frequency: Select based on your power source frequency standard, 60 Hz and 50 Hz are available. Wide Dynamic Range: This function which can capture and display both bright and dark areas in the same frame that enables details of objects in both bright and dark areas to be visible. It's recommended to enable this function when the scene has a clear contrast between light and dark (such as a corridor).

17

4.3 System User

Parameters

Description Click Edit button 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.

Security Question

There are twelve default questions below, you can also customize the security questions.

18

Account Management

Admin Password: enter the correct admin password before adding an account. User Level: Set the privilege for the account. It's fixed as Administrator. User Name: Input user name for creating an account. Password: Input password for the account. Confirm: Confirm the password.

Security Service

Parameters Enable SSH
SSH Port

Description Enable SSH feature. Set the port to access this sensor via SSH.

System Info
All information about the hardware and software can be checked on this page.

19

System Maintenance
20

Parameters System Upgrade
Maintenance Reboot

Description
Software Version: The software version of the sensor. Local Upgrade: Click the Choose File button and select the upgrading file, then click the Upgrade button to upgrade. After the system reboots successfully, the update is done. You can check Reset after Upgrading to reset the device after upgrading it. Note: Do not disconnect the power of the device during the upgrade process. The device will be restarted to complete the upgrading. Reset settings: Click Reset button to reset the device to factory default settings Keep the User Information: Check this option to keep the user information when resetting Export Config File: Export configuration file. Import Config File: Click the Choose File button and select the configuration file, click Import button to import configuration file. Restart the device immediately

Auto Reboot
Set the date and time to enable device auto reboot, the device will reboot automatically according to the customized time in case that sensor overload after running a long time. Before configuration note that the date and time should correct.

About
User can view some open source software licenses about the sensor by clicking the View Licens es button.
21

5. Mount the Sensor

To better utilize the advantages of AI algorithm, there are some important steps to follow :

5.1 Recommended Height for Certain Object

Object

Height

Note

sitting object

>2.5m (8.2ft)

Commonly used for Region People Counting

standing object

>3m (9.8ft)

Commonly used for Line Crossing

(the optimum height is 3m)

Counting

Recommended detection ranges for region people counting at different heights:

Height

Recommended detection range

2.5m

3m*4m

3m

4.4m*5.7m

3.5m

4.9m*6.4m

4m

5.6m*7.4m

5.2 Illuminance Requirements for AI Analysis

 Region People Counting There is no requirement for illuminance, but we recommend enabling WDR function(Turn to page 17), which will make the image effect better.  Line Crossing Counting  We recommend that the illuminance is greater than 50Lux.  When the illuminance is between 20~50Lux, we recommend disabling WDR function.  When the illuminance is >50Lux and the scene has a clear contrast between light and dark
(such as a corridor), we recommend enabling WDR function. To know the illuminance of the current scene, you must use an illuminance meter, or you can refer to the following common environmental illuminance values:

place/environment Indoors at dusk cloudy indoor sunny indoor

illuminance 10Lux
5~50Lux 100~1000Lux

5.3 Recommended Installation for Line Crossing Counting
 Make sure the sensor is facing straight down, in line with the ceiling.

22

 Make sure there is sufficient white light on site.
 Avoid getting very strong light, like sunlight.
 Make sure there are no moving objects interfering in the counting area. For example, do not install the sensor too close to a door.
 Avoid installing the sensor near a mirror or avoid drawing the line to the mirror. 23

5.4 Factors Affecting Accuracy
 The color of hair or clothes is close to the floor color. Reason: It will make it difficult for the algorithm to identify the correct object, thus affecting the accuracy.  The floor color and wall color are black. Reason: The brightness of the scene will be reduced due to the absorption of light by black.  The contrast between light and dark in the scene is too strong. Reason: It will cause the people to be backlight, which will affect the accuracy of the detection.
5.5 Ceiling Installation
Step 1: Ensure the thickness of ceiling is more than 30 mm, then attach the mounting sticker to the ceiling and drill 4 holes with a diameter of 6 mm. Step 2: Fix the wall plugs into the ceiling holes. Step 3: Remove the cover on the device, then fix the device to the wall plugs via mounting screws; remember to adjust the mounting direction according to the detection area requirement and direction sticker on the inner cover. Step 4: Take the cover back to device; note that the Milesight Logo should be facing the LED indicator.
24

6. Device Payload

VS121 reports basic information only when joining the network and reports people counter according to reporting settings. All data are based on following format(HEX):

Channel1 Type1 Data1 Channel2 Type2 Data2 Channel 3 ...

1 Byte 1 Byte N Bytes 1 Byte 1 Byte M Bytes 1 Byte

...

For decoder examples please find files on https://github.com/Milesight-IoT/SensorDecoders.

6.1 Uplink Data
VS121 report basic information of sensor whenever joining the network and the number of people according to settings.

Channel

Type

Description

01(Protocol Version)

01=> V1

08 (Device SN)

12 digits

ff 09 (Hardware Version) 01 04 => V1.4

1f (Software Version)

1f 07 00 4b => V31.7.0.75

Byte 1: current total number of people

Byte 2: how many mapped regions is

c9 (Region People 04
Counter)

customized Byte 3-4: indicate which mapped regions having detected people, 0 means no people

detected, 1 means there are people detected in

this mapped region

Byte 1-2: in counter during the report interval 05 cc (Line Cross Counter)
Byte 3-4: out counter during the report interval

Maximum number of people in detection area

during the reporting interval of region people

06 cd (Max People Counter) counting.

Note: this value only update when you enable

"Report Regularly" option.

Example: 1. Device information

Channel

ff0101 ff086600b0940976 ff090100 ff1f1f07004b

Type

Value

Channel

Type

Value

25

ff Channel
ff

01 (Protocol Version)
Type 09
(Hardware version)

01 (V1) Value 0100 (V1.0)

ff Channel
ff

08 (Device SN)

66 00 b0 94 09 76

Type

Value

1f (Software 1f 07 00 4b

version)

(V31.7.0.75)

2. Region people counter regular uplink

Channel 04
Channel 06

04c9030800a1 06cd05

Type
c9 (Region People Counter)
Type cd (Max People
Counter)

Value Byte 1: 03 => There are 3 people totally now
Byte 2: 08 => there are 8 mapped regions Byte 3-Byte 4: 00 a1=>1010 0001
there are people detected in region 1, 6 and 8 Value
05 => during the reporting interval, the maximum number of people is 5

3. Line cross counter

Channel 05

05cc02000100

Type Cc (Line Crossing Counter)

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

6.2 Downlink Command
VS121 supports downlink commands to configure the device. Application port is 85 by default.

Channel

Type

10 (Reboot)

04 (Confirmed Mode)

ff 05 (Change LoRa Channel Mask)

Description ff (Reserved) 00: disable, 01: enable Byte 1: Channel index range 01: 0-15 02: 16-31 03: 32-47 04: 48-63

26

05: 64-79

06: 80-95

Byte 2-3: indicate disable or enable via every

bit, 0=disable, 1=enable

40 (ADR)

00: disable, 01: enable

41 (Configure Application Port) 1 Byte, default is 85

42 (Wi-Fi)

00: disable, 01: enable

50 (Region People Counting)

00: disable, 01: enable

43 (Region People Counting Report Regularly)

00: disable, 01: enable

44 (Region People Counting Report by Result)
45 ( Report by Result Mode)

00: disable, 01: enable 00: Zero and Non-zero 01: Once result changes

48 (Line Crossing Counting)

00: disable, 01: enable

Noteafter changing LoRa setting, the device will re-join the network.

Example: 1. Disable the Wi-Fi.

Channel ff

ff4200 Type 42 (Wi-Fi)

Value 00: disable

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

Channel ff

ff0501ff00 ff05020000 ff05030000 ff05040000 ff05050000

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

3. Reboot the device.

Channel ff

ff10ff Type 10 (Reboot)

Value ff (Reserved)
-END-

27



References