Page 1 of 1

Improvement suggested to Blinds management in FloorPlan

Posted: Monday 06 January 2025 14:21
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

Re: Improvement suggested to Blinds management in FloorPlan

Posted: Thursday 09 January 2025 8:30
by gizmocuz
Thank you for the code suggestion.
I made some changes in beta 16452 that should support blinds+stop now