Skip to content

Commit

Permalink
Update HS2WD-E.md (Koenkk#2601)
Browse files Browse the repository at this point in the history
Sorry, had to redo some of the changes. Now it's tested and working properly
  • Loading branch information
Siemtrick authored Feb 29, 2024
1 parent 0f546fc commit 90bfe3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/devices/HS2WD-E.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ Push the included pin in the small hole on the case of the device and hold for ~

### Triggering the alarm
The alarm can be trigged by publishing to `zigbee2mqtt/FRIENDLY_NAME/set` message
`{"warning": {"duration": "10", "mode": "emergency", "strobe": "false"}}`.
`{"warning": {"duration": 10, "mode": "emergency", "strobe": false}}`.

Where:
- `duration`: the number of seconds the alarm will be on (max is 1800 seconds)
Expand All @@ -52,7 +52,7 @@ The minimal value is `0` and the maximum value is `100`.
The unit of this value is `%`.

### Warning (composite)
Can be set by publishing to `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"warning": {"mode": "VALUE", "level": "VALUE", "strobe_level": "VALUE", "strobe": "VALUE", "strobe_duty_cycle": "VALUE", "duration": "VALUE"}}`
Can be set by publishing to `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"warning": {"mode": "VALUE", "level": "VALUE", "strobe_level": "VALUE", "strobe": VALUE, "strobe_duty_cycle": VALUE, "duration": VALUE}}`
- `mode` (enum): Mode of the warning (sound effect) allowed values: `stop`, `burglar`, `fire`, `emergency`, `police_panic`, `fire_panic`, `emergency_panic`
- `level` (enum): Sound level allowed values: `low`, `medium`, `high`, `very_high`
- `strobe_level` (enum): Intensity of the strobe allowed values: `low`, `medium`, `high`, `very_high`
Expand Down

0 comments on commit 90bfe3f

Please sign in to comment.