Some clarification in docs please this is CRAZY
-
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..
-
-
@markosjal, on a Raspberry Pi you generally install the agent to run as root and in background mode. So you edit /root/.TRIGGERcmdData/commands.json to add or remove commands.
You'll want to set the ground field to background too because the background agent will ignore any with ground = foreground.
Please let me know what's working, if anything, like can you run commands using the Trigger button on the website?
Have you enabled the TRIGGERcmd Smart Home Skill? Please do try that after you confirm the commands run then you click the Trigger buttons for them on the website.