Milesight WS558 User Manual

Milesight WS558 User Manual

Smart light controller featuring lorawan

Advertisement

Quick Links

Smart Light Controller
Featuring LoRaWAN
®
WS558
User Guide

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the WS558 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Milesight WS558

  • Page 1 Smart Light Controller Featuring LoRaWAN ® WS558 User Guide...
  • Page 2 Do not drop the device or subject it to physical shocks and strong vibration.  Declaration of Conformity WS558 is in conformity with the essential requirements and other relevant provisions of the CE, FCC, and RoHS. Copyright © 2011-2022 Milesight. All rights reserved.
  • Page 3 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 III, Xiamen 361024, China Revision History Date Doc Version Description July 20, 2022 V 2.0 Initial version...
  • Page 4: Table Of Contents

    3.2.1 Basic Settings ......................10 3.2.2 Frequency Settings .....................11 3.2.3 Multicast Settings .......................12 3.3 General Settings ........................15 3.4 Milesight D2D Settings ......................15 3.5 Maintenance .......................... 16 3.5.1 Upgrade ........................16 3.5.2 Backup .........................17 3.5.3 Reset to Factory Default .....................19 4.
  • Page 5: Product Introduction

    ® Smart Light Controller for the monitoring and control of lights. With 2 circuit types and 8 switches, WS558 can fit in different rooms without the need for re-wirings and reduce the renovation costs. Besides LoRaWAN , WS558 can be controlled whithout a ®...
  • Page 6: Hardware Overview

    2.2 Hardware Overview All circuits/switches are open with their LED indicator off by default. You can press the button beneath their LED indicator to close a circuit/switch, and the LED indicator will be lit on as the lamp connected to this circuit/switch. 2.3 Wiring Diagram LN Model:...
  • Page 7: Dimensions (Mm)

    2.4 Dimensions (mm) 3. Operation Guide 3.1 ToolBox Login WS558 can be configured via NFC or Type-C port. Please select one of them to complete the configuration. 3.1.1 NFC Configuration 1. Download and install “Milesight ToolBox” App from Google Play or Apple App Store.
  • Page 8: Usb Configuration

    1) Check the NFC area of your smartphone and it’s recommended to remove the phone case. 2) If the smartphone fails to read/write configurations via NFC, move the phone away and back to try again. 3) WS558 can also be configured on ToolBox via a dedicated NFC reader provided by Milesight IoT. 3.1.2 USB Configuration 1.
  • Page 9: Lorawan Settings

    4. After logging into the ToolBox, you can check device status and change device settings. 3.2 LoRaWAN Settings LoRaWAN settings are used to configure the data transmission parameters in the LoRaWAN ® network.
  • Page 10: Basic Settings

    3.2.1 Basic Settings WS558 supports basic configurations like 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 11: Frequency Settings

    1) Please contact your sales representative for device EUI list if there are many units. 2) Please contact your sales representative 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.
  • Page 12: Multicast Settings

    WS558 supports setting up several multicast groups to receive multicast commands from network servers and users can use this feature to control devices in bulks. 1. Enable Multicast Group on WS558, set a unique multicast address and keys to distinguish other groups. You can also keep these settings by default.
  • Page 13 Multicast Group 3: 5572404C696E6B4C6F52613230313825 Multicast Group 4: 5572404C696E6B4C6F52613230313826 2. Add a multicast group on the network server. Take Milesight UG6x gateway as example, go to “Network Server -> Multicast Groups”, click “Add” to add a multicast group. Fill in the multicast group information the same as WS558 settings, and select the devices which...
  • Page 14 3. Go to “Network Server -> Packets”, select the multicast group and fill in the downlink command, click “Send”. The network server will broadcast the command to devices which belong to this multicast group. Note: ensure all devices’ application ports are the same.
  • Page 15: General Settings

    1. Ensure the RX2 datarate and RX2 frequency in LoRaWAN settings are the same as the Milesight D2D controller device. 2. Enable the Milesight D2D feature, and define a unique Milesight D2D key to be the same as the setting in Milesight D2D controller device. (Default Milesight D2D Key: 5572404C696E 6B4C6F52613230313823) 3.
  • Page 16: Maintenance

    4. These control commands can be configured in Milesight D2D controller device. When Milesight D2D controller device is triggered, it will send the pre-defined control command to control the circuits/switches of WS558 to on, off or inverse status. 3.5 Maintenance 3.5.1 Upgrade...
  • Page 17: Backup

    1) Operation on ToolBox is not supported during the upgrade. 2) Only the Android version ToolBox supports the upgrade feature. 3.5.2 Backup WS558 supports configuration backup for easy and quick device configuration in bulk. Backup is allowed only for devices with the same model and LoRaWAN ®...
  • Page 18 ToolBox App: 1. Go to “Template” page on the App and save current settings as a template. You can also edit the template file. 2. Select one template file saved in the smartphone and click “Write”, then attach it to another device to write configuration.
  • Page 19: Reset To Factory Default

    3.5.3 Reset to Factory Default Please select one of the following methods to reset the device: Via ToolBox Software: Go to “Maintenance -> Backup and Reset” of ToolBox software, click “Reset” to complete. Via ToolBox App: Go to “Device -> Maintenance” to tap “Reset”, then attach smartphone with NFC area to the device to complete.
  • Page 20: Device Payload

    1 Byte 1 Byte M Bytes 1 Byte For decoder examples you can find at https://github.com/Milesight-IoT/SensorDecoders. 5.1 Basic Information WS558 reports basic information of the device whenever it joins the network. Channel Type Description 01(Protocol Version) 01 => V1 09 (Hardware Version) 01 40 =>...
  • Page 21: Sensor Data

    Type Value 26 (Power 01=>Enabled Consumption) 5.2 Sensor Data WS558 reports switch status and electrical data according to reporting interval (20 mins by default). For Switch model, it only uploads switch status. Channel Type Description UINT16, Unit: V 74 (Voltage) Resolution: 0.1V...
  • Page 22: Downlink Commands

    41=16193 Byte 2: 00 Status) mA=16.193A =>All close 5.3 Downlink Commands WS558 supports downlink commands to configure the device. The application port is 85 by default. Channel Type Description Byte 1: every switch control status per bit, 0=not allow control, 1=allow control...
  • Page 23 27 (Reset Power Consumption) 28 (Enquire Electrical Status) Example: 1. Close L1 and open L6. 082120 Channel Type Command Byte 1: 21=0010 0001 =>L1 and L6 allow control Byte 2: 20 = 0010 0000 => L1 close, L6 open 2. Close all switches. 08ff00 Channel Type...
  • Page 24 Channel Type Value 26 (Power 00 = disable Consumption) 7. Reset power consumption ff27ff Channel Type Value 27(Reset Power ff (Reserved) Consumption) -END-...

Table of Contents