Page 1 of 2

DSC Plugin Error

PostPosted: Mon Sep 14, 2020 4:44 pm
by omar
I am running Indio 7.4 and have installed the plugin V2.2.2 im getting this error :
DSC Alarm Debug startup called
DSC Alarm Debug getConfiguration start
DSC Alarm Debug Configuration read successfully
DSC Alarm Debug <<-- entering deviceStartComm: Dinning Room (1456760044 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: DSC (67492404 - alarmKeypad)
DSC Alarm Debug Adding keypad: {1: 67492404}
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Entrance (869959073 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Fireplace (1081825026 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Hall Garage (1333638940 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Kitchen (658330314 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Salon (352637388 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug runConcurrentThread called
DSC Alarm Debug STATE: Startup
DSC Alarm Initializing communication on port /dev/cu.wchusbserial1470
DSC Alarm Communication established
DSC Alarm Enabling Time Broadcast
DSC Alarm Debug TX: 0561CC

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

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

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

i tried different usb to serial adapters no luck .
Any help is appreciated.

Thanks
Omar

Re: DSC Plugin Error

PostPosted: Mon Sep 14, 2020 5:27 pm
by Monstergerm
Hmm, not sure what is going on there. As your error message states your security panel does not respond to an "enable time broadcast" request by the plugin. This is part of the startup sequence and seems to interrupt the rest of the sequence when there is a failure.

What device are you using?
Did you ever get this to work before or is this a new install?

Re: DSC Plugin Error

PostPosted: Mon Sep 14, 2020 9:18 pm
by omar
Hi , im using iT100 connected to usb 2 serial adapter , im using the plugin for the first time .
DSC Alarm Debug startup called
DSC Alarm Debug getConfiguration start
DSC Alarm Debug Configuration read successfully
DSC Alarm Debug <<-- entering deviceStartComm: Dinning Room (1456760044 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: DSC (67492404 - alarmKeypad)
DSC Alarm Debug Adding keypad: {1: 67492404}
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Entrance (869959073 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Fireplace (1081825026 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Hall Garage (1333638940 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Kitchen (658330314 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug <<-- entering deviceStartComm: Salon (352637388 - alarmZone)
DSC Alarm Debug exiting deviceStartComm -->>
DSC Alarm Debug runConcurrentThread called
DSC Alarm Debug STATE: Startup
DSC Alarm Initializing communication on port /dev/cu.wchusbserial1470
DSC Alarm Communication established
DSC Alarm Enabling Time Broadcast
DSC Alarm Debug TX: 0561CC

DSC Alarm Debug validating Prefs called
DSC Alarm Error IT-100/Envisalink Error: Received a response with invalid characters
DSC Alarm Error Timed out after waiting for response to command 0561 for 3 seconds, retrying.
DSC Alarm Debug TX: 0561CC

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

DSC Alarm Error IT-100/Envisalink Error: Received a response with invalid characters
DSC Alarm Error Timed out after waiting for response to command 0561 for 3 seconds, retrying.
DSC Alarm Error Resent command 0561 3 times with no success, aborting.
DSC Alarm Error Error enabling Time Broadcast.
DSC Alarm Plugin will attempt to re-initialize again in 3 minutes.
DSC Alarm Debug STATE: Startup
DSC Alarm Debug getConfiguration start
DSC Alarm Debug Configuration read successfully
DSC Alarm Initializing communication on port /dev/cu.wchusbserial1470
DSC Alarm Communication established
DSC Alarm Enabling Time Broadcast
DSC Alarm Debug TX: 0561CC

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

DSC Alarm Error IT-100/Envisalink Error: Received a response with invalid characters
DSC Alarm Error Timed out after waiting for response to command 0561 for 3 seconds, retrying.
DSC Alarm Debug TX: 0561CC

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

Re: DSC Plugin Error

PostPosted: Mon Sep 14, 2020 10:47 pm
by Monstergerm
I can’t troubleshoot this here sine I have an EVL-4 with IP connection.
But we can try a few things. Are you familiar enough with Indigo plugins to make some changes to the code?

Re: DSC Plugin Error

PostPosted: Tue Sep 15, 2020 3:12 am
by omar
yes i can try mod the code

Re: DSC Plugin Error

PostPosted: Tue Sep 15, 2020 8:37 am
by jay (support)
A couple of things:

  1. What USB cable and driver are you using? I don't recognize the driver-assigned port name. USB to serial drivers on macOS can sometimes be pretty finicky...
  2. Have you tried completely restarting your panel? I've had multiple occasions where my IT-100 board got into an unknown state and the only way to recover was to unplug both from the wall and the battery backup and force a full restart of the panel.

Re: DSC Plugin Error

PostPosted: Tue Sep 15, 2020 9:52 am
by Monstergerm
Let's try two things with the code. The time broadcast is not that useful since it happens only every 4 minutes and by default is off anyway.

1) Disable time broadcast:
change code line 2170 to
Code: Select all
            rx = self.sendPacket('0560')

Then save plugin and reload.

2) Skip time broadcast:
if disabling does not work, skip the whole time broadcast routine.
change code line 2163 to
Code: Select all
               self.state = self.States.BOTH_PING


Then save plugin and reload.

But as Jay said, if there is something wonky with the state of the IT-100 or the cable/driver then this might not work.

Re: DSC Plugin Error

PostPosted: Tue Sep 15, 2020 2:11 pm
by durosity
Monstergerm wrote:
I can’t troubleshoot this here sine I have an EVL-4 with IP connection.
But we can try a few things. Are you familiar enough with Indigo plugins to make some changes to the code?


If if was any use to you I have a spare IT-100 I'd be happy to send to you if you covered the postage?

Re: DSC Plugin Error

PostPosted: Wed Sep 16, 2020 4:27 pm
by omar
jay (support) wrote:
A couple of things:

  1. What USB cable and driver are you using? I don't recognize the driver-assigned port name. USB to serial drivers on macOS can sometimes be pretty finicky...
  2. Have you tried completely restarting your panel? I've had multiple occasions where my IT-100 board got into an unknown state and the only way to recover was to unplug both from the wall and the battery backup and force a full restart of the panel.

hi jay , im using Chinese usb serial cable , with this driver https://github.com/adrianmihalko/ch340g ... s-x-driver , i believe it's probably the cable , i will buy new one and test , thanks for the hint .

Re: DSC Plugin Error

PostPosted: Wed Sep 16, 2020 4:34 pm
by omar
Monstergerm wrote:
Let's try two things with the code. The time broadcast is not that useful since it happens only every 4 minutes and by default is off anyway.

1) Disable time broadcast:
change code line 2170 to
Code: Select all
            rx = self.sendPacket('0560')

Then save plugin and reload.

2) Skip time broadcast:
if disabling does not work, skip the whole time broadcast routine.
change code line 2163 to
Code: Select all
               self.state = self.States.BOTH_PING


Then save plugin and reload.

But as Jay said, if there is something wonky with the state of the IT-100 or the cable/driver then this might not work.



hi , i did both modifications of the code but didn't work , as mentioned by jay and you , it could be the cable or the driver , i had same headache in the past with serial connection on OS X , thanks for all , will buy new cable and test or i will get envisalink interface .

Re: DSC Plugin Error

PostPosted: Wed Sep 16, 2020 4:45 pm
by Monstergerm
I recommend EVL-4; it has a lot more features than the IT-100.

FYI, on the same Mac running Indigo under Mojave I am controlling a different serial device with the PL-2303 USB-to-Serial Cable Adapter with the latest PL-2303 Mac driver. I never had any problems with this.

Re: DSC Plugin Error

PostPosted: Wed Sep 16, 2020 4:50 pm
by jay (support)
If it were me, I'd get an FTDI-based cable since the driver is included with macOS.

Re: DSC Plugin Error

PostPosted: Thu Sep 17, 2020 2:58 am
by omar
Monstergerm wrote:
I recommend EVL-4; it has a lot more features than the IT-100.

FYI, on the same Mac running Indigo under Mojave I am controlling a different serial device with the PL-2303 USB-to-Serial Cable Adapter with the latest PL-2303 Mac driver. I never had any problems with this.

i ordered EVL-4 , network connection is better and easy to setup , thanks for your precious help .

Re: DSC Plugin Error

PostPosted: Thu Sep 17, 2020 3:04 am
by omar
jay (support) wrote:
If it were me, I'd get an FTDI-based cable since the driver is included with macOS.

true FTDI based devices work out of box , i ordered EVL-4,:D :D :D , thanks Jay.

Re: DSC Plugin Error

PostPosted: Fri Sep 18, 2020 12:36 pm
by durosity
Just FYI I have both a EVL4 and an IT-100, I find the IT100 better for use if you’re using the motion sensors for triggering actions for things like lights coming on.. the latency is substantially better, the EVL has a short delay that kinda is annoying.


Sent from my iPhone using Tapatalk Pro