View unanswered posts | View active topics It is currently Sat May 25, 2013 1:27 pm



Reply to topic  [ 256 posts ]  Go to page: Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 18  Next
 DSC Alarm Plugin 
Author Message

Joined: Mar 07, 2012
Posts: 4
Post Re: DSC Alarm Plugin
I'm getting errors when I start the DSC plugin. I'm using IT-100 and a prolific usb-to-serial adapter. When I start the plugin I get the following errors. Any idea what I'm doing wrong?

Enabling plugin "DSC Alarm 1.0.0"
Starting plugin "DSC Alarm 1.0.0" (pid 7710)
Plugin "DSC Alarm" connected
Plugin "DSC Alarm 1.0.0" started
DSC Alarm Initializing communication on port /dev/cu.usbserial

2012-03-07 6:44:44 PM
DSC Alarm Error Error in plugin execution runConcurrentThread:

Traceback (most recent call last):
File "plugin.py", line 103, in runConcurrentThread
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/DSC Alarm.indigoPlugin/Contents/Server Plugin/DSC.py", line 610, in startComm
File "/Library/Application Support/Perceptive Automation/Indigo 5/Plugins/DSC Alarm.indigoPlugin/Contents/Server Plugin/DSC.py", line 116, in readPacket
<type 'exceptions.ValueError'>: invalid literal for int() with base 16: '\x15\x01'

DSC Alarm Error plugin runConcurrentThread function returned or failed; will attempt again in 10 seconds

Any help would be very much appreciated.


Wed Mar 07, 2012 5:45 pm
Profile

Joined: Mar 07, 2012
Posts: 4
Post Re: DSC Alarm Plugin
After updating to 1.0.3 I get this instead:


Reloading plugin "DSC Alarm 1.0.3"
Stopping plugin "DSC Alarm 1.0.3" (pid 8855)
DSC Alarm Debug stopConcurrentThread called
DSC Alarm Debug stopConcurrentThread called
DSC Alarm Debug Exiting stopConcurrentThread
DSC Alarm Debug startComm Exit
DSC Alarm Debug Exiting Concurrent Thread
DSC Alarm Debug stopConcurrentThread called
DSC Alarm Debug stopConcurrentThread called
DSC Alarm Debug Exiting stopConcurrentThread
DSC Alarm Debug <<-- entering deviceStopComm: DSC Keypad (669496790 - alarmKeypad)
DSC Alarm Debug deviceStop called. Removing device DSC Keypad.
DSC Alarm Debug exiting deviceStopComm -->>
DSC Alarm Debug <<-- entering deviceStopComm: L1_FR_MTN (1726301797 - alarmZone)
DSC Alarm Debug deviceStop called. Removing device L1_FR_MTN.
DSC Alarm Debug exiting deviceStopComm -->>
DSC Alarm Debug <<-- entering deviceStopComm: L1_MR_DR (80780321 - alarmZone)
DSC Alarm Debug deviceStop called. Removing device L1_MR_DR.
DSC Alarm Debug exiting deviceStopComm -->>
DSC Alarm Debug shutdown called
Plugin "DSC Alarm" disconnected
Starting plugin "DSC Alarm 1.0.3" (pid 8878)
Plugin "DSC Alarm" connected
Plugin "DSC Alarm 1.0.3" started
DSC Alarm Initializing communication on port /dev/cu.usbserial
DSC Alarm Pinging the panel to test communication...
DSC Alarm Debug TX: 00090

DSC Alarm Error Timed out after waiting for response to command 000 for 3 seconds, retrying.
DSC Alarm Debug TX: 00090

DSC Alarm Error Timed out after waiting for response to command 000 for 3 seconds, retrying.
DSC Alarm Debug TX: 00090

DSC Alarm Error Timed out after waiting for response to command 000 for 3 seconds, retrying.
DSC Alarm Error Resent command 000 3 times with no success, aborting.
DSC Alarm Error Error pinging panel, aborting.
DSC Alarm Plugin will attempt to re-initialize again in 3 minutes.


It looks like there is no communication with the it-100. The it-100 blinks steadily indicating it is communicating with the panel.
I ordered different usb-to-serial adapters and will try with them.


Wed Mar 07, 2012 6:12 pm
Profile

Joined: Mar 07, 2012
Posts: 4
Post Re: DSC Alarm Plugin
Ok. After changing to a different usb to serial everything is working.


Tue Mar 13, 2012 7:40 pm
Profile

Joined: Mar 07, 2012
Posts: 4
Post Re: DSC Alarm Plugin
How do I add sensors as smoke, heat, water and carbon monoxide sensors (all DSC native)? There only seems to be option for door, window and motion.


Tue Mar 13, 2012 7:42 pm
Profile

Joined: Feb 13, 2008
Posts: 9
Location: San Diego, CA
Post Re: DSC Alarm Plugin
I was also experiencing a flaky connection on both the DSC and Jandy pool plugins, I broke down and bought one of the Keyspan adapters that everybody recommends and the plugins are a lot more reliable.

I suspect that somebody could delve into the depths of python and the serial port code and fix this, but it was no effort to spend the $100 on a 4 port serial adapter, and I'd rather people were making more plugins instead of fixing python.

