In setting up Light_Items and Door_Items using x10 security sensors, I noticed that one particular light wouldn't come on properly when I opened the door. The reason was because the security sensor was transmitting "alertbattlowmin" instead of just "alertmin", and Door_Item didn't recognize that code.
I patched my version of Door_Item.pm such that any code beginning with "alert" is considered a "door opened" event, and any beginning with "normal" is considered a "door closed" event. This seemed consistent with instructions at the top of RF_Item for cases where "you don't care about the full detail of the state".
This seems like a useful change, so I've attached a patch file for consideration.
Jason
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at
http://www.sourceforge.net/community/cca08________________________________________________________
To unsubscribe from this list, go to:
http://sourceforge.net/mail/?group_id=1365