From: Chris B. <ch...@ba...> - 2004-04-01 13:31:23
|
Hi Kirk, I'm running 2.88 on RH9. RF is handled via a W800RF32 and PLC is via a CM12AU (240V version of the CM11) Here's an extract from my MHT file which shows how the sensors are being defined: <QUOTE> GROUP, ChrisRoom, Property(0;0;7;6) GROUP, Toilet, Property(7;0;2;3) GROUP, Bathroom, Property(9;0;4;6) GROUP, Laundry, Property(13;0;3;4) GROUP, Kitchen, Property(16;0;6;6) GROUP, DiningRoom, Property(22;0;6;6) X10MS, M1, ChrisRoom_sensor, Sensors, MS13 MOTION, ChrisRoom_sensor, ChrisRoom_motion, ChrisRoom(7;5) X10MS, M3, DiningRoom_sensor, Sensors, MS13 MOTION, DiningRoom_sensor, DiningRoom_motion, DiningRoom(1;3) OCCUPANCY, om </QUOTE> And here's a sample of debugging info that appeared in the print_log with debugging set to 'occupancy' <QUOTE> 01/04/04 23:06:40 Motion_Item($Laundry_motion)::set(still, X10_Sensor=HASH(0x98256a8)): $Laundry_sensor was set by 01/04/04 23:06:40 Motion_Item($Kitchen_motion)::set(still, X10_Sensor=HASH(0x982413c)): $Kitchen_sensor was set by 01/04/04 23:06:40 Motion_Item($LoungeRoom_motion)::set(still, X10_Sensor=HASH(0x9823308)): $LoungeRoom_sensor was set by 01/04/04 23:06:40 Motion_Item($BedRoom_motion)::set(still, X10_Sensor=HASH(0x9821510)): $BedRoom_sensor was set by 01/04/04 23:06:40 Motion_Item($Toilet_motion)::set(still, X10_Sensor=HASH(0x981fc50)): $Toilet_sensor was set by 01/04/04 23:06:40 Motion_Item($FrontPorch_motion)::set(still, X10_Sensor=HASH(0x981e994)): $FrontPorch_sensor was set by 01/04/04 23:06:40 Motion_Item($DiningRoom_motion)::set(still, X10_Sensor=HASH(0x981bf78)): $DiningRoom_sensor was set by 01/04/04 23:06:40 $Laundry_motion::set(still, Timer=HASH(0x982876c)) -> $Laundry_sensor 01/04/04 23:06:40 Motion_Item($Laundry_motion)::set(off, Timer=HASH(0x982876c)) 01/04/04 23:06:40 $Kitchen_motion::set(still, Timer=HASH(0x98264e4)) -> $Kitchen_sensor 01/04/04 23:06:40 Motion_Item($Kitchen_motion)::set(off, Timer=HASH(0x98264e4)) 01/04/04 23:06:40 $LoungeRoom_motion::set(still, Timer=HASH(0x9825438)) -> $LoungeRoom_sensor 01/04/04 23:06:40 Motion_Item($LoungeRoom_motion)::set(off, Timer=HASH(0x9825438)) 01/04/04 23:06:40 $BedRoom_motion::set(still, Timer=HASH(0x98235f0)) -> $BedRoom_sensor 01/04/04 23:06:40 Motion_Item($BedRoom_motion)::set(off, Timer=HASH(0x98235f0)) 01/04/04 23:06:40 $Toilet_motion::set(still, Timer=HASH(0x9822084)) -> $Toilet_sensor 01/04/04 23:06:40 Motion_Item($Toilet_motion)::set(off, Timer=HASH(0x9822084)) 01/04/04 23:06:40 $FrontPorch_motion::set(still, Timer=HASH(0x982136c)) -> $FrontPorch_sensor 01/04/04 23:06:40 Motion_Item($FrontPorch_motion)::set(off, Timer=HASH(0x982136c)) 01/04/04 23:06:40 $DiningRoom_motion::set(still, Timer=HASH(0x981ec7c)) -> $DiningRoom_sensor 01/04/04 23:06:40 Motion_Item($DiningRoom_motion)::set(off, Timer=HASH(0x981ec7c)) 01/04/04 23:06:27 Motion_Item($ChrisRoom_motion)::set(motion, X10_Sensor=HASH(0x9817714)): $ChrisRoom_sensor was set by rf 01/04/04 23:06:27 XM1MJ: ChrisRoom_sensor motion 01/04/04 23:06:03 Motion_Item($ChrisRoom_motion)::set(motion, X10_Sensor=HASH(0x9817714)): $ChrisRoom_sensor was set by rf 01/04/04 23:06:03 XM1MJ: ChrisRoom_sensor motion 01/04/04 23:05:42 Motion_Item($ChrisRoom_motion)::set(motion, X10_Sensor=HASH(0x9817714)): $ChrisRoom_sensor was set by rf 01/04/04 23:05:42 XM1MJ: ChrisRoom_sensor motion 01/04/04 23:05:31 Motion_Item($ChrisRoom_motion)::set(motion, X10_Sensor=HASH(0x9817714)): $ChrisRoom_sensor was set by rf 01/04/04 23:05:31 XM1MJ: ChrisRoom_sensor motion 01/04/04 23:05:20 Motion_Item($ChrisRoom_motion)::set(motion, X10_Sensor=HASH(0x9817714)): $ChrisRoom_sensor was set by rf 01/04/04 23:05:20 XM1MJ: ChrisRoom_sensor motion 01/04/04 23:04:38 XM1MK: ChrisRoom_sensor still 01/04/04 23:04:37 Rereading .menu code files. 01/04/04 23:04:37 Read 2 trigger entries 01/04/04 23:04:37 X10: Unmatched incoming data=XU 01/04/04 23:04:14 Now Tieing to /home/mh/data/mp3.dbm 01/04/04 23:04:14 Calling Serial_match_add_hook 01/04/04 23:04:14 Evaluating user code 01/04/04 23:04:14 Reading 36 code files 01/04/04 23:04:14 Initialized read_table_A.pl 01/04/04 23:04:14 Translating chris.mht -> /home/mh/code/chris.mhp 01/04/04 23:04:14 Re-reading /home/mh/mh.private.ini and mh.ini 01/04/04 23:04:14 ---------- Restart ---------- </QUOTE> I was in "ChrisRoom" when I restarted MH and therefore triggered ChrisRoom_sensor a couple of times before the issue being discussed surfaced. And here are the entries that appeared in the console log. <QUOTE> Error, serial set called, but no serial port found: data=XM3MK Error, serial set called, but no serial port found: data=XM5MK Error, serial set called, but no serial port found: data=XM7MK Error, serial set called, but no serial port found: data=XM9MK Error, serial set called, but no serial port found: data=XMBMK Error, serial set called, but no serial port found: data=XMDMK Error, serial set called, but no serial port found: data=XMFMK </QUOTE> Of interest, XM1MK doesn't appear in this output. M1 is ChrisRoom_sensor which, as noted above, is the one in my room that I triggered whilst doing this test. Any ideas? Let me know if you'd like me to run any other tests or provide some other info for debugging. Cheers, Chris ----- Original Message ----- From: "Kirk Bauer" <ki...@ka...> To: <mis...@li...> Sent: Thursday, April 01, 2004 9:08 AM Subject: Re: [misterhouse-users] Occupancy Monitor > On Thu, 1 Apr 2004, Chris Barrett wrote: > > > I'm getting the same thing. And until you mentioned it - I hadn't realised > > that it's only been happening since I started using the MOTION and PRESENCE > > objects. If I do a Reload I get a heap of them in a block but I also get > > individual instances occasionally while MH is running. > > Hmm, strange. Do you get this with the latest Misterhouse? If so, you > can turn on debugging for 'occupancy' and perhaps that will tell you how > it is happenening? > > Hopefully it doesn't hurt anything... obviously I use the code > extensively and do not get this error. > > -- > Kirk Bauer <ki...@ka...> > http://linux.kaybee.org | www.autorpm.org | www.logwatch.org |