TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Phuong Dinh
    P
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Controversial 0
    • Groups 0

    Phuong Dinh

    @Phuong Dinh

    0
    Reputation
    187
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Phuong Dinh Unfollow Follow

    Latest posts made by Phuong Dinh

    • RE: Can't add command with raspberry pi 3b+

      Okay, the command lines you provided work, and I also changed my command word to just "shut" so Alexa can recognize it better. Overall, thanks a lot for helping me, TriggerCMD is definitely a great tool for the raspberry pi.

      posted in Raspberry Pi
      P
      Phuong Dinh
    • RE: Can't add command with raspberry pi 3b+

      Unlinking the Trigger CMD with Alexa doesn't seem to help.
      My conversation with Alexa is like this:
      Me: Alexa, open Trigger CMD
      Alexa: Say something like: open calculator on ...
      Me: Shutdown Magic Mirror (Magic Mirror is the name of the device)
      Alexa: Beeped... and nothing happen.

      posted in Raspberry Pi
      P
      Phuong Dinh
    • RE: Can't add command with raspberry pi 3b+

      Okay, I was editing the wrong file all along. Now I do see my trigger online, and I can activate it. However, I still can't tell Alexa to execute the new command. Once again, Alexa just beeped and then nothing happened. So right now this is what I have under /root/.TRIGGERcmdData/commands.json.
      [
      {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"},
      {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"},
      {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"},
      {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"},
      {"trigger":"shutdown","command":"shutdown now","ground":"background","voice":"shutdown","allowParams": "false"}
      ]

      posted in Raspberry Pi
      P
      Phuong Dinh
    • RE: Can't add command with raspberry pi 3b+

      Below is the full commands.json file; it is under /home/pi/.TRIGGERcmdData.
      {"trigger":"Reboot","command":"shutdown -r","ground":"background","voice":"reboot","allowParams": "false"},
      {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"},
      {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"},
      {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"},
      {"trigger":"shutdown","command":"shutdown now","ground":"background","voice":"shutdown","allowParams": "false"}
      ]

      Even when I changed the original reboot command to shutdown. The system still reboots.
      [
      {"trigger":"Reboot","command":"shutdown -P now","ground":"background","voice":"reboot","allowParams": "false"},
      {"trigger":"Gnome Editor","command":"gedit","ground":"foreground","voice":"edit","allowParams": "false"},
      {"trigger":"yum update","command":"yum -y update","ground":"background","voice":"yum update","allowParams": "false"},
      {"trigger":"apt update","command":"apt-get -y update","ground":"background","voice":"update","allowParams": "false"},
      {"trigger":"shutdown","command":"shutdown now","ground":"background","voice":"shutdown","allowParams": "false"}
      ]

      posted in Raspberry Pi
      P
      Phuong Dinh
    • Can't add command with raspberry pi 3b+

      Re: Raspberry Pi setup
      I have tried opening the commands.json file and add
      {"trigger":"shutdown","command":"shutdown now","ground":"background","voice":"shutdown","allowParams": "false"}
      inside the parameters. However, the command does not show up on the website; and when I tried to execute the shutdown command through Alexa, it just beeped and did nothing. Can somebody help me with this problem?
      P.S: It does work with the original commands.

      posted in Raspberry Pi
      P
      Phuong Dinh