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 dead after last update of HAcore/UI #132543

Open
Flashshad0w opened this issue Dec 7, 2024 · 16 comments
Open

Deconz dead after last update of HAcore/UI #132543

Flashshad0w opened this issue Dec 7, 2024 · 16 comments
Assignees

Comments

@Flashshad0w
Copy link

The problem

The service of deconz is running, but the entities are not reachable - all of them. Deconz is Version 7.0.0. HA Core 2024.11.3
Frontend 20241106.2

What version of Home Assistant Core has the issue?

2024.11.3

What was the last working version of Home Assistant Core?

2024.11.2

What type of installation are you running?

Home Assistant OS

Integration causing the issue

deconz

Link to integration documentation on our website

https://www.home-assistant.io/integrations/deconz

Diagnostics information

home-assistant_2024-12-07T09-22-01.021Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Dec 7, 2024

Hey there @Kane610, mind taking a look at this issue as it has been labeled with an integration (deconz) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of deconz can trigger bot actions by commenting:

  • @home-assistant close Closes the issue.
  • @home-assistant rename Awesome new title Renames the issue.
  • @home-assistant reopen Reopen the issue.
  • @home-assistant unassign deconz Removes the current integration label and assignees on the issue, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


deconz documentation
deconz source
(message by IssueLinks)

@hitec4ever
Copy link

Same issue. Alle entities are unavailable since last update. When checking them I see "The service is disabled by Config entry." . Re-install of Deconz or rollback to previous version did not solve the issue. When clicking Deconz --> Phoscon I get the message: The add-on seems to not be ready, it might still be starting. Do you want to try again?
Restarting Deconz does not solve this.

@Kane610
Copy link
Member

Kane610 commented Dec 7, 2024

Hell if you have problems with the addon you need to report it on the addon repo. This is the core repo for integrations

@hitec4ever
Copy link

@Kane610 reported it in addon repo too: home-assistant/addons#3853

@Flashshad0w
Copy link
Author

@Kane610 I´m pretty sure that it belongs to the last update of HACore and HA OS. The problem belongs to the last update. Maybe i had to tell that in my issue description.

@tuxick
Copy link

tuxick commented Dec 9, 2024

I got stuff on log like:
`2024-12-03 19:01:23.577 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.deconz.light
Traceback (most recent call last):
File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform
cache[full_name] = self._import_platform(platform_name)

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func
return func(*args, **kwargs)

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)

File "", line 1387, in _gcd_import
File "", line 1360, in _find_and_load
File "", line 1331, in _find_and_load_unlocked
File "", line 935, in _load_unlocked
File "", line 995, in exec_module
File "", line 488, in _call_with_frames_removed
File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/components/deconz/light.py", line 46, in
"enchant": LightEffect.ENCHANT,
`

After commenting out ENCHANT and a few more from EFFECT_TO_DECONZ in homeassistant/components/deconz/light.py deconz loaded again, but my RGB bulbs are "Not provided"

@hitec4ever
Copy link

I can't find anything in the logs. I have managed to get most of it working again with a re-install and re-confgure but my Sonoff door sensors and temperature / humity sensors all have status "The device is disabled by Config entry."
They are visible in Deconz Phoscon.

@tuxick
Copy link

tuxick commented Dec 9, 2024

I can't find anything in the logs. I have managed to get most of it working again with a re-install and re-confgure but my Sonoff door sensors and temperature / humity sensors all have status "The device is disabled by Config entry." They are visible in Deconz Phoscon.

try in configuration.yaml:

logger:
   default: warn
      logs:
        pydeconz: info
        homeassistant.components.deconz: info

(or similar, this is what i have)

@hitec4ever
Copy link

I see this in the log:

