The included SmartApp and Device Handlers provide integration between Samsung SmartThings and HAI/Leviton OmniPro II controllers utilizing the HAILogger application as a middle layer. The HAILogger connects using the HAI SDK to the controller and provides a web service for SmartThings to interface with.
##Installation
- Login to the SmartThings IDE
- Click My Locations, then select your location
- Click My Device Handlers, select From Code, paste the contents from GitHub and repeat for all device files
- Click My SmartApps, select From Code, paste the contents from GitHub
- Open the SmartThings app on your phone
- Select Marketplace -> SmartApps -> scroll to bottom My Apps
- Select OmniPro Integration and enter the IP address of the computer running HAILogger and port 8000
The SmartApp will auto discover and add the devices from the OmniPro controller. The current hard coded mapping is below. By configuring the SmartThings Smart Home Monitor as armed and monitoring the area contact sensor SmartThings can react to OmniPro II area burlgary alarms.
Unit -> Switch, Switch Level
Thermostat -> Thermostat, Relative Humidity Measurement
Area
- Burglary Alarm -> Contact Sensor
- Water Alarm -> Water Sensor
- Fire Alarm -> Smoke Detector
- Gas Alarm -> Carbon Monoxide Detector
- Security Mode -> No capability mapping
When the OmniPro Area 1 security mode changes the SmartThings hub mode will change as well
- OFF, DAY -> Home
- NIGHT -> Night
- AWAY -> Away
- VACATION -> Vacation
Zone
- Entry/Exit, X2EntryDelay, X24EntryDelay, Perimeter, Tamper, Auxiliary -> Contact Sensor
- AwayInt, NightInt -> Motion Sensor
- Water -> Water Sensor
- Fire -> Smoke Detector, Tamper Alert (for trouble condition)
- Gas -> Carbon Monoxide Detector, Tamper Alert (for trouble condition)