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

    Posts made by rtn17

    • RE: Cant run commands on Raspberry Pi 3B+

      @Russ

      Thank you very much!

      I changed the command and added the absolute path.

      [
       {
        "trigger": "strip",
        "command": "sudo python /home/pi/rpi_ws281x/python/examples/strandtest.py -c",
        "ground": "background",
        "voice": "strip",
        "allowParams": "false"
       }
      ]
      

      Now it's working.

      posted in General Discussion
      rtn17R
      rtn17
    • Cant run commands on Raspberry Pi 3B+

      Hi !
      I successfully setup my Raspberry Pi 3B+ but can't run any commands. My TriggerCMD is linked, too. Alexa is finding the "device" but when I run the command nothing happens. The original commands also didn't work for me.

      I want to control one LED Strip through Alexa. My config.json looks like following

      [
        {"trigger":"strip","command":"sudo PYTHONPATH=".:build/lib.linux-armv7l-2.7" python rpi_ws281x/python/examples/strandtest.py -c","ground":"background","voice":"strip","allowParams": "false"}
      ]
      

      The path of the json file is /root/.TRIGGERcmdData/commands.json

      Thank you in advance!

      posted in General Discussion
      rtn17R
      rtn17