ADA Documentation Help

MagneticSwitch

When the message contains a MagneticSwitch payload, the value MagneticSwitch will be in the deviceType field of the uplink request.

Payloads

Data message

{ "battery": 100, "magnet_status": "close", "tamper_status": "uninstalled" }

Field

Type

Conditional

Description

Notes

battery

int

Yes

The remaining battery as a percentage

magnet_status

string

No

The current state of the magnetic switch

Possible values: 'close' or 'open'

tamper_status

string

Yes

Documentation still in preparation...

19 juni 2025