📱🖥️PiX10Hub > 🧞HomeGenie add Wishes

Fun with Flags

(1/12) > >>

alzy:
Is there a way to set a "flag" like in AHP and have the flag state be a condition  for a macro execution? B:(

petera:

--- Quote from: alzy on December 29, 2018, 01:51:32 PM ---Is there a way to set a "flag" like in AHP and have the flag state be a condition  for a macro execution? B:(

--- End quote ---

Not being an AHP user are you trying to achieve an "If this then that" scenario. Maybe you could outline exactly what you are trying to do so you could be pointed in the right direction.. Virtual Devices and Events play a large part in the operation of logic in HG.

alzy:
In AHP you can make a flag being set a condition for a macro to run. For instance AI being triggered may activate a device and also set a flag, say flag 1. Then there could be a macro which say is triggered by D1  but executes only if flag one has been set. A flag can be set by one x10 command and reset by another x10 command of a different address.

petera:

--- Quote from: alzy on December 29, 2018, 07:33:43 PM ---In AHP you can make a flag being set a condition for a macro to run. For instance AI being triggered may activate a device and also set a flag, say flag 1. Then there could be a macro which say is triggered by D1  but executes only if flag one has been set. A flag can be set by one x10 command and reset by another x10 command of a different address.

--- End quote ---

Yes that's all achieved with scripts. They are very powerful but very simple to construct. Just open one of the programs, say the Advanced Smart Lights and have a look at the how it is laid out. Most of the logic you will require is already there.

alzy:
Looked at that and its all gobbledygook to me. Can u direct me to some detailed help page somewhere? Its so much easier in AHP!

Thanks.

Navigation

[0] Message Index

[#] Next page

Go to full version