2024-12-09 15:30:57.784 WARNING (MainThread) [homeassistant.core] Something is blocking Home Assistant from wrapping up the start up phase. We're going to continue anyway. Please report the following info at https://github.com/home-assistant/core/issues: mobile_app.sensor, mqtt, homewizard.sensor, synology_dsm, dhcp, overkiz.siren, media_source, enphase_envoy.binary_sensor, synology_dsm.sensor, met, config, diagnostics, tag, counter, ffmpeg, hue.event, google_home.number, climate, sonos.switch, radio_browser, tapo.sensor, google_home, met.weather, home_connect.binary_sensor, input_button, time, tplink_deco.device_tracker, usb, tibber.notify, schedule, repairs, hassio.binary_sensor, zone, utility_meter, mobile_app.binary_sensor, overkiz.water_heater, esphome.number, event, mqtt.select, home_connect.select, thread, fan, system_log, knmi.binary_sensor, enphase_envoy.sensor, switch, enphase_envoy.switch, overkiz.binary_sensor, home_connect.switch, input_number, backup, co2signal, google_translate, nest.climate, synology_dsm.binary_sensor, mobile_app, tts, knmi.weather, update, default_config, input_select, cloud.tts, my, dlna_dmr.media_player, dlna_dmr, button, automation, hue.light, deconz.climate, template, hacs, buienradar.weather, google_home.switch, mobile_app.notify, min_max, hue.switch, deconz.light, logbook, buienradar, lovelace, overkiz.cover, cast, history, scheduler, tibber, google_home.sensor, deconz.alarm_control_panel, bluetooth, tplink_deco, deconz.cover, overkiz.scene, image_upload, deconz.button, sensor, deconz.switch, google_translate.tts, energy.sensor, home_connect.light, synology_dsm.camera, esphome.update, blueprint, device_automation, onboarding, overkiz, input_datetime, uptime.sensor, hue, webhook, switch_as_x, homeassistant, weather, calendar, homewizard.button, enphase_envoy, mqtt.switch, deconz.sensor, http, scene, recorder, deconz.fan, mqtt.light, alarm_control_panel, deconz.scene, samsungtv.media_player, energy, overkiz.climate, input_boolean, min_max.sensor, deconz.lock, google_assistant, sun, deconz.siren, samsungtv, select, deconz.select, remote, home_connect, wake_word, light, water_heater, device_tracker, samsungtv.remote, tibber.sensor, knmi, overkiz.light, trend.binary_sensor, esphome, sonos.sensor, file_upload, conversation, system_health, mqtt.binary_sensor, homeassistant.scene, persistent_notification, switch_as_x.light, lock, nest, overkiz.sensor, sun.sensor, moon, input_text, buienradar.sensor, logger, frontend, siren, overkiz.select, nest.event, trace, intent, analytics, hue.scene, hassio.sensor, cloud, deconz.number, mqtt.sensor, stream, homewizard, nest.sensor, hue.binary_sensor, home_connect.sensor, sonos, buienradar.camera, overkiz.switch, zeroconf, api, moon.sensor, cast.media_player, template.sensor, overkiz.alarm_control_panel, tapo.light, sonos.number, workday, deconz.binary_sensor, go2rtc, overkiz.number, co2signal.sensor, hacs.sensor, hue.sensor, esphome.light, search, google, stt, google.calendar, overkiz.lock, ipp.sensor, tapo.switch, sonos.binary_sensor, sonos.media_player, home_connect.number, hardware, overkiz.button, uptime, ssdp, application_credentials, script, person, notify, utility_meter.sensor, nest.camera, synology_dsm.update, media_player, network, scheduler.switch, camera, timer, homewizard.number, esphome.sensor, google_assistant.button, workday.binary_sensor, homeassistant_alerts, tapo, synology_dsm.switch, homewizard.switch, tplink_deco.sensor, number, deconz, synology_dsm.button, binary_sensor, hassio.update, auth, websocket_api, cover, assist_pipeline, knmi.sensor, mobile_app.device_tracker, home_connect.time, hassio, history_stats.sensor, mqtt.button, tapo.binary_sensor, ipp The system is waiting for tasks: {<Task pending name='Task-4207' coro=<HacsBase.startup_tasks() running at /config/custom_components/hacs/base.py:695> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()]> cb=[set.remove()]>}

But it also contains other stuff working fine.

@hitec4ever
Copy link

