====== TCP/IP Status server ====== You can connect locally or remotely to get information about the program.\\ There is three way to get the information: *The [[ccdciel_status|status web page]]. *This [[server#simple_socket_command|Simple socket command]]. *The [[jsonrpc_reference|JSON-RPC status method]]. ---- ====Simple socket command==== The program listen on port 3277 and use the following command: |status | Return the devices connection status | |sequence | Return information about current sequence | |capture | The capture information in the status bar | |log | The last 10 lines of the current log | | quit | disconnect from the server | For example: $ telnet localhost 3277 Connected to localhost. OK! id=1 status Planetarium connected, Autoguider guiding, Devices connected sequence Targets: test1 Plan: L-3x2 Start step R capture Seq: 2 Exp: 19 sec. Saved /home/pch/Capture/M13_Red_20180217_161453.fits 1392x1040 log 17:14:07:Starting Light exposure 3 for 20 seconds 17:14:27:Saved file /home/pch/Capture/M13_Red_20180217_161427.fits 17:14:27:Stop capture 17:14:33:Start step R 17:14:33:Start capture 17:14:33:Starting Light exposure 1 for 20 seconds 17:14:53:Saved file /home/pch/Capture/M13_Red_20180217_161453.fits 17:14:53:Starting Light exposure 2 for 20 seconds quit Connection closed by foreign host. ----