Skip to main content
Skip to main content
Current and energy meter

Milesight WS515 LoRaWAN decoder and payload format

The Milesight WS515 is a LoRaWAN current and energy meter that reports energy, power, current, voltage and temperature. It is rated IP20 and it works from -20 to 60 °C.

Payload format

An uplink from the device as it arrives at the network server, and what the official decoder returns for it. Examples come from the decoder's own test cases.

Example 1 · fPort 85

Payload (hex)

08 70 01 05 81 61 07 C9 A8 00 03 74 83 08 06 83 1D 00 00 00 04 80 23 00 00 00

Decoded (JSON)

{
  "socket_status": "on",
  "power_factor": 97,
  "current": 168,
  "voltage": 217.9,
  "power_consumption": 29,
  "active_power": 35
}
FieldValue
socket_statuson
power_factor97
current168
voltage217.9
power_consumption29
active_power35

Specifications

Manufacturer
Milesight
Model
WS515
Type
Current and energy meter
Measures
energy, power, current, voltage, temperature
Protection
IP20
Operating temperature
-20 … 60 °C
LoRaWAN regions
EU863-870, US902-928, AU915-928, AS923, CN470-510, KR920-923, IN865-867, RU864-870

Connect it to Cloud Studio IoT

  1. 1

    Register the device in your network server

    Add it to The Things Stack, ChirpStack, Actility ThingPark or LORIOT with its DevEUI, JoinEUI and AppKey and the frequency plan of your region.

  2. 2

    Apply the decoder

    In The Things Stack, pick the model from the device repository and its decoder is applied for you. In ChirpStack v4, paste the official decoder as the device profile's JavaScript codec.

  3. 3

    Connect the network server to Cloud Studio IoT

    Set up the integration once per network server; every device registered there then reaches Cloud Studio IoT with its decoded values.

  4. 4

    Build dashboards and alarms

    The decoded fields become device variables for dashboards, alarms by email or SMS, and scheduled reports.

See your Milesight WS515 on a dashboard

Start a free trial, add the device with its DevEUI and get dashboards and alarms from its next uplink.

Talk to us

Frequently asked questions

Device facts and decoder examples: The Things Network Device Repository (Apache-2.0) · commit 7693223, imported 2026-10-05.