TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Some clarification in docs please this is CRAZY

    General Discussion
    2
    2
    86
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • markosjalM
      markosjal
      last edited by

      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

      1. to hit a Voice Monkey URL once the Pi Reboots to say the PI is rebooted and Asterisk is Loading

      2. and launch sudo asterisk -rx "core waitfullybooted" when the magic Phhrase "Asterisk has fully booted." is returned script will go to next line

      3. access the Voice Monkey URL to cause Voice Money to say "Asterisk has rebooted, now rebooting phones"

      4. 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..

      RussR 1 Reply Last reply Reply Quote 0
      • RussR
        Russ @markosjal
        last edited by Russ

        @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.

        Russell VanderMey

        1 Reply Last reply Reply Quote 0
        • First post
          Last post