Maybe a video also helps: https://www.loom.com/share/0ca8be4ed8af48308c49377bdc000897

  • Everything visible in Deconz section and working/reporting
  • Deconz loads in Hass
  • Devices are listed in Hass
  • Only lights/switches (sonoff) are working in Hass
  • Door and temperature sensors are offline

@Kane610
Copy link
Member

Kane610 commented Dec 9, 2024

I got stuff on log like: `2024-12-03 19:01:23.577 ERROR (ImportExecutor_0) [homeassistant.loader] Unexpected exception importing platform homeassistant.components.deconz.light Traceback (most recent call last): File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/loader.py", line 1268, in _load_platform cache[full_name] = self._import_platform(platform_name)

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/loader.py", line 1300, in _import_platform return importlib.import_module(f"{self.pkg_path}.{platform_name}")

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/util/loop.py", line 200, in protected_loop_func return func(*args, **kwargs)

File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/importlib/init.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level)

File "", line 1387, in _gcd_import File "", line 1360, in _find_and_load File "", line 1331, in _find_and_load_unlocked File "", line 935, in _load_unlocked File "", line 995, in exec_module File "", line 488, in _call_with_frames_removed File "/home/hass/.pyenv/versions/3.12.4/lib/python3.12/site-packages/homeassistant/components/deconz/light.py", line 46, in "enchant": LightEffect.ENCHANT, `

After commenting out ENCHANT and a few more from EFFECT_TO_DECONZ in homeassistant/components/deconz/light.py deconz loaded again, but my RGB bulbs are "Not provided"

How are you running home assistant? Looks to me that you're running a core installation directly, more than likely you have a pydeconz version mismatch in your environment

@Kane610
Copy link
Member

Kane610 commented Dec 9, 2024

Start by upgrading to latest version of home assistant

@Kane610
Copy link
Member

Kane610 commented Dec 9, 2024

@Kane610 I´m pretty sure that it belongs to the last update of HACore and HA OS. The problem belongs to the last update. Maybe i had to tell that in my issue description.

According to the logs it seems to not be talking with deconz on the setup ip address, if deconz is running but has changed address and the integration has hard coded IP then it will fail, you can try running a new setup of deconz integration (without removing the old one) if that proceeds it will update the existing integrations IP and everything should be working again.

@Flashshad0w
Copy link
Author

Flashshad0w commented Dec 10, 2024

@Kane610 I´m pretty sure that it belongs to the last update of HACore and HA OS. The problem belongs to the last update. Maybe i had to tell that in my issue description.

According to the logs it seems to not be talking with deconz on the setup ip address, if deconz is running but has changed address and the integration has hard coded IP then it will fail, you can try running a new setup of deconz integration (without removing the old one) if that proceeds it will update the existing integrations IP and everything should be working again.

I´ve tried that but it wouldn´t work. I´ve tried the real adress and the homeIPs for that. Also i tried all reachable ports.

grafik
grafik

@tuxick
Copy link

tuxick commented Dec 10, 2024

After commenting out ENCHANT and a few more from EFFECT_TO_DECONZ in homeassistant/components/deconz/light.py deconz loaded again, but my RGB bulbs are "Not provided"

How are you running home assistant? Looks to me that you're running a core installation directly, more than likely you have a pydeconz version mismatch in your environment
Running home assistant in pyenv, not sure what you mean by 'directly.
Homeassistant 2024.12.1, pydeconz is latest, 118

@Flashshad0w
Copy link
Author

Flashshad0w commented Dec 10, 2024

@Kane610 I´m pretty sure that it belongs to the last update of HACore and HA OS. The problem belongs to the last update. Maybe i had to tell that in my issue description.

According to the logs it seems to not be talking with deconz on the setup ip address, if deconz is running but has changed address and the integration has hard coded IP then it will fail, you can try running a new setup of deconz integration (without removing the old one) if that proceeds it will update the existing integrations IP and everything should be working again.

@Kane610: Thanks a lot - i deleted the old configuration under "Devices and Services" (similar) and started to add deCONZ again with the old parameters. I had to put the ports in the addon manually (40850, eg.) and then it worked with the ip adress of phoscon and the port 40850 as usual with the App connection API in Phoscon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants