core: Error setting up entry ConBee II for deconz

The problem

deCONZ no longer works as of the latest add-on update. Devices can’t be controlled either through Phoscon/deCONZ or Home Assistant.

What version of Home Assistant Core has the issue?

core-2021.12.3

What was the last working version of Home Assistant Core?

2021.12.3

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/

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
    result = await component.async_setup_entry(hass, self)  # type: ignore
  File "/usr/src/homeassistant/homeassistant/components/deconz/__init__.py", line 37, in async_setup_entry
    if not await gateway.async_setup():
  File "/usr/src/homeassistant/homeassistant/components/deconz/gateway.py", line 171, in async_setup
    self.api = await get_gateway(
  File "/usr/src/homeassistant/homeassistant/components/deconz/gateway.py", line 280, in get_gateway
    await deconz.refresh_state()
  File "/usr/local/lib/python3.9/site-packages/pydeconz/gateway.py", line 121, in refresh_state
    data = await self.request("get", "")
  File "/usr/local/lib/python3.9/site-packages/pydeconz/gateway.py", line 141, in request
    return await self._request(
  File "/usr/local/lib/python3.9/site-packages/pydeconz/gateway.py", line 160, in _request
    raise ResponseError(
pydeconz.errors.ResponseError: Invalid content type: text/html

Additional information

Integration says “error setting up integration” and all entities are unavailable

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 12
  • Comments: 16

Most upvoted comments

Same issue as everyone else. Everything Zigbee suddenly stopped working. Took me a while to figure out that the deConz was auto-updated. Lesson learned: Always double check if automatic updates of addons is turned off.

Easiest way to fix it for now is to do a partial restore of just the deCONZ addon.

Jap. First lesson I learned (the hard way) with an InfluxDB addon update back in the days. Never ever auto update addons.

Same error for me.

i’m aware, but even though i created a backup HASSIO doesn’t show that backup…

edit* restored an older backup, wasn’t aware that i could use a partial backup from a full one 😃 thanks for the tip!

I updated to 6.11.0 in order to regain functionality for IKEA switches, but it unfortunately broke my entire deconz setup =(

All i could find in the logs is this:

14:20:26:358 HTTP Server listen on address 0.0.0.0, port: 40850, root: /usr/share/deCONZ/webapp/
14:20:26:555 dev /dev/ttyAMA0
14:20:26:555 COM: /dev/ttyAMA0 / serialno: , RaspBee
14:20:26:556 ZCLDB init file /data/.local/share/dresden-elektronik/deCONZ/zcldb.txt
14:20:26:752 found node plugin: libde_signal_plugin.so - Signal Monitor Plugin
14:20:34:535 found node plugin: libstd_otau_plugin.so - STD OTAU Plugin
14:20:35:782 dev /dev/ttyAMA0
14:20:35:783 COM: /dev/ttyAMA0 / serialno: , RaspBee
parse error: Invalid numeric literal at line 1, column 34
14:20:37:301 device state timeout ignored in state 2
14:20:37:470 Device firmware version 0x26690700 RaspBee II

Downgraded to 6.10.0 and everything worked just fine again.