From: Greg S. <sa...@ir...> - 2005-11-04 06:17:57
|
The enclosed email describes how I decoded the Stanley Garage door sensor modules for another home automation system. Rereading it after all this time I discovered it doesn't detail whether the data is in extended command or data. I am not sure if this is useful information at this point in the conversation as I haven't been following it too closely. Hopefully it is useful to someone else. I no longer have these units so I have no way to do anything more then report this. Thanks, Greg From: Greg Satz <satz(at)employees.org> To: XTension Discussion <XTension_Discussion(at)lists.bzzzzzz.com> Sent: Wednesday, November 10, 1999 6:41 PM Subject: Garage sensors > I spent some time looking into the garage sensors that were mentioned > on this list a while ago. These are the wireless sensors that mount > on the garage doors and sense the position of the door as the door > moves along its track. The sensors send to a receiver device that is > plugged into the wall. The receiver device also acts as a transceiver > for the motion detectors and other wireless devices. > > The garage door status is sent as extended commands. The value of the > extended command contains which of three garage doors is up or down > and which door caused the update. The units also periodically update > the status as a battery check and in case a transmission was lost. > > The numbering scheme can be reduced to a number between 0 and 7. > > Door 1 starts at 16 decimal and stops at 23 decimal. > > Door 2 starts at 32 and stops at 39, both decimal. > > Door 3 starts at 64 and stops at 71, decimal. > > If you subtract the numbers between 16 and 23 by 16, 32 and 39 by 32 > and 64 and 71 by 64, you get a number between 0 and 7. Numbers > between 0 and 7 are octal and can be prepresented by 3 bits (one for > each garage door). > > 0 000 all doors closed > 1 001 door 1 open, others closed > 2 010 door 2 open, others closed > 3 011 door 1 and 2 open, door 3 closed > 4 100 door 1 and 2 closed, door 3 open > 5 101 door 1 and door 3 open, door 2 closed > 6 110 door 2 and 3 open, door 1 closed > 7 111 all doors open > > If you get a number between 16 and 23, you know the first door just > did something. If the number is between 32 and 39, door 2 was > activated somehow. 64 and 71 is caused by door 3 moving. > > You can get to the extended command's value via the attachments > script. If there is any interest I could post what I put together. > |