tech51 – WIKI Home Assistant Home Assistant – Windows PC Shutdown – Add-on RPC Shutdown

Home Assistant – Windows PC Shutdown – Add-on RPC Shutdown

Tutorial um ein Windows Rechner per Add-on „RPC Shutdown“ herunter zu fahren.

Installiere im Add-on Store das Add-on „RPC Shutdown“

- alias: DesktopPC-1
  address: 192.168.3.10
  credentials: user%password
  delay: 0
  message: >-
    Home Assistant is shutting down this PC. This cannot be canceled. Please
    save your work!
- alias: DesktopPC-2
  address: 192.168.3.11
  credentials: user%password
  delay: 0
  message: >-
    Home Assistant is shutting down this PC. This cannot be canceled. Please
    save your work!

Den Service ausführen:

service: hassio.addon_stdin
data:
  addon: core_rpc_shutdown
  input: DesktopPC-1

Mögliche Fehler und Fehlerbehandlung:

At first I saw this error:
Could not initialise pipe winreg. Error was NT_STATUS_OBJECT_NAME_NOT_FOUND
To fix that, open the services.msc on you workstation, and set the service Remote Registry to Manual.

The next error I saw was
WERR_CALL_NOT_IMPLEMENTED
To fix that, I logged in as that user, and opened the registry (regedit.exe).
In there I had to create a key under
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
The key is a 32-bit DWORD that is called
LocalAccountTokenFilterPolicy
And set that to the value of 1.

Leave a Reply

Related Post