mirror of
https://github.com/koush/scrypted.git
synced 2026-02-09 00:39:56 +00:00
f2d5e326acdf206a4e406036a477cc3816fefbbd
Scrypted Home Automation
Discord
Supported Platforms
- Google Home
- Apple HomeKit
- Amazon Alexa
Supported accessories:
Installation
Run on Docker
Run Locally
Prerequisites
- Node v16 (other versions, including v17, may not work)
- Windows is not supported, but may work.
Linux Prerequisites
sudo apt install libavahi-compat-libdnssd-dev
Run in Terminal
# Mac M1 (Apple Silicon) should uncomment the nextline to switch to x64 mode
# arch -x86_64 zsh
# checkout source
git clone https://github.com/koush/scrypted.git
# npm install and run
cd scrypted/server
npm install
npm run serve
# visit https://localhost:9443/ in a browser
Debug in VSCode
Follow the steps for running locally above.
# in directory with the scrypted git checkout
cd scrypted/server
# open this directory in VSCode
code .
You can now launch Scrypted in VSCode.
Plugin Development Documentation
https://developer.scrypted.app
HomeKit Secure Video Setup
- Install Scrypted
- Open https://localhost:9443/
- Install the HomeKit Plugin from the available plugins tab
- Install the Unifi, HikVision, ONVIF, or Amcrest camera plugin
- HKSV requires a plugin with hardware motion detect support. If there's no plugin for your camera, you can install the generic RTSP and the OpenCV motion detector plugin. This will use the processing power on your server to detect camera motion.
- 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.
- Troubleshooting: Reload the HomeKit Plugin and/or restart Scrypted if streaming works, but recording events do not.
Description
Languages
TypeScript
79.8%
Python
16.3%
JavaScript
2.3%
Shell
1.4%
PowerShell
0.1%