This is a module for the MagicMirror².
Add Nest Cameras to Magic Mirror.
cd /path/to/MagicMirror
git clone https://github.com/manifestinteractive/MMM-Nest-Camera ./modules/MMM-Nest-Camera
You will need to run this for the config.token
param.
cd ./modules/MMM-Nest-Camera
./getNestToken.sh
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']
}
}
]
}
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.