From: Rob W. <ro...@la...> - 2005-07-11 23:17:33
|
On 9 Jul 2005, gr...@li... wrote: > Quoting Gianni Veloce (7/9/05 10:42 AM): >> Hey guys, Sorry for this but... Could anyone tell me how I declare >> a MS13 X10 motion/day-night sensor in items.mht > > X10MS, M1, front_porch_x10_sensor, Sensors, > MS13 > >> and pls Provide a piece of code that monitors MS13 motion events >> and turns a X10 appliance ON and OFF > > The following is a bit more that you wanted as it tracks multiple > "hits" before deciding that presence actually exists. This is > because the motion detector is outside and birds flying in range > will trigger a single hit way too often. I use the Motion, Presence > and Occupancy items code for all of my indoor monitoring--which is > very different from what you are asking about--and therefore doesn't > apply. Hopefully, the following code will give you ideas that you > can use. That MPO stuff is really cool. I think it is a great way to do things. Did you write up any pseudocode or capture your logic when you were designing it which you are able to share? Even the entire code base would be fine, if you don't mind letting us look at it. thanks, rob |