New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

amcrest-ad110

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

amcrest-ad110

Amcrest AD110 Video Doorbell Tools

  • 1.1.10
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

Amcrest AD110

Libraries.io dependency status for GitHub repo npm npm GitHub

Features

  • Listens to Amcrest AD110 events
  • Checks if device exists
  • Takes Snapshots

Methods


constructor({
    ipAddr: 'Device IP Address',
    password: 'device password',
    retryDelay: 1000,     //(optional) How often to try and reconnect after loosing connection in millis
    rawCodes: false,      //(optional) Use rawCode data (properties are not uniform)
    resetTime: 900,       //(optional) Time in seconds which to reset the connection. Setting to 0 does not reset.
    debug: false          //'raw', 'debug', and 'error' messages are sent out on the main listen stream.
})

isAlive();                //returns promise(bool)

takeSnapshot();           //returns promise(buffer)

start();                  //start listening to events
stop();                   //stop listening to events


listen(listener);         //listen to all events (event object contains an 'action' and sometimes 'data' object or an 'index' value)
                          //When debugging is on, 'raw', 'debug', and 'error' are also output
unlisten();               //remove all listeners

//Specific events (Processed Events Only):
onMotion(listener);
onVideoMotion(listener);
onVideoBlindStart(listener);
onDoorbellButtonPress(listener);
onDoorbellAnswer(listener);
onDoorbellHangup(listener);
onCallNotAnswered(listener);

onRawData(listener);
onError(listener);

Future Development

  • Get/Set Custom Configuration
  • Possibily:
    • Record Video
    • Talk and Listen to Audio

Keywords

FAQs

Package last updated on 29 Sep 2023

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc