question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support Nx Witness-style systems

See original GitHub issue

Is your feature request related to a problem? Please describe. Nx Witness doesn’t support writing a snapshot out when motion is detected. What it can do is:

  1. Call an URL to say “hey motion happened!”
  2. Return a snapshot when a specific URL is requested

Describe the solution you’d like

  1. Use the existing express server to expose a route for /motion/triggerName
  2. When that route is hit, call an URL specified on the trigger to retrieve an image

Additional context

Originally I thought this would require an entire Nx Witness module but it can be plenty generic. Only question is where to put the image: local storage or aiinput?

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:27 (16 by maintainers)

github_iconTop GitHub Comments

1reaction
neilennscommented, Jun 18, 2020

None of this is available for testing yet, I’ll let you know when it is and how to get it.

Until then just point to latest, make a settings.json, and put it in the same folder you have triggers.json in. See https://raw.githubusercontent.com/danecreekphotography/node-deepstackai-trigger/main/sampleConfiguration/settings.json for what it should look like. You probably just need the deepstackUri and verbose properties.

0reactions
Viksiecommented, Jun 23, 2020

Would you mind entertaining the “delay” option ?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Support Nx Witness-style systems · Issue #260
Nx Witness doesn't support writing a snapshot out when motion is detected. What it can do is: Call an URL to say "hey...
Read more >
Nx Witness v5.0
Nx Witness VMS v5.0 is a full featured release focused on cyber security, enhanced usability of existing features, and new interactivity features.
Read more >
Nx Witness - Supported Operating Systems
Nx Witness is cross-platform and is supported on all major operating systems. The advantage of cross-platform functionality is that, as...
Read more >
Nx Witness Release Notes
OPERATING SYSTEMS/PLATFORMS: Added support for Macs with the Apple M1 chip. A separate distribution is provided: The regular distribution can be installed ...
Read more >
Current and Past Releases (Downloads & Release Notes)
Nx Witness v5.0 (07/08/2022) ... Added support for ZFS (Zettabyte File System) to the Server. ... Added TLS support for LDAP on Linux-based...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found