hap-switch-command

command module
v0.0.0-...-2db02f6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 1 Imported by: 0

README

hap-switch-cmd

Static Badge Static Badge

This app provides homekit virtual switch devices executing local commands.

Usage

Install, init, and start. That's it !

All configs are provided from ~/.hap-switch-command/config.yml file.
Create a configuration file with the following command and edit it.

macOS
# install
brew install legnoh/etc/hap-switch-command

# init & edit
hap-switch-command init
vi ~/.hap-switch-command/config.yml

# start
brew services start hap-switch-command
Docker

Warning This app does not work when running in Docker for Mac or Docker for Windows due to this and this.

# pull
docker pull ghcr.io/legnoh/hap-switch-command

# init
docker run \
    -v .:/root/.hap-switch-command/ \
    ghcr.io/legnoh/hap-switch-command init

# edit
vi config.yml

# start
docker run \
    --network host \
    -v "./config.yml:/root/.hap-switch-command/config.yml" \
    ghcr.io/legnoh/hap-switch-command

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL