I have a siren speaker left over from an old ADT system. I purchased an elk siren driver and 120V transformer. I pluged it into an IKEA switch and found a DTH on github for the switch that added siren capibilities to the switch so it shows up as a siren in the Smart Home monitor. It works great but it’s cloud based. Can the custom DTH be converted it to an edge driver?
Yes, but the syntax of the commands is different. You can take a look at the official Edge drivers from SmartThings to take a reference. For example, this is for a Z-Wave siren:
To develop a driver, you can download the drivers in the official repo to modify them (if their functionality is useful to you) but that would be a local change, it doesn’t affect the official ones.