I fixed that bug. Sorry it took so long. I posted v1.0.5 just now.
To remove your existing duplicates, just change the trigger name and save commands.json.
Thanks again for telling me, and thanks for your patience.
@rtubbs316, good question. I added this to the examples. I think others could use this too. I also added "Abort shutdown"
This is the command assuming you want it to wait 60 seconds. Use /t 1 to shutdown in 1 second:
shutdown /s /t 60
You could also add a /f for "force"
shutdown /s /t 60 /f
You can also abort the shutdown like this:
Type this at a cmd prompt to get the full useage of the shutdown command:
@Jim-Potash, in your Alexa app it shows you what Alexa is hearing you say, so you can use that to match your voice words for your computer and your command.
The word "reboot" for the command should be no problem, but you might have better luck using a different voice word for the computer.
@zayaan, I'm glad we could figure it out.
FYI, for everyone else - he was able to fix it by deleting the contents of his c:\users\(username)\.TRIGGERcmdData folder. Then when he ran the TRIGGERcmd Agent, it re-prompted for a token and re-created his computer in his account.
In hind-sight he should have backed up his commands.json first (oops).
It's ready. Please give it a try. I put some details in this accouncement and this IFTTT article. More to come - like passing parameters from Zapier.
Thanks for this suggestion - this is really cool. I just setup an IFTTT trigger to display any pictures I add to a Google Photos album.
Both German Alexa skills are live now!
If you confirm they're working fine, please tell your friends.
Thanks again for all your help @MarcusV!