[RELEASE] Tuya Smart Siren Zigbee driver

REVISIONS HISTORY:

  • ver. 1.0.0 2022-04-02 - Inital test version
  • ver. 1.1.0 2022-11-05 :
    • alarm events are registered upon confirmation from the device only;
    • added switch capability;
    • added Tone capability (beep command);
    • fast combined Tuya commands;
    • default settings are restored after the beep and playSound commands
    • added 'Chime' capability : setVolume; volumeUp, volumeDown; playSound;
    • Preferences: beepVolume; playSoundVolume; playSoundDuration
    • unscheduled() is called when preferences are updated.
  • ver. 1.1.1 2022-12-27 - bug fix: playing a sound from RM rule without specifying the volume level was making the device freeze; debug logs cleanup; sounds titles improvements;
  • ver. 1.1.2 2022-12-31 - bug fix: the sound titles changes in the previous version could make the siren freeze!; Import button changed to the development branch
  • ver. 1.2.0 2023-01-02 - _TZE200_d0yu2xgi (NEO) experimental support (w/o T/H); added separate preferences for alarm and Melody, Volume, and Duration
  • ver. 1.2.1 2023-05-26 - added _TZE204_t1blo2bj in Neo group; installed() bug fix;
  • ver. 1.2.2 2023-07-19 - fix: moved _TZE204_t1blo2bj in Tuya group;
  • ver. 1.3.0 2024-10-07 - setVolume bug fix; adding Tuya Solar Alarm '_TZE200_nlrfgpny', '_TZE204_nlrfgpny'
  • ver. 1.3.1 2024-10-08 - restored the overwritten code changes in the previous version;
  • ver. 1.3.2 2024-10-09 - (dev.branch) debug enabled; added Refresh() command; setMelody(); setDuration(); stop(); both(); siren(); strobe();
  • ver. 1.3.3 2024-11-20 - added TS0601 _TZE204_hcxvyxa5 and _TZE204_q76rtoa9 in Tuya group;
  • ver. 1.3.4 2025-02-22 - added TS0601 _TZE284_nlrfgpny in TuyaSolarAlarm group;

The latest development branch version can be updated manually from here : https://raw.githubusercontent.com/kkossev/Hubitat/development/Drivers/Tuya%20Smart%20Siren%20Zigbee/Tuya_Smart_Siren_Zigbee_lib_included.groovy

An archive containing older versions is available from this link.