I would like to have my drive way lights come on at 50% at dusk then when a triger is sent (Activeeye) run up to 100% hold this for 2 minutes and back down to 50% and then of at dusk.
Seems real easy
but nighttine needs (Requires two Entries) what are the Entries?
Seems to work just fine with no conditions but I have no need for the lights to be going on and off all day long.
Quote from: azbaja on November 16, 2006, 02:24:58 PM
but nighttine needs (Requires two Entries) what are the Entries?
The two
condition entries are:
- If Time is Greater Than or Equal To
- If Time is Less Than or Equal To
Quote
Seems to work just fine with no conditions but I have no need for the lights to be going on and off all day long.
You will definitely need
conditions and maybe
elses to make it work smoothly. ;)
The wording in AHP is discieving(wrong) as I posted before ! ;)
Using that condition (or one of the others that state "requires 2 entries") doesn't require 2 entries ::) ;) it "Counts As two Entries"
Hope that helps
here is the problem once I start adding conditions my lights do real strange stuff. I sent one CM15A back thinking it was the problem, Same thing happens with the new CM15A.
I ran for a week with just the remote, in fact I have been doing it for years now with no random light problems etc.
Then after the Macros run for about an hour it turns on a couple sets of lights that are not even part of the macro.
When I look at my log it seems to send out 2 of every comand. and just starts to loop them and over etc.
Try preventing retriggers with flags as I posted in your other thread. Smart Macro order after trigger? (http://www.x10community.com/forums/index.php?topic=10941.0)
I don't know what strange things happen from multiple triggers, because I prevent them.
If you still have problems, you will have to give more details of your setup and your macros. ;)
azbaja -- If I understand your first post, you want to turn on your drive way lights at 50% at dusk. Then turn up to 100% when motion is detected and hold for two minutes and then reduce to 50%. Then turn off at dawn.
I've done something similar with three macros, so try this. The first macro (with timer) turns on the lamp at 50 % at dusk. The second macro (with timer) turns off the lamp at dawn. The third macro increases the lamp to 100% if it's nighttime (and is triggered by the motion sensor) and holds it for 30 seconds and then reduces the lamp intensity to 50%.
Hopefully, I've understood your needs.
Quote from: Don N on November 16, 2006, 09:19:33 PM
azbaja -- If I understand your first post, you want to turn on your drive way lights at 50% at dusk. Then turn up to 100% when motion is detected and hold for two minutes and then reduce to 50%. Then turn off at dawn.
I've done something similar with three macros, so try this. The first macro (with timer) turns on the lamp at 50 % at dusk. The second macro (with timer) turns off the lamp at dawn. The third macro increases the lamp to 100% if it's nighttime (and is triggered by the motion sensor) and holds it for 30 seconds and then reduces the lamp intensity to 50%.
Hopefully, I've understood your needs.
Yes, just like that, Then toss in the one that turns the camera on.
Working with Digital Logic tables as part of my job I would think I could master a flow chart. Who came up with this a 3rd grader?
Now I see the errors of my ways and will split thigs into smaller chunks. Do we have a file upload down load area to look at samples of what other people have done? Would like to rip into a full working set up.
And from what I can see the If Then Else is not is as logic people would think it should be. Last we have on PC and in CM15... ::)
Thanks
Quote from: azbaja on November 17, 2006, 07:50:01 AM
...Do we have a file upload down load area to look at samples of what other people have done? Would like to rip into a full working set up.
And from what I can see the If Then Else is not is as logic people would think it should be.
If you, and several others, are willing to:
- Volunteer
- Contribute
- Test
- Proofread
[/color][/size][/b]
here's what I propose:
- I'll create a STICKY in this forum titled "TESTED Smart Macro Examples".
. - Each Contributor will maintain *ONE* post with their individual TESTED & WORKING Macros. (i.e. Use MODIFY)
. - Non-Contributor's will *NOT* post in this thread. [Start a NEW thread and LINK to the Contributor / Macro you wish to discuss.]
. - I, with most likely Tuicemen's help, will maintain a LINKed INDEX of the TESTED Smart Macro Examples in the first post.
So, if anyone is interested in partifcipating, start contributing in THIS thread. If I see enough interest, I'll implement the STICKY and move everything over.
I gave it a try with the new macro's split up with G house code as my Ghost area get it G for Ghost :) Seems to work ;D
Ghost in the machine is now true or could it be not so true as my lights are working like normal for the test macro and Ghost Modules I set up, Now just need to see if the advance funtions work VangCamera etc.
Thanks
Quote from: TakeTheActive on November 17, 2006, 12:06:39 PM
So, if anyone is interested in partifcipating, start contributing in THIS thread. If I see enough interest, I'll implement the STICKY and move everything over.
I think a Macro Examples thread would help eliminate a lot of repeat questions and be a good link to direct some questions to.
I'm gonna provide another here as a response to another post (hopefully to be moved later).
Quote from: noudo on November 18, 2006, 02:54:44 AM
Call me a super newbie but even after reading through all of these forums, I have still yet to tie a motion sensored macro to a simple sound file. Some one please help!
Triggering a sound file from a Macro
- Create a Dummy Switch (appliance switch only) and give it an address
- Create a Macro that triggers from the Dummy Switch
- Inside this Macro call a batch file to execute the sound file.
- Call this Dummy Switch from another Macro that gets triggered by the Motion Sensor
Note: In the example I use a flag to elimate multiple sounds from occuring at once, and only occurring once per minute. The flag & delay parts of the following example are optional and can be removed.
(http://www.geocities.com/puckx10/macros/flag_control/modules.jpg)
Dummy Switch & Macro(http://www.geocities.com/puckx10/macros/flag_control/flag_control.jpg)
Macro with Flag ControlDue to geocities free Site closing I attached images below, Dave_x10_L
Puck,
Playing the "Lowest Common Denominator" for the moment...
I can't find "C:X10Soundfrontdoor.bat" :'(
... or, next up on the food chain...
Can you post a copy of "C:X10Soundfrontdoor.bat" ?
;) ;D
"C:\X10Sound\frontdoor.bat" is the path to my batch file created to execute a ".WAV" using Tuicemen's X10WavPlayer[/color] (http://www.x10community.com/forums/index.php?topic=10730.msg61026#msg61026).
Here is what my "frontdoor.bat" file contains:
@echo off
X10WavPlayer frontdoor.wav 0
Note: frontdoor.wav is the what I created at AT&T Labs: Text-To-Speech (TTS) (http://www.research.att.com/%7Ettsweb/tts/demo.php)
That's better Puck! :)
Yet another
GOOD IDEA, at least IMHO, that "
died on the vine " even before it got started. :( :-[ :-\ :'(
With
6600+ current members, I don't think that it's fair to expect the
dedicated, small handful of Volunteers to do *EVERYTHING*. >:(
Certainly, someone else (besides
Puck), knows how to:
- Write a MACRO.
. - Capture some SCREEN PRINTS.
. - Upload the results to a post.
Quote from: Puck on November 18, 2006, 12:17:42 PM
Quote from: TakeTheActive on November 17, 2006, 12:06:39 PM
So, if anyone is interested in participating, start contributing in THIS thread. If I see enough interest, I'll implement the STICKY and move everything over.
I think a Macro Examples thread would help eliminate a lot of repeat questions and be a good link to direct some questions to.
I'm gonna provide another here as a response to another post (hopefully to be moved later).
Come on now folks!
Step up to the plate and give something back to *YOUR* "Community"!!
Certainly, with the *VAST* Archives of information stored here,
*YOUR* "Community" *MUST* have given something useful to you!!!
i use a macro that set flag 11 at dusk and clears it at dawn for a night time condition. that way it only requires 1 entry.
first macro looks for flag 11 on and checks that the lights are off. ( turn on light @ 50%)
else looks for flag 11 on and checks that the lights are on ( light to 100% ,wait 2 minutes , lights to 50% )
that seems to work for me. ( the night time condition can't be used because it also requires 2 time entry's )
note: i'm not sure what the system uses flags for but i do know that 1,15 keep showing up set so don't use 1 or 15 , flag 11 seems to be safe so far) good luck jerry
Quote from: JERRY VARN on December 05, 2006, 05:11:42 PM
... i'm not sure what the system uses flags for but i do know that 1,15 keep showing up set so don't use 1 or 15...
You should stay away from flag 16 for the same reason.
Hello Puck,
(http://www.geocities.com/puckx10/macros/flag_control/flag_control.jpg)
Macro with Flag Control
Where can I find this usefull condition ? I didn't find a condition where I can put a :
IF THIS IS TRUE => If these flags are Off !
I have smartmacro enabled and I have only conditions about time, when a certain module is on, but nothing about flags ! ??? ??? Am I lost somewhere ?
Thank you for your reply.
Gilbert
[Updated] : silly gilbert ! I found that I disabled the smart macro wizard and kept only the simple interface with conditions only... Sorry and thanks for the help ;D
Gilbert
Quote from: Gilbert on September 22, 2007, 10:38:24 PM
[Updated] : silly gilbert ! I found that I disabled the smart macro wizard and kept only the simple interface with conditions only... Sorry and thanks for the help ;D
Gilbert
Thanks for posting an update. I was not aware that conditions disappeared with the simple interface selection of smart macro preferences. They should have called it "Smart Macros On & OFF" instead. ::)