RPC switch configuration

Hello all

First let me apologise if the text below is not properly formatted. I am still trying to learn how to do it

The wake on lan works fine however the rpc shutdown does not

All my windows PCs do not need credentials to be accessed.

The only hardware that need credentials are the linux servers and pc .

What should i insert in this field?

what an i missing beside this

switch:
  - platform: wake_on_lan
    mac: 10:7B:44:50:33:80
    name: HTPC 
    host: 192.168.1.119
    turn_off:
      service: hassio.addon_stdin
      data:
        addon: core_rpc_shutdown
        input: HTPC


In the addon ```
address: 192.168.1.119
  alias: HTPC
  credentials: user%password
  delay: 0
  message: >-
    Home Assistant is shutting down this PC. This cannot be canceled. Please
    save your work!

I would like to add, that my requirement is to have the pcs shutdown at a specific time or following an trigger from an automation such as geofencing.

Hence In my opinion I would need 2 seperate switches one for wol and one for shutdown. Correct?

Hence I would would it look like something this?

switch:
-  platform: rpc
     mac: xxx
     name: HTPC
     host:192.168.1.xxxx
     cenentials: none
     turn_off:
         service: hasio_addon_stdin
         data:
            addon: core_rpc_shtdown
            input: HTPC

As I’m by no means a savvy IT individuals I understand the thas may be totally nonsense

If so My apologies

Thank you for your patience and any help you provide to set me straight

Reply