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

    Raspberry Pi 2 a011041 Not triggering (not running Commands)

    General Discussion
    2
    3
    406
    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.
    • F
      Fernando Garcia
      last edited by Fernando Garcia

      I have installed triggercmdagent in all three my Raspberry Pi's (2, 3 and Zero W). My RPI 3 and Zero trigger like they should, but the RPI 2 does not run Command.

      Is there something that needs to be done with older RPI's to get them to run the commands?

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

        @fernando-garcia, you might need to install node-legacy. Are you using the latest Raspian OS? I think I have a PI2, so I maybe I need to check that the latest version still works on a PI2.

        Russell VanderMey

        F 1 Reply Last reply Reply Quote 0
        • F
          Fernando Garcia @Russ
          last edited by Russ

          @russ Thank you for your quick response. I tried installing the node-legacy but no change. I can trigger from the site and from SmartThings but no commands run. I am running Raspian OS.

          Should i have uninstalled the npm nodejs first before installing the npm nodejs-legacy?

          EDIT: For others reading this thread, we found that the Raspberry Pi version 2 runs a very old version of node js, and the latest version of the TRIGGERcmd Pi agent uses a function that requires a newer version.

          We downgraded the agent to this one and it works fine (and still supports parameters) http://triggercmdagents.s3.amazonaws.com/triggercmdagent_1.0.1_all_pi2.deb

          EDIT 2: I updated the Raspberry Pi version so now the latest version it works fine on a Raspberry Pi2.

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