plugin: Shell executer
author: Bas van Dijk
category: system
version: 0.0.1
website: http://domusto.com
- Execute shell command on DOMUSTO event
- none
ls
aplay
$ ./domusto.js plugin install basvdijk/domusto-shell
- Add the section below to your
config.ts
- Restart DOMUSTO
{
enabled: true,
type: 'SHELL',
}
{
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'
}
}
}