Getting deconz up and running in kvm is just a matter of installing Debian in kvm, but also assigning the conbee to be attached to the vm. I run unraid so it’s very point-and-clicky, but the config that needs to be added is:
Once Debian is up and running, just install the deconz deb package from Dresden Elektronik’s website (dpkg -i deconz-2.04.99-qt5.deb). See my Dockerfile below for the packages you need to install beforehand. Hopefully, it should be working in Docker pretty soon anyway.
I’m not keen on reinstalling deconz now, but if I do, I’ll be sure to write a proper guide for this.
The Trådfri lights have been rock-solid using the Trådfri gateway, especially after the last few updates. Using conbee however is a different story. Guessing it’s this issue, so I’m using the Tradfri gateway for the light until they release an update to address this.
I have added a MI Temperature & Humidity Sensor to Deconz and named it in the web interface (pwa) and it is show in HASS as name and name_2.
So I used the friendly_name in customise to distinguish between them (and hide the humidity, as the temp was all I wanted). All was good, until I restarted HASS and suddenly the 2 sensors had swapped around, and now th temp was hidden and the humidity was being shown.
Is there any configuration I need to do to give them different names in deConz so they will constantly be the same in HASS?
I thought that I had fixed it, but apparently the fix wasn’t enough. I don’t have this kind of devices myself. There is new functionality arriving in hass (hopefully this week), that will solve it.
What you can do to remedy this is by renaming the sensors individually over deconz API. The issue lies with the sensors having the same name forcing hass to add a suffix
You are the first trying the service. Alas there is a small bug in the service being the wrong type failing the call. I have a fix in a PR that will also allow you to use the entity I’d to do the service call. It’s in review right now
@Robban, so far my things works pretty good. I have one suggestion which i never got to make in my module. A service that can be called in automations so that it refreshes the items from deConz. In my case some lights get’s Powered off so if i restart HASS in a point where the light are not on then they won’t be shown in HASS until it get’s restarted. I think it would be nice to have a service that i can call from automation on a interval that refreshes the entites from deConz.
Can you check if your devices generate a web socket event like ‘added’ or similar? Then it would behave the same as adding new devices which I’ve planned to support
So I’m not sure if this is the best place to ask this, but I’m interested in replacing my Xiaomi Gateway with a Conbee Stick, but I would like to know how the latency of when a sensor is triggered to it updating in HASS is using deCONZ and Conbee.
In particular I have a number of Aqara Human Body Sensors that are on busy doorways and the current method of using the Xiaomi Gateway has about a 2 minute reset time once the motion sensor is triggered. This makes it basically unusable to detect people coming through the doorway if they are within 2 minutes of each other. Is the Conbee and deConz better?
According to another thread, there is no way to change it, the best you can do is to manually change the code to get HA to poll the gateway every 5 secs instead of every 30 secs (default). The problem is that the motion sensor only updates the gateway every minute or so and there is no guarantee that HA and the gateway are polling are in sync, so HA could miss the update.
That’s why I want to know if this Conbee + deCONZ setup is a better alternative
Sorry I can’t answer that since I don’t have one of those sensors. I like deconz but I don’t know if it will magically fix the behavior or not. Maybe you can create an issue in their GitHub and ask this question, they should be able to answer on the implementation of deconz.
Update: Migrated my config from my ubuntu server by copying all the files in /home/pi/.local/share/dresden-elektronik/deCONZ/ to a folder on my docker host. Created the container with the command found on dockerhub.
After it was started I needed to get a new API KEY, the discovery function wouldn’t work so i used Postman in google chrome to create an API call.
Just copy the example request data and replace the username with something you want as API KEY, can be a regular password, then hit post and it will be configured.