DSC discovery bind failing

dscalarm
openhab2
binding
Tags: #<Tag:0x00007f15e820da78> #<Tag:0x00007f15e820d8c0> #<Tag:0x00007f15e820d730>

(brunodom) #1

Folks,

I just installed the DCS Alarm bind in OH2b1 and looks like there is a problem with discovery, I’m receiving this error log:

2016-01-25 03:30:34.917 [ERROR] [.discovery.EnvisalinkBridgeDiscovery] - discoverBridge(): Illegal Argument Exception - java.lang.IllegalArgumentException: Value [64] not in range (0,32]

Any clue on what is going on?

Best Regards!
-BD


(Russell Stephens) #2

Was there any more information after the above?


(.) #3

I have received this error too.
First of all,sorry for my english.
DSC binding with openhab 1 (1.8) works fine .
I have DSC PC1832 and Envisalink 3 . I am begin with openhab 2 ,I dont have too much experience with it.
After install binding from Paper UI and setting envisalink in log I have

2016-01-30 15:55:07.725 [ERROR] [.discovery.EnvisalinkBridgeDiscovery] - discoverBridge(): Illegal Argument Exception - java.lang.IllegalArgumentException: Value [64] not in range (0,32]
2016-01-30 15:55:22.151 [ERROR] [ernal.discovery.IT100BridgeDiscovery] - discoverBridge(): No Message Read from Serial Port ‘/dev/tty.Bluetooth-Incoming-Port’

This might not be a problem,next are displayed other things.
First problem is with panel_connection . In wiki you have defined Switch BRIDGE_CONNECTION {channel=“dscalarm:envisalinkbridge:tcpbridge:bridge_connection”} item in demo items.
In sitemap you use Switch item=PANEL_CONNECTION label=“Panel Connection” mappings=[1=“Connected”, 0=“Disconnected”]
With discovery I can not find neither.
Next problem is with icons (not important).
And a biggest problem is that ,after restart openhab:

2016-01-30 16:36:35.947 [ERROR] [rm.handler.DSCAlarmBaseBridgeHandler] - Not Connected to the DSC Alarm!
2016-01-30 16:36:35.948 [INFO ] [me.event.ThingStatusInfoChangedEvent] - ‘dscalarm:envisalink:1ca2730b’ changed from ONLINE to OFFLINE
2016-01-30 16:36:35.975 [INFO ] [me.event.ThingStatusInfoChangedEvent] - ‘dscalarm:envisalink:1ca2730b’ changed from OFFLINE to ONLINE
2016-01-30 16:36:35.976 [INFO ] [me.event.ThingStatusInfoChangedEvent] - ‘dscalarm:panel:1ca2730b:panel’ changed from INITIALIZING to ONLINE
2016-01-30 16:36:35.980 [INFO ] [me.event.ThingStatusInfoChangedEvent] - ‘dscalarm:partition:1ca2730b:partition1’ changed from INITIALIZING to ONLINE
2016-01-30 16:36:35.985 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘’ for item ‘PARTITION1_STATUS’ to handler for channel ‘dscalarm:partition:tcpbridge:partition1:partition_status’, because no thing with the UID ‘dscalarm:partition:tcpbridge:partition1’ could be found.
2016-01-30 16:36:35.986 [INFO ] [ome.event.GroupItemStateChangedEvent] - DSCAlarm changed from NULL to UNDEF through DSCAlarmPartitions
2016-01-30 16:36:35.988 [INFO ] [ome.event.GroupItemStateChangedEvent] - DSCAlarmPartitions changed from NULL to UNDEF through PARTITION1_STATUS
2016-01-30 16:36:35.989 [INFO ] [marthome.event.ItemStateChangedEvent] - PARTITION1_STATUS changed from NULL to
2016-01-30 16:36:35.989 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘0’ for item ‘PARTITION1_ARM_MODE’ to handler for channel ‘dscalarm:partition:tcpbridge:partition1:partition_arm_mode’, because no thing with the UID ‘dscalarm:partition:tcpbridge:partition1’ could be found.
2016-01-30 16:36:35.990 [INFO ] [marthome.event.ItemStateChangedEvent] - PARTITION1_ARM_MODE changed from NULL to 0
2016-01-30 16:36:35.991 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘OFF’ for item ‘PARTITION1_ARMED’ to handler for channel ‘dscalarm:partition:tcpbridge:partition1:partition_armed’, because no thing with the UID ‘dscalarm:partition:tcpbridge:partition1’ could be found.
2016-01-30 16:36:35.991 [INFO ] [marthome.event.ItemStateChangedEvent] - PARTITION1_ARMED changed from NULL to OFF
2016-01-30 16:36:35.997 [WARN ] [ome.core.thing.internal.ThingManager] - Cannot delegate update ‘OFF’ for item ‘PARTITION1_ENTRY_DELAY’ to handler for channel ‘dscalarm:partition:tcpbridge:partition1:partition_entry_delay’, because no thing with the UID ‘dscalarm:partition:tcpbridge:partition1’ could be found.

In Paper UI every status is ONLINE .


(BlaineB) #4

I know this is a pretty dead thread, but putting a response here that helped me in case anyone else is having a similar issue.

When I got this, it was because somehow my Envisalink Thing was deleted, so I was performing discovery without an Envisalink thing. Once I re-added it manually through PaperUI, and assigned it the correct IP, it worked like a charm!