We have moved at community.getvera.com

Author Topic: DSC Alarm System plugin  (Read 409228 times)

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #15 on: January 01, 2011, 02:19:48 pm »
@techsan, did you get it up and running?

I can't get any notifications for alarm / disarm or any of the other notification types (some are under the partition and some under the parent device) and I wanted to see who else was running this, and if they had issues before raising a ticket?

I've also found that it seems to have an issue with 4 digit PINs; disarm (and one or two of the other buttons) wont function if you have the panel set to use 4 digit PIN's! You either have to change to 6 digit PINs, or pad the 4 digit one with 00 at the end.
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: DSC plugin
« Reply #16 on: January 06, 2011, 12:39:43 am »
I've also found that it seems to have an issue with 4 digit PINs; disarm (and one or two of the other buttons) wont function if you have the panel set to use 4 digit PIN's! You either have to change to 6 digit PINs, or pad the 4 digit one with 00 at the end.
I found a copy of the Spec for this interface here:

    http://www.baranharper.com/pdfs/dsc/it-100%252520developers%252520guide.pdf

Page 6, "Partition Disarm Control - With Code" requires a 6-digit PIN, but the get_code(..) method isn't padding it out with 00's per the spec.  Similar for the arming code...

This method can be altered to "pad" as needed:
    http://code.mios.com/trac/mios_dscalarmpanel/browser/I_DscAlarmPanel2.xml#L116
« Last Edit: January 12, 2011, 10:57:59 pm by guessed »

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: DSC plugin
« Reply #17 on: January 06, 2011, 01:01:11 am »
I can't get any notifications for alarm / disarm or any of the other notification types (some are under the partition and some under the parent device) and I wanted to see who else was running this, and if they had issues before raising a ticket?

It's hard to tell from the code, but I believe it should be set at the Partition, but there might be a problem in this file:
    http://code.mios.com/trac/mios_dscalarmpanel/browser/D_DscAlarmPartition.json#L194

which should be changed from:
Code: [Select]
                                        "name": "Status",to
Code: [Select]
                                        "name": "PartitionStatus",
Of course, I could be wrong ;-)

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #18 on: January 06, 2011, 03:20:56 am »
OK I just tried that and unless the notification system is down, no dice I'm afraid!:(

I can see for the most part that the panel seems to communicating the corresponding statuses to the plugin, but nothing after that.

Any other ideas?
« Last Edit: January 06, 2011, 03:27:16 am by strangely »
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: DSC plugin
« Reply #19 on: January 06, 2011, 11:02:34 am »
Turn on verbose logging and capture a bunch of the dumps for what should be the notification event.  Edit out all the "Password" data that would go into that, and then post it here.

Unfortunately the code is scant on "extra" logging, but we can probably work out the notifications component from it, since that's just interactions with [MiOS] Variables, which is all standard in the verbose logs.

NOTE: I believe you have to "
  • force Luup restart" after you reload this file to get it to pickup the changes.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #20 on: January 06, 2011, 11:08:45 am »
Tried that and hard reboot to see if that made a difference.

If I tail the log file, whats the best thing to grep it against to filter out all the other crap?

Probably wont be for a few days anyway as I'm off to CES today :)
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: DSC plugin
« Reply #21 on: January 06, 2011, 12:05:11 pm »
You can just Email me the whole [unfiltered] thing if you don't want to post it here.  It's actually some of the "other crap" (from Verbose Logging) that I'll likely want to look at :-)

Unfortunately the code doesn't have a centralized Logging function, so it's own log-lines aren't "tagged" for easy grepping.

Offline tosvus

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: DSC plugin
« Reply #22 on: January 12, 2011, 03:31:39 pm »
sorry to barge in on this topic - but I'm looking at Vera as a potential home automation controller, and working with DSC. I'm in the situation that I have not made a final decision on either, but I think the DSC-1832 kit looks good and reasonably priced compared to similar offerings from GE. Also, the sensors seem more reasonably priced. The reason I need a non z-wave/x-10/insteon sensor in the first place is that I would really like glass-breaking sensors throughout my house.

Searching the forum and wiki, I have found very little info on 1832 compatibility (except some vague references seeming to indicate it should work). Technically what would be needed (if possible though)?

The parts I was thinking of buying;
DSC Power1832 Alarm Control Panel
RFK5500 - LCD Full-Message Keypad w/ Wireless Receiver
(actually a kit with those two items included)

To get communications going, I was thinking:
PCLINK-SCW - DSC Computer Interface
WIZnet Serial-to-Ethernet Gateway - WIZ110SR

Would this do the trick? I also see reference to IT-100 but not sure what this is needed for?

How does this work software wise? Does it use the plugin for GE, or some other plugin?

My goal (for now) is to:
-remotely activate/deactivate alarm, preferably through vera iphone app or mobile web?
-Have some sort of message sent to me if the alarm is triggered while away. (sms? email? )
-preferably have vera pick up on it and turn all lights in the house on, etc

Is this even possible?

