prefixkit Ask an engineerAsk Support RU

Zigbee devices Other devices

Custom devices (DiY)) AirWick_nRF52840

AirWick smart aerosol dispenser. Works with Zigbee2MQTT with no vendor hub or cloud: it pairs with a Zigbee stick and shows up in Home Assistant.

Vendor
Custom devices (DiY))
Model
AirWick_nRF52840
Type
Other devices
Power
battery: an end device, does not extend the mesh
Firmware updates (OTA)
no

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
SprayspraySPRAYsettable
ModemodeOFF, AUTO, SCHEDULE, PROGRAMMABLEread only
Battery voltagebattery_vVread only
Batterybattery% · 0…100read only
Spray durationspray_duration_msms · 300…1000settable
AUTO: intervalauto_interval_minmin · 1…1440settable
PROGRAM — Monday: enabledprogram_mon_enabled—settable
PROGRAM — Monday: startprogram_mon_start—settable
PROGRAM — Monday: endprogram_mon_end—settable
PROGRAM — Monday: intervalprogram_mon_interval_minmin · 1…1440settable
PROGRAM — Tuesday: enabledprogram_tue_enabled—settable
PROGRAM — Tuesday: startprogram_tue_start—settable
PROGRAM — Tuesday: endprogram_tue_end—settable
PROGRAM — Tuesday: intervalprogram_tue_interval_minmin · 1…1440settable
PROGRAM — Wednesday: enabledprogram_wed_enabled—settable
PROGRAM — Wednesday: startprogram_wed_start—settable
PROGRAM — Wednesday: endprogram_wed_end—settable
PROGRAM — Wednesday: intervalprogram_wed_interval_minmin · 1…1440settable
PROGRAM — Thursday: enabledprogram_thu_enabled—settable
PROGRAM — Thursday: startprogram_thu_start—settable
PROGRAM — Thursday: endprogram_thu_end—settable
PROGRAM — Thursday: intervalprogram_thu_interval_minmin · 1…1440settable
PROGRAM — Friday: enabledprogram_fri_enabled—settable
PROGRAM — Friday: startprogram_fri_start—settable
PROGRAM — Friday: endprogram_fri_end—settable
PROGRAM — Friday: intervalprogram_fri_interval_minmin · 1…1440settable
PROGRAM — Saturday: enabledprogram_sat_enabled—settable
PROGRAM — Saturday: startprogram_sat_start—settable
PROGRAM — Saturday: endprogram_sat_end—settable
PROGRAM — Saturday: intervalprogram_sat_interval_minmin · 1…1440settable
PROGRAM — Sunday: enabledprogram_sun_enabled—settable
PROGRAM — Sunday: startprogram_sun_start—settable
PROGRAM — Sunday: endprogram_sun_end—settable
PROGRAM — Sunday: intervalprogram_sun_interval_minmin · 1…1440settable
UTC timezonetimezone_hoursh · -12…14settable
Spray counterspray_count—read only
Reset counterreset_counterRESETsettable
Last spray reasonlast_spray_reasonNone, Zigbee, Button, AUTO, SCHEDULE, PROGRAMread only
Last spraylast_spray_time—read only
Next spraynext_spray_time—read only
Time synchronizedtime_valid—read only

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:

{
  "spray": "SPRAY",
  "mode": "OFF",
  "battery_v": 0,
  "battery": 87,
  "spray_duration_ms": 650,
  "auto_interval_min": 721,
  "program_mon_enabled": false,
  "program_mon_interval_min": 721,
  "program_tue_enabled": false,
  "program_tue_interval_min": 721,
  "program_wed_enabled": false,
  "program_wed_interval_min": 721,
  "program_thu_enabled": false,
  "program_thu_interval_min": 721,
  "linkquality": 120
}

Send commands to zigbee2mqtt/my_device/set:

mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"program_mon_enabled":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"program_tue_enabled":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"program_wed_enabled":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"program_thu_enabled":true}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"program_fri_enabled":true}'

Watch the topics live from the browser: MQTT client.

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?