"Disable event" -button? Topic is solved

Moderator: leecollings

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

"Disable event" -button?

Post by tapas »

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: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: "Disable event" -button?

Post by pvm »

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, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re:

Post by tapas »

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: 140
Joined: Wednesday 17 December 2014 17:30
Target OS: Linux
Domoticz version: V3.8650
Location: Jyväskylä, Finland
Contact:

Re: "Disable event" -button?

Post by pj-r »

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: 550
Joined: Tuesday 17 June 2014 22:14
Target OS: NAS (Synology & others)
Domoticz version: 4.10538
Location: NL
Contact:

Re: "Disable event" -button?

Post by pvm »

I've created a virtual switch 'manual control' and added that to all IFs in blockly , checking it is off.
Synology NAS, slave PI3, ZWave (Fibaro), Xiaomi zigbee devices, BTLE plant sensor, DzVents, Dashticz on tablet, Logitech Media Server
tapas
Posts: 16
Joined: Thursday 18 May 2017 23:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re:

Post by tapas »

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: Dave21w and 1 guest