Just realized you won’t need the tweaker. Use the following device type handler, it exposes the parameters.
I won’t be converting the GoControl/Linear/Vision Siren DTH into an Edge Driver so it will stop working once the Groovy platform is retired, but it probably doesn’t need a custom driver.
This is a new device handler for the GoControl Siren, Linear Siren and possibly some other generic sirens. Model: WA105DBZ-1
This device handler supports the following capabilities:
Alarm
Battery
Music Player
Polling
Switch
Tone
MAIN SCREEN
[image]
The main screen displays the current state of the device and allows you to turn on/off the Siren, Strobe, Siren/Strobe and also play the Beep tone.
Be aware that there are settings that can override the functionality of the siren, strobe, and both buttons.
SETTINGS
[image] [image]
Automatically turn off after:
Turns the device off after certai…
If you haven’t used custom code before, it’s pretty straightforward. Basically you’re going to copy the authors code and paste it into your account. Here’s the FAQ for that process:
The original FAQ information in this thread refers to the original smartthings architecture, which was in place through the end of 2022 and a little beyond. Custom code was written in the groovy programming language and ran in the smartthings cloud.
As of May 2023, you can no longer add new Groovy DTH‘s or smartapps to your smartthings account. So if you came here because of a link in an old forum thread, or on another site, I’m afraid the Groovy information is no longer usable.
All of this was replaced by a new architecture. Cloud to cloud integrations use the smartthings API. Hub connected devices, mostly Zigbee and zwave, now use “Edge Drivers,” written in the LUA programming language. Here’s the official announcement on those:
The process for using a custom Edge Driver in the new …