• Can't find triggercmd in Google Home

    5
    0 Votes
    5 Posts
    2k Views
    T
    @russ Thanks for checking. GA could do everything else but claimed it just couldn't get a "response" from TriggerCMD, everything was good on my end too. The next morning GA connected to T CMD just fine with first request when I woke. Was certainly temporary. I think almost 17 months with T CMD and had never had anything like that happen before while I still had internet at my house. I've had internet down before and GA usually responds by telling me it can't reach internet. I've gotten spoiled leaving lights on way to bed and saying my "All Lights Off" command as I pull the blankets up. Kinda sucked to grab my old bedside x10 rf remote that hasn't been used in over a year to find the batteries dead too... lol. Had to climb out of bed and do it the old fashion way. Life was rough that night like it was back in 2009...
  • Bitdefender quarantining triggercmd after new update

    3
    0 Votes
    3 Posts
    992 Views
    RussR
    @anon-qwerty, can you un-quarantine it? I'll add this to my todo list to try to prevent it. Hopefully I can.
  • ActionTiles tile with TRIGGERcmd bookmark URL

    14
    0 Votes
    14 Posts
    8k Views
    RussR
    @djmalcom, I used to have the SmartThings code immediately turn the switch back on every time you turn it off, so effectively it's always on. I left the line that did that remarked out. Just un-remark (remove the //) that off() line. // handle commands def on() { log.debug "Executing 'on'" sendEvent(name:"switch",value:on) parent.on(this) // off() } https://github.com/rvmey/SmartThingsPublic/blob/MSA-2199-2/devicetypes/vandermeyconsulting/triggercmd-switch.src/triggercmd-switch.groovy
  • Install from github repo?

    23
    0 Votes
    23 Posts
    11k Views
    RussR
    @stevef9432203, no, but you could change this line to set your "homedir" to something else. homedir = (process.platform === 'win32') ? process.env.HOMEPATH : process.env.HOME; Or maybe you could symlink your ~/.TRIGGERcmdData folder to a path on your hard drive.
  • Super Confused

    4
    0 Votes
    4 Posts
    1k Views
    RussR
    @cableghost, the SmartThings integration can run a command on your computer, but you can't use the integration to trigger anything in SmartThings - it's a one-way street from SmartThings to TRIGGERcmd servers to your computer. Does EventGhost run a command to turn your lights on or off? If so, you should be able to run the same command with TRIGGERcmd.
  • Raspberry Pi 2 a011041 Not triggering (not running Commands)

    3
    0 Votes
    3 Posts
    985 Views
    F
    @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.
  • Combining commands

    Moved
    4
    0 Votes
    4 Posts
    2k Views
    RussR
    @brad-schmidt, I did some more research and I think I have way that's not terribly difficult. Install nodejs if it's not already installed. Create a folder like: c:\eaglecam Download and unzip the version of the chrome webdriver for your version of Chrome into that folder. http://chromedriver.chromium.org/downloads Copy/paste the code below into a file called play.js in your folder. Open a cmd prompt and type: cd \eaglecam Run: npm install selenium-webdriver Run: node play.js If that works, open the TRIGGERcmd GUI and create a this command: & cd \eaglecam & node play.js const {Builder, By, Key, until} = require('selenium-webdriver'); var driver = new Builder() .forBrowser('chrome') .build(); driver.manage().window().maximize(); driver.get('https://portal.hdontap.com/s/embed/?stream=aef-nefl-CUST-multicam&ratio=16:9&fluid=true') .then(_ => driver.sleep(2000)) .then(_ => driver.findElement(By.className('vjs-big-play-button')).click())
  • How do I edit already created Triggers in TriggerCMD?

    2
    0 Votes
    2 Posts
    1k Views
    RussR
    @zipster1967, you can only edit them using the TRIGGERcmd agent installed on your computer. You can't edit them on the website. If you run Windows, you should have a "tray" icon in the lower-right near your clock. You can right-click that, then click "GUI Command Editor". Then click the pencil next to the commands you want to edit. Please confirm you've gotten that far. The background commands are added/removed by the background service. The foreground commands are added by the foreground agent. That tray icon is part of the foreground agent.
  • Windows agent not updating triggers on triggercmd.com, ST smartapp?

    19
    0 Votes
    19 Posts
    7k Views
    RussR
    @batteryxsnare, unfortunately I see no smoking gun in that output.
  • Mac Agent dmg file problem

    6
    0 Votes
    6 Posts
    2k Views
    RussR
    @lima, you might be able to shrink it down a little, but probably not much because the agent needs a few node module dependencies which require other dependencies. Most of that bloat if from electron for the GUI - it's basically a small version of the Chromium browser which is at core of Chrome.
  • Is there a way to have Alexa routine setup computer to sleep mode?

    2
    0 Votes
    2 Posts
    3k Views
    RussR
    @meyerdenney, the only way I know how to that is to setup your TRIGGERcmd command as a SmartThings switch because your SmartThings devices show up under Smart Home in Alexa routines. EDIT: @meyerdenney, I'm looking into creating a TRIGGERcmd Alexa Smart Home skill. That should solve this. I'm planning to make each command act like an on/off switch, just like the SmartThings integration. EDIT 2: I finished the TRIGGERcmd Smart Home Alexa skill and it's awesome. Alexa can recognize your words much better with this TRIGGERcmd Smart Home skill because she knows the limited set of trigger names.
  • Logging

    2
    0 Votes
    2 Posts
    991 Views
    RussR
    @honvl, the Runs list for each command logs "Trigger sent" and "Command ran". "Trigger sent" is logged when the TRIGGERcmd server tells the agent to run a command. "Command ran" is logged when the agent actually runs the command and reports back to the server.
  • Can't enter token

    Moved
    3
    0 Votes
    3 Posts
    1k Views
    RussR
    @dennism, thank you for reporting it. I confirmed this was a bug with version 20 of the Windows client. I pulled it off the site so the the link goes to version 19 again. I thought at first that this was just an Avast issue because I get this issue even with version 19 if I've got Avast installed. The workaround for Avast users is to temporarily disable it during the TRIGGERcmd agent install. EDIT: I created a new version (v21) that fixed the bug and includes v20's new feature for sending a command's result to the Runs list. Sorry for the bug, and thanks again for reporting it.
  • Support Storage Appliances and Advanced Routers

    2
    0 Votes
    2 Posts
    901 Views
    RussR
    @stevef9432203, if you can install nodejs on it, then it should work. If you can verify that, let me know and I'll help get it installed.
  • [Linux] Failed to start triggercmdagent.service

    4
    0 Votes
    4 Posts
    3k Views
    S
    Be sure to to autostart the service boot - sudo systemctl enable triggercmdagent.service
  • Can you feed back information to Alexa

    sendresult
    6
    0 Votes
    6 Posts
    3k Views
    RussR
    @gnetdevelopment, so far I've only implemented the ability to send feedback to the Runs history for each command. Now that that's done, I'm planning to add the ability to have Alexa or Google Assistant wait a few seconds for a result to be sent back, then say the result. Let's say you wanted to know how many packages can be upgraded on your Raspberry Pi. You could add a command that would run this script: #!/bin/bash export UPGRADABLE_COUNT=$(apt list --upgradable | grep upgradable | wc | cut -f 6 -d " ") sh ~/.TRIGGERcmdData/sendresult.sh "${UPGRADABLE_COUNT} packages could be upgraded." It would look like this in the website, and when I get the Alexa and Google Assistant work done, you could have the result spoken when you run it by voice. [image: UpgradeCheckResult.PNG]
  • TriggerCMD keeps repeating command after script execution

    1
    0 Votes
    1 Posts
    639 Views
    No one has replied
  • Can I edit triggers I have previously created?

    3
    0 Votes
    3 Posts
    1k Views
    Z
    I guess I figured out how to edit the triggers but I still not able to create working command I want to start a program on my computer but am unclear on where to put the program name to get it to run. Is there anywhere to find a tutorial on how to build new triggers?
  • A JavaScript error occurred in the main process

    2
    0 Votes
    2 Posts
    2k Views
    RussR
    @jorgee, have you tried deleting your c:\users\(your user)\.TRIGGERcmdData folder? If you do that, then close and re-open TRIGGERcmd, it might fix it. Another possibility is your Antivirus software is blocking it. You could try turning that off temporarily while TRIGGERcmd runs for the first time.
  • WoL from Mac

    3
    0 Votes
    3 Posts
    4k Views
    C
    @russ /usr/local/bin/wakeonlan was the ticket. Thanks so much for the info, able to make my PCs from my Mac from a full power off now!