prefixkit Ask an engineerAsk Support RU

Zigbee devices Switches and relays

ONOKOM HR-1-ZB-S

Adapter for household and semi-industrial Haier systems. Works with Zigbee2MQTT with no vendor hub or cloud: it pairs with a Zigbee stick and shows up in Home Assistant.

Vendor
ONOKOM
Model
HR-1-ZB-S
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
Ac connectedac_connecteddisconnected, invalid_data_recieved, connected_with_issues, connectedread only
On / offstate—settable
Current temperaturecurrent_temperature°Cread only
Target temperaturetarget_temperature°C · 16…30settable
Modesystem_modeoff, auto, cool, heat, fan_only, drysettable
Modemodeheat, cool, auto, dry, fan_onlysettable
Allow the use of an external temperature sensorallow_the_use_of_an_external_temperature_sensorNo, Yessettable
External air temperatureexternal_air_temperature°C · -50…50settable
External temperature sensor validity periodexternal_temperature_sensor_validity_period0…100settable
Outdoor air temperatureoutdoor_air_temperature°Cread only
Zb fan speedzb_fan_speed1…5settable
Vertical vanesvertical_vanes0…6settable
Horizontal vaneshorizontal_vanes0…8settable
Fan speedfan_speed0…3settable
Smart fan speedsmart_fan_speed0…5settable
Vanes swingvanes_swing0…3settable
Status ledstatus_lednormal_mode, disabled_if_no_errors, disabled_untill_reboot, always_disabled, green_untill_reboot, red_untill_rebootsettable
Quiet modequiet_mode—settable
Turbo modeturbo_mode—settable
Sleep modesleep_mode—settable
Ionizationionization—settable
Self cleaningself_cleaning—settable
Screen lightscreen_light—settable
Beeperbeeper—settable

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:

{
  "ac_connected": "disconnected",
  "state": "ON",
  "current_temperature": 0,
  "target_temperature": 23,
  "system_mode": "off",
  "mode": "heat",
  "allow_the_use_of_an_external_temperature_sensor": "No",
  "external_air_temperature": 0,
  "external_temperature_sensor_validity_period": 50,
  "outdoor_air_temperature": 0,
  "zb_fan_speed": 3,
  "vertical_vanes": 3,
  "horizontal_vanes": 4,
  "fan_speed": 2,
  "linkquality": 120
}

Send commands to zigbee2mqtt/my_device/set:

mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"state":"TOGGLE"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"system_mode":"auto"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"mode":"cool"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"allow_the_use_of_an_external_temperature_sensor":"Yes"}'
mosquitto_pub -t zigbee2mqtt/my_device/set -m '{"status_led":"disabled_if_no_errors"}'

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

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?