I solved my "continous chime when the pizza
boy is at the door" problem by:
1)detect sensor, if daytime and flag 1 off
then set flag 1 on, ring chime, wait 3
minutes, turn flag 1 off.
else
2) if night and flag 1 off, then set flag 1
on, turn on chime, turn on light, wait 3
min., set flag 1 off
By setting flag 1 on for a specified
period, the doorbell is ignored during this
time.
Now I just have to figure out how to ignore
wind so the chime doesn't go off every 3
minutes and still remain usefull. I also
have a glitch with the daytime lights
coming on.. So much fiddling so little time.