From: storemike <sto...@ya...> - 2006-09-14 16:02:33
|
You understood my question, thanks. I figured it out in the meantime, though, through trial and error. I figured that was the quickest way, since there were only 4 values to test. I also fixed the unk issue in the WebUI buttons with the following in list_buttons.pl starting at line 30: if($object->isa('RF_Item')){ if( $list_name eq "\$Doors" || $list_name eq "\$Security"){ $state =3D state $object; $state =3D($state eq 'alertmin')?'open':'closed'; } if( $list_name eq "\$Appliances"){ $state =3D state $object; $state =3D($state eq 'alertmin')?'on':'off'; } } I have the door items in both the Doors group and the Security group for easy reference. My mht file has the door item and the DS10A dryer item (the tape and glue hack) as: #RF Items (DS10A items) RF,a8,Dryer,Appliances RF,d9,Front_Door,Doors|Security RF,d7,Back_Door,Doors|Security So far, my only RF items are DS10As...so far :) Mike --- In mis...@ya..., "Jim Serack" <jserack@...> wrote: > > Mike, > I misunderstood your question - now I understand it as the device states are > interpreted > correctly - e.g. the object is ok - it's just the UI that is not displaying > correctly. > > I just looked at mine: > Browse RF items show the state in text - and is correct. > > I have a group called security, and one called telemetry when reached by > Misterhouse -> Lights Appliances -> security (or Telemetry) > Has icons that are all showing "Unk" state on the buttons just like yours > (the logs are correct) > > So it's most likely a web on the fly button generation problem. (My > production is still back at 2.100) > > Since all my DS-10As states are used in code to create generic items - I've > never noticed this before. > (I'm not interested in the actual security state - I want to know if the > awning is deployed or retracted ...) > > Jim > -----Original Message----- > From: misterhouse-users-bounces@... > [mailto:misterhouse-users-bounces@...] On Behalf Of > storemike > Sent: September 14, 2006 9:49 AM > To: misterhouse-users@... > Subject: Re: [mh] DS10 and W800 question > > > Hi Jim, > > I'm using version 2.102 R419. > > When I watch the Tk GUI, I see that the codes are correctly > interpreted (AlertMin, NormalMin), though, but the MH Web UI shows > the status as unk all of the time, so I guess I must have missed one > config step. The sensors are in the items.mht file and show up in > the correct groups and places in the UIs. Is there one more place to > edit the configuration of a DS10A? A pl file, perhaps? > > Thanks, > Mike > > --- In mis...@ya..., "Jim Serack" <jserack@> wrote: > > > > Mike, > > > > The codes you see were fixed in the X10 security code about 8 > months ago to > > convert correctly into states - what version of mh are you running? > > > > Jim > > -----Original Message----- > > From: misterhouse-users-bounces@ > > [mailto:misterhouse-users-bounces@] On Behalf Of Mike Warner > > Sent: September 10, 2006 6:41 PM > > To: misterhouse-users@ > > Subject: [mh] DS10 and W800 question > > > > > > So, my W800 finally arrived and works great. Now I can't figure > out how to > > interpret the data to get the unit code for the DS10. I searched > the > > archives and saw how to set up the w800 port and the DS10 in the > items.mht > > file. I'm using the test app that can be downloaded from the WGL > site and > > get the following codes for 3 different DS10s when I press the test > > button: > > > > 6:25:34 PM - 21 DF D0 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 21 DF D0 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 21 DF D1 20 Unrecognized/Corrupt Packet > > 6:25:35 PM - 20 DF D1 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 21 DF D1 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 20 DF D0 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 20 DF D1 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 20 DF D0 21 Unrecognized/Corrupt Packet > > 6:25:35 PM - 20 DF D1 20 Unrecognized/Corrupt Packet > > 6:25:36 PM - 20 DF D1 21 Unrecognized/Corrupt Packet > > > > > > 6:30:40 PM - 01 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 01 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 00 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 00 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 01 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 00 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 00 FF 8F 7F Unrecognized/Corrupt Packet > > 6:30:40 PM - 00 FF 8F 7F Unrecognized/Corrupt Packet > > > > > > 6:31:28 PM - 01 FF 94 65 Unrecognized/Corrupt Packet > > 6:31:28 PM - 01 FF 94 65 Unrecognized/Corrupt Packet > > 6:31:28 PM - 01 FF 95 62 Unrecognized/Corrupt Packet > > 6:31:28 PM - 01 FF 95 66 Unrecognized/Corrupt Packet > > 6:31:28 PM - 01 FF 95 62 Unrecognized/Corrupt Packet > > 6:31:28 PM - 00 FF 95 65 Unrecognized/Corrupt Packet > > 6:31:28 PM - 00 FF 95 62 Unrecognized/Corrupt Packet > > 6:31:28 PM - 00 FF 95 65 Unrecognized/Corrupt Packet > > 6:31:29 PM - 00 FF 95 65 Unrecognized/Corrupt Packet > > 6:31:29 PM - 00 FF 95 66 Unrecognized/Corrupt Packet > > > > > > Which of the codes between the time and "Unrecognized/Corrupt > Packet" is the > > code for the DS10? I see that the last 2 DS10s have similar codes > in the > > first 2 two-char positions. > > > > Thanks, > > Mike > > > > ------------------------------------------------------------------ -- > ----- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your > job > > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > Geronimo > > http://sel.as-us.falkag.net/sel? > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > > ________________________________________________________ > > To unsubscribe from this list, go to: > > http://sourceforge.net/mail/?group_id=3D1365 > > > > > > ------------------------------------------------------------------ -- > ----- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel? > cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > > ________________________________________________________ > > To unsubscribe from this list, go to: http://sourceforge.net/mail/? > group_id=3D1365 > > > > > > > > > > -------------------------------------------------------------------- ----- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=3D1365 > > > -------------------------------------------------------------------- ----- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel? cmd=3Dlnk&kid=3D120709&bid=3D263057&dat=3D121642 > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/? group_id=3D1365 > |