Confirmation on (virtual) switch

Use this forum to discuss possible implementation of a new feature before opening a ticket.
A developer shall edit the topic title with "[xxx]" where xxx is the id of the accompanying tracker id.
Duplicate posts about the same id. +1 posts are not allowed.

Moderators: leecollings, remb0

Post Reply
Scholler
Posts: 6
Joined: Thursday 24 November 2016 13:18
Target OS: Linux
Domoticz version: latest
Contact:

Confirmation on (virtual) switch

Post by Scholler »

Dear developers,

I would really appreciate if it would be possible to configure a (virtual) switch to show a confirmation request on using in the app or on the web page ("Do you really want to turn on XYZ ?")

I am asking because If you e.g. have a switch to turn a siren on or off manually you would like to prevent turning it on by mistake.

Thank you and best regards.
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Confirmation on (virtual) switch

Post by emme »

does the protection (EDIT-Protect tickle) is not enough?

the password is setted in the settings page
The most dangerous phrase in any language is:
"We always done this way"
Scholler
Posts: 6
Joined: Thursday 24 November 2016 13:18
Target OS: Linux
Domoticz version: latest
Contact:

Re: Confirmation on (virtual) switch

Post by Scholler »

Dear Emme,

thank you. Your suggestion is indeed a possible solution but (in my case) it needs about 10 secs on the Android app until the password windows pops up (inside WLAN!).
I would better prefer a simple confirmation popup without asking for a password.

Best regards
User avatar
emme
Posts: 909
Joined: Monday 27 June 2016 11:02
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Location: Milano, Italy
Contact:

Re: Confirmation on (virtual) switch

Post by emme »

that is NOT normal....

I get the popup windows almost immediately.. both from my domoticz app.. or webpage

Check if there are event scripts that takes longer to execute.... and another good thing to do is to check the CPU usage (add motherboard sensor hardware)
The most dangerous phrase in any language is:
"We always done this way"
Scholler
Posts: 6
Joined: Thursday 24 November 2016 13:18
Target OS: Linux
Domoticz version: latest
Contact:

Re: Confirmation on (virtual) switch

Post by Scholler »

Well, I have now played around with the "protection" setting but I must say, that this is not what I was suggesting.

I would prefer to have just a simple confirmation on a switch, even better for a specified action (e.g. confirmation upon switching ON only).

Maybe it would be possible to integrate kind of a confirmation checkbox and an action selection field afterwards (switching ON, switching OFF, switching ON or OFF)...

That would be great!

Thank you.
User avatar
Egregius
Posts: 2592
Joined: Thursday 09 April 2015 12:19
Target OS: Linux
Domoticz version: v2024.7
Location: Beitem, BE
Contact:

Re: Confirmation on (virtual) switch

Post by Egregius »

I ran into the same problem on my floorplan :P
For the switches 'away' and 'sleep' I created a second layer that needs confirmation.
Before that, if I accidentally pushed the away button everything switched of, now I can cancel it.

You could ofcourse consider building your own interface on top of Domoticz, it's fun and it gives you Domoticz EXACTLY like you wan't it :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest