Ok, I found some mistakes...
I dug into the database, and found I was using wrong values..
Here's my modified test code:
myDevFrom = device_.devid_
myDevTo = -1001
myDevPriority = 1
myDevType = 2 #event
myDevID = 65 # Device Detected
#create command
cmd = Command.new(myDevFrom, myDevTo, myDevPriority, myDevType, myDevID)
#Add params...
cmd.params_[56] = "73" # environment - Lighting Device
cmd.params_[49] = "38" # Light (dimmable)
cmd.params_[55] = "12|0A.97.0B\n" # test lamp module
cmd.params_[13] = "TEST LampLinc V2" # text to display
cmd.params_[52] = "11"
cmd.params_[53] = "2"
cmd.params_[54] = "pnpserialnumber"
cmd.params_[59] = "Insteon PLM"
SendCommand(cmd)
#Now, Fire the Done Detecting event...
cmd = Command.new(myDevFrom, myDevTo, myDevPriority, myDevType, 74) #Done detecting...
cmd.params_[59] = "Insteon PLM"
SendCommand(cmd)
Now, This DID fire into the wizard, but ONLY on the hybrid...
None of the other MD's fired the event...
Here's the log...
Event #65 has no handlers <0xb1426b90>
07 12/28/07 10:06:59.051 Received Message from 37 (PLM / Office) to -1001 (unknown / ), type 2 id 65 Event:Device Detected, retry none, parameters: <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 5(Mac Address): <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 13(Text): TEST LampLinc V2 <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 28(IP Address): <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 49(PK_DeviceTemplate): 38 <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 51(VendorModelID): <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 52(PK_CommMethod): 11 <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 53(PK_PnpProtocol): 2 <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 54(PNP Serial Number): pnpserialnumber <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 55(DeviceData): 12|0A.97.0B
<0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 56(Category): 73 <0xb1426b90>
07 12/28/07 10:06:59.051 Parameter 59(Signature): Insteon PLM <0xb1426b90>
07 12/28/07 10:06:59.083 Event #74 has no handlers <0xb1426b90>
07 12/28/07 10:06:59.083 Received Message from 37 (PLM / Office) to -1001 (unknown / ), type 2 id 74 Event:Done Detecting Devices, retry none, parameters: <0xb1426b90>
07 12/28/07 10:06:59.083 Parameter 59(Signature): Insteon PLM <0xb1426b90>
07 12/28/07 10:06:59.964 Event #65 has no handlers <0x670a4b90>
07 12/28/07 10:06:59.964 Received Message from 1 (CORE / Office) to -1001 (unknown / ), type 2 id 65 Event:Device Detected, retry none, parameters: <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 5(Mac Address): 00:40:63:EE:37:BC <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 13(Text): <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 28(IP Address): 192.168.80.3 <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 49(PK_DeviceTemplate): 1837 <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 51(VendorModelID): <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 52(PK_CommMethod): 3 <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 53(PK_PnpProtocol): 2 <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 54(PNP Serial Number): \\192.168.80.3 <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 55(DeviceData): 186|DCEROUTER <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 56(Category): fileserver <0x670a4b90>
07 12/28/07 10:06:59.964 Parameter 59(Signature): <0x670a4b90>
05 12/28/07 10:07:00.015 Socket::ReceiveData 0x9497fa00 failed, bytes left 0 start: 900000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 178 Incoming_Conn Socket 178 127.0.0.1 <0x670a4b90>
05 12/28/07 10:07:00.015 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 178 127.0.0.1 <0x670a4b90>
05 12/28/07 10:07:00.015 TCPIP: Closing connection to -1003 (Router Dev #0) 0x9497fa00 m_Socket: -1 <0x670a4b90>
05 12/28/07 10:07:00.016 Router::RemoveAndDeleteSocket 0x9497fa00 -1003 <0x670a4b90>
08 12/28/07 10:07:00.063 Received Message from 37 (PLM / Office) to OnScreen Orbiter(20), type 1 id 809 Command:Display Alert, retry none, parameters: <0x972edb90>
08 12/28/07 10:07:00.063 Parameter 9(Text): 36857 Confirming 73Light Switch (dimmable) <0x972edb90>
08 12/28/07 10:07:00.063 Parameter 70(Tokens): pnp_36857 <0x972edb90>
08 12/28/07 10:07:00.063 Parameter 182(Timeout): 3 <0x972edb90>
08 12/28/07 10:07:00.063 Parameter 251(Interruption): 2 <0x972edb90>
08 12/28/07 10:07:00.064 Received Message from 14 (Plug And Play Plug-in / Office) to OnScreen Orbiter(20), type 1 id 741 Command:Goto Screen, retry none, parameters: <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 159(PK_Screen): 116 <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 163(Description): Light Switch (dimmable)(Pluto / Lighting Device) <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 224(PK_PnpQueue): 36857 <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 251(Interruption): 3 <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 252(Turn On): 0 <0x972edb90>
08 12/28/07 10:07:00.064 Parameter 253(Queue): 1 <0x972edb90>
08 12/28/07 10:07:00.069 Received Message from 20 (OnScreen Orbiter / Office) to 6 (Datagrid Plug-in / Office), type 1 id 35 Command:Populate Datagrid, retry none, parameters: <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 4(PK_Variable): 0 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 5(Value To Assign): <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 10(ID): 1 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 15(DataGrid ID): pnp_20 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 38(PK_DataGrid): 44 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 39(Options): 36857 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 40(IsSuccessful): 1 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 44(PK_DeviceTemplate): 0 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 60(Width): 3 <0x7a8cbb90>
08 12/28/07 10:07:00.069 Parameter 61(Height): 5 <0x7a8cbb90>
08 12/28/07 10:07:00.075 Received Message from 1 (CORE / Office) to OnScreen Orbiter(20),OnScreen Orbiter(59), type 1 id 809 Command:Display Alert, retry none, parameters: <0x972edb90>
08 12/28/07 10:07:00.075 Parameter 9(Text): 36858 Done with new device fileserver Added: Fiire Station 1 <0x972edb90>
08 12/28/07 10:07:00.075 Parameter 70(Tokens): pnp_36858 <0x972edb90>
08 12/28/07 10:07:00.075 Parameter 182(Timeout): 2 <0x972edb90>
08 12/28/07 10:07:00.075 Parameter 251(Interruption): 2 <0x972edb90>
05 12/28/07 10:07:00.083 Plug_And_Play_Plugin::PNPDevices Parms=36857 returning sole device template 38 Light Switch (dimmable) <0x8d8f1b90>