Page 1
Environment Monitoring Sensor Featuring LoRaWAN ® EM300 Series User Guide...
Page 2
In order to protect the security of the device, please change device password when first configuration. The default password is 123456. The device is not intended to be used as a reference sensor, and Milesight will not should responsibility for any damage which may result from inaccurate readings.
® ® 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 Milesight IoT Cloud or through the user's own Network Server. 1.2 Features Up to 11 km communication range ...
2.2 Hardware Overview 2.3 GPIO Wiring (EM300-DI) 2.3 Dimensions(mm) 2.4 Power Button Note: The LED indicator and power button are inside the device. Turn on/off and reset can also be configured via NFC. Function Action LED Indication Turn On Press and hold the button for more than 3 seconds. Off →...
2) If the smartphone fails to read/write configurations via NFC, keep the phone away and back to try again. 3) EM300 series can also be configured by dedicated NFC reader provided by Milesight IoT or you can configure it via TTL interface inside the device.
3.2 LoRaWAN Settings EM300 series support 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.
Page 9
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: Indicate that all channels are disabled Select Standard-Channel mode or Single-Channel mode. When Single-Channel Channel Mode mode is enabled, only one channel can be selected to send uplinks.
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) Select OTAA mode if you use Milesight IoT Cloud to manage devices. 4) Only OTAA mode supports rejoin mode.
Parameters Description Reporting interval of transmitting battery level and liquid status to Reporting Interval network server. Range: 1-1440 mins, Default: 1440 mins When the liquid is full, click the Calibrate button to record the full status. After calibrated, the device will report a calibration result packet. Note: Full Liquid 1) The device will calibrate once automatically after turning on 20...
EM300-TH/MCS/SLD/ZLD/DI supports temperature and humidity calibration. The device will add the calibration value to raw value and upload the final values to network server. 3.5.2 Threshold & Alarm Settings EM300 series supports various types of alarm settings. 1) Temperature Threshold Alarm: EM300-TH/MCS/SLD/ZLD/DI supports temperature threshold alarm settings. When current temperature is over or below the threshold value, the device will report the threshold alarm packet once instantly.
Page 13
Parameters Description The interval to detect temperature after threshold alarm triggers. Collect Interval This interval should be less than reporting interval. 2) EM300-MCS/SLD/ZLD/MLD: Parameters Description After enabled, the device will report the alarm packet when the door Alarm Reporting status changes to open or water is detected to leak. The interval to report digital status after alarm triggers.
Page 14
Parameters Description After enabled, the device will report the alarm packet according to Alarm Reporting digital change options. The interval to report digital status after alarm triggers. This Alarm Reporting Interval interval should be less than reporting interval. Alarm Reporting Times Alarm packet report times after alarm triggers.
3.5.3 Data Storage EM300 series (except EM300-CL) supports storing data records locally and exporting data via ToolBox App. The device will record the data according to reporting interval and even join network.
ToolBox App can only export last 14 days’ data. 3.5.4 Data Retransmission EM300 series (except EM300-CL) supports data retransmission to ensure network server can get all data even if network is down for some times. There are two ways to get the lost data: Network server sends downlink commands to to enquire the historical data for specifying ...
Page 17
When network is down if no response from LinkCheckReq MAC packets for a period of time, the device will record the network disconnected time and re-transmit the lost data after device re-connects the network. Here are the steps for data retransmission: 1.
® 2. Go to Device > Setting > D2D Settings to enable Milesight D2D feature. 3. Define an unique D2D key which is the same as Milesight D2D agent devices. (Default D2D key: 5572404C696E6B4C6F52613230313823) 4. Enable one of status mode and configure 2-byte hexadecimal Milesight D2D command. When the status is triggered, EM300 series sensor will send this control command to corresponding Milesight D2D agent devices.
Note: 1) If you enable LoRa Uplink, a LoRaWAN uplink packet that contains corresponding alarm ® status will be sent to gateway after the Milesight D2D control command packet. Otherwise, the alarm packet will not send to LoRaWAN gateway. ®...
another device to write configuration. Note: Slide the template item left to edit or delete the template. Click the template to edit the configurations. 3.6.3 Reset to Factory Default Please select one of following methods to reset device: Via Hardware: Hold on power button (internal) for more than 10s until LED blinks.
Page 21
Note: Reset operation will not clean the stored data, please click Data Cleaning to clear data if necessary.
4. Installation 4.1 EM300 Device Installation 1. Attach EM300 device to the wall and mark the two holes on the wall. The connecting line of two holes must be a horizontal line. 2. Drill the holes according to the marks and screw the wall plugs into the wall. 3.
Page 23
EM300-CL Attach the detection electrode sheet to the wall of the container seamlessly, aligning it with the bottom of the container to detect the liquid capacity. The detection electrode sheet can be fixed to the container wall using 3M tape, and then covered with protective foam on the outside. Or you can first attach the protective foam to the outside of the detection electrode sheet and then fix them to the container wall using a cable tie.
1 Byte M Bytes 1 Byte For decoder examples please find files on https://github.com/Milesight-IoT/SensorDecoders. 5.1 Basic Information EM300 series sensors report basic information of sensor whenever joining the network. Channel Type Description 0b (Power On) ff, this means the device is on 01(Protocol Version) 01=>V1...
Humidity UINT8/2, Unit: %RH 00: Not leak, 01: Leaked Water Leakage 00: Close, 01: Open (Separate) Magnet Status Examples: 1. Periodic packet: reports according to reporting interval. EM300-MCS: 03671001 046871 050001 Channel Type Value Channel Type Value 10 01 => 01 10 = 113/2=56.5%RH (Temperature) (Humidity)
Page 26
Battery Level UINT8, Unit: % Temperature INT16/10, Unit: °C Humidity UINT8/2, Unit: %RH 00: Low, 01: High Digital Input UINT32, for firmware V1.2 and before Pulse Counter 8 Bytes, water_conv(2B) + pulse_conv (2B) + Water consumption (4B) Water/Pulse_conv: UINT16/10, see description on Pulse Value Conversion Water consumption: Float32...
1e 01 => 01 1e = 94/2=47% (Temperature) (Humidity) 286/10=28.6°C Channel Type Value Water_conv & Pulse_conv: 0a00=>10/10=1 e1(Counter) Water consumption: 00 00 5b 43=>43 5b 00 00=219 2. Temperature threshold alarm packet: reports once when temperature reaches the threshold. 03671001 Channel Type Value...
03ed00 Channel Type Value Liquid status: 01=empty 5.3 Downlink Commands EM300 series sensors support downlink commands to configure the device. The application port is 85 by default. 5.3.1 EM300-TH/MCS/xLD Command Channel Type Description Reboot Collect Interval 2 Bytes, unit: s...
Page 29
00 -Only use LoRaWAN 01 -Only use D2D 03 -Use D2D&LoRaWAN Uplink Data Storage 00: disable, 01: enable Data 00: disable, 01: enable Retransmission 3 Bytes Data Byte 1: 00 Retransmission Byte 2-3: interval time, unit: s Interval range: 30~1200s (600s by default) Examples: 1.
5.3.2 EM300-DI Command Channel Type Description Reboot Collect Interval 2 Bytes, unit: s Report Interval 2 Bytes, unit: s UTC Time Zone 2 Bytes, INT16/10 Data Storage 00: disable, 01: enable Data 00: disable, 01: enable Retransmission 3 Bytes Data Byte 1: 00 Retransmission Byte 2-3: interval time, unit: s...
Page 31
Bit 7~3: 00001 7 Bytes, 01+Number (1B)+Enable(1B)+ Timeout Interval (4B) Number: 00 -Water flow threshold setting Water Flow 01 -Water flow timeout alarm Threshold Alarm 02 -Water outage timeout alarm Enable: 00 -Disable, 01 -Enable Timeout Interval: UINT32, unit: min Duration for Water Flow 2 Bytes, unit: s...
Channel Type Value ec ff => ff ec = -20/10=-2 The time zone is UTC-2 4. Set pulse conversion: 1ml=10 pulses. ffa2 01 0a00 6400 6d6c0000 Channel Type Value 01=Enable Water_conv: 0a00=>00 0a=10/10=1 Pulse_conv: 6400=>0064=100/10=10 Unit: 6d 6c 00 00=>ml (hex to ascii) 5.
81=Enable alarm reporting and alarm dismiss report 0500=>00 05=5 reporting times 5.4 Historical Data Enquiry EM300 series sensor supports sending downlink commands to enquire historical data for specified time point or time range. Before that, ensure the device time is correct and data storage feature was enabled to store the data.
Page 34
6b (Enquire data in time point) 4 Bytes, unix timestamp Start time (4 bytes) + End time (4 bytes), 6c (Enquire data in time range) Unix timestamp 6d (Stop query data report) 3 Bytes, Byte 1: 01 6a (Report Interval) Byte 2: interval time, unit: s, range: 30~1200s (60s by default) Reply format:...
Page 35
minutes and users send command to search for 17:00’s data, if the device find there is data stored in 17:00, it will upload this data; if not, it will search for data between 16:50 to 17:00 and upload the data which is closest to 17:00. Example: 1.
Need help?
Do you have a question about the EM300 Series and is the answer not in the manual?
Questions and answers