The following event is causing the router to crash for me:
CRITERIA
PK_Device = Hallway Motion
Time of day = NIGHT
PK_EventParameter Event parameter: Tripped = Value: 1
I have tested the commands it fires and these do not cause the router to crash. It looks more like the DCEROuter crashes when evaluating the event. I notice that the template for a motion detector now looks different to how it used to - or is this just my eyes?
The following command then kills the router:
/usr/pluto/bin/MessageSend 127.0.0.1 123 123 2 9 25 1
(Device 123 is the Hall Motion security sensor)
Here is the router log section:
05 03/12/10 18:26:59.439 Socket::ReceiveData 0x8ee4b40 failed, bytes left 0 start: 7460000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 178 Incoming_Conn Socket 178 127.0.0.1 <0x677eab90>
05 03/12/10 18:26:59.440 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 178 127.0.0.1 <0x677eab90>
05 03/12/10 18:26:59.440 TCPIP: Closing connection to -1003 (Router Dev #0) 0x8ee4b40 m_Socket: -1 <0x677eab90>
05 03/12/10 18:26:59.440 Router::RemoveAndDeleteSocket 0x8ee4b40 -1003 <0x677eab90>
05 03/12/10 18:27:02.414 XXX: Device: 123, State: SLEEPING,, <0x677eab90>
05 03/12/10 18:27:02.415 XXX: PK_AlertType: 0, PK_HouseMode: 1 <0x677eab90>
05 03/12/10 18:27:02.426 void ClientSocket::Disconnect() on this socket: 0x8ee51d0 (m_Socket: 179) <0x677eab90>
05 03/12/10 18:27:02.427 Socket::ReceiveData 0x8f4c810 failed, bytes left 0 start: 7460000 1: 0 1b: 0 2: 0 2b: 0 m_Socket: 180 Incoming_Conn Socket 180 127.0.0.1 <0x66fe9b90>
05 03/12/10 18:27:02.427 Socket::ReceiveString2 ReceiveData failed m_Socket: -1 Incoming_Conn Socket 180 127.0.0.1 <0x66fe9b90>
05 03/12/10 18:27:02.428 TCPIP: Closing connection to -1003 (Router Dev #0) 0x8f4c810 m_Socket: -1 <0x66fe9b90>
05 03/12/10 18:27:02.428 Router::RemoveAndDeleteSocket 0x8f4c810 -1003 <0x66fe9b90>
01 03/12/10 18:27:02.429 Criteria::EvaluateExpression parameterType 3 <0x677eab90>
Return code: 139
3 03/12/10 18:27:03 DCERouter (server) Device died... count=8/200 dev=DCERouter
Fri Mar 12 18:27:03 GMT 2010 died