🖥️ActiveHome Pro > Smart Macros

Changed Homevision to Activehome - macro advice needed - please

(1/3) > >>

karaokek:
My faithful Homevision box eventually gave up the ghost. So Activehome Pro has now taken over.
Because all my things worked I have not changed my Homevision programme since 2003.
So I seem to be a bit rusty and I just have one problem with what, I am sure, is a very simple macro.

Here goes.
I have 2+ window shutters – say A1 and A2. Need them to be on different codes as I need to be able to shut them independently at certain times during the day, eg to keep out sunshine – I do this manually by remote.
I have a house alarm system that sends an off/on X10 signal "B1" to CM15 pro.
OK so I made dummy module B1
B1 on = alarm set/on, shutter down -- B1 off = alarm unset/off, shutters up

Made a macro – trigger B1 on
Added modules A1 on and A2 on.
This works – set alarm and shutters go down.

Now need to make them go up when I turn alarm off – with the following criteria.
Shutters not to go up:-
If it’s dark – after dusk before dawn
Not before 7.00am or 15mins after dawn whichever is the latest.

So, say dawn is 07.30am and I turn off the alarm at 06.00am
What do I put in the macro so that it does not trigger the shutters to go up at 06.00 but will remember trigger them to go up at 07.45am.

Also, if i need to lower one or more shutters during the day, I do not want them to go back up because of the macro: after they have gone up initially.

I may be overthinking this so please excuse me if the solution is really, really simple.

Thanks
Clive

dave w:
I have not used AHP for many years, so this suggestion is only a brain poke. I'm just doing this from feeble memory.

Can't you accomplish what you want in AHP with conditionals and flags? eg IF alarm is off AND daylight, then open shutters. Your B housecode would need to be the monitored house code so AHP will remember it's status, or you would need to use flags to indicate B1 status if B is not the monitored HC.

HA Dave:

--- Quote from: dave w on September 18, 2014, 08:11:11 PM ---I have not used AHP for many years...... I'm just doing this from feeble memory.

Can't you accomplish what you want in AHP with conditionals and flags? ....
--- End quote ---

That memory ain't feeble yet!

Yep flags and/or conditions. I found it easier to create fake modules and then use the condition of the module as opposed to a "time" condition. But that was just me. The main thing to remember is keep the macros extra simple. Anytime there is a chance to combine more than one simple function into a well planned macro... DON'T DO IT. In my experience it has always been more reliable to create 3 super simple macros... than one cleverly written one.

It might be worthwhile to look over some of the user created macros.

karaokek:
Thanks for your input.
Clive

HA Dave:

--- Quote from: karaokek on September 19, 2014, 03:47:19 AM ---Thanks for your input.
Clive

--- End quote ---

Read the little instruction book that came with the CM15A as well (and use it for reference). Return here to this thread and let us know how your doing. We like to hear that any and all problems get worked out. We'll try to stick with you till you're running like you like.

Navigation

[0] Message Index

[#] Next page

Go to full version