Limited data decoding - there was good progress for armed/disarmed states and partial zone status for a single partition, but otherwise most of the data was undecoded (notably missing the alarm triggered state).While there has been excellent discussion about the DSC Keybus protocol and a few existing projects, there were major issues that remained unsolved: Tapping into the data lines is an ideal task for a microcontroller and also presented an opportunity to work with the Arduino and FreeRTOS (via esp-open-rtos) platforms.
![photo-dsc protocol photo-dsc protocol](https://i.ebayimg.com/images/g/8fUAAOSwL05eFPfT/s-l300.jpg)
I was interested in finding a solution that directly accessed the pair of data lines that DSC uses for their proprietary Keybus protocol to send data between the panel, keypads, and other modules. I Wanted: Notification if the alarm triggered. I Had: A DSC security system not being monitored by a third-party service. This repository is an esp-open-rtos port of the Arduino dscKeybusInterface library, primarily to support direct native integration with Apple HomeKit & Siri as a standalone accessory using esp-homekit (without using an intermediary like Homebridge, HAP-NodeJS, etc.)
PHOTO DSC PROTOCOL SOFTWARE
This enables existing DSC security system installations to retain the features and reliability of a hardwired system while integrating with modern devices and software for under $5USD in components.
![photo-dsc protocol photo-dsc protocol](https://media.springernature.com/lw685/springer-static/image/art%3A10.1186%2Fs40494-019-0292-8/MediaObjects/40494_2019_292_Fig1_HTML.png)
![photo-dsc protocol photo-dsc protocol](https://pubs.rsc.org/image/article/2017/RA/c6ra24961b/c6ra24961b-f6_hi-res.gif)
This library directly interfaces esp8266 microcontrollers to DSC PowerSeries security systems for integration with home automation, notifications on alarm events, and usage as a virtual keypad.