Skip to content

Cookie preferences

We use cookies for our own analytics and to see how our campaigns perform. We never sell your data. Necessary cookies keep the site working and cannot be switched off. See our Cookie Policy for details.

Security, load balancing and remembering your cookie choice.

Show us which pages people read and how they find the site, so we can improve it (Google Analytics).

Show us which of our ad campaigns bring visitors to the site (Google Ads).

© 2026 The ThingsBoard Authors
Try for free

ThingsBoard Cloud

Choose your data region

Your data stays in the region you choose, for residency and compliance. No credit card required.

Rather run it yourself? Install on your own servers

WS202 PIR & Light LoRaWAN® Sensor

  • Device
  • 417 installs
  • v1.0.2
  • Jun 15, 2026
  • MIT license
  • v4.2+
WS202 PIR & Light LoRaWAN® Sensor

The Milesight WS202 is a compact battery-powered LoRaWAN Class A PIR and light sensor detecting motion and occupancy up to 8 m with a 120°×100° field of view. The built-in light sensor measures 1–60,000 lux for combined occupancy and brightness-triggered automation. With NFC configuration, Milesight D2D device-to-device control, 15 km rural range, and easy installation, it suits smart offices, homes, schools, and warehouses.

Hardware Type
  • Sensor
Connectivity
  • LoRaWAN
Use Cases
  • Smart Office
  • Health Care

WS202 PIR & Light Sensor 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.

Device Technical Documentation

Download datasheets and manuals for the WS202 PIR & Light LoRaWAN® Sensor

WS202 PIR & Light LoRaWAN® Sensor Product page WS202 PIR & Light LoRaWAN® Sensor Datasheet

Add Your Device to the Community

Built or ship IoT hardware? Package your device as a ZIP and publish it to the IoT Hub so users can provision it in one click.