/MMM-Nest-Camera

Magic Mirror Nest Camera

Primary LanguageJavaScriptMIT LicenseMIT

MMM-Nest-Camera

This is a module for the MagicMirror².

Add Nest Cameras to Magic Mirror.

screenshot

Installation

cd /path/to/MagicMirror
git clone https://github.com/manifestinteractive/MMM-Nest-Camera ./modules/MMM-Nest-Camera

Generate Nest Token

You will need to run this for the config.token param.

cd ./modules/MMM-Nest-Camera
./getNestToken.sh

Using the module

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

var config = {
  modules: [
    {
      module: 'MMM-Nest-Camera',
      position: 'middle_center',
      config: {
        token: 'xxxxxxxxxx',
        size: 'medium',
        whereFilter: ['Back Yard']
      }
    }
  ]
}

Configuration options

Option Type Default Description
whereFilter array null Only show Cameras with these names ( leave null to show all )
size string large One of the following sizes: large, medium, small, mini
mode string image One of the following sizes: image, video

NOTE: Due to Nest API restrictions you must have your cameras shared publicly without a password for video mode to work. video mode currently requires you to click the video to start playback. The embedded iframe URL is supposed to autoplay, but it looks like this is not supported inside electron without user interaction.