Hi there
I just started playing around with Homeassistant on a pie 4 in docker.
I have figured out how to WOL my servers and to connect them to my homekit app.
I also found that I can shutdown my servers again with synology_dsm.shutdown.
Now this is where I run into trouble.
I have 2 NAS and I have gotten the shutdown to work but sporadically and rarely.
So I found it I would probably need the serial in the command to get it working.
Now I am compleatly new to linux. I have figured out that the umm …spacing? of the lines …how far in they are etc is important. But I cant figure out how and why this works.
Can someone give me some pointers on what I am doing wrong with the following? I have 2 NAS I want this to work on (Lets call them NAS 1 and NAS 2)
This is what I am trying with NAS 1
What am I doing wrong here?
I hope my question make sense I am sorry if this question is answered elsewhere or is stupid, but I tried to google this before I posted with no luck
switch:
- platform: wake_on_lan
mac: XX:XX:XX:XX:XX:XX
name: “NAS 1”
host: xxx.xxx.xxx.xxx
turn_off:
data:
serial: XXXXXXX
service: synology_dsm.shutdown"