Improvement suggested to Blinds management in FloorPlan

Please use template to report bugs and problems. Post here your questions when not sure where else to post
Only for bugs in the Domoticz application! other problems go in different subforums!

Moderators: leecollings, remb0

Forum rules
Before posting here, make sure you are on the latest Beta or Stable version.
If you have problems related to the web gui, clear your browser cache + appcache first.

Use the following template when posting here:

Version: xxxx
Platform: xxxx
Plugin/Hardware: xxxx
Description:
.....

If you are having problems with scripts/blockly, always post the script (in a spoiler or code tag) or screenshots of your blockly

If you are replying, please do not quote images/code from the first post

Please mark your topic as Solved when the problem is solved.
Post Reply
meal
Posts: 106
Joined: Monday 04 March 2019 14:59
Target OS: Raspberry Pi / ODroid
Domoticz version: 2024.7
Location: France
Contact:

Improvement suggested to Blinds management in FloorPlan

Post by meal »

Hi

1 - Context:

Version: 2024.7 (build 16450)
Build Hash: 38a2c6eae
Compile Date: 2025-01-05 15:14:56
dzVents Version: 3.1.8
Python Version: 3.9.2 (default, Feb 28 2021, 17:03:44) [GCC 10.2.1 20210110]

2 - Improvement suggested to Blinds management in FloorPlan
The objective is to complement the open/close control already provided with the stop action.

To to so in /home/pi/domoticz/www/js/domoticzdevices.js replace in function Blinds(item) :

line 1394 this.image2 = '';

by:
line 1394 this.image2 = 'images/blindsstop.png';
line 1395 this.onClick2 = 'SwitchLight(' + this.index + ",'Stop'," + this.protected + ');';

BR
meal
User avatar
gizmocuz
Posts: 2394
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: Improvement suggested to Blinds management in FloorPlan

Post by gizmocuz »

Thank you for the code suggestion.
I made some changes in beta 16452 that should support blinds+stop now
Quality outlives Quantity!
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests