Ok, scratch that last post. After poking around in the source a bit, I discovered that the
Generic Input Ouput device needs to be added directly to the gc100, and that the
Port/Channel Number device data field needs to contain
2:3 in my specific case:
10 08/25/07 2:04:32.071 Reply received from GC100: state,2:3,0 <0xb6115b90>
10 08/25/07 2:04:32.071 statechange Reply interpreted as module: 2:3 change to 0 <0xb6115b90>
10 08/25/07 2:04:32.071 statechange Reply: found module of type IR, 3 <0xb6115b90>
10 08/25/07 2:04:32.071 Zdebug: DevCat # 97 <0xb6115b90>
10 08/25/07 2:04:32.071 Zdebug: DevCat # 79 <0xb6115b90>
10 08/25/07 2:04:32.071 statechange Reply: testing Command_Impl2 Dev #, 2:3 (state 0) default state: 0 <0xb6115b90>
10 08/25/07 2:04:32.071 Zdebug: 2:3 ?= 2:3 <0xb6115b90>
10 08/25/07 2:04:32.071 statechange Reply: matches exactly in m:s format <0xb6115b90>
10 08/25/07 2:04:32.071 Socket::SendMessage type 2 id 9 from 65 to 0 <0xb7918b90>
The lines starting with "10" were enabeled by adding
10 to the
LogLevels line in the
/etc/pluto.conf configuration file, I read that elsewhere on this forum. The "Zdebug" logging was temporarily added by me as I was figuring this out. This part seems to work as it is supposed to now (and all I really had to do was specify 2:3 instead of 3
).
According to device template #43
Generic Input Ouput this device should fire the
Sensor Tripped event. I find this in the logs:
05 08/25/07 3:14:48.196 Alert data not specified for 65 <0x854b8b90>
07 08/25/07 3:14:48.196 Event #9 has no handlers <0x854b8b90>
07 08/25/07 3:14:48.196 Received Message from 65 (Generic Input Ouput / Entrance) to 0 (unknown / ), type 2 id 9 Event:Sensor Tripped, retry none, parameters: <0x854b8b90>
07 08/25/07 3:14:48.196 Parameter 25(Tripped): 1 <0x854b8b90>
05 08/25/07 3:14:48.343 Alert data not specified for 65 <0x854b8b90>
07 08/25/07 3:14:48.343 Event #9 has no handlers <0x854b8b90>
07 08/25/07 3:14:48.343 Received Message from 65 (Generic Input Ouput / Entrance) to 0 (unknown / ), type 2 id 9 Event:Sensor Tripped, retry none, parameters: <0x854b8b90>
07 08/25/07 3:14:48.343 Parameter 25(Tripped): 1 <0x854b8b90>
07 08/25/07 3:14:51.461 Event #9 has no handlers <0x854b8b90>
07 08/25/07 3:14:51.461 Received Message from 65 (Generic Input Ouput / Entrance) to 0 (unknown / ), type 2 id 9 Event:Sensor Tripped, retry none, parameters: <0x854b8b90>
07 08/25/07 3:14:51.461 Parameter 25(Tripped): 0 <0x854b8b90>
07 08/25/07 3:14:51.603 Event #9 has no handlers <0x854b8b90>
I tried adding an "A sensor (door/window/motion/etc.) is tripped" as well as an "Someone rings the doorbell" event, but neither seem to pick up on it (same logs). I guess that will be the next piece of the puzzle.