DSC Alarm integration

I’ve got the Envisalink 4 installed with my DSC alarm…and got an issue : Password is incorrect

envisalink:
  host: 192.168.0.90
  panel_type: DSC
  code: '1234'
  user_name: [email protected]
  password: evz281
  evl_version: 4


2018-10-02 19:39:57 INFO (MainThread) [homeassistant.setup] Setting up envisalink
2018-10-02 19:39:57 INFO (MainThread) [homeassistant.components.envisalink] Start envisalink.
2018-10-02 19:39:57 INFO (MainThread) [root] Connecting to envisalink on host: 192.168.0.90, port: 4025
2018-10-02 19:39:57 INFO (MainThread) [pyenvisalink.envisalink_base_client] Latching onto an existing event loop.
2018-10-02 19:39:57 INFO (MainThread) [pyenvisalink.envisalink_base_client] Started to connect to Envisalink... at 192.168.0.90:4025
2018-10-02 19:39:57 INFO (MainThread) [pyenvisalink.envisalink_base_client] Connection Successful!
2018-10-02 19:39:57 ERROR (MainThread) [pyenvisalink.envisalink_base_client] Password is incorrect. Server is closing socket connection.
2018-10-02 19:39:57 INFO (MainThread) [pyenvisalink.envisalink_base_client] An event loop was given to us- we will shutdown when that event loop shuts down.
2018-10-02 19:39:57 ERROR (MainThread) [homeassistant.components.envisalink] The Envisalink rejected your credentials
2018-10-02 19:39:57 INFO (MainThread) [homeassistant.setup] Setup of domain envisalink took 0.1 seconds.
2018-10-02 19:39:57 ERROR (MainThread) [homeassistant.setup] Setup failed for envisalink: Component failed to initialize.
2018-10-02 19:39:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=persistent_notification, service=create, service_data=title=Invalid config, message=The following components and platforms could not be set up:

 - [envisalink](https://home-assistant.io/components/envisalink/)

Please check your config., notification_id=invalid_config>
2018-10-02 19:39:57 INFO (MainThread) [homeassistant.core] Bus:Handling <Event state_changed[L]: entity_id=persistent_notification.invalid_config, old_state=None, new_state=<state persistent_notification.invalid_config=notifying; title=Invalid config, message=The following components and platforms could not be set up:

 - [envisalink](https://home-assistant.io/components/envisalink/)

Please check your config. @ 2018-10-02T19:39:57.109645+01:00>>

I’m only using 6 chars for the password
The user_name/password are working in the web UI of https://www.eyez-on.com/ where I can see my alarm, “EVL4 DSC”, and the 3 zones.
I’m running Home Assistant 0.76.2 in Docker

Any idea what’s wrong ?

Are you using the user name and password for the Envisalink online service or the one for your local card/interface, i.e. at http://192.168.0.90?
It needs to be the one for the local address.

1 Like

Thanks @chairstacker I didn’t see that in the documentation but you’re right, I’ve now set user/user and it works.

I didn’t even know that the board had an integrated webserver, I’ve only read about the UI on the Ez website

Surprisingly, nothing about alarm or envisalink in /dev-state

What else do you have in your configuration - anything like this?

  keepalive_interval: 60
  zonedump_interval: 60
#  panic_type: Police
  zones:
    09:
      name: 'Front Door'
#      type: 'opening' = default
    11:
      name: 'Office Window'
    16:
      name: 'Living Room Motion'
      type: 'motion'

Once the zones have been defined you should see them show up as binary_sensors.
But I think you should at least be able to find entries for these entities:

  • alarm_control_panel.home_alarm
  • sensor.home_alarm_keypad

Thanks @chairstacker, I’ve edited my config to have

envisalink:
  host: 192.168.0.90
  panel_type: DSC
  code: '1234'
  user_name: user
  password: user
  evl_version: 4
  zones:
    2:
      name: 'Zone 2'
      type: 'opening'
    3:
      name: 'Zone 3'
      type: 'motion'
    4:
      name: 'Zone 4'
      type: 'motion'
    5:
      name: 'Zone 5'
      type: 'motion'
    6:
      name: 'Zone 6'
      type: 'motion'

But surprisingly I don’t see any object with ‘alarm’ in its name, in /dev-state.
But I see the zones as binary sensors.

in the EV4 web UI I can see


and

I can see in

What do I need to add to be able to arm/disarm the alarm, and see the alarm arming state ?

Log is

2018-10-03 10:47:37 INFO (MainThread) [homeassistant.loader] Loaded envisalink from homeassistant.components.envisalink
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.setup] Setting up envisalink
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.components.envisalink] Start envisalink.
2018-10-03 10:47:39 INFO (MainThread) [root] Connecting to envisalink on host: 192.168.0.90, port: 4025
2018-10-03 10:47:39 INFO (MainThread) [pyenvisalink.envisalink_base_client] Latching onto an existing event loop.
2018-10-03 10:47:39 INFO (MainThread) [pyenvisalink.envisalink_base_client] Started to connect to Envisalink... at 192.168.0.90:4025
2018-10-03 10:47:39 INFO (MainThread) [pyenvisalink.envisalink_base_client] Connection Successful!
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.components.envisalink] Established a connection with the Envisalink
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.setup] Setup of domain envisalink took 0.1 seconds.
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.core] Bus:Handling <Event component_loaded[L]: component=envisalink>
2018-10-03 10:47:39 INFO (MainThread) [homeassistant.components.envisalink] Envisalink sent a zone update event. Updating zones...

