Be sure to check the publish checkbox at the bottom.įor all the device types, make sure publish them. Once you have setup this repo, you can easily add all the devices. Alternatively, setup github integration, create a new github repository with "LXXero" as owner, "DSCAlarm" as name, and "master" as branch.
In the Web IDE for Smartthings create a new device type for each of the above devices and paste in the code for each device from the corresponding groovy files in the repo. It's similar to DSC Zone Smoke.)Īt a minimum you'll probably want the Stay/Away panels, Contact, and Motion. DSC Zone CO - (wireless/4-wire carbon monoxide device, detected/clear/test.It's nearly the same as motion or contact, as it's attached to a zone.) DSC Zone Smoke - (wireless/4-wire smoke device, detected/clear/test.DSC Zone Motion - (motion device active/inactive).DSC Zone Contact - (contact device open/close).DSC Away Panel - (Shows partition status info and provides Away switch that can be used in routines).DSC Stay Panel - (Shows partition status info and provides Stay switch that can be used in routines).There are 6 types of devices handlers you can create: Using the Smartthings IDE create the new device handlers using the code from the devicetypes directory. The addition of the requirement of specifying the zone type, and the stay/away panel names, which are used for the automatic device creation.
You'll also need to update alarmserver.cfg to the latest format, which involves the zones and partitions being defined at the bottom in their own sections, with
Input "zonedevices", "nsor", title: "DSC Zone Devices (required)", multiple: true, required: falseĪlternatively, downgrade to this version here and then remove the devices and upgrade back again afterwards:
Input "paneldevices", "capability.switch", title: "Alarm Panel (required)", multiple: true, required: false No longer be there and you'll have to add the following lines under the prefences block in order to remove the devices: If you already updated the smartapp to the latest version, this option will You will need to go into the DSC Integration smartappĪnd unselect all the panel and zone devices before it will allow you to remove them. This will allow you to avoid having to re-do the oauth setup. Would have been created with networkId's like "dsczone1" or "dscstay1." Do not delete the device handlers, or smartapps, they can be updated to the latest versionsĪfter you delete the existing devices and panels. If you are upgrading from a previous version, please delete all the zone or panel devices you created first. See this thread for more info about DSC Alarm:Īnd this thread for info about Dim and Dimmer Routine: Alarmserver Instructions Warnings about upgrading from an older versionĭevice setup is done automatically in the new version. Also, my modified version of "Dim and Dimmer" for routines and Modified alarmserver and control panel for DSCĪlarm integration.