Blocky overrides manual switch toggle

Post Reply
User avatar
i3laze
Posts: 7
Joined: Thursday 26 July 2018 9:48
Target OS: Windows
Domoticz version:
Contact:

Blocky overrides manual switch toggle

Post by i3laze » Sunday 29 July 2018 8:48

I've got a Blocky script (trigger=Device) for a switch, dependent on temperature.

When script is on, I'm unable to voluntary turn the switch On from physical button or Domoticz, cause Blocky instantly sends an Off MQTT-command (temperature conditions aren't met).

I expect a script to fire up only on Temperature change (a device in starting Control block).
With an hour-long telePeriod (weather update period) a manual override should work for 1-60 min.

Seems, switch is exclusively possessed by Blocky now.
How a voluntary override can be implemented? Inside a script only?

I'm thinking of a separate virtual Switch like "Script enabled" or "Manual override", which could be a condition for this script.
Attachments
blocky.png
blocky.png (44.72 KiB) Viewed 362 times

freijn
Posts: 387
Joined: Friday 23 December 2016 17:40
Target OS: Raspberry Pi
Domoticz version:
Location: Netherlands Purmerend
Contact:

Re: Blocky overrides manual switch toggle

Post by freijn » Sunday 29 July 2018 13:30

An aditional virtual swich is indeed the way to go.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest