damian.flynn
01 Jul 08, 07:57 AM
Hi,
While i was creating scenes in the PAC and trying to get these to trigger from the saturn or the toolkit, I was going nowhere fast.
I opened the log windows using PICED to see whats going on and I have discoverd that the Sarturns are indeed trasmitting the Scene trigger request, and even breaking down the groups and levels per group; but these all fail saying the network is offline.
I can resolve this with a cgate command
open network 254
set 254 autosync yes
then wait about 60 seconds and Bang we have action. - So why do i need to do this? what would cause the systems to go offline? I have a single network, with about 30 devices.
I went to bed last night with the network online, and tested a scene from a saturn again about 18 hours later - still happy. then when it got dark, I went again to trigger the scene, and nothing.
I had left PICED open but disconnected; and Cgate running in the background of the management PC.
Any clues to whats happening, or workarounds to keep me online?
this is the log for reference
6/30/2008 10:12:36 PM C-Gate : Rx "#e# 20080630-221236 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=sync Previous=error Reason=closing network"
6/30/2008 10:12:36 PM C-Gate : Network 254 (Local Network) changed state to sync - (closing network)
6/30/2008 10:12:36 PM C-Gate : Rx "#e# 20080630-221236 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=new Previous=sync Reason=Interface Closed"
6/30/2008 10:12:36 PM C-Gate : Network 254 (Local Network) changed state to new - (Interface Closed)
6/30/2008 10:12:37 PM C-Gate : Rx "[574] 200 OK: //DIGINERV/254"
6/30/2008 10:12:37 PM C-Gate : All Networks Closed
6/30/2008 10:12:42 PM Info : Connect to C-Gate at 127.0.0.1
6/30/2008 10:12:42 PM C-Gate : Rx "201 Service ready: Clipsal C-Gate Version: v2.6.1 (build 2242) #cmd-syntax=1.0"
6/30/2008 10:12:42 PM C-Gate : Version 2.6, build 2242 OK
6/30/2008 10:12:42 PM C-Gate : Opening networks 254
6/30/2008 10:12:42 PM C-Gate : Tx "[575]project use DIGINERV"
6/30/2008 10:12:42 PM C-Gate : Rx "[575] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Tx "[576]config set speed-write yes"
6/30/2008 10:12:42 PM C-Gate : Tx "[577]config set sync-fast-pci yes"
6/30/2008 10:12:42 PM C-Gate : Tx "[578]event e7s0c0"
6/30/2008 10:12:42 PM C-Gate : Tx "[579]session_id"
6/30/2008 10:12:42 PM C-Gate : Rx "[576] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[577] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[578] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[579] 300 sessionID=cmd15"
6/30/2008 10:12:43 PM Info : Start Power Fail Recovery
6/30/2008 10:12:43 PM Info : End Power Fail Recovery
6/30/2008 10:12:43 PM C-Gate : Tx "[580]show cbus networks"
6/30/2008 10:12:43 PM C-Gate : Rx "[580] 300 //DIGINERV/cbus: networks=254"
6/30/2008 10:12:43 PM C-Gate : Tx "[581]net open 254"
6/30/2008 10:12:43 PM C-Gate : Tx "[582]set 254 autosync yes"
6/30/2008 10:12:43 PM C-Gate : Rx "[581] 120-initializing"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-opening port"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-starting network threads"
6/30/2008 10:12:45 PM C-Gate : Rx "#e# 20080630-221245 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=sync Previous=new Reason=Interface Opened"
6/30/2008 10:12:45 PM C-Gate : Network 254 (Local Network) changed state to sync - (Interface Opened)
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-pci reset"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-open complete"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 200 OK: //DIGINERV/254"
6/30/2008 10:12:45 PM C-Gate : Rx "[582] 200 OK: //DIGINERV/254"
6/30/2008 10:12:58 PM C-Gate : Rx "trigger event //DIGINERV/254/202/1 1 #sourceunit=13 OID=f2ae5d20-136b-102b-bba4-eb48f8b2f794"
6/30/2008 10:12:58 PM C-Bus Rx : Set Trigger Control, PAC-Scenes to Living - Watch TV Scene
6/30/2008 10:12:58 PM Info : Set Scene "Living - Watch TV Scene"
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Cooking Area] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Kitchen [Display Cabinets] to 50% over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Island] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Kitchen [Pelment] On over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Sink Area] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Living Room [Chandeleer] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Living Room [Table Lamps] to 80% over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Gate : Tx "[583]off 254/56/49"
6/30/2008 10:12:58 PM C-Gate : Tx "[584]ramp 254/56/74 127 8"
6/30/2008 10:12:58 PM C-Gate : Tx "[585]off 254/56/52"
6/30/2008 10:12:58 PM C-Gate : Tx "[586]ramp 254/56/37 255 8"
6/30/2008 10:12:58 PM C-Gate : Tx "[587]off 254/56/50"
6/30/2008 10:12:58 PM C-Gate : Tx "[588]off 254/56/60"
6/30/2008 10:12:58 PM C-Gate : Tx "[589]ramp 254/56/13 204 8"
6/30/2008 10:12:58 PM C-Gate : Rx "[583] 408 Operation failed: //DIGINERV/254/56/49"
6/30/2008 10:12:58 PM C-Gate : Rx "[584] 408 Operation failed: //DIGINERV/254/56/74"
6/30/2008 10:12:58 PM C-Gate : Rx "[585] 408 Operation failed: //DIGINERV/254/56/52"
6/30/2008 10:12:58 PM C-Gate : Rx "[586] 408 Operation failed: //DIGINERV/254/56/37"
6/30/2008 10:12:58 PM C-Gate : Rx "[587] 408 Operation failed: //DIGINERV/254/56/50"
6/30/2008 10:12:58 PM C-Gate : Rx "[588] 408 Operation failed: //DIGINERV/254/56/60"
6/30/2008 10:12:58 PM C-Gate : Rx "[589] 408 Operation failed: //DIGINERV/254/56/13"
6/30/2008 10:14:30 PM C-Gate : Tx User Command "net open 254"
6/30/2008 10:14:30 PM C-Gate : Tx "[590]net open 254"
6/30/2008 10:14:30 PM C-Gate : Rx "[590] 200 OK: //DIGINERV/254"
6/30/2008 10:14:41 PM C-Gate : Tx User Command "set 254 autosync yes"
6/30/2008 10:14:41 PM C-Gate : Tx "[591]set 254 autosync yes"
6/30/2008 10:14:41 PM C-Gate : Rx "[591] 200 OK: //DIGINERV/254"
6/30/2008 10:14:48 PM C-Gate : Rx "#e# 20080630-221448 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=ok Previous=sync Reason=Sync finished"
6/30/2008 10:14:48 PM C-Gate : Network 254 (Local Network) changed state to ok - (Sync finished)
6/30/2008 10:14:48 PM C-Gate : C-Gate Network Sync Complete
While i was creating scenes in the PAC and trying to get these to trigger from the saturn or the toolkit, I was going nowhere fast.
I opened the log windows using PICED to see whats going on and I have discoverd that the Sarturns are indeed trasmitting the Scene trigger request, and even breaking down the groups and levels per group; but these all fail saying the network is offline.
I can resolve this with a cgate command
open network 254
set 254 autosync yes
then wait about 60 seconds and Bang we have action. - So why do i need to do this? what would cause the systems to go offline? I have a single network, with about 30 devices.
I went to bed last night with the network online, and tested a scene from a saturn again about 18 hours later - still happy. then when it got dark, I went again to trigger the scene, and nothing.
I had left PICED open but disconnected; and Cgate running in the background of the management PC.
Any clues to whats happening, or workarounds to keep me online?
this is the log for reference
6/30/2008 10:12:36 PM C-Gate : Rx "#e# 20080630-221236 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=sync Previous=error Reason=closing network"
6/30/2008 10:12:36 PM C-Gate : Network 254 (Local Network) changed state to sync - (closing network)
6/30/2008 10:12:36 PM C-Gate : Rx "#e# 20080630-221236 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=new Previous=sync Reason=Interface Closed"
6/30/2008 10:12:36 PM C-Gate : Network 254 (Local Network) changed state to new - (Interface Closed)
6/30/2008 10:12:37 PM C-Gate : Rx "[574] 200 OK: //DIGINERV/254"
6/30/2008 10:12:37 PM C-Gate : All Networks Closed
6/30/2008 10:12:42 PM Info : Connect to C-Gate at 127.0.0.1
6/30/2008 10:12:42 PM C-Gate : Rx "201 Service ready: Clipsal C-Gate Version: v2.6.1 (build 2242) #cmd-syntax=1.0"
6/30/2008 10:12:42 PM C-Gate : Version 2.6, build 2242 OK
6/30/2008 10:12:42 PM C-Gate : Opening networks 254
6/30/2008 10:12:42 PM C-Gate : Tx "[575]project use DIGINERV"
6/30/2008 10:12:42 PM C-Gate : Rx "[575] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Tx "[576]config set speed-write yes"
6/30/2008 10:12:42 PM C-Gate : Tx "[577]config set sync-fast-pci yes"
6/30/2008 10:12:42 PM C-Gate : Tx "[578]event e7s0c0"
6/30/2008 10:12:42 PM C-Gate : Tx "[579]session_id"
6/30/2008 10:12:42 PM C-Gate : Rx "[576] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[577] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[578] 200 OK."
6/30/2008 10:12:42 PM C-Gate : Rx "[579] 300 sessionID=cmd15"
6/30/2008 10:12:43 PM Info : Start Power Fail Recovery
6/30/2008 10:12:43 PM Info : End Power Fail Recovery
6/30/2008 10:12:43 PM C-Gate : Tx "[580]show cbus networks"
6/30/2008 10:12:43 PM C-Gate : Rx "[580] 300 //DIGINERV/cbus: networks=254"
6/30/2008 10:12:43 PM C-Gate : Tx "[581]net open 254"
6/30/2008 10:12:43 PM C-Gate : Tx "[582]set 254 autosync yes"
6/30/2008 10:12:43 PM C-Gate : Rx "[581] 120-initializing"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-opening port"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-starting network threads"
6/30/2008 10:12:45 PM C-Gate : Rx "#e# 20080630-221245 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=sync Previous=new Reason=Interface Opened"
6/30/2008 10:12:45 PM C-Gate : Network 254 (Local Network) changed state to sync - (Interface Opened)
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-pci reset"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 120-open complete"
6/30/2008 10:12:45 PM C-Gate : Rx "[581] 200 OK: //DIGINERV/254"
6/30/2008 10:12:45 PM C-Gate : Rx "[582] 200 OK: //DIGINERV/254"
6/30/2008 10:12:58 PM C-Gate : Rx "trigger event //DIGINERV/254/202/1 1 #sourceunit=13 OID=f2ae5d20-136b-102b-bba4-eb48f8b2f794"
6/30/2008 10:12:58 PM C-Bus Rx : Set Trigger Control, PAC-Scenes to Living - Watch TV Scene
6/30/2008 10:12:58 PM Info : Set Scene "Living - Watch TV Scene"
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Cooking Area] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Kitchen [Display Cabinets] to 50% over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Island] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Kitchen [Pelment] On over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Kitchen [Sink Area] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Set Living Room [Chandeleer] Off (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Bus Tx : Ramp Living Room [Table Lamps] to 80% over 8s (Received from C-Bus/Scene "Living - Watch TV Scene")
6/30/2008 10:12:58 PM Info : Network 254 (Local Network) is off-line, command has been queued
6/30/2008 10:12:58 PM C-Gate : Tx "[583]off 254/56/49"
6/30/2008 10:12:58 PM C-Gate : Tx "[584]ramp 254/56/74 127 8"
6/30/2008 10:12:58 PM C-Gate : Tx "[585]off 254/56/52"
6/30/2008 10:12:58 PM C-Gate : Tx "[586]ramp 254/56/37 255 8"
6/30/2008 10:12:58 PM C-Gate : Tx "[587]off 254/56/50"
6/30/2008 10:12:58 PM C-Gate : Tx "[588]off 254/56/60"
6/30/2008 10:12:58 PM C-Gate : Tx "[589]ramp 254/56/13 204 8"
6/30/2008 10:12:58 PM C-Gate : Rx "[583] 408 Operation failed: //DIGINERV/254/56/49"
6/30/2008 10:12:58 PM C-Gate : Rx "[584] 408 Operation failed: //DIGINERV/254/56/74"
6/30/2008 10:12:58 PM C-Gate : Rx "[585] 408 Operation failed: //DIGINERV/254/56/52"
6/30/2008 10:12:58 PM C-Gate : Rx "[586] 408 Operation failed: //DIGINERV/254/56/37"
6/30/2008 10:12:58 PM C-Gate : Rx "[587] 408 Operation failed: //DIGINERV/254/56/50"
6/30/2008 10:12:58 PM C-Gate : Rx "[588] 408 Operation failed: //DIGINERV/254/56/60"
6/30/2008 10:12:58 PM C-Gate : Rx "[589] 408 Operation failed: //DIGINERV/254/56/13"
6/30/2008 10:14:30 PM C-Gate : Tx User Command "net open 254"
6/30/2008 10:14:30 PM C-Gate : Tx "[590]net open 254"
6/30/2008 10:14:30 PM C-Gate : Rx "[590] 200 OK: //DIGINERV/254"
6/30/2008 10:14:41 PM C-Gate : Tx User Command "set 254 autosync yes"
6/30/2008 10:14:41 PM C-Gate : Tx "[591]set 254 autosync yes"
6/30/2008 10:14:41 PM C-Gate : Rx "[591] 200 OK: //DIGINERV/254"
6/30/2008 10:14:48 PM C-Gate : Rx "#e# 20080630-221448 754 //DIGINERV/254 49b2d930-d83d-102a-b6f9-9186e2996a4f State=ok Previous=sync Reason=Sync finished"
6/30/2008 10:14:48 PM C-Gate : Network 254 (Local Network) changed state to ok - (Sync finished)
6/30/2008 10:14:48 PM C-Gate : C-Gate Network Sync Complete