"Disable event" -button? Topic is solved

Post Reply
tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

"Disable event" -button?

Post by tapas » Friday 26 May 2017 18:27

Hi,

has anyone figured out a way to disable certain blockly event with a single click (with a button for example)? I understand that I can do that via "Event active" -selection, but it would be very cool to have a "manual" -button in dashboard and when pushed my automation would not work and I could manage things manually.

I hope you can understand my explanation :lol:

pvm
Posts: 869
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: "Disable event" -button?

Post by pvm » Friday 26 May 2017 18:55

Not exactly what you where looking for but : I've solved this by adding an extra check to the blocky statement(s) 'manual control'
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re:

Post by tapas » Friday 26 May 2017 19:35

pvm wrote:Not exactly what you where looking for but : I've solved this by adding an extra check to the blocky statement(s) 'manual control'
I'm interested! How did you do that exactly, can you share your solution?

pj-r
Posts: 237
Joined: Wednesday 17 December 2014 18:30
Target OS: Linux
Domoticz version: V3.8035
Location: Jyväskylä, Finland
Contact:

Re: "Disable event" -button?

Post by pj-r » Friday 26 May 2017 20:54

For a virtual switch you could call json api at its on/off url: viewtopic.php?t=12557#p119552
LXC(x64 Ubuntu Xenial), RFXtrx433E, MySensors

pvm
Posts: 869
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: Stable
Location: NL
Contact:

Re: "Disable event" -button?

Post by pvm » Saturday 27 May 2017 6:54

I've created a virtual switch 'manual control' and added that to all IFs in blockly , checking it is off.
Synology NAS, PI3, ZWave, Xiamo zigbee devices, BTLE plant sensor

tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re:

Post by tapas » Sunday 28 May 2017 13:38

pvm wrote:I've created a virtual switch 'manual control' and added that to all IFs in blockly , checking it is off.
This solved my problem, thanks a lot! Also thanks for the other suggestors!

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests