Envisalink - Invalid Config (windows 10) New to HA

Log Details (ERROR)
Sun Jul 22 2018 13:17:59 GMT-0700 (Pacific Daylight Time)
Error during setup of component envisalink

Traceback (most recent call last):
File “E:\Python\lib\site-packages\homeassistant\setup.py”, line 143, in async_setup_component
hass, processed_config)
File “E:\Python\lib\site-packages\homeassistant\components\envisalink.py”, line 87, in async_setup
from pyenvisalink import EnvisalinkAlarmPanel
File "C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pyenvisalink_init
.py", line 2, in
from .envisalink_base_client import EnvisalinkClient
File “C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pyenvisalink\envisalink_base_client.py”, line 14
from asyncio import async
^
SyntaxError: invalid syntax

configuration.yaml

envisalink

envisalink:
host: 192.168.1.161
panel_type: DSC
user_name: user
password: user
code: ‘1234’
evl_version: 4
keepalive_interval: 60
zonedump_interval: 30
zones:
12:
name: ‘Back Door’
type: ‘opening’
2:
name: ‘Garage Door’
type: ‘opening’
9:
name: ‘Main Floor’
type: ‘motion’

I’ve tested the username / password / ip by directly going to the ip logging in and seeing the alarm status. I’ve tested with removing all zones and partitions and everything not “required” and I always get invalid config error.

That configuration doesn’t have the port I forgot to put it back in but it should default and I’ve tested with and without many times.

I’m very new to HA (1 day) and I’m starting to think its more of an issue with my install on windows 10 than the component itself.
I’m tempted to go buy another pi and just start over to rule out the OS windows 10.

Any help or input would be greatly appreciated!

Try posting your yaml with the proper formatting. hilight it and click the </> . It could be something as simple as an extra space.

1 Like

Thank you very much for your reply. I did spend a lot of time reviewing the formatting even installed notepad++ to try and help.
I’m pasting it here again, I hope its better for review.

envisalink

envisalink:
  host: 192.168.1.161
  panel_type: DSC
  user_name: user
  password: user
  code: '1111'
  evl_version: 4
  keepalive_interval: 60
  zonedump_interval: 30
  zones:
    12:
      name: 'Back Door'
      type: 'opening'
    2:
      name: 'Garage Door'
      type: 'opening'
    9:
      name: 'Main Floor'
      type: 'motion'

I just redid all the text for envisalink in the configuration.yaml. (my wink hub is being discovered and ignored until I get authenticated.

2018-07-22 17:45:34 ERROR (MainThread) [homeassistant.setup] Error during setup of component envisalink
Traceback (most recent call last):
File “E:\Python\lib\site-packages\homeassistant\setup.py”, line 143, in async_setup_component
hass, processed_config)
File “E:\Python\lib\site-packages\homeassistant\components\envisalink.py”, line 87, in async_setup
from pyenvisalink import EnvisalinkAlarmPanel
File "C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pyenvisalink_init
.py", line 2, in
from .envisalink_base_client import EnvisalinkClient
File “C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pyenvisalink\envisalink_base_client.py”, line 14
from asyncio import async
^
SyntaxError: invalid syntax
2018-07-22 17:45:49 WARNING (SyncWorker_39) [netdisco.ssdp] Error fetching description at http://127.0.0.1:58080/2b43d64248.xml
2018-07-22 17:45:49 WARNING (SyncWorker_39) [netdisco.ssdp] Error fetching description at https://192.168.1.151:8888
2018-07-22 17:45:50 ERROR (MainThread) [homeassistant.setup] Error during setup of component wink
Traceback (most recent call last):
File “E:\Python\lib\site-packages\homeassistant\setup.py”, line 146, in async_setup_component
component.setup, hass, processed_config) # type: ignore
File “E:\Python\lib\concurrent\futures\thread.py”, line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "E:\Python\lib\site-packages\homeassistant\components\wink_init
.py", line 228, in setup
from pubnubsubhandler import PubNubSubscriptionHandler
File “C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pubnubsubhandler.py”, line 10, in
from pubnub.pubnub import PubNub
File “C:\Users\rob\AppData\Roaming.homeassistant\deps\Python37\site-packages\pubnub\pubnub.py”, line 104
self._pubnub.time().async(self._call_time_callback)
^
SyntaxError: invalid syntax

I don’t have Envisalink, so I can’t pinpoint 100%… but I would start by taking out everything that is optional and see if it loads error free. Then add the optional items and see what causes the error

1 Like

Thank you very much forsquirl, you’ve been really helpful.
I already tried removing all the optional parts but still couldn’t it it working.

I just ordered another PI and I’m going to install HA they its designed and test again. I will also follow up in this post after its arrived and I’ve set it up.

Thanks again for your help.

Just to follow up, I bought a PI3 and installed HASS.IO and the envisalink works well now.
I haven’t setup arm and disarm buttons but it checks and updates zones.