Trying to get eyezon component to load

Hey I’m super new to home assistant and also not a programmer by profession (so you have to talk to me like I’m dumb). I’m trying to get the eyezon component working and the hassio dashboard told me to that the eyes on component couldn’t be setup and I should check my config file. The config file validated just fine so I’m not really sure where I’m going wrong.

Here is what I have in my config file.

Thanks!

envisalink:
  host: 192.168.0.111
  panel_type: DSC
  user_name: (deleted on purpose)
  password: (deleted on purpose)
  code: '6505'
  port: 4025
  evl_version: 4
  keepalive_interval: 60
  zonedump_interval: 30
  timeout: 10
  panic_type: Police
  zones:
    1:
      name: 'Front Door'
      type: 'opening'
    2:
      name: 'Living Room Glass Break'
      type: 'sound'
    3:
      name: 'Living Room Motion'
      type: 'motion'
    4:
      name: 'Judes Door'
      type: 'opening'
    5:
      name: 'Judes Room Glass Break'
      type: 'sound'
    6:
      name: 'Judes Smoke Detector'
      type: 'smoke'
    7:
      name: 'Hall Motion'
      type: 'motion'
    8:
      name: 'Dining Room Smoke'
      type: 'smoke'
    9:
      name: 'Ellas Glass Break'
      type: 'sound'
    10:
      name: 'Smoke Detector'
      type: 'smoke'
    11:
      name: 'Kitchen Glass Break'
      type: 'sound'
    12:
      name: 'Back Door'
      type: 'opening'
    13:
      name: 'Upstairs Smoke Detector'
      type: 'smoke'
  partitions:
    1:
      name: 'Home Alarm'

Have you tried logging into the host with your user_name and password to confirm the envisalink status? Should look something like pic below. Also check the password. Anything longer than 6 characters will get truncated and fail to log in from HA.

My settings:

host: [envisalink ip]
panel_type: DSC
user_name: [user name]
password: [password]
code: [alarm code]
port: 4025
evl_version: 4
keepalive_interval: 60
zonedump_interval: 30
zones:
01:
name: ‘Entry Doors’
type: ‘opening’
02:
name: ‘Formals’
type: ‘opening’
03:
name: ‘Master’
type: ‘opening’
04:
name: ‘Brkfst/Garage’
type: ‘opening’
05:
name: ‘Upstairs’
type: ‘opening’
06:
name: ‘Motion’
type: ‘motion’
partitions:
1:
name: ‘Home Alarm’

Thanks!

So when I did that it crashed home assistant when I tried to reboot it.

does the username and password need to be bracketed? eg:

user_name: ‘username’
password: ‘password’

or no brackets

user_name: username
password: password

Here is the log with the errors.

2019-04-08 22:22:42 WARNING (Recorder) [homeassistant.components.recorder] Ended unfinished session (id=17 from 2019-04-09 02:34:42.660330)
2019-04-08 22:22:43 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:22:44 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:22:44 ERROR (MainThread) [homeassistant.components.device_tracker] Unable to load /config/known_devices.yaml: Config file not found: /config/known_devices.yaml
2019-04-08 22:22:52 WARNING (MainThread) [homeassistant.setup] Setup of envisalink is taking over 10 seconds.
2019-04-08 22:23:14 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:23:14 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:23:44 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:23:44 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:24:14 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:24:14 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:24:44 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:24:44 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:25:15 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)
2019-04-08 22:25:15 ERROR (MainThread) [pyenvisalink.envisalink_base_client] The server closed the connection. Reconnecting...
2019-04-08 22:25:45 ERROR (MainThread) [homeassistant.core] Error doing job: Fatal error on transport TCPTransport
Traceback (most recent call last):
  File "uvloop/handles/stream.pyx", line 827, in uvloop.loop.__uv_stream_on_read_impl
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 172, in data_received
    result = handlerFunc(cmd['code'], cmd['data'])
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 119, in handle_login
    self.send_command(evl_Commands['Login'], self._alarmPanel.password)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/dsc_client.py", line 26, in send_command
    self.send_data(to_send)
  File "/usr/local/lib/python3.7/site-packages/pyenvisalink/envisalink_base_client.py", line 101, in send_data
    _LOGGER.debug(str.format('TX > {0}', data.encode('ascii')))
UnicodeEncodeError: 'ascii' codec can't encode character '\u2019' in position 3: ordinal not in range(128)

I do not use brackets on user_name, password, or code.

for example:

user_name: fred
password: fred5
code: 4532

My be different for DSC, but for my honeywell, it’s user/user for name/password.

Sorry it took me a few days to reply I’ve been out of town on business. I did get the DSC component working! Thanks for the help guys!

Would love to know what you did to get it your Envisalink to connect? I’m getting…
‘’’
[homeassistant.components.envisalink] Could not establish a connection with the Envisalink- retrying…
2020-08-11 00:15:59 ERROR (MainThread) [pyenvisalink.envisalink_base_client] Unable to connect to envisalink. Reconnecting…
2020-08-11 00:15:59 ERROR (MainThread)
‘’’

I can log in via the website, and I get the binary sensor names, but no updating data. I just got the 4EVL board.

Would love some advice ?

I’m having the same problem… I have tried a shortened password. And in my log the integration still fails at that point. I have tried logging out of Envisalink and several other option. Any Ideas?

GOT IT… Like everything with HA the documentation could be a little clearer… the id and password is the id and password of your local envisalink device… NOT the id and password you use to log into the eyezon website to remotely arm your alarm…

1 Like

Did you ever get this working? I am having the same issue verified everything even changed password to confirm still getting that error.