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

    Raspberry Pi 2 a011041 Not triggering (not running Commands)

    Scheduled Pinned Locked Moved General Discussion
    3 Posts 2 Posters 904 Views 1 Watching
    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 Offline
      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 Offline
        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 Offline
          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

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post