Thanks a lot, and again,sorry for hijacking this thread...seems like you guys may be more in the know of DSC and Vera than anyone else though

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #23 on: January 12, 2011, 04:35:52 pm »
@tosvus

The 1832 will work fine and you will need to interface it to Vera with an IT-100 and then either a WIZ110SR or a regular USB to serial adapter.
Although the board has serial already, it can only be used for programming / initial setup via a PC with the DSC programming software unfortunately!

There is already a specific DSC plugin (written by MCV) and you'll be able to remotely enable or disable the alarm from a phone etc (via a scene) and also use the sensors to trigger other scenes if need be like lights etc! You can also disarm it if you like automatically from associating the disarm scene with an event like a PIN being entered from a lock keypad.

The sensors can also be used independent of the alarm being armed or not and like you said they are also cheap!

The only thing at the moment that isn't working for some reason is the SMS or email Alerts. I'm currently working with @guessed at the moment to work out why these aren't working.



« Last Edit: January 12, 2011, 04:38:28 pm by strangely »
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline tosvus

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: DSC plugin
« Reply #24 on: January 12, 2011, 07:56:34 pm »
Thank you for the quick and detailed response! I appreciate it very much. The rumors about the great user-community were not exaggerated it looks like :)

I hope the message issue gets resolved, though I have a little time before I will buy the main equipment. Ended up impulse-buying the Trane Thermostat at Radioshack for $59 today though!! (can't use it yet, but that was too good of a deal to pass up! :))

I'll be reading more (and probably posting more questions too!) :)

Thanks again.

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #25 on: January 14, 2011, 01:06:16 pm »
I bought my Alarm Kit from www.homesecuritystore.com as they seem to have the best prices. If you are going to set this up yourself then their support forum is also a good resource with some really helpful people.

The alarm panel itself was way easier and quicker to install and wire than the actual panel setup was, and I suggest you try and familiarize yourself with it now as there is quite a steep leaning curve to it and it was considerably more difficult than I imagined :)
Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline tosvus

  • Sr. Newbie
  • *
  • Posts: 41
  • Karma: +0/-0
Re: DSC plugin
« Reply #26 on: January 14, 2011, 03:26:18 pm »
Yes, they look like a good store. Hope I can manage the setup though :)

Offline SolarExec

  • Newbie
  • *
  • Posts: 16
  • Karma: +0/-0
Re: DSC plugin
« Reply #27 on: January 18, 2011, 10:56:52 am »
I finally got the DSC alarm installed in our new construction (a DSC Powerseries 1616). I want to integrate this with the VERA so just to be sure I've got this right... I need to buy the IT-100 and the WIZ110SR?

Offline strangely

  • Beta Testers
  • Master Member
  • *****
  • Posts: 3722
  • Karma: +34/-2
  • Vera 1,3 & V light
Re: DSC plugin
« Reply #28 on: January 18, 2011, 11:33:12 am »
@SolarExec,

You have a few options:

(1) The IT100 and the WIZ110SR will give you good flexibility in terms of remotely connecting Vera to the panel as it can be pretty much connected anywhere on your network. The only disadvantage to the WIZnet is that it'll need to be connected to a 5V wall wart or some other source such as a USB port and adapter cable.

(2) If your Vera isn't too far from the panel and you have good wiring access to both, then you could run a Cat5/6 cable, and run RS232 over it (via some RJ45 to RS232 adapter plugs) directly from a supported USB to Serial adapter plugged into vera such as this one:
http://parts.digikey.com/1/parts/1501993-cable-economy-usb-rs232-srl-conv-uc232r-10-chipi.html

(3) The third option is locate the IT100 and the USB serial adapter near Vera, and then run cable (4 wire) back to either the panel keybus input or to the PIN pad since this is also on the same bus.

Kwickset locks, HA01C, HA14C, HA02C, HA03C, HA05C, HA04C, HA07C, HA09C, Aeon HEM, GE 45604, 45606, 45609, ZDP100, VRF01-1LZ, WDTC-20, HA18WD, WDHA-12R, HRDS1, HM-TS001, AC1-ZW, TV-IP110, BL-C210A, LUUP control- EtherRain8, DSC Alarm, HDMI matrix, HR24-200, Panasonic TV, SQblaster

Offline guessed

  • Community Beta
  • Master Member
  • ******
  • Posts: 5301
  • Karma: +92/-22
  • Release compat is not a bolted-on afterthought
Re: DSC plugin
« Reply #29 on: January 18, 2011, 11:43:09 am »
Also consider how you will supply Backup power to things.  Generally speaking the Alarm components are "backed" by a Battery, so they'll survive Grid outages (etc).

Things on your Ethernet network generally don't have this type of backup, so you'll lose connectivity to those components when the power is down. 

By placing them "all together" (Panel + IT100 + Vera + DSL Modem) you have a few more options to provide Power backup to all of them.  I have mine set this way, so I can survive for about 12 hrs if the power goes down.  As a result, I can continue to use Vera to notify me of problems in the house, such as Alarm breaches, and that the power itself went down.

You may not want this up front, but it's handy to have the option down the road.