Tad


Wed Mar 14, 2012 5:43 pm
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6667
Location: Austin, Texas
Post Re: DSC Alarm Plugin
tadg wrote:I suspect that somebody could delve into the depths of python and the serial port code and fix this


Doubtful. USB devices that are essentially serial communication devices are extremely finicky when it comes USB. That's why we recommend that interfaces be plugged directly into a USB port on the Mac rather than a USB hub. I think the real issue is flakey drivers. The FTDI drivers as well as the Keyspan drivers have so far been very reliable.

_________________
Jay (Indigo Support)
Image


Wed Mar 14, 2012 6:02 pm
Profile WWW
User avatar

Joined: Sep 07, 2010
Posts: 232
Location: Toronto, Canada
Post Re: DSC Alarm Plugin
Another beta has been posted. Just a few minor changes to try to fix some errors some users are experiencing with the 2DS support.

It can be downloaded from the main post.

peszko wrote:How do I add sensors as smoke, heat, water and carbon monoxide sensors (all DSC native)? There only seems to be option for door, window and motion

That feature isn't used yet. If I can figure out something to do with the different categories of sensors I'll add more, otherwise I may just take it out all together.


Tue Mar 20, 2012 8:13 am
Profile WWW

Joined: Jan 05, 2011
Posts: 21
Post Re: DSC Alarm Plugin
Travis, I appreciate everything you've done with this plugin. I'm a newbie to home automation and Indigo and I can't seem to get this setup. I had my alarm guy install the Envisalink 2DS on the DSC alarm panel. I connected it to the computer via 50 feet of Cat-5 cable. I connected the ethernet cable into one of the open ports on my Airport Extreme base station. I followed your very thorough write up in setting up the Alarm Keypad and Action groups to arm and disarm the alarm system. Trouble is, I can't get the alarm to do anything through Indigo. I'm not even sure the computer is talking to the 2DS nor do I know how to check if it is.

If you can, please give me some information so I can try to fix the problem. And please be gentle on my ignorant soul!

Thanks in advance!

Chad


Sun Mar 25, 2012 7:29 pm
Profile
User avatar

Joined: Sep 07, 2010
Posts: 232
Location: Toronto, Canada
Post Re: DSC Alarm Plugin
Hey Chad,

What does your Indigo log say when the DSC Alarm plugin starts up and tries to connect to the 2DS? Have you confirmed you can access the 2DS by visiting http://envisalink/ in your browser?


Sun Mar 25, 2012 9:08 pm
Profile WWW

Joined: Feb 01, 2012
Posts: 54
Post Re: DSC Alarm Plugin
And to add, if the URL "http://envisalink" doesn't work ( it didn't for me ), log into the router and determine what the IP is of the 2DS and make sure you can connect directly to the 2DS with a web browser and log in to the 2DS with the username "user" and password "user" as default - if you didn't log in via a browser and set that up first, I'd recommend ensuring that works, then you'll need the user/pswd for Travis' plugin later on.

Good luck!


Mon Mar 26, 2012 2:47 pm
Profile

Joined: Jan 05, 2011
Posts: 21
Post Re: DSC Alarm Plugin
I'll try later on when I get home. One of the things I couldn't figure out on the Mac was how to find the IP address. If anyone has suggestions I would appreciate it.


Mon Mar 26, 2012 6:53 pm
Profile

Joined: Feb 01, 2012
Posts: 54
Post Re: DSC Alarm Plugin
You can access this in the Airport Utility > Manual Setup > Advanced > Logs and Statistics > DHCP Clients

Don't have it in front of me to check, but that should get you close.


Mon Mar 26, 2012 7:37 pm
Profile

Joined: Jan 05, 2011
Posts: 21
Post Re: DSC Alarm Plugin
I've been trying to find it for an hour now. It appears that Airport utility 6.0 does not have the options you are talking about. Is there a way to lookup the IP for envisalink through the terminal?


Mon Mar 26, 2012 9:06 pm
Profile

Joined: Jan 05, 2011
Posts: 21
Post Re: DSC Alarm Plugin
Enabling plugin "DSC Alarm 1.0.5"
Starting plugin "DSC Alarm 1.0.5" (pid 4515)
Plugin "DSC Alarm" connected
Plugin "DSC Alarm 1.0.5" started

This is what the log returns when enabling the DSC plugin.


Mon Mar 26, 2012 9:08 pm
Profile

Joined: Jan 05, 2011
Posts: 21
Post Re: DSC Alarm Plugin
office:~ chadandmattie$ nslookup envisalink
Server: 192.168.254.254
Address: 192.168.254.254#53

Non-authoritative answer:
Name: envisalink.Home
Address: 66.152.109.60
Name: envisalink.Home
Address: 184.106.31.186
Name: envisalink.Home
Address: 204.232.162.155

I got this from terminal but none of the IP addresses return anything except for the first one, it is my ISP router. I use my Airport Extreme for Wifi and have the Envisalink installed on the Airport.


Mon Mar 26, 2012 9:19 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 256 posts ]  Go to page: Previous  1 ... 7, 8, 9, 10, 11, 12, 13 ... 18  Next

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.