I have installed TriggerCMD agent to Raspberry Pi.
I want to be able to Tell Alexa to Reboot Raspberry Pi
Computer is Named Raspberry Pi
I do not remember if there was a reboot function already created in the portal or I created it weeks ago. I can not say for sure. I can say "Alex Run Reboot on Raspeberry Pi" , and it works sometimes but not always.. More reliably however I can run a routine where I say "Alexa, Reboot Phones" and that works well.
Now I am unable to edit or create any function, so for instance if I want to edit the reboot command line I see no way to do this. I read that commands are stored on the computer but I see nothing about where to find them.
After I get this to work , I will then run a boot time script
-
to hit a Voice Monkey URL once the Pi Reboots to say the PI is rebooted and Asterisk is Loading
-
and launch sudo asterisk -rx "core waitfullybooted" when the magic Phhrase "Asterisk has fully booted." is returned script will go to next line
-
access the Voice Monkey URL to cause Voice Money to say "Asterisk has rebooted, now rebooting phones"
-
last but not least I will need a way to trigger the cycling of the Wyse power switches to reset the phone devices.
My goal is to have voice control and voice progress to reboot asterisk and phones
It is not going well and seems convoluted..