Scrypted is a home automation platform primarily focusing on making camera experiences seamless.
- Streams load instantly, everywhere: Demo
- HomeKit Secure Video Support
- Google Home support: "Ok Google, Stream Backyard"
- Google Home
- Apple HomeKit
- Amazon Alexa
Supported accessories:
Docker Installation Instructions
Local Installation Instructions
# check out the code
git clone https://github.com/koush/scrypted
cd scrypted
# get the dependencies for the server and various plugins
./npm-install.sh
# open server project in VS Code
code server
You can now launch Scrypted in VSCode.
# this is an example for homekit.
# follow the steps above to set up the checkout.
# open the homekit project in VS Code
code plugins/homekit
You can now launch (using the Start Debugging play button) the HomeKit Plugin in VSCode. Please be aware that you do not need to restart the Scrypted Server if you make changes to a plugin. Edit the plugin, launch, and the updated plugin will deploy on the running server.
If you do not want to set up VS Code, you can also run build and install the plugin directly from the command line:
# currently in the plugins/homekit directory.
npm run scrypted-webpack && npm run scrypted-deploy 127.0.0.1
Want to write your own plugin? Full documentation is available here: https://developer.scrypted.app
- Install Scrypted.
- Open https://localhost:10443/ (substitute localhost appropriately for a remote server).
- Install the Unifi, HikVision, ONVIF, or Amcrest camera plugin.
- HKSV requires cameras with motion alerts, and these plugins provide motion alerts.
- If there's no plugin for your camera, but it supports motion alerts using mail, use the generic RTSP, SMTP plugin, and Dummy Switch plugin. This will create a mail activated motion sensor.
- If there's no plugin or mail support for your camera, you can install the generic RTSP Plugin, Video Analysis Plugin and a motion detection plugin. This will use the processing power on your server to detect camera motion. The following motion detection plugins are available:
- OpenCV (Higher memory and CPU usage, better results)
- PAM Diff
- Install the HomeKit Plugin.
- Install the Rebroadcast plugin.
- This is optional but highly recommended. It keeps a short video loop of the stream in memory leading up to the motion.
- Pair with the Scrypted Server accessory using your HomeKit app on iOS or Mac.
- Enable recording on the cameras in HomeKit.