CTM Lyng MBD-S
Model | MBD-S |
Vendor | CTM Lyng |
Description | MBD-S, motion detector with 16A relay |
Exposes | switch (state), illuminance, illuminance_lux, occupancy, device_enabled, linkquality |
Picture |
Options
How to use device type specific configuration
-
illuminance_calibration
: Calibrates the illuminance value (percentual offset), takes into effect on next report of device. The value must be a number. -
illuminance_lux_calibration
: Calibrates the illuminance_lux value (percentual offset), takes into effect on next report of device. The value must be a number. -
no_occupancy_since
: Sends a message after the last time no occupancy (occupancy: false) was detected. When setting this for example to [10, 60] a{"no_occupancy_since": 10}
will be send after 10 seconds and a{"no_occupancy_since": 60}
after 60 seconds. The value must be a list of [object Object].
Exposes
Switch
The current state of this switch is in the published state under the state
property (value is ON
or OFF
).
To control this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set
with payload {"state": "ON"}
, {"state": "OFF"}
or {"state": "TOGGLE"}
.
To read the current state of this switch publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get
with payload {"state": ""}
.
Illuminance (numeric)
Raw measured illuminance.
Value can be found in the published state on the illuminance
property.
It’s not possible to read (/get
) or write (/set
) this value.
Illuminance_lux (numeric)
Measured illuminance in lux.
Value can be found in the published state on the illuminance_lux
property.
It’s not possible to read (/get
) or write (/set
) this value.
The unit of this value is lx
.
Occupancy (binary)
Indicates whether the device detected occupancy.
Value can be found in the published state on the occupancy
property.
It’s not possible to read (/get
) or write (/set
) this value.
If value equals true
occupancy is ON, if false
OFF.
Device_enabled (binary)
Turn the device on or off.
Value can be found in the published state on the device_enabled
property.
To read (/get
) the value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/get
with payload {"device_enabled": ""}
.
To write (/set
) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set
with payload {"device_enabled": NEW_VALUE}
.
If value equals ON
device_enabled is ON, if OFF
OFF.
Linkquality (numeric)
Link quality (signal strength).
Value can be found in the published state on the linkquality
property.
It’s not possible to read (/get
) or write (/set
) this value.
The minimal value is 0
and the maximum value is 255
.
The unit of this value is lqi
.