prefixkit Ask an engineerAsk Support RU

Zigbee devices Switches and relays

Wiren Board WB-MSW-ZIGBEE_v.4_official

Wall-mounted multi sensor with official Wiren Board firmware. Works with Zigbee2MQTT with no vendor hub or cloud: it pairs with a Zigbee stick and shows up in Home Assistant.

Vendor
Wiren Board
Model
WB-MSW-ZIGBEE_v.4_official
Type
Switches and relays
Power
mains: usually a router that extends the mesh
Firmware updates (OTA)
yes, through Zigbee2MQTT

Find it in shops: AliExpress

Links open a search in the shop; some are affiliate links: buying through them costs you nothing extra and supports this site. We do not sell devices or get them from manufacturers.

What it exposes

FeaturePropertyValuesControl
Switch (buzzer)state_buzzer—settable
Switch (heater)state_heater—settable
Switch (led_red)state_led_red—settable
Switch (led_green)state_led_green—settable
Illuminanceilluminancelxread only
Temperaturetemperature°Cread only
Humidityhumidity%read only
Motionoccupancy—read only
CO₂co2ppmread only
Noise levelnoise_leveldBAread only
Noisenoise—read only
Noise thresholdnoise_thresholddBA · 0…150settable
Noise timeoutnoise_timeouts · 0…2000settable
Status ledstatus_led—settable
Connectivityconnectivityoffline, online, firmware_update, component_updateread only
Modbus slave idmodbus_slave_id—read only
Serial numberserial_number—read only
Fw versionfw_version—read only
Fw signaturefw_signature—read only
Boot versionboot_version—read only
Component versioncomponent_version—read only
Component signaturecomponent_signature—read only
Temperature offsettemperature_offset°C · -10…10settable
Occupancy leveloccupancy_level—read only
Occupancy sensitivityoccupancy_sensitivity0…2000settable
Occupancy timeoutoccupancy_timeouts · 0…2000settable
VOCvocµg/m³read only
Ir rom id (ir)ir_rom_id_ir0…79settable
Ir action (ir)ir_action_irstop, learn_ram, learn_rom, play_ram, play_rom, clear_all_romsettable

MQTT: state and commands

Zigbee2MQTT publishes the device state to zigbee2mqtt/my_device (my_device is the name you give the device). An example message:

{
  "state_buzzer": "ON",
  "state_heater": "ON",
  "state_led_red": "ON",
  "state_led_green": "ON",
  "illuminance": 120,
  "temperature": 21.6,
  "humidity": 46.2,
  "occupancy": false,
  "co2": 640,
  "noise_level": 0,
  "noise": false,
  "noise_threshold": 75,
  "noise_timeout": 1000,
  "status_led": false,
  "linkquality": 120
}

Send commands to zigbee2mqtt/my_device/set:

mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_buzzer":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_heater":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_led_red":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state_led_green":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"status_led":true}'

Watch the topics live from the browser: MQTT client.

Home Assistant automation example

Zigbee2MQTT creates Home Assistant entities from the device name. If it is called my_device, an automation in automations.yaml can look like this:

- alias: "Off at night"
  mode: single
  triggers:
    - trigger: time
      at: "23:30:00"
  actions:
    - action: switch.turn_off
      target:
        entity_id: switch.my_device_buzzer

Check the YAML: YAML checker.

How to pair it

  1. In Zigbee2MQTT click Permit join.
  2. Put the device in pairing mode: usually a long press of the reset button (5–10 s) until the LED blinks; bulbs: switch the power off and on 5–6 times.
  3. Keep the device close to the coordinator or a router while pairing.
  4. Give it a clear name: MQTT topics and Home Assistant entities are built from it.

Exact procedure and model notes: the device page in the Zigbee2MQTT docs. No coordinator yet: coordinator picker.

Similar devices

Idea?