Files
addons/rpc_shutdown
rahul_5409 8eea01f049 Added rpc_shutdown documentation. (#746)
* Added rpc_shutdown documentation.

* Updated README.md

* ✏️ Tweaks and standardisation

* ✏️ Tweak
2019-10-09 18:38:18 +02:00
..
2019-06-11 13:35:40 +02:00
2019-01-09 13:59:44 +01:00

Hass.io Core Add-on: RPC Shutdown

Simple way for remote windows shutdown.

Supports aarch64 Architecture Supports amd64 Architecture Supports armhf Architecture Supports armv7 Architecture Supports i386 Architecture

About

Allows you to shut down and Windows Computer with a service call from Home Assistant.

Installation

The installation of this add-on is straightforward and easy to do.

  1. Navigate in your Home Assistant frontend to Hass.io -> Add-on Store.
  2. Find the "RPC Shutdown" add-on and click it.
  3. Click on the "INSTALL" button.

How to use

In the configuration section, define alias, address and credentials and save the configuration.

  1. Start the add-on.
  2. Check the add-on log output to see the result.

Configuration

Add-on configuration:

{
  "computers": [
    {
      "alias": "test-pc-1",
      "address": "192.168.0.1",
      "credentials": "user%password"
    },
    {
      "alias": "test-pc-2",
      "address": "192.168.0.2",
      "credentials": "user%password"
    }
  ]
}

Option: computers (required)

A list of computer objects to be able to shutdown from Home-Assistant.

Option: computers.alias (required)

Set an alias for this record, which becomes the name for the input.

Option: computers.address (required)

IP address or NetBIOS name of the computer to be able to shutdown.

Option: computers.credentials (required)

Credentials for logging into the computer. Use a % as the delimiter of username and password.

Home Assistant configuration

Use the following inside Home Assistant service call to use it:

service: hassio.addon_stdin 
data:
  addon: core_rpc_shutdown 
  input: test-pc
  • service: hassio.addon_stdin: Use hassio.addon_stdin service to send data over STDIN to an add-on.
  • data.addon: core_rpc_shutdown: Tells the service to send the command to this add-on.
  • data.input: test-pc: Alias name created for the computer in the add-on configuration, and shuts that one down.

Support

Got questions?

You have several options to get them answered:

In case you've found a bug, please open an issue on our GitHub.