+ RPC Shutdown +
++
Allow to shutdown a computer with a service call from Home-Assistant.
+{
+ "computers": [
+ {
+ "alias": "test-pc",
+ "address": "192.168.0.1",
+ "credentials": "user%password"
+ }
+ ]
+}
+
+-
+
- computers (Required): A list of computer object to shutdown from Home-Assistant. +
- computers/alias (Required): Set a alias for this record and that is the name for the input. +
- computers/address (Required): IP address or netbios name of the computer for shutdown. +
- computers/credentials (Required): Credentials for logging into computer. Use a
%
as delimiter of username and password.
+
Home Assistant
+Use the following inside Home Assistant service call to use it:
+service: hassio.addon_stdin
+data:
+ addon: core_rpc_shutdown
+ input: test-pc
+
+