Page 1 of 1

Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Wednesday 27 May 2020 17:10
by Ashitaka
Well hello there,

I witnessed a strange behavior while testing my blinds on Dashticz.

Inside, Domoticz, no problems at all, everything is working as intended.
Meanwhile, when I'm using the blind inside Dashticz, the "STOP" button isn't working as intended.

When using it, it sent twice the json request to Domoticz API instead of once.

Code: Select all

var blind_room1               = 12;

blocks[blind_room1] = {}
blocks[blind_room1]['title'] = 'Blind of Room1';
blocks[blind_room1]['width'] = 6;
blocks[blind_room1]['last_update'] = false;
I could'nt figure where the bug were located inside the code (not the one I quoted obviously ^^').

The problem is:
When my blind is receiving the first request, it stopped, but when the second request occured, he started again to move xD, so I can't use the stop button properly, because it's not stopping xD

(I'm using the beta btw)

Re: Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Wednesday 27 May 2020 17:26
by Lokonli
I'll check

Re: Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Wednesday 27 May 2020 21:14
by Lokonli
Fixed in latest beta.

Re: Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Thursday 28 May 2020 16:21
by Ashitaka
Thanks a lot, I'll test that soon (is it already in the 3.4.9.1 ?)

Re: Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Thursday 28 May 2020 20:46
by Lokonli
You have to pull the latest version from github. I did not increase the version number yet.

Sent from my SM-A320FL using Tapatalk


Re: Blinds - "Stop" Button send the STOP command twice to Domoticz

Posted: Friday 29 May 2020 13:23
by Ashitaka
It's working ! Thanks for the fix