Hello folks,
maybe someone can help me adding this addon, since I’m running out of ideas after reading almost every post about it.
I’m using the current home assistant version and installed rpc shutdown.
Config of the addon:
- address: 192.168.0.10
alias: Devicename
credentials: [email protected]%SomeStrongPassWith!Special#Characters
delay: 15
message: >-
Home Assistant is shutting down this PC. This cannot be canceled. Please
save your work!
First Problem: Credentials
I’m using a Windows-Live-Email to login ####@live.de
If I type in CMD “whoami” to find out my User it says “Deen”, under C:/Users my Profilefolder ist just the 5 first letters of my Email-Address… So which one is the right one?
Second Problem: Password
Im using a Pincode to login, but my account has a normal password aswell, which contains special characters. Is everything “safe” to write after the “user%”? Means… what happens if my password contains “%” aswell?
My configuration.yaml part(for troubleshooting, later outsourced in a switch.yaml):
#WOL Config DeenHOF
switch:
- platform: wake_on_lan
mac: 2C-xx-xx-xx-xx-xx
name: DeenHOF
host: 192.168.0.10
turn_off:
service: hassio.addon_stdin
data:
addon: core-rpc-shutdown
input: DeenHOF
What is working?
Actually I can start the PC remotely with a simple switch, but it always turns back on when I want to turn it off, my PC does nothing at all. The RPC-Addon does NOT create any logs.
type: entities
entities:
- entity: switch.wol_deenhof
Registry
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
LocalAccountTokenFilterPolicy > DWORD32bit set to 1
Services running
WinRM
WManSvc
Winmgmt
Firewall
Added WMI App to connect through Firewall.
Thanks for your help!
Deen