* initial avahi support This commit adds support for the Avahi advertiser with Scrypted. It also adds the s6 process supervisor to facilitate future service additions. * universal s6 This commit attempts to fix the issue where Avahi doesn't start on non-x86_64 architectures. * consistency updates This commit updates the wording in certain s6 run files to be consistent. * fix s6 overlay version argument This commit fixes the S6_OVERLAY_VERSION argument being prematurely collected by moving it after the FROM command. * correct shebangs This commit corrects the shebangs of all s6 service scripts to register with s6 instead of just running under bash. * register services with s6 This commit adds two empty files that correspond to the dbus and avahi services started by s6. Without these files, s6 does not initialize daemons to keep dbus and avahi running. * fix permissions and shebangs This commit fixes the permissions on the service scripts that s6 is responsible for starting. It also reverts the shebang back to bash because many script utilities aren't available when running under execlineb. * organize added features by block This commit organizes all added lines into separate blocks for both avahi and s6-overlay. Resolves some of koush's review comments on #323.
Scrypted Home Automation
Scrypted is a home automation platform primarily focusing on making camera experiences seamless.
- Video load instantly, everywhere: Demo
- HomeKit Secure Video Support
- Google Home support: "Ok Google, Stream Backyard"
- Alexa Support: Streaming to Alexa app on iOS/Android and Echo Show.
Installation
Select the appropriate guide. After installation is finished, remember to visit HomeKit Secure Video Setup.
- Raspberry Pi
- Linux
- Docker - This is the recommended method. Local installation may interfere with other software, like Homebridge, Home Assistant, or HOOBS.
- Docker Compose
- Local Installation - Use this if Docker scares you or whatever.
- Mac
- Windows
Discord
Chat on Discord for support, tips, announcements, and bug reporting. There is an active and helpful community.
Wiki
There are many topics covered in the Scrypted Wiki sidebar. Review them for documented support, tips, and guides before asking for assistance on GitHub or Discord.
Supported Platforms
- Google Home
- Apple HomeKit
- Amazon Alexa
Supported accessories:
Development
Debug the Scrypted Server in VSCode
# 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.
Debug Scrypted Plugins in VSCode
# this is an example for homekit.
# 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 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
Plugin Development
Want to write your own plugin? Full documentation is available here: https://developer.scrypted.app