Giter VIP home page Giter VIP logo

mmm-blinkcameraintegration's Introduction

MMM-BlinkCameraIntegration

Extension for the MagicMirror. Interfaces with the Blink home security cameras, displays snapshots and latest videos.

Next to be added:

  • Support periodic snapshots from the cameras
  • Support configuration of cameras and hubs

Screenshots

Installation

cd ~/MagicMirror/modules
git clone https://github.com/eric-h-st/MMM-BlinkCameraIntegration.git
cd MMM-BlinkCameraIntegration
npm install

Notes:

  • Blink seems to have changed their APIs and thus this module would stop working. Please hold on as I'm trying to solve.

Using the module

To use this module, add it to the modules array in the config/config.js file:

modules: [
	{
		module: 'MMM-BlinkCameraIntegration',
		position: "middle_center", // recommended 
		config: {
			// See 'Configuration options' for more information.
		}
	}
]

Configuration Options

The following properties can be configured:

Option Description
email Your email, used to login to your Blink account

Possible values: email address string
Default value: null
Note: REQUIRED
password Your password, used to login to your Blink account

Possible values: string
Default value: null
Note: REQUIRED
deviceId Friendly name for your Hub.

Possible values: string
Default value: null
Note: REQUIRED
displaySnapshots Should camera snapshots be displayed?

Possible values: boolean
Default value: true
displayLatestVideoMode What should trigger displaying the newest motion video?

Possible values: number, as follows:
Value to use Name Description
0NONEDo not display motion videos, just emit the BLINK_MOTION_VIDEO notification
1IMMEDIATELYDisplay the latest video once it arrives
2UPON_USERPRESENCEHold the latest video until USER_PRESENCE notification is deteced, to allow for the video to be displayed when the user is in front of the mirror

Default value: 1
motionPollingIntervalInSeconds Interval, in seconds, to poll for new motion videos from Blink

Possible values: number > 15
Default value: 30
videoRepeats Number of times to loop the latest motion video before fading it out

Possible values: positive number, or 0 to repeat until a new video is detected
Default value: 1

Developer Notes

This module broadcasts a BLINK_MOTION_VIDEO notification whenever a new motion video is detected, with the payload of the creation date and time of the video. You could use it to perform various actions, for example- to play a sound.

This module listens to the USER_PRESENCE notification.

Dependencies

The MIT License (MIT)

mmm-blinkcameraintegration's People

Contributors

eric-h-st avatar

Stargazers

 avatar Malte avatar timothy avatar

Watchers

 avatar

mmm-blinkcameraintegration's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.