Follow these steps to get the add-on installed on your system:
- Navigate in your Home Assistant frontend to Settings -> Add-ons -> Add-on store.
- Find the "deCONZ" add-on and click it.
- Click on the "INSTALL" button.
If you are using RaspBee, you may need to edit the config.txt
file in the root
of your SD card in order for your RaspBee to be recognized and assigned a device name.
Add following to your config.txt
:
enable_uart=1
dtoverlay=pi3-miniuart-bt
The add-on needs to know where your ConBee/RaspBee can be found, and therefore, you'll need to configure the add-on to point to the right device.
If you're using Home Assistant you may find the correct value for this on the
Settings -> System -> Hardware
page. It is recommended
to use a "by-id" path to the device if one exists, as it is not subject to
change if other devices are added to the system.
- Replace
null
in thedevice
option in the add-on configuration and specify the device name in quotes: e.g. something like"/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_XXXXXXXX-if00"
,"/dev/ttyUSB0"
,"/dev/ttyAMA0"
, or"/dev/ttyACM0"
. - Click on "SAVE" to save the add-on configuration.
- Toggle the "Show in sidebar" to add it to your Home Assistant side bar.
- Start the add-on.
After installing and starting this add-on, access the deCONZ WebUI ("Phoscon") with "WEB UI" button.
By default, Home Assistant has the discovery
integration enabled, which
automatically discovers this add-on.
Navigate to Settings -> Devices & Services -> Integrations page after starting this add-on to configure the deCONZ integration.
In case you don't have discovery
enabled on your Home Assistant instance,
follow these instructions to configure the deCONZ integration:
https://www.home-assistant.io/integrations/deconz/
To migrate deCONZ to Home Assistant and this add-on, backup your deCONZ config via the Phoscon WebUI, then restore that config after installing/reinstalling.
You must perform these steps or your Light, Group names and other data will be lost!
However, your Zigbee devices will still paired to your ConBee or RaspBee hardware.
The add-on allows you to access the underlying deCONZ application running on a remote desktop via VNC. It allows you to view the Zigbee mesh (which can be really helpful when debugging network issues), but also gives you access to tons of advanced features.
To enable it:
- Set a port number for VNC in the "Network" configuration section of the add-on and hit "SAVE". Advised is to use port 5900, but any other port above 5900 works as well.
- Restart the add-on.
To access it, you need a VNC Viewer application. If you are using macOS, you are in luck, since VNC is built-in. Open the spotlight search and enter the VNC service URL.
The VNC service URL looks like vnc://homeassistant.local:5900. Adjust port and possibly hostname if you've changed it in Home Assistant host system settings.
This add-on allows you to upgrade your firmware straight from the Phoscon web interface with ease.
Go to "Settings -> Gateway" and click the upgrade button.
However, some USB sticks (like the Aeotec Z-Wave sticks), can interfere with the upgrade process, causing the firmware upgrade to fail silently. If you end up with the same firmware version as before you started the upgrade, consider unplugging the other sticks and try again.
If that is still not working, try upgrading the firmware manually.
Some add-ons are capable of consuming the deCONZ API directly. Node-RED is
one of those applications, that is available as an add-on, that can
consume the deCONZ API using the node-red-contrib-deconz
node.
WARNING Do not use the following settings to set up a integration manually from within Home Assistant!
To allow these add-ons to connect to deCONZ, use the following settings:
- Host:
core-deconz
- (API) Port:
40850
- WebSocket Port:
8081
Please note: the above settings are likely to change in a future update of this add-on.
Hidden controls are added to the add-on to allow control over the debug output of deCONZ. The following options are hidden, but can be added to the add-on configuration:
dbg_info
dbg_aps
dbg_otau
dbg_zcl
dbg_zdp
These options require a number that represents the log level.
Example add-on config with dbg_aps
enabled on log level 1:
device: /dev/ttyUSB0
dbg_aps: 1
Add-on configuration:
device: /dev/ttyAMA0
The device address of your ConBee/RaspBee.
If you're using Home Assistant you may find the correct value for this on the
Supervisor -> System -> Host system -> Hardware
page. It is recommended
to use a "by-id" path to the device if one exists, as it is not subject to
change if other devices are added to the system.
In most cases this looks like one of the following:
"/dev/serial/by-id/usb-dresden_elektronik_ingenieurtechnik_GmbH_ConBee_II_XXXXXXXX-if00"
(and similar for RaspBee and the original ConBee, replaceXXXXXXXX
with the value you see in your above mentioned hardware page)"/dev/ttyUSB0"
"/dev/ttyAMA0"
"/dev/ttyACM0"
This is an older bug that has been solved in the add-on. The add-on was too quick on sending the gateway ID in the past, before deCONZ had one assigned.
This might cause issues in Home Assistant, like having no devices. It also might cause an issue when the add-on has internal changes and next fails to communicate new settings to Home Assistant.
This can be solved by the following steps:
- Backup your deCONZ data, by going into the Web UI, from the menu choose: Settings -> Gateway -> Backup Option button, next create a new backup and download it onto your computer.
- Uninstall the add-on.
- In Home Assistant, remove the current integration you have for deCONZ.
- Restart Home Assistant.
- Install the deCONZ add-on again, and configure it again according to the instructions.
- Restore the backup you created at the first step at the same location in the Web UI as before.
- Restart the add-on and next, restart Home Assistant once more.
- Follow the instructions on setting up the deCONZ integration.
Please, be sure you don't have the issue with gateway ID 0000000000000000.
It can happen that you have accidentally used an older discovery or a manual set up of the integration in the past. Because of this, the add-on is unable to inform Home Assistant of changed internal settings, which happened in 4.x.
The solution for this is to do the following steps to take care of that issue for once and for all, so in the future, you won't end up having this issue.
- In Home Assistant, remove the current integration you have for deCONZ.
- Restart Home Assistant.
- Follow the instructions on setting up the deCONZ integration.
This will ensure you have a working integration and add-on for the future.
- Use at least 2.5A power supply for your Raspberry Pi! This avoids strange behavior when using this add-on.
- The add-on has no UPnP support.
- If for some reason the deCONZ frontend does not give you an initial setup
for your ConBee or RaspBee and keeps asking for a password, then most likely
delight
is the default password you can use to get in.
Got questions?
You have several options to get them answered:
- The Home Assistant Discord Chat Server.
- The Home Assistant Community Forum.
- Join the Reddit subreddit in /r/homeassistant
- The deCONZ discord server.
In case you've found a bug, please open an issue on our GitHub.