npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

n8n-nodes-ninaapi

v1.1.2

Published

N.I.N.A. ninaAPI community nodes for n8n – control astronomy imaging software (camera, mount, focuser, dome, guider, polar alignment and more)

Readme

n8n-nodes-ninaapi

npm version License: MIT

Community n8n nodes for N.I.N.A. (Nighttime Imaging 'N' Astronomy) via the ninaAPI plugin.
Automate your astrophotography workflow: control cameras, mounts, focusers, domes, polar alignment, sequences and more — all from n8n.


Nodes

Equipment

| Node | What it does | |------|-------------| | NINA Camera | Connect, capture images, plate-solve, set binning/readout, cool/warm, abort exposure | | NINA Mount | Slew, park/unpark, home, track, meridian flip, sync | | NINA Focuser | Move, stop, run autofocus, reverse direction | | NINA Filter Wheel | Change filter, list/add/remove filters | | NINA Dome | Open/close shutter, slew, park, follow mode, sync | | NINA Rotator | Move (sky / mechanical), reverse, stop | | NINA Flat Device | Set brightness, toggle light, open/close cover | | NINA Guider | Start/stop guiding, clear calibration, fetch guide graph | | NINA Safety Monitor | Read safe/unsafe state | | NINA Switch | Set switch value by index | | NINA Weather | Read temperature, humidity, pressure, cloud cover, dew point and more |

Application & Imaging

| Node | What it does | |------|-------------| | NINA Application | Switch tabs, take screenshots, read logs, list plugins | | NINA Sequence | Start/stop/reset, load by name, edit targets, skip items | | NINA Profile | List/switch profiles, read/change settings, get horizon | | NINA Image | Get images (by index), thumbnails, plate-solve, history | | NINA Framing | Set sky coordinates, slew, set rotation, moon separation | | NINA Live Stack | Start/stop, get stacked images per filter/target | | NINA Flats | Sky flats, auto-brightness, auto-exposure, trained flats |

Triggers & Polar Alignment

| Node | What it does | |------|-------------| | NINA Event Trigger | WebSocket trigger — fires on 34 NINA events (capture finished, autofocus, filter change, sequence, guider, safety, …) | | NINA TPPA | Three-Point Polar Alignment via WebSocket — start with full config, collect AzimuthError / AltitudeError / TotalError, stop/pause/resume |


Prerequisites


Installation

In n8n (recommended)

Settings → Community Nodes → Install → n8n-nodes-ninaapi

Manually

cd ~/.n8n/custom   # or your n8n custom nodes path
npm install n8n-nodes-ninaapi

Credentials

Add a NINA API credential with:

| Field | Default | Description | |-------|---------|-------------| | Host | localhost | Machine running N.I.N.A. with ninaAPI | | Port | 1888 | ninaAPI server port |

The credential test calls GET /version to verify connectivity.


Example Workflows

Automated Imaging Session

Schedule Trigger → NINA Mount (slew) → NINA Focuser (autofocus) 
  → NINA Camera (capture) → NINA Image (plate-solve) → Slack (notify)

Polar Alignment Assistant

Manual Trigger → NINA TPPA (start alignment, 120s)
  → IF lastMeasurement.TotalError < 1 → Done
  → ELSE → Telegram (send alignment errors)

Safety Shutdown

NINA Event Trigger (SAFETY-CHANGED) 
  → IF IsSafe=false 
  → NINA Mount (park) + NINA Dome (close) + NINA Camera (abort)

API Reference

This package targets ninaAPI v2 (/v2/api).
Full API documentation: https://christian-photo.github.io/github-page/projects/ninaAPI/v2/doc/api


License

MIT — see LICENSE