Releases: christian-photo/ninaAPI
ninaAPI 2.1.7.1
-
⚠️ Breaking Enums are now serialized as strings, check the documentation for concrete updates. Please note, that not everything might be updated correctly⚠️ -
Added support for the Livestack plugin (>= 1.0.0.9)
-
livestack/start
to start the livestack -
livestack/stop
to stop the livestack -
livestack/image/{target}/{filter}
to get the current stacked image for a given filter and target -
STACK-UPDATED
event in the websocket added, to notify when a new image is available -
Added
waitForResult
toframing/slew
-
Added
version
to the documentation, it was always there just not documented -
Added
application/plugins
to get a list of installed plugins -
Added a 1s delay to the
IMAGE-SAVE
event to give NINA a bit more time to finish up the image -
image/{index}
now automatically retries the image retrieval 10 times with a 200ms delay between each try, if it fails to load the image (because it is in use for example) -
Fixed solving a capture image
-
Fixed an issue where the slew failed if no image was loaded in the framing assistant. An image is now automatically loaded
ninaAPI 2.1.6.1
- Fixed a critical bug that could cause NINA to crash
ninaAPI 2.1.6.0
framing/determine-rotation
added to determine the rotation from the cameracamera/set-binning
added to set the binning of the camera, the binning mode has to be supported by the cameracamera/capture
:- URL parameter
omitImage
added to ignore the captured image, use if only the platesolve result is of interest - URL parameter
stream
added to stream the image, content type will be either image/jpg or image/png - URL parameter
waitForResult
added to wait for the capture to finish and then return the result. All parameters which you would normally use together withgetResult
will apply here as well
- URL parameter
- Added
stream
parameter toimage/{index}
to stream the image, content type will be either image/jpg or image/png - Added
stream
parameter toapplication/screenshot
to stream the image, content type will be either image/jpg or image/png - New Websocket Events:
FOCUSER-USER-FOCUSED
AUTOFOCUS-FINISHED
API-CAPTURE-FINISHED
is sent, whencamera/capture
finishes
ninaAPI 2.1.5.0
mount/flip
added to perfom a meridian flip, the flip will only be executed if it is neededmount/slew
slews the mount to the specified ra and dec anglesdome/set-follow
to start or stop the dome following the mountdome/sync
to start a sync of mount and scopedome/slew
to slew the dome to the specified azimuth angle (degree)DOME-SLEWED
andDOME-SYNCED
added as new events in the websocket
ninaAPI 2.1.4.0
guider/start
now accepts the parameter calibrate to force a calibration (true / false)- Guider info now contains a State field indicating what the guider is currently doing
guider/clear-calibration
added to clear the current calibrationguider/graph
to get the last n guide steps as configured on the guide graph in NINA (in NINA you can set x to be 50, 100, 200 or 400)
ninaAPI 2.1.3.0
- Added query parameter
skipRescan
to all connect endpoints, which can be used to skip the rescanning process resulting in a faster connection - Some websockets events now include more information:
FILTERWHEEL-CHANGED
includes the previous and new filterFLAT-BRIGHTNESS-CHANGED
includes the previous and new brightnessSAFETY-CHANGED
includes the new status
image/{index}
now also includes parameters to configure the stretch parameters. These default to the profile default if omitted
ninaAPI 2.1.2.0
Changes:
⚠️ Breaking Removed support for the deprecated v1 api⚠️ - Added more endpoints to
flatdevice
:flatdevice/set-cover
to open or close the coverflatdevice/set-light
to toggle the light on or offflatdevice/set-brightness
to change the brightness of the flatpanel
- Added more events regarding the flat panel:
FLAT-LIGHT-TOGGLED
FLAT-COVER-OPENED
FLAT-COVER-CLOSED
FLAT-BRIGHTNESS-CHANGED
- Added
sequence/set-target
to update the target in a target container - The server now automatically picks the next available port to launch the api
- Implemented IMessageBroker for cross Plugin communication. Use Topic
AdvancedAPI.RequestPort
to request the port the api is running on, subscribe toAdvancedAPI.Port
to recieve the answer. The port is directly written into Content
ninaAPI 2.1.1.0
Promotion to release channel
- Fixed an issue where the sequence wasn't complete when the target container was nested
ninaAPI 2.1.0.0-beta 7
profile/change-value
fixesframing/set-source
addedcamera/set-readout
added to set the readout modeversion
now returns the Plugin Version instead of an Independent Version number
ninaAPI 2.1.0.0-beta 6
- Moved GlobalTriggers to the top of the returned json as it seems to have caused confusion
- Added the field
ImageType
to the IMAGE-SAVE Event and image-history - Removed the Id field from image-history, just use the index of the Image in the returned Array
- All Image Types (LIGHT, DARK, BIAS, FLAT, SNAPSHOT) now raise an IMAGE-SAVE event
- Eventwatchers are now started independently of the api, therefore Events can still be retrieved using
event-history
even if the api wasn't running before.