Well I finally installed heyu, should have done it a long time ago. Bear with me I am about 4 hours into this adventure and most everything works and makes sense in my small brain. So It was all going great and then as usual I felt a strong urge to over complicate things.
I found this script (thanks Charles Sullivan).
lamp_timer.sh 2007-10-17 (revised)
When launched by the Heyu Engine by an On signal to a module, this BASH script starts a countdown timer which will turn Off the module after the number of minutes specified. Subsequent On signals while the module is still in the On state will reset the countdown to its originally specified time. An Off signal cancels the countdown. See the header in the script for usage information. [Note: The user-configurable timers introduced with Heyu 2.0beta.10 provide a more flexible alternative to using this script.]
My question is can the cm11a do the same thing from its memory? I want to use my hardwired alarm tied to a hacked MC460 to activate a light from a motion sensor or door sensor.
I tried this as a way to trigger the second macro from the first but i don't think it will ever work because it is not a trigger from an outside source like a remote tied to a receiver. What am I missing? or is it even possible? Can 2 cm11a's bounce the signal between each other to make it work?
macro a2on 0 on a1,2
macro b5off 1 off a1
trigger a3 on a2on
trigger a2 on b5off
monitor output
10/31 00:40:08 rcvt addr unit 3 : hu A3 (_no_alias_)
10/31 00:40:08 rcvt func On : hc A
10/31 00:40:08 Trigger executed macro : a2on, address 0x3f2
10/31 00:40:08 sndt addr unit 1 : hu A1 (_no_alias_)
10/31 00:40:08 sndt addr unit 2 : hu A2 (_no_alias_)
10/31 00:40:08 sndt func On : hc A
Thanks