Hi Community,
I’ve recently setup OH 1.8.0 on an rPI2 using the raspbian apt packaged distribution. I had hoped to connect this to my DSC 5010 alarm using the Envisalink module. I’ve got the EnvisaLink 4 module and now see that the references in the binding documentation refer to the model EnvisaLink 3 (hadn’t seen that before ordering the EL).
Is the binding compatible with the 4? I’m guessing not - but just wanted to confirm with the community.
Problem:
1. Configuration
In /etc/openhab/configurations/openhab.cfg, I’ve included the disc alarm configuration parameters
dscalarm:ip=192.168.X.XX
dscalarm:password=user
dscalarm:usercode=user
(These haven’t been changed from the defaults on the EL4 and I’ve confirmed these work via the HTTP web interface to the EL 4).
2. Items
A simple, single binding to zone 5 to see if it can read a contact.
Contact ZONE5_GENERAL_STATUS "PIRm5 [%s]" (gAlarm) {dscalarm="zone:1:5:zone_general_status"}
3. Log-file
In the log-file, there’s a series of ‘Connection Refused’ errors.
19:01:06.341 [DEBUG] [.dscalarm.internal.model.Panel:51 ] - refreshItem(): Panel Item Name: PANEL_CONNECTION
19:01:06.358 [DEBUG] [.o.b.d.i.DSCAlarmActiveBinding:595 ] - closeConnection(): TCP Connection Closed!
19:01:06.366 [ERROR] [.o.b.d.i.DSCAlarmActiveBinding:142 ] - execute(): Not Connected to the DSC Alarm!
19:01:06.374 [DEBUG] [.o.b.d.i.DSCAlarmActiveBinding:558 ] - reconnect(): API Reconnection!
19:01:06.398 [ERROR] [o.b.d.i.connector.TCPConnector:127 ] - open(): Socket Exception:
java.net.SocketException: Connection reset by peer
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.7.0_40]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339) ~[na:1.7.0_40]
...
...
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:173) [org.openhab.core_1.8.0.jar:na]
4. Ports open on EL4 - Nmap scan of Envisalink
Having read the source for the DSC binding, I see a TCP connection is made on port 4025 to the EL module. On the EL4, nmap seems to indicate there isn’t a TCP port open on 4025.
> nmap 192.168.X.XX
Starting Nmap 6.47 ( http://nmap.org ) at 2016-01-30 18:57 UTC
Nmap scan report for 192.168.X.XX
Host is up (0.00084s latency).
Not shown: 998 closed ports
PORT STATE SERVICE
80/tcp open http
8080/tcp open http-proxy
Nmap done: 1 IP address (1 host up) scanned in 34.51 seconds
Since there’s no TCP port open that the binding’s expecting - does this mean it’s a dead-end with the EL4 - or - is there something I’m missing here?
Any advice / guidance appreciated.