-
Notifications
You must be signed in to change notification settings - Fork 3
WebSocket V1
christian-photo edited this page Nov 25, 2024
·
1 revision
The v1 websocket, for the v2 websocket see here
URL: ws://<ip>:<port>/socket
CAMERA-CONNECTION
TELESCOPE-CONNECTION
FOCUSER-CONNECTION
ROTATOR-CONNECTION
DOME-CONNECTION
FILTERWHEEL-CONNECTION
SWITCH-CONNECTION
SAFETY-CONNECTION
GUIDER-CONNECTION
FLAT-CONNECTION
IMAGE-NEW
NINA-MF (Meridian Flip)
NINA-PARK (Mount Park)
NINA-UNPARK (Mount Unpark)
NINA-DOME-SHUTTER-OPENED
NINA-DOME-SHUTTER-CLOSED
NINA-DOME-STOPPED
NINA-ADV-SEQ-START
NINA-ADV-SEQ-STOP
NINA-ERROR-AF (Error while running AF)
NINA-ERROR-PLATESOLVE (Platesolve failed)
Example:
{
"Response": {
"Event": "CAMERA-CONNECTION",
"Connected": true,
"Time": "2024-08-07T15:05:03.2217104+02:00"
},
"Error": "",
"Success": true,
"Type": "API"
}
or
{
"Response": {
"Event": "IMAGE-SAVE",
"ExposureTime": 0,
"Index": 0,
"Filter": "",
"RmsText": "Tot: 0.00 (0.00\")",
"Temperature": "NaN",
"CameraName": "N.I.N.A. Simulator Camera",
"Gain": 0,
"Offset": -1,
"Date": "2024-08-07T15:14:58.5520673+02:00",
"TelescopeName": "Canon 100-400mm",
"FocalLength": 400,
"StDev": 100.07222590968107,
"Mean": 4999.6263671875,
"Median": 5000,
"Stars": 0,
"HFR": 0
},
"Error": "",
"Success": true,
"Type": "Socket"
}