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

Moderator: leecollings

Post Reply
Ashitaka
Posts: 10
Joined: Monday 11 May 2020 10:17
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Contact:

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

Post 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)
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Lokonli »

I'll check
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post by Lokonli »

Fixed in latest beta.
Ashitaka
Posts: 10
Joined: Monday 11 May 2020 10:17
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Contact:

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

Post by Ashitaka »

Thanks a lot, I'll test that soon (is it already in the 3.4.9.1 ?)
Lokonli
Posts: 2271
Joined: Monday 29 August 2016 22:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

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

Post 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

Ashitaka
Posts: 10
Joined: Monday 11 May 2020 10:17
Target OS: NAS (Synology & others)
Domoticz version: 2020.2
Contact:

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

Post by Ashitaka »

It's working ! Thanks for the fix
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests