From: Jim D. <ji...@du...> - 2008-11-08 12:36:10
|
I've done some investigation and learned the following: 1) The X10MS device (hawkeye motion sensor) instantiates X10_Sensor via the mht file. 2) The X10_Sensor makes a call to X10_Item constructor without any parameters; X10_Item->new() 3) The needed parameter is $interface 4) Without a $interface, the X10_Item constructor attempts to automatically find an interface. 5) Apparently, the CM11A was an interface that the X10_Sensor was happy with. I think what is missing is that for some reason the W800 is not considered an interface which is useful to the X10_Sensor. I will continue to investigate, but I thought someone might know more about this than I. Somehow the W800 continues to process the Hawkeye messages. So, everything technically works, but there appears to be some odd dependency between X10_Sensor and CM11A which causes a Dummy_Interface to be required in absence of CM11A. Jim Jim Duda wrote: > I've upgraded my system from using CM11A to a PLM > > I did the following: > > 1) Removed my CM11A as well as cm11_port from mh.private.ini > 2) Added Insteon_PLM_serial_port to mh.private.ini > 3) Migrated all entries in x10_items.mht to insteon.mht. > > My insteon.mht is below. > > All seems to work okay, but I'm not sure I understand why. > > I only have two insteon devices both IPLD devices, they work fine. > I still have many X10 devices, they work fine. > > I also have 3 X10 hawkeye (MS13) motion sensors. > I also have 4 X10 door sensors > I also have 12 X10 wireless MS10 motion sensors > I also have 6+ X10 palm pad devices. > > I use a W800 for all the wireless devices. These seem to work fine too. > > For the 3 X10MS devices, I'm getting these messages in my log file: > > Warning: Dummy_Interface #12: Creating dummy interface for id=F6, state= > and interface=. > 11/06/08 09:03:09 PM [X10_Sensor] Calling Serial_match_adding_hook > [X10] warning, using dummy interface for id F9 > Warning: Dummy_Interface #13: Creating dummy interface for id=F9, state= > and interface=. > [X10] warning, using dummy interface for id F13 > Warning: Dummy_Interface #14: Creating dummy interface for id=F13, > state= and interface=. > > Warning: Dummy_Interface #12: trying to set_receive still > Warning: Dummy_Interface #13: trying to set_receive still > Warning: Dummy_Interface #14: trying to set_receive still > > For all the RF devices, I don't add "thePLM" to the end > of the entry in insteon.mht. I assume this is correct since > the PLM doesn't receive these wireless messages? > > For the Hawkeye devices, I use X10MS in insteon.mht, is this correct? > For the MS10 devices, I use RF entries in insteon.mht > For the Door Items, I use RF entries in insteon.mht > > For the Palm Pads, I continue to use X10_W800 in my code files. > > Questions: > > 1) Am I using insteon.mht correctly for wireless devices? > 2) What's the deal with the Dummy_Interface for the X10MS > hawkeye devices? > > Format = A > # > # See mh/lib/read_table_A.pl for definition of Format=A items > # > > # The Insteon PLM interface > INSTEON_PLM, thePLM, > > # X10 Devices > X10I, A1, living_room_window, All_Lights|Living_Room, thePLM, > X10I, A2, living_room_wall, All_Lights|Living_Room, thePLM, > X10I, A3, dining_room_wall, All_Lights, thePLM, > X10I, A4, first_floor_hall, All_Lights, thePLM, > X10I, A5, library, All_Lights, thePLM, > X10I, A6, landscape_front_right, All_Lights|Landscape_Lights, thePLM, > X10I, A7, landscape_front_left, All_Lights|Landscape_Lights, thePLM, > X10I, A8, landscape_backyard, All_Lights|Landscape_Lights, thePLM, > X10I, A9, basement_1, All_Lights|Basement_Lights, thePLM, > X10I, A10, backdoor, All_Lights|Porch_Lights, thePLM, > X10I, A11, frontdoor, All_Lights|Porch_Lights, thePLM, > X10I, A12, second_floor_hall, All_Lights, thePLM, > X10I, A13, kitchen, All_Lights|Kitchen, thePLM, > X10I, A14, garage_door, All_Lights|Garage, > thePLM, > X10I, A15, side_porch, All_Lights|Porch_Lights, thePLM, > X10I, A15, christmas_lights, All_Lights|Porch_Lights, thePLM, > X10I, A16, guest_room, All_Lights|Guest_Room, thePLM, > > X10I, F1, bedroom_1, All_Lights|Bedroom_Lights, thePLM, > IPLD, 0E.9B.67, bedroom_2, All_Lights|Bedroom_Lights, thePLM, > X10I, F3, frontdoor_camera, All_Cameras, thePLM, > X10I, F4, backdoor_camera, All_Cameras, thePLM, > X10I, F5, elison_camera, All_Cameras, thePLM, > > X10I, F14, backyard_light_1, All_Lights|Backyard_Lights, thePLM, > X10I, F15, backyard_light_2, All_Lights|Backyard_Lights, thePLM, > X10I, F16, backyard_light_3, All_Lights|Backyard_Lights, thePLM, > > IPLD, 0E.96.B6, insteon_test_outlet, All_lights|Test, thePLM, > > X10MS, F6, basement_stair_sensor, Sensors|Motion_Sensors, MS13, > X10MS, F9, basement_sensor, Sensors|Motion_Sensors, MS13 > X10MS, F13, laundry_sensor, Sensors|Motion_Sensors, MS13 > > RF, 89, backdoor_sensor, Security > RF, e5, frontdoor_sensor, Security > RF, bd, garage_door_sensor, Security > RF, e0, mailbox_sensor, Security > > RF, 21, livingroom_sensor, Sensors|Motion_Sensors, Motion > RF, 80, office_sensor, Sensors|Motion_Sensors, Motion > RF, 7d, bedroom_sensor, Sensors|Motion_Sensors, Motion > RF, 5e, kitchen_sensor, Sensors|Motion_Sensors, Motion > RF, 1d, main_stairs_sensor, Sensors|Motion_Sensors, Motion > RF, ce, down_landing_sensor, Sensors|Motion_Sensors, Motion > RF, c8, diningroom_sensor, Sensors|Motion_Sensors, Motion > RF, 06, up_landing_sensor, Sensors|Motion_Sensors, Motion > RF, 0e, library_sensor, Sensors|Motion_Sensors, Motion > RF, 4e, down_bath_sensor, Sensors|Motion_Sensors, Motion > RF, dd, basement_work_sensor, Sensors|Motion_Sensors, Motion > RF, 08, sewing_room_sensor, Sensors|Motion_Sensors, Motion > > MOTION, livingroom_sensor, motion_livingroom > MOTION, office_sensor, motion_office > MOTION, bedroom_sensor, motion_bedroom > MOTION, kitchen_sensor, motion_kitchen > MOTION, main_stairs_sensor, motion_main_stairs > MOTION, down_landing_sensor, motion_down_landing > MOTION, basement_stair_sensor, motion_basement_stair > MOTION, basement_sensor, motion_basement > MOTION, laundry_sensor, motion_laundry > MOTION, sewing_room_sensor, motion_sewing_room > > MOTION, basement_work_sensor, motion_basement_work > MOTION, diningroom_sensor, motion_diningroom > MOTION, up_landing_sensor, motion_up_landing > MOTION, library_sensor, motion_library > MOTION, down_bath_sensor, motion_down_bath > > DOOR, backdoor_sensor, motion_backdoor > DOOR, frontdoor_sensor, motion_frontdoor > DOOR, garage_door_sensor, motion_garage > DOOR, mailbox_sensor, motion_mailbox > > LIGHT, basement_1, light_basement > LIGHT, bedroom_2, light_bedroom > LIGHT, library, light_library > LIGHT, kitchen, light_kitchen > LIGHT, backyard_light_3, light_backyard_3 > > OCCUPANCY, om > > PRESENCE, motion_livingroom, om, presence_livingroom > PRESENCE, motion_office, om, presence_office > PRESENCE, motion_bedroom, om, presence_bedroom > PRESENCE, motion_kitchen, om, presence_kitchen > PRESENCE, motion_main_stairs, om, presence_main_stairs > PRESENCE, motion_down_landing, om, presence_down_landing > PRESENCE, motion_basement_stair, om, presence_basement_stair > PRESENCE, motion_basement, om, presence_basement > PRESENCE, motion_laundry, om, presence_laundry > PRESENCE, motion_basement_work, om, presence_basement_work > PRESENCE, motion_backdoor, om, presence_backdoor > PRESENCE, motion_frontdoor, om, presence_frontdoor > PRESENCE, motion_garage, om, presence_garage > PRESENCE, motion_mailbox, om, presence_mailbox > PRESENCE, motion_diningroom, om, presence_diningroom > PRESENCE, motion_up_landing, om, presence_up_landing > PRESENCE, motion_library, om, presence_library > PRESENCE, motion_down_bath, om, presence_down_bath > PRESENCE, motion_sewing_room, om, presence_sewing_room > > > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > |