Hi @danfelix, I saw your reply in the other discussion regarding this siren about how to go about implementing a community developed device type. I decided to reply here instead to keep this one going for you. It’s really quite easy, and if you’re wanting to get even more out of ST, then I think you should give this a shot. Since you already use the IDE, you’re in great shape to get this done.
At the bottom of this reply is an excellent link to an FAQ that has a lot more info about community developed device types and apps, but to save you time I’ve summarized the steps for you: (I recommend having a separate browser tab opened for the github code you’ll need and the IDE)
-
Get into the IDE. Once logged in, click on “My Device Types” from along the top of the screen.
-
Next, click on the green button by the upper right corner that says “+ New Device Type”.
-
When the next screen comes up, it should say “New SmartDevice”. Click on the tab that says “From Code”, and then a large white text input box will show up. That’s where the code gets entered.
-
Now, using the code provided in the link right above this reply, select everything you see and paste the code into the large white text box from the step above. Click on the blue button that says “Create”.
-
After creating it, you’re taken to the area where you can modify the code. At this point there’s no change you need to make. What you need to do here is now click on white button that says “Publish” and then the prompt that says “For Me”. That’s all that’s needed to create and publish a custom device type for yourself, now let’s get your siren to use it.
-
Now go to your device in the IDE. You can get to it through a few different ways, but the most direct way if you don’t have a lot of devices is by clicking on “My Devices” from along the top of the screen.
-
Once you get to the device details screen, scroll down and click on the white button that says “Edit”.
-
Now, change the field that says “Type *”. It’s a drop down list, so select from the list what we just created from the above steps. If you didn’t change anything, it should show up as “My Utilitech Z-Wave Siren v2”, and it should be at the very bottom of the list of devices. Once selected, click on the white button that says “Update”.
-
And that’s pretty much it! Now your device is using that code, and any SmartApp (like Smart Home Monitor - SHM) can start exploiting new commands and capabilities.
In the phone’s app you should now be able to go to the device and see the change, and SHM should trigger the siren. Please let me know how all that turns out!