HOBEIAN ZG-228Z
| Model | ZG-228Z |
| Vendor | HOBEIAN |
| Description | Vibration alarm |
| Exposes | vibration, vibration_siren, alarm, muffling, alarm_time, alarm_volume, alarm_ring, sensitivity, battery |
| Picture | ![]() |
Options
How to use device type specific configuration
time_start: Reply to Tuya-specific time synchronization requests: "1970" - Reply with seconds since 1970/01/01 (recommended, should stop the device from asking), "2000" - Reply with seconds since 2000/01/01 (use if the weekday is wrong with 1970), "off" - Don't reply (use if replying causes too much traffic). Default for this device: "off". The value must be one of1970,2000,off
Exposes
Vibration (binary)
Indicates whether the device detected vibration. Value can be found in the published state on the vibration property. It's not possible to read (/get) or write (/set) this value. If value equals true vibration is ON, if false OFF.
Vibration siren (enum)
Vibration. Value can be found in the published state on the vibration_siren property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"vibration_siren": NEW_VALUE}. The possible values are: OFF, ON.
Alarm (enum)
Initiatively trigger an alarm. Value can be found in the published state on the alarm property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm": NEW_VALUE}. The possible values are: beep, ring, stop.
Muffling (binary)
Stop alarm. Value can be found in the published state on the muffling property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"muffling": NEW_VALUE}. If value equals ON muffling is ON, if OFF OFF.
Alarm time (numeric)
Alarm sounding time. Value can be found in the published state on the alarm_time property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_time": NEW_VALUE}. The minimal value is 0 and the maximum value is 1800. The unit of this value is s.
Alarm volume (enum)
Alarm volume. Value can be found in the published state on the alarm_volume property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_volume": NEW_VALUE}. The possible values are: low, middle, high, mute.
Alarm ring (enum)
Alarm ring. Value can be found in the published state on the alarm_ring property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"alarm_ring": NEW_VALUE}. The possible values are: mute, beep, music.
Sensitivity (numeric)
The larger the value, the more sensitive it is (refresh and update only while active). Value can be found in the published state on the sensitivity property. It's not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"sensitivity": NEW_VALUE}. The minimal value is 1 and the maximum value is 50.
Battery (numeric)
Remaining battery in %, can take up to 24 hours before reported. Value can be found in the published state on the battery property. It's not possible to read (/get) or write (/set) this value. The minimal value is 0 and the maximum value is 100. The unit of this value is %.

