deconz-community / node-red-contrib-deconz

Node-Red Nodes for deCONZ connectivity.
GNU General Public License v3.0
84 stars 16 forks source link

Can't control window covering #161

Closed raddi closed 2 years ago

raddi commented 2 years ago

So with version 2.x i can no longer control my windows covering anymore. it does not matter which settings i use, set it to x percent "Lift" or "Open/Close" set to open or close, nothing happens. I can still control it with the deconz homebridge plugin so there is a problem with this node-red plugin.

Zehir commented 2 years ago

The windows covering was using the on/bri values but it's deprecated since a long time. Can you send me a screen shot of your flow and the node configuration ?

raddi commented 2 years ago
Bildschirmfoto 2021-10-14 um 17 10 32

I set the Window Covering to toggle (or in other flows to on/off) and it did not matter what message i sent to the node because it just toggled whenever a message was received (i sent just a timecode at specific times a day or a buttonevent when a zigbee button is pressed) message. With the new version i can't figure out what to set the window covering node to to trigger the blind.

Zehir commented 2 years ago

Could you send me some msg from the input node of the windows cover ? I don't have a windows cover here to test it. I would like to have the complete message with msg.meta and msg.raw_payload when you open it, when you close it

czm97176 commented 2 years ago

Hi,

i am coming from another thread. https://github.com/deconz-community/node-red-contrib-deconz/issues/158 This is my complete message for your reference below are the message from "CLOSE" to "OPEN" and trigger by my manual pull.

{ "payload": { "alert": "none", "bri": 0, "lift": 0, "on": false, "open": true, "reachable": true }, "topic": "", "payload_format": "complete", "payload_raw": { "etag": "bc13ba36e99d53b3f4d18c40326e95dd", "hascolor": false, "lastannounced": "2020-12-29T15:36:33Z", "lastseen": "2021-10-17T01:04Z", "manufacturername": "_TYST11_xu1rkty3", "modelid": "u1rkty3", "name": "大房窗簾", "state": { "alert": "none", "bri": 0, "lift": 0, "on": false, "open": true, "reachable": true }, "swversion": null, "type": "Window covering device", "uniqueid": "ec:1b:bd:ff:fe:68:80:15-01", "device_type": "lights", "device_id": 13, "device_path": "lights/uniqueid/ec:1b:bd:ff:fe:68:80:15-01" }, "payload_type": "state", "meta": { "etag": "bc13ba36e99d53b3f4d18c40326e95dd", "hascolor": false, "lastannounced": "2020-12-29T15:36:33Z", "lastseen": "2021-10-17T01:04Z", "manufacturername": "_TYST11_xu1rkty3", "modelid": "u1rkty3", "name": "大房窗簾", "state": { "alert": "none", "bri": 0, "lift": 0, "on": false, "open": true, "reachable": true }, "swversion": null, "type": "Window covering device", "uniqueid": "ec:1b:bd:ff:fe:68:80:15-01", "device_type": "lights", "device_id": 13, "device_path": "lights/uniqueid/ec:1b:bd:ff:fe:68:80:15-01" }, "meta_changed": [], "_msgid": "1d27a324451c12b4" }

{ "payload": { "alert": null, "bri": null, "lift": null, "on": true, "open": false, "reachable": true }, "topic": "", "payload_format": "complete", "payload_raw": { "e": "changed", "id": "13", "r": "lights", "state": { "alert": null, "bri": null, "lift": null, "on": true, "open": false, "reachable": true }, "t": "event", "uniqueid": "ec:1b:bd:ff:fe:68:80:15-01" }, "payload_type": "state", "meta": { "etag": "bc13ba36e99d53b3f4d18c40326e95dd", "hascolor": false, "lastannounced": "2020-12-29T15:36:33Z", "lastseen": "2021-10-17T01:04Z", "manufacturername": "_TYST11_xu1rkty3", "modelid": "u1rkty3", "name": "大房窗簾", "state": { "alert": null, "bri": null, "lift": null, "on": true, "open": false, "reachable": true }, "swversion": null, "type": "Window covering device", "uniqueid": "ec:1b:bd:ff:fe:68:80:15-01", "device_type": "lights", "device_id": 13, "device_path": "lights/uniqueid/ec:1b:bd:ff:fe:68:80:15-01" }, "meta_changed": [ "state.alert", "state.bri", "state.lift", "state.on", "state.open" ], "_msgid": "90a63f10bac40c2b" }

Zehir commented 2 years ago

The 2.0.7 fixed this issue, could you try and give me feedback ?

raddi commented 2 years ago

Yes, working as expected now, thank you for the fast support!