Skip to content

Instantly share code, notes, and snippets.

View mattleiphamellis's full-sized avatar

Matt Leipham Ellis mattleiphamellis

  • Grand Rapids, MI
View GitHub Profile
@mattleiphamellis
mattleiphamellis / scrypted-for-mac-background-service-launchd.md
Last active February 8, 2025 12:14
Allow Scrypted for macOS to run at boot as a background service (pre-login) via Launch Daemon

Scrypted for macOS can currently be installed as a Desktop application or background service that runs automatically on login as a user-level Launch Agent. If the system reboots or the user is logged out, however, Scrypted is unavailable until the user logs back in. These instructions allow Scrypted to run at boot without any user logged in.

Prerequisites:

  1. Install Scrypted by following the Mac: Command Line Installation docs
  2. Verify that Scrypted runs automatically at login

Terminal commands to enable launch at boot:

launchctl unload ~/Library/LaunchAgents/app.scrypted.server.plist
sudo cp ~/Library/LaunchAgents/app.scrypted.server.plist /Library/LaunchDaemons/
blueprint:
name: Control Light with Zooz ZEN37 Wall Remote & Scene Controller
description: For Zooz ZEN37. Toggle a light with a single press, set it to max brightness with double-tap, night-light mode with hold.
domain: automation
input:
zooz_switch:
name: Zooz Switch
description: List of available Zooz ZEN37 switches.
selector:
device: