Skip to content

DOMUSTO Home Automation plugin for executing shell commands

Notifications You must be signed in to change notification settings

basvdijk/domusto-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell executer

plugin:    Shell executer
author:    Bas van Dijk
category:  system
version:   0.0.1
website:   http://domusto.com

Features

  • Execute shell command on DOMUSTO event

Hardware needed

  • none

Tested with

  • ls
  • aplay

Installation

$ ./domusto.js plugin install basvdijk/domusto-shell

Configuration

  1. Add the section below to your config.ts
  2. Restart DOMUSTO
{
    enabled: true,
    type: 'SHELL',
}

Example device

{
    id: 'SHELL1',
    enabled: true,
    role: 'output',
    name: 'shell test',
    type: 'switch',
    subtype: 'on/off',
    protocol: {
        pluginId: 'SHELL',
        id: 'SHELL1',
        actions: {
            on: 'aplay assets/audio/doorbell.wav',
            off: 'pwd'
        }
    }
}

About

DOMUSTO Home Automation plugin for executing shell commands

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published