TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. meetb
    3. Topics
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 2
    • Best 0
    • Controversial 0
    • Groups 0

    Topics created by meetb

    • M

      Two versions of commands.json on Pi 4

      General Discussion
      • • • meetb
      2
      0
      Votes
      2
      Posts
      142
      Views

      RussR

      @meetb, the commands.json file gets created in the home folder of the user who runs the agent.

      On a Raspberry Pi I generally run the background service (daemon) as root because I'm dedicating the Pi to be a garage door opener, PiHole, or using it to wake up my PC. So I use /root/TRIGGERcmdData/commands.json and all of my commands have ground = background.

      It's possible though that you might want to run X-Windows on your Pi and run the agent in foreground mode as pi, in which case you'd use the commands.json in pi's home folder.

      Your commands.json file will be restored if the agent detects a problem in the json format, like a comma on the last entry, or if you forget to escape a quote or backslash. It restores the last valid commands.json file it had.

    • M

      Alexa not recognizing voice commands related to shared "Other users computers"

      General Discussion
      • • • meetb
      2
      0
      Votes
      2
      Posts
      104
      Views

      RussR

      @meetb, I just tested using both the original Alexa skill (Alexa, ask TRIGGERcmd to run Calculator on PC), and the newer Smart Home Alexa skill (Alexa turn on Calculator on PC). Both skills worked for me. PC is a shared computer from another account. So I have some questions:

      What exactly are you saying to Alexa? Have you verified your computer's voice name matches what Alexa is hearing?

      You can use https://alexa.amazon.com to see what Alexa is hearing. In my case, for the original skill to work I had to make the voice name "p. c." because at https://alexa.amazon.com I saw this:

      Alexa heard: "alexa ask trigger c. m. d. to run calculator on p. c."