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-cctvql

v1.0.0

Published

n8n community nodes for cctvQL — natural-language CCTV queries, live events, and PTZ control across Frigate, Hikvision, Synology, and more.

Readme

n8n-nodes-cctvql

n8n community nodes for cctvQL — a natural-language query layer for CCTV systems.

Ask questions like "Were there any people at the front door last night?" directly inside n8n workflows, fetch live detection events, and send PTZ commands — across Frigate, Hikvision, Synology, Dahua, Milestone, ONVIF, and more.


Installation

In your n8n instance: Settings → Community Nodes → Install → search n8n-nodes-cctvql

Or via CLI:

npm install n8n-nodes-cctvql

Prerequisites

A running cctvQL server:

docker run -p 8000:8000 \
  -e CCTVQL_ADAPTER=frigate \
  -e CCTVQL_FRIGATE_HOST=http://192.168.1.100:5000 \
  ghcr.io/arunrajiah/cctvql:latest

Credentials

Create a cctvQL API credential with:

  • Host — hostname or IP of your cctvQL server (default: localhost)
  • Port — port (default: 8000)
  • Protocolhttp or https
  • API Key — optional, if you have auth enabled

Nodes

cctvQL Query

Ask cctvQL a natural language question. Supports n8n expressions so the query can come from upstream nodes.

| Property | Description | |---|---| | Query | Natural language question (required) | | Session ID | For multi-turn conversations (default: n8n) |

Output fields: answer, intent, session_id, plus the full API response.


cctvQL Events

Fetch recent detection events, optionally filtered by camera or label. Each event becomes a separate item when Split Into Items is on.

| Property | Description | |---|---| | Camera | Filter by camera name (blank = all) | | Label | Filter by object label e.g. person, car | | Limit | Max events to return (default 20) | | Split Into Items | One item per event (default on) |


cctvQL PTZ

Send a pan/tilt/zoom command to a camera.

| Property | Description | |---|---| | Camera ID | Camera to control (supports expressions) | | Action | left / right / up / down / zoom_in / zoom_out / home / preset | | Speed | 1–100 (default 50) | | Preset ID | Required when action is Go to Preset |


Example Workflow

[
  {
    "nodes": [
      { "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger" },
      { "name": "cctvQL Query",     "type": "n8n-nodes-cctvql.cctvqlQuery",
        "parameters": { "query": "Any motion at the back door in the last hour?", "sessionId": "nightly-check" } },
      { "name": "Send Telegram",    "type": "n8n-nodes-base.telegram",
        "parameters": { "text": "={{ $json.answer }}" } }
    ]
  }
]

License

MIT — arunrajiah/cctvql