This is an extension/rewrite of the Meraki Camera Notification script found here: https://github.com/CiscoDevNet/Meraki-Camera-Notification
This script leverages Meraki's camera API and MQTT as part of MV Sense to create a notification service. When the camera detects a defined number of people in a particular zone the service will send a Webex Teams message with a snapshot and a link to the video footage.
And with optional Microsoft Cognitive Services integration:
apt-get install mosquitto mosquitto-client
mosquitto_sub -v -h
_server_ip_-p 1883 -t '/merakimv/#'
git clone git://github.com/nathanwiens/mv-webex-bot
cd mv-webex-bot
pip3 install -r requirements.txt
Open and complete all fields in config.py
Add mvnotify@webex.bot to your WebEx Teams room
python3 app.py
git clone git://github.com/nathanwiens/mv-webex-bot
cd mv-webex-bot
Open and complete all fields in config.py
Add mvnotify@webex.bot to your WebEx Teams room
docker build -t meraki-camera-notification .
docker run -it meraki-camera-notification .
mvbot:
container_name: mvbot
image: mvbot
build: ./mv-webex-bot/
restart: unless-stopped
network_mode: host
environment:
- TZ=America/Denver
volumes:
- ./mv-webex-bot:/opt