home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
72.62k stars 30.38k forks source link

Envisalink does not create the alarmpanel component #42235

Closed rgabrielson11 closed 3 years ago

rgabrielson11 commented 3 years ago

The problem

I have installed the Envisalink EVL4 unit with my Honeywell panel. Previously had the EVL3 device. The device is conecting to per the logs and creates the envisalink.invoke_custom_function service. However, does not create the alarm_control_panel device. HA appears to be communicating with the device per the logs - I am seeing messages about motion detection, etc. I have added and removed the component multiple times, as well as tried removing other alarm components, which did not correct.

Environment

arch x86_64
dev false
docker true
hassio false
installation_type Home Assistant Container
os_name Linux
os_version 4.19.107-Unraid
python_version 3.8.5
timezone America/Los_Angeles
version 0.116.4
virtualenv false

Problem-relevant configuration.yaml


homeassistant:
  packages:
    pack_1: !include vacuum.yaml 
  customize: !include customize.yaml
  auth_providers:
    - type: homeassistant
    - type: trusted_networks
      trusted_networks:
        -
      trusted_users:

  media_dirs:
    music: /mnt/music
frontend:
  themes: !include_dir_merge_named themes/
logger:
  default: info
  logs:
    homeassistant.components.envisalink: debug
    pyenvisalink.envisalink_base_client: debug

logbook:
system_log:
  max_entries: 10000
default_config:
google:
  client_id: !secret gclient_id
  client_secret: !secret gclient_secret
influxdb: !include influxdb.yaml
envisalink:
  host: 192.168.1.75
  panel_type: HONEYWELL
  user_name: xxx
  password: xxxx
  evl_version: 4
  code: xxxx
  timeout: 100

recorder:
mobile_app:
discovery:
notify: !include notify.yaml
tts:
  - platform: google_translate
    service_name: google_say
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml
sun:
weather:
  - platform: darksky
    api_key: !secret dskey
    scan_interval:
      minutes: 20
    mode: daily      
fan: !include fans.yaml
input_number: !include input_number.yaml
input_select: !include input_select.yaml
input_datetime: !include input_datetime.yaml
input_boolean: !include input_boo.yaml
input_text: !include input_text.yaml
camera: !include camera.yaml
ffmpeg:
switch: !include switch.yaml
remote: !include remote.yaml
sensor: !include sensor.yaml
light: !include light.yaml
timer: !include timer.yaml
binary_sensor: !include binary_sensor.yaml
cover: !include cover.yaml
device_tracker: !include device_tracker.yaml
scene: !include scenes.yaml
mqtt: !include mqtt.yaml
media_player: !include media.yaml
shell_command: !include shell_command.yaml
cloud:
ios:
ambient_station:
  api_key: !secret ambientapi
  app_key: !secret ambientapp
hacs:
  token: !secret hacstoken
zoneminder:
  - host: 192.168.1.189:8878
    path: /zm/
    path_zms: /zm/cgi-bin/nph-zms
    ssl: false
    username: xxxx
    password: xxxx
fastdotcom:
  scan_interval:
      minutes: 30
glances:
  - host: 192.168.1.189
    name: unraid_glances
nest:
  client_id: !secret nestuser
  client_secret: !secret nestpass
amcrest:
  - host: 192.168.1.122
    username: xxxx
    password: xxxx
    name: SouthDriveway Cam
  - host: 192.168.1.183
    username: xxxx
    password: xxxx    
    name: NorthDriveway Cam 
  - host: 192.168.1.108
    username: xxxx
    password: xxxx
    name: FrontDoor Cam     

Traceback/Error logs

2020-10-22 13:50:28 INFO (MainThread) [homeassistant.setup] Setting up envisalink
2020-10-22 13:50:28 INFO (MainThread) [homeassistant.components.envisalink] Start envisalink
2020-10-22 13:50:28 INFO (MainThread) [root] Connecting to envisalink on host: 192.168.1.75, port: 4025
2020-10-22 13:50:28 INFO (MainThread) [pyenvisalink.envisalink_base_client] Latching onto an existing event loop.
2020-10-22 13:50:28 INFO (MainThread) [pyenvisalink.envisalink_base_client] Started to connect to Envisalink... at 192.168.1.75:4025
2020-10-22 13:50:28 INFO (MainThread) [pyenvisalink.envisalink_base_client] Connection Successful!
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ----------------------------------------
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] RX < Login:
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] calling handler: handle_login for code: Login: with data: 
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] TX > b'xxxx'
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] Invoking callback: callback_login
2020-10-22 13:50:28 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ---------------------------------------
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ----------------------------------------
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] RX < OK
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] calling handler: handle_login_success for code: OK with data: 
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] Password accepted, session created
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] Invoking callback: callback_login_success
2020-10-22 13:50:29 INFO (MainThread) [homeassistant.components.envisalink] Established a connection with the Envisalink
2020-10-22 13:50:29 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ----------------------------------------
2020-10-22 13:50:29 INFO (MainThread) [homeassistant.setup] Setup of domain envisalink took 0.6 seconds
2020-10-22 13:50:32 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ----------------------------------------
2020-10-22 13:50:32 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] RX < %00,01,1C08,08,00,****DISARMED****  Ready to Arm  $
2020-10-22 13:50:32 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] calling handler: handle_keypad_update for code: %00 with data: 01,1C08,08,00,****DISARMED****  Ready to Arm  
2020-10-22 13:50:32 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] Invoking callback: callback_keypad_update
2020-10-22 13:50:32 DEBUG (MainThread) [homeassistant.components.envisalink] Envisalink sent new alarm info. Updating alarms...
2020-10-22 13:50:32 DEBUG (MainThread) [pyenvisalink.envisalink_base_client] ----------------------------------------

Additional information

rgabrielson11 commented 3 years ago

disregard. discovered I did not include the required 'partition' config at the bottom of the zones list. this did not error. added and it works.