Files
addons/rpc_shutdown/config.json
Franck Nijhof 3d5ed25a2d rpc_shutdown: Collection of small improvements (#912)
* rpc_shutdown: Prettier YAML files

* rpc_shutdown: Move run.sh to data folder

* rpc_shutdown: Documentation tweaks

* rpc_shutdown: Update add-on URL & Description
2019-12-19 13:18:27 +01:00

36 lines
937 B
JSON

{
"name": "RPC Shutdown",
"version": "2.2",
"slug": "rpc_shutdown",
"description": "Shutdown Windows machines remotely",
"url": "https://github.com/home-assistant/hassio-addons/tree/master/rpc_shutdown",
"arch": ["armhf", "armv7", "aarch64", "amd64", "i386"],
"startup": "services",
"boot": "auto",
"stdin": true,
"host_network": true,
"options": {
"computers": [
{
"alias": "test-pc",
"address": "192.168.0.1",
"credentials": "user%password",
"delay": 0,
"message": "Home Assistant is shutting down this PC. This cannot be canceled. Please save your work!"
}
]
},
"schema": {
"computers": [
{
"alias": "match(^[\\w-]*$)",
"address": "str",
"credentials": "match(^[^%]*(?:%[^%]*)?$)",
"delay": "int(0,600)?",
"message": "str?"
}
]
},
"image": "homeassistant/{arch}-addon-rpc_shutdown"
}