Group Details Private

administrators

Member List

  • RE: Raspberry Pi setup

    @Nelson-Ishag,

    I might know what's going on, but if you post the output when you type this command, it would help:

    /usr/share/triggercmdagent/app/src/installdaemon.sh
    

    Notice the "ground":"background" or "ground":"foreground" part of each command in the commands.json data file.

    Gnome Editor is a built-in example foreground command, but I don't think Gnome Editor is available on a Raspberry Pi, so that would explain why if you trigger it it doesn't do anything.

    I figured most people who use TRIGGERcmd on a Raspberry Pi will likely only be interested in background commands that run in the daemon (aka background service). For example "apt-get -y update".

    That said, you can run the agent in foreground mode just by running "triggercmdagent", but you'll want to run different commands than "gedit" (Gnome Editor). If you're running triggercmdagent in an SSH session, you could have it run something like "tail /var/log/messages", and if you're running it in X-Windows, you could have it run a GUI app like "xeyes".

    posted in Instructions
  • My garage door opens when I say, “Alexa, open sesame.”

    I have an Alexa routine associated with a SmartThings virtual switch, associated with my TRIGGERcmd trigger that runs a command on my Raspberry Pi that tells a relay to complete the garage door button circuit for half a second to signal my garage door opener to open the door. Boom!

    Paul Hibbert does a good job of explaining the new Alexa routines here.

    I explain the Raspberry Pi / relay hardware setup here, but there are probably better tutorials on setting up a Pi to flip a relay.

    This shows how to use TRIGGERcmd with SmartThings.

    I've been saying "open sesame" to Google Assistant for a while now. I like Google Assistant because I can use her on my phone, and because it's easier to setup because it skips SmartThings step because Google Assistant shortcuts can be used with any voice command, not just smart-home commands.

    If I missed anything in this article, please let me know.

    Home from the lake

    posted in Blog
  • RE: Having issues installing it on Ubuntu Server (no GUI)

    @kingdavid52, thank you for telling me I had this issue.

    I found that the Ubuntu installation instructions didn't work unless you were in X-Windows.

    I updated the instructions here.

    I don't want Ubuntu users to have to install the X-Windows GUI, so again, thank your for pointing this out!

    posted in General Discussion
  • RE: Voice words / parameters

    @Strahan,
    I haven't implemented a way to pass parameters with your voice yet. I'm willing to though, so please give me your ideas on how I should do it.

    I could program it to have Alexa expect a movie at a particular point in your spoken sentence, so here's one idea for your use case. I could have Alexa expect a movie title as parameter if you say:

    Alexa, ask TRIGGERcmd to play movie Z on Y
    Alexa, ask TRIGGERcmd to play movie Z  (runs on your default computer)
    

    It would run your command with voice word "movie" with a parameter that equals your spoken movie title.

    If I do that I might as well add this option too:

    Alexa, ask TRIGGERcmd to play song Z on Y
    Alexa, ask TRIGGERcmd to play song Z  (runs on your default computer)
    

    It would run your command with voice word "song" with a parameter that equals your spoken song title.

    For general purpose non-movie, non-song scenarios, I'm thinking this would be the pattern:

    Alexa, ask TRIGGERcmd to run X on Y with parameter Z
    Alexa, ask TRIGGERcmd to run X with parameter Z  (runs on your default computer)
    

    What do you think? If you can think of something better, let me know. My first idea is often not the best.

    I'll wait until I get some feedback before making a change.

    Also, about two-word voice commands - it's supposed to work, but Alexa seems to recognize single-word commands much better.

    posted in General Discussion
  • RE: Will there be a fix for 'Poor Performance with AMD CPUs' ?

    @Donnieclark, you posted on the wrong forum. TRIGGERcmd has nothing to do with what you're talking about.

    posted in General Discussion
  • RE: How Does The Map Work? Open World or Separate Zones?

    @Donnieclark, you posted on the wrong forum. TRIGGERcmd lets you run command on your computers. It has nothing to do with the game you're talking about.

    posted in General Discussion
  • RE: Basic cleanup

    Great idea @Xander-Warrender! I added this to the examples list in the GUI editor.

    Here's a URL to cleanmgr docs: https://ss64.com/nt/cleanmgr.html

    cleanmgr = Automated cleanup of Temp files, Internet files, downloaded files, recycle bin.

    Run this to bring up the GUI and setup profile #1:

    cleanmgr /sageset:1
    

    This command runs profile #1:

    cleanmgr /sagerun:1
    

    This is what the GUI looks like:

    cleanmgr image

    posted in Example Commands
  • RE: Now you can use Zapier to trigger your commands!

    Thank you @Christian-Robinson.

    posted in Announcements
  • RE: SmartThings integration - flip a virtual switch to run a command

    @ou, I think your username or password is bad. I just tried setting mine wrong and I got the same error.

    I wonder if you're using a Facebook or Google account to log into TRIGGERcmd, but you haven't set your password in your profile page yet.

    SmartThings talks directly to TRIGGERcmd, and TRIGGERcmd doesn't know your Google password, so if you use a Google account you have to give TRIGGERcmd a password for SmartThings to login with.

    posted in Instructions
  • RE: Now you can use Zapier to trigger your commands!

    @Christian-Robinson, it was my fault. I broke your Zap when I added parameter support and changed Zapier to send the name of the computer and command instead of the ID of both. You, myself, and a friend from work were my only Zapier users at the time, and I forgot to tell you you'll need to re-create your Zap. I'm sorry Christian. Let me know if it's a big pain to recreate your zap for some reason - I could make your Zap(s) work if necessary.

    posted in Announcements

Looks like your connection to TRIGGERcmd Forum was lost, please wait while we try to reconnect.