Skip to content

Releases: christian-photo/ninaAPI

ninaAPI 2.1.8.0

21 Feb 17:38
020aac4
Compare
Choose a tag to compare
  • ⚠️ Breaking image/{index} now includes more images. Every image that is recieved as a websocket event can now be loaded using this endpoint. This is because the imageType
    parameter was introduced. The endpoint doesn't use NINA's image history anymore, but instead uses the websocket history. This includes more images and will result in a more consistent experience.
    The issue with NINA's image history is, that it does not necessarily include all images, like calibration frames.

Flats

  • Added the following methods for capturing flats:
    • flats/skyflat
    • flats/auto-brightness
    • flats/auto-exposure
    • flats/trained-dark-flat
    • flats/trained-flat

These methods do exactly the same as their sequence instruction counterparts.

  • Added flats/status to get the status of the flat taking process.
  • Added flats/stop to stop the flat taking process.

Mount

  • Added waitForResult to mount/slew to wait for the slew to finish.
  • Added mount/slew/stop to abort the current slew.
  • Added a mount websocket channel to move the mount axis manually. This automatically stops all movement when the client disconnects as a safety measure to prevent any accidents.

Image

  • Added imageType to image/{index} and image-history to filter the images by type.
  • Added debayer and bayerPattern to image/{index} to debayer the image.
  • Added IsBayered to IMAGE-SAVE event (and image-history).
  • Added autoPrepare to image/{index} to leave all processing up to NINA. Using this will result in the same image as the one you see in NINA

  • Added PROFILE-ADDED and PROFILE-REMOVED events to get notified when the collection of profiles changes, PROFILE-CHANGED is sent when the active profile changes.

ninaAPI 2.1.7.1

04 Feb 14:25
d29c774
Compare
Choose a tag to compare
  • ⚠️ 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 to framing/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

02 Feb 18:14
d29c774
Compare
Choose a tag to compare
  • Fixed a critical bug that could cause NINA to crash

ninaAPI 2.1.6.0

29 Jan 14:09
d91b157
Compare
Choose a tag to compare
  • framing/determine-rotation added to determine the rotation from the camera
  • camera/set-binning added to set the binning of the camera, the binning mode has to be supported by the camera
  • camera/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 with getResult will apply here as well
  • Added stream parameter to image/{index} to stream the image, content type will be either image/jpg or image/png
  • Added stream parameter to application/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, when camera/capture finishes

ninaAPI 2.1.5.0

25 Jan 16:07
fc93b8f
Compare
Choose a tag to compare
  • mount/flip added to perfom a meridian flip, the flip will only be executed if it is needed
  • mount/slew slews the mount to the specified ra and dec angles
  • dome/set-follow to start or stop the dome following the mount
  • dome/sync to start a sync of mount and scope
  • dome/slew to slew the dome to the specified azimuth angle (degree)
  • DOME-SLEWED and DOME-SYNCED added as new events in the websocket

ninaAPI 2.1.4.0

22 Jan 10:33
5c5dff1
Compare
Choose a tag to compare
  • 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 calibration
  • guider/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

18 Jan 09:25
7662a91
Compare
Choose a tag to compare
  • 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 filter
    • FLAT-BRIGHTNESS-CHANGED includes the previous and new brightness
    • SAFETY-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

17 Jan 11:37
537bd48
Compare
Choose a tag to compare

⚠️ THIS UPDATE REMOVES V1 SUPPORT ⚠️

Changes:

  • ⚠️ Breaking Removed support for the deprecated v1 api ⚠️
  • Added more endpoints to flatdevice:
    • flatdevice/set-cover to open or close the cover
    • flatdevice/set-light to toggle the light on or off
    • flatdevice/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 to AdvancedAPI.Port to recieve the answer. The port is directly written into Content

ninaAPI 2.1.1.0

12 Jan 14:17
Compare
Choose a tag to compare

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

09 Jan 16:30
Compare
Choose a tag to compare
Pre-release
  • profile/change-value fixes
  • framing/set-source added
  • camera/set-readout added to set the readout mode
  • version now returns the Plugin Version instead of an Independent Version number