Socket
Socket
Sign inDemoInstall

movids

Package Overview
Dependencies
38
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    movids

Command line tool and library for fetching records of IP cameras by motion detection


Version published
Weekly downloads
9
increased by125%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

movids

npm npm License

Node.js command line tool and library for fetching records of IP cameras by motion detection.

Detected dates are fetched over HTTP requests and can be stored in databases.

Installation

$ npm install -g movids

Usage

Command

Transfers and converts records of the specified parameters.

$ movids --start-date [YYYYMMDD|today|yesterday] --start-time [HHMM] --end-date [YYYYMMDD|today|yesterday] --end-time [HHMM]

General Options

Options:
  --version                                output the version number
  --start-date <yyyymmdd|today|yesterday>  start date of records
  --start-time <hhmm>                      start time of records
  --end-date <yyyymmdd|today|yesterday>    end date of records
  --end-time <hhmm>                        end time of records
  --help                                   display help for command

Configuration

const config = {
    restApi: {
        baseUrl: 'http://192.168.178.96:8000',
        endpoints: {
            motions: {
                path: 'api/motions',
                count: 'count',
                entries: 'data',
                reverse: true,
                utc: true,
                keys: {
                    date: 'date',
                    endDate: 'endDate'
                },
                queryParams: {
                    device: '63f47d4503961d23f1ea98f2'
                },
                limit: 0
            }
        }
    },
    ipcamsd: {
        cameras: [{
            host: '192.168.178.30',
            username: 'admin',
            password: 'admin'
        }, {
            host: '192.168.178.31',
            username: 'admin',
            password: 'admin'
        }],
        minutesIfEndDateIsNull: 3
    },
    format: {
        date: 'YYYYMMDD',
        time: 'HHmmss'
    }
};

License

This project is licensed under MIT.

FAQs

Last updated on 04 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc