Closed Nastras closed 1 year ago
Setting Enabled updates Status Active, but doesn't update config.on
on the deCONZ gateway. This is a bug (simply missing the code needed for this) alright. Not just for the lumi.vibration.aq1
, but for any (service based on a) sensors
resource.
Setting Duration or Motion Sensitivity from Eve should work. Note however:
config/duration
(or config/delay
), so a value of 65 (seconds) is reported as 2 min). When setting Duration to the lowest value (5 secs), Homebridge deCONZ sets config/duration
(or config/delay
) to 0.state/vibration
(or state/presence
) after config/duration
seconds. The PR is included from v2.22.1-beta onwardsconfig/sensitivity
from 0
(lowest) to config/sensitivitymax
. For the lumi.vibraton.aq1
, this is only done by the DDF from https://github.com/dresden-elektronik/deconz-rest-plugin/pull/6919, which is included from v2.22.1-beta onwards.config/duration
is handled purely by deCONZ, config/sensitivity
and config/delay
need to be written to the Zigbee device. This might be challenging for sleepy devices, like the lumi.vibration.aq1
, especially when exposed through legacy code.Thanks for the great explanation 👌
I am not familiar with the DDF thing so far. I wanted to have a look at it for some time but have not yet got around to it. Therefore, I have all devices standard integrated without changes. Is it worth to get familiar with the DDF function?
If I understood you correctly you can fix the behavior but with a fix in an update or?
DDF is just the new way of how deCONZ adds support for (new) devices. Each new version includes more and more DDFs, and deletes the legacy code bit by bit. Unless you want to add support for new devices, you don’t need to handle DDFs yourself.
config/on
will be fixed in the next release of Homebridge deCONZ. For the others you need deCONZ v2.22.1-beta, or a subsequent stable release.
config/on
will be fixed in the next release of Homebridge deCONZ.
v0.1.19.
Hi Erik, I have a small problem with a vibration sensor from Aqara. When I use Sensitive, Duration or Enable the new vale jumps back to the original value after a short time. It does not save the new values. For all other aqara devices, it saves the adjusted new values.
Should the behavior with homebridge-deconz not be past or is it a bug?