openhab-addons: [deCONZ] Window Covering not working
Device: MoesHouse/Tuya AM43 Blinds Drive via deCONZ is not working
Expected Behavior
Clicking UP or DOWN should make the blinds drive move.
Current Behavior
When I click DOWN, I can see the following in the logs:
2021-05-28 18:47:13.752 [TRACE] [internal.handler.DeconzBridgeHandler] - Sending {"on":true,"ontime":0} via http://10.0.0.99:80/api/0D234FD02F/lights/6/state
2021-05-28 18:47:13.757 [WARN ] [ernal.handler.DeconzBaseThingHandler] - Sending command DOWN to channel deconz:windowcovering:000000000000:847127fffe1aa5d901:position failed: 400 - [{"error":{"address":"/lights/6/state","description":"parameter, ontime, not available","type":6}}]
And nothing happens.
If I click UP, I can see the following:
2021-05-28 19:00:23.708 [TRACE] [internal.handler.DeconzBridgeHandler] - Sending {"on":false} via http://10.0.0.99:80/api/0D234FD02F/lights/6/state
2021-05-28 19:00:23.731 [TRACE] [ernal.handler.DeconzBaseThingHandler] - Result code=200, body=[{"success":{"/lights/6/state/open":true}}]
And besides the successful message, and the blinds being closed/down, nothing happens.
Possible Solution
According to a deCONZ member on https://github.com/dresden-elektronik/deconz-rest-plugin/issues/4942 ontime is not a supported parameter on their API.
Steps to Reproduce (for Bugs)
- Create a item like below
"LivingRoomBlinds": {
"class": "org.openhab.core.items.ManagedItemProvider$PersistedItem",
"value": {
"groupNames": [
"LivingRoom"
],
"itemType": "Rollershutter",
"tags": [
"Blinds"
],
"label": "Living Room Blinds",
"category": "Rollershutter"
}
},
- Connect it to the windowcovering thing in deCONZ
- Hit
UPorDOWNcommands.
Context
Trying to control the blinds using the item:

Your Environment
- Version used: openHAB 3.1.0M4
- Operating System and version: openHabian
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 18 (11 by maintainers)
Commits related to this issue
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mh... — committed to openhab/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mh... — committed to computergeek1507/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mherbs... — committed to lucacalcaterra/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mherbs... — committed to lucacalcaterra/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mherbs... — committed to lucacalcaterra/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mh... — committed to frederictobiasc/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mh... — committed to thinkingstone/openhab-addons by MHerbst 3 years ago
- [deconz] Set "ontime" option only if thing has got an ONTIME channel (#10829) * Set "ontime" option only if thing has got an ONTIME channel Fixes #10774 Signed-off-by: Martin Herbst <develop@mh... — committed to bosch-io/openhab-addons by MHerbst 3 years ago
@junalmeida I have probably solved the problem for window coverings, but I still need to make sure that the fix does not have a negative impact on devices that support “on time” before I can submit a PR.
I can confirm that this is a bug. UP (and setting a position) works for me, but neither DOWN nor STOP. This is a regression introduced with #9914.