I also tried to remove the zones config, and I still don’t have

  • alarm_control_panel.home_alarm
  • sensor.home_alarm_keypad

I got it, after seen this post

I was missing

  partitions:
    1:
      name: 'Home Alarm'

:sunglasses:

1 Like

Hi! Thanks for the great work with this DSC integration project. It helps me a lot. I have a request about implement a flag for the code 660 PGM Output command? Would need it to open my garageport with the DSC keyfob.

Thanks for this plugin, it works wonderfully with my DSC & Envisalink 4.

I just want to ask 3 small things:

What is “alpha” (Ready) in Home Keypad?

My second question is, what are these “Ready - Force Arm” messages? At this moment it is disarmed, but I still see these messages on the graph.

My third question is: I have two partitions. Zones are defined by

envisalink:
  host: 192.168.1.xx
  panel_type: DSC
  user_name: xxx
  password: xxx
  code: '1234'
  port: 4025
  evl_version: 4
  keepalive_interval: 60
  zonedump_interval: 30
  zones:
    10:
      name: 'Home - door'
      type: 'opening'
    9:
      name: 'Home - motion'
      type: 'motion'
    1:
      name: 'Shop - front door'
      type: 'opening'
    2:
      name: 'Shop - motion'
      type: 'motion'
    4:
      name: 'Warehouse'
      type: 'motion'
    5:
      name: 'Servis - motion'
      type: 'motion'
    6:
      name: 'Servis - door'
      type: 'opening'
  partitions:
    1:
      name: 'Business'
    2:
      name: 'Home'

Zones doesn’t need to be linked in some way to partitions in the config, right? It’s working fine, I’ll just want to be sure.

One more thing, if Envisalink is unavailable it stops starting HA:

2018-10-28 10:45:15 ERROR (MainThread) [homeassistant.core] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "uvloop/loop.pyx", line 1881, in create_connection
  File "uvloop/loop.pyx", line 1860, in uvloop.loop.Loop.create_connection
OSError: [Errno 113] Host is unreachable
2018-10-28 10:45:18 WARNING (MainThread) [homeassistant.setup] Setup of envisalink is taking over 10 seconds.

Hello,

I’m about to order a DSC system for my home security. I was thinking of adding the internet module TL280 to it, but only now do I discover that won’t suffice for integrating with home assistant :frowning:

Can anybody answer these questions so that I can make my final decision? I would appreciate it a lot:

  1. I’ve read that when one uses the Envisalink module, only one concurrent access is possible, and home assistant would be using it. Adding the Internet module TL280 would also enable an alternate access for redundancy purposes, right?
  2. I’ve read up on the vendor’s site, and the instructions dot the Envisalink device suggests one needs to register for an account and pair the device with the online service. Is this mandatory at all? I would rather not expose my data to online services unless needed.
  3. If I want to spare myself the TL280 module, can anybody comment on what would happen if HA was down and I wanted to access my alarm system?

I thank everyone in advance,

  1. I have no experience with the TL280 module, but I don’t really see much use for it for “redundancy purposes”, especially since HA apparently doesn’t support it. If you lose Internet connectivity, then where is the redundancy?

  2. It’s quite possible you could get away without creating an Eyezon account and get the board working, but I’ve not read of anyone who has done this. Probably worth trying. You do give up the ability to use the Eyezon mobile apps which have their own ability to arm/disarm and more importantly, ALERT you (or an alarm service) fully independent of HA. So that would be a good redundancy option in case HA is down.

  3. In addition to using the Eyezon mobile app or web site, you can also directly access the web server on the Envisalink board with a userid/pw. Of course, you will need a VPN running if you need to access it externally.

  1. Well, I seem to have undervalued the product. I thought it only served as a bridge between the alarm and HA, but I now understand it also features an embedded webserver which enables standalone access to the alarm itself, right? If this is the case, then he TL280 is not adding any value, other than being a fully supported accessory by DSC I guess.
  2. Understood. I currently own a Paradox alarm system, and I can access the alarm system through an app using their internet module. It also is able to notify Alarm Reception Centres when an intrusion is detected. I assume the TL280 does the same and I don’t know whether the Envisalink is able to notify ARC, and if it does I don’t know if ARM in my country will be willing accept notifications generated by this device (there is some sort of certification that security devices must hold if one of these ARMs is to be engaged).
  3. VPN is fine. I’m accessing my HA over VPN, running in a separate hw.

The embedded EVL web server is shown below. It will show you the status of your zones and let you arm/disarm. It also will let you configure network settings and the IP of the alarm service.

I have the 4th edition board. I have home assistant reading the board. Also eyezon is reading the board at the same time. I have not had any issues.

Thanks for your feedback. I called yesterday Eyezone to bitterly discover that my alarm panel (DSC Neo) does not support these modules anymore. I’m frustrated! Can anybody suggest an alternative for cases like mine?

Thanks

I use the pc1832. Just added 2 expansion boards.

Care to elaborate further?

You just replace your neo with the pc1832. When you run out of 8 slots add more expansion boards. Then add a evl4 board. Map home assistant to its ip address of evl4 board. Your off and running.

nice feature would be utilising the Inputs pgm1-4 on the touchscreen panel like i did in homeseer, so when input button 1 is pressed it can be linked to a light in the room etc or an entire scene in hassio

thank you if this is possible

Will this work with wireless sensors that are controlled by my alarm panel?