Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deCONZ failed to setup triggers #2927

Closed
freshprogrammer opened this issue Mar 22, 2023 · 1 comment
Closed

deCONZ failed to setup triggers #2927

freshprogrammer opened this issue Mar 22, 2023 · 1 comment
Labels

Comments

@freshprogrammer
Copy link

freshprogrammer commented Mar 22, 2023

Describe the issue you are experiencing

reporting from https://community.home-assistant.io/t/automation-triggered-but-does-not-run-actions-since-last-update-2022-10-4/476854/30

If I look at the automation page when I push the zigbee button, the blue banner says it has received the event, but the actions of the automation don’t run.

If I execute the automation manually, all the steps complete flawlessly.

Looking at core logs, lines like these show up when reloading automations:

2023-02-17 20:43:33.851 ERROR (MainThread) [homeassistant.components.automation] Automation with alias 'Interruptor luz habitación azul - alternar - apagar' failed to setup triggers and has been disabled: deCONZ trigger ('remote_button_short_release', 'turn_on') is not valid for device DeviceEntry(area_id=None, config_entries={'3e876c9d42e4428b613d614a22680349'}, configuration_url=None, connections={('zigbee', '84:b4:db:ff:fe:7a:54:9c')}, disabled_by=None, entry_type=None, hw_version=None, id='34346d513ac49363cd0480fab4553d36', identifiers={('deconz', '84:b4:db:ff:fe:7a:54:9c')}, manufacturer='IKEA of Sweden', model='Remote Control N2', name_by_user=None, name='Styrbar 001', suggested_area=None, sw_version='1.0.024', via_device_id='3cafd0fbf8ed7e9b05c25fbe2f4deb09', is_new=False) (34346d513ac49363cd0480fab4553d36)
Restarting HA may or may not resolve the issue. I mean, sometimes HA boots with the issue, some other times boots without it.

However, if the automation doesn’t trigger on button push, and I duplicate the trigger definition within the automation, then it runs successfully. Yep, just by defining something like “when (button1 is pushed) or (button1 is pushed)” the automation starts to fire. And, if you look at the automation page while pushing the button you can see 2 banners, one over every button pushed trigger condition.

What type of installation are you running?

Home Assistant OS

Which operating system are you running on?

Home Assistant Operating System

Which add-on are you reporting an issue with?

Almond

What is the version of the add-on?

6.18.0

Steps to reproduce the issue

If I look at the automation page when I push the zigbee button, the blue banner says it has received the event, but the actions of the automation don’t run.

System Health information

System Information

version core-2023.3.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.10.10
os_name Linux
os_version 5.15.76-v8
arch aarch64
timezone America/Chicago
config_dir /config
Home Assistant Cloud
logged_in true
subscription_expiration July 3, 2023 at 7:00 PM
relayer_connected true
remote_enabled true
remote_connected true
alexa_enabled true
google_enabled true
remote_server us-east-1-1.ui.nabu.casa
can_reach_cert_server ok
can_reach_cloud_auth ok
can_reach_cloud ok
Home Assistant Supervisor
host_os Home Assistant OS 9.4
update_channel stable
supervisor_version supervisor-2023.03.1
agent_version 1.4.1
docker_version 20.10.19
disk_total 27.7 GB
disk_used 13.9 GB
healthy true
supported true
board rpi3-64
supervisor_api ok
version_api ok
installed_addons Mosquitto broker (6.1.3), Studio Code Server (5.5.1), Samba share (10.0.0), AirCast (3.5.0), deCONZ (6.18.0), Terminal & SSH (9.6.1)
Dashboards
dashboards 2
resources 0
views 6
mode storage
Recorder
oldest_recorder_run March 15, 2023 at 1:10 AM
current_recorder_run March 21, 2023 at 2:43 AM
estimated_db_size 68.93 MiB
database_engine sqlite
database_version 3.38.5

Anything in the Supervisor logs that might be useful for us?

No response

Anything in the add-on logs that might be useful for us?

Logger: homeassistant.components.deconz
Source: components/deconz/gateway.py:359
Integration: deCONZ (documentation, issues)
First occurred: March 21, 2023 at 2:44:01 AM (1 occurrences)
Last logged: March 21, 2023 at 2:44:01 AM

Error connecting to deCONZ gateway at core-deconz

##########################################

Logger: homeassistant.config_entries
Source: config_entries.py:425
First occurred: March 21, 2023 at 2:44:01 AM (3 occurrences)
Last logged: March 21, 2023 at 2:44:21 AM

Config entry '00212E0745EE' for deconz integration not ready yet; Retrying in background
Config entry '192.168.1.106' for octoprint integration not ready yet: Cannot connect to host 192.168.1.106:80 ssl:default [Connect call failed ('192.168.1.106', 80)]; Retrying in background
Config entry '192.168.1.183:19444' for hyperion integration not ready yet: None; Retrying in background

########################################## ~25 times for each deconz device

Logger: homeassistant.components.automation.tag_downstairs_lights_is_scanned
Source: components/automation/__init__.py:603
Integration: Automation (documentation, issues)
First occurred: March 21, 2023 at 2:44:33 AM (1 occurrences)
Last logged: March 21, 2023 at 2:44:33 AM

Got error 'No deconz_event tied to device "Smart Switch - Living Room" found' when setting up triggers for Downstairs button pressed Toggle Lights

##########################################

Additional information

No response

@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@github-actions github-actions bot added the stale label Apr 21, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant