• Alexa not detecting first word

    2
    0 Votes
    2 Posts
    275 Views
    RussR
    @Lewis-S, "sleep PC" isn't a valid format. You could say, "Alexa, ask triggercmd to run sleep on PC". It needs that on word to split the command from the computer.
  • Config file keeps getting reset

    5
    0 Votes
    5 Posts
    650 Views
    ?
    @Russ I see. It works, but the command is not working when it gets executed, as the ""s are being interpreted. I guess I'll have to use script files after all. Thank you very much! Edit: (split)
  • Script doesn't seem to finish running

    3
    0 Votes
    3 Posts
    387 Views
    ?
    Hi Russ, It runs fine if I run it from a prompt, but does seem to be getting caught up on the curls, which it has not previously. I'll have to look at that, I'm doing some network changes so that's probably not helping. log.log does seem to appear after running it via TriggerCMD. Thanks again!
  • PayPal Subscription Double Payment

    3
    0 Votes
    3 Posts
    564 Views
    J
    It's all working now. Thank you!
  • TriggerCMD suddenly stopped processing commands on all devices

    8
    0 Votes
    8 Posts
    2k Views
    RussR
    @kellanist, wow 2 minutes is a long time. Way too long. I just tested and it's immediate for me. I saw your chat. I'll answer more there..
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    1 Views
    No one has replied
  • Arch Linux Pi version

    2
    0 Votes
    2 Posts
    471 Views
    RussR
    @dsc3507, please tell me more. Are you looking for an easier way than this to install the agent on Arch linux?
  • Problem "Please unlock your device" on Alexa...

    2
    0 Votes
    2 Posts
    5k Views
    RussR
    @Baptiste-Patry said in Problem "Please unlock your device" on Alexa...: Please unlock your device I did some googling and it seems you might have a pin enabled on your Alexa? Or you have children's accounts with access to your Alexa? https://www.reddit.com/r/alexa/comments/9mp5gg/show_mode_makes_me_unlock_device/ It doesn't seem to have anything specifically to do with TRIGGERcmd - I think you'd have this problem working with any smart home devices via Alexa.
  • Home Assistant syntax question

    5
    0 Votes
    5 Posts
    1k Views
    RussR
    @kellanis, the delimiter is %20
  • Ctrl+W closes Chrome entirely instead of just a single tab

    5
    0 Votes
    5 Posts
    2k Views
    RussR
    @kellanist, sweet! I'm glad that worked out.
  • 0 Votes
    39 Posts
    24k Views
    RussR
    @buaamm, so far I've added Japanese support for TRIGGERcmd Smart Home - both Alexa and Google Assistant. Would you mind testing? Please tell me if I got anything wrong.
  • Timeout not working in TRIGGERcmd

    9
    0 Votes
    9 Posts
    2k Views
    L
    @Russ said in Timeout not working in TRIGGERcmd: echo %1 >> c:\tools\params.log That is exactly what is happening...and I can't find a way to get her to pass a number instead of text...she just takes the first word after "parameter". I may have to just go with a number of set durations for the timer...thanks for your help.
  • Cant run commands on Raspberry Pi 3B+

    4
    0 Votes
    4 Posts
    685 Views
    RussR
    @rtn17, awesome. You're welcome.
  • Command using Background Service

    12
    0 Votes
    12 Posts
    2k Views
    RussR
    @Forbidden-Duck, that's good. I hope it stays working.
  • Ubuntu unable to edit command.json (gets overwritten)

    3
    0 Votes
    3 Posts
    786 Views
    R
    @Russ Thanks for that. Indeed, beaten by the comma. Thanks for the help.
  • Print a document

    4
    0 Votes
    4 Posts
    740 Views
    RussR
    @edbgsk, a command like this should work. I shared my printer with a share name of "xerox". print /d:"\\mycomputer\xerox" c:\docs\test.pdf
  • Connecting network card via triggercmd does not work

    4
    0 Votes
    4 Posts
    772 Views
    RussR
    @Lucas-Soares, no, Internet access is necessary, sorry.
  • Trigger Failure Handling

    feature request
    3
    0 Votes
    3 Posts
    973 Views
    RussR
    @LR2, I added this feature just now. Now you'll get an email if you try to run a command on an agent that's not connected.
  • Alexa Issue

    4
    0 Votes
    4 Posts
    969 Views
    K
    Smart Home -> Devices, then scroll to the bottom of that screen and select Forget All, then Discover. Works great now! Thanks for your help!
  • reverse Trigger Cmd

    5
    0 Votes
    5 Posts
    998 Views
    RussR
    @F4u5t, here's an example to watch a folder for new files, and call the IFTTT webhook. $watcher = New-Object System.IO.FileSystemWatcher $watcher.Path = 'D:\folder_to_watch' $watcher.IncludeSubdirectories = $true $watcher.EnableRaisingEvents = $true $action = { $path = $event.SourceEventArgs.FullPath $changetype = $event.SourceEventArgs.ChangeType Write-Host "$path was $changetype at $(get-date)" $postdata = @{ value1=$path value2=$changetype } # To get your key, click the Documentation link at https://ifttt.com/maker_webhooks/ $key="your_ifttt_key" $event="new_file" $json = $postdata | ConvertTo-Json $response = Invoke-RestMethod "https://maker.ifttt.com/trigger/$event/with/key/$key" -Method Post -Body $json -ContentType 'application/json' write-host $response } Register-ObjectEvent $watcher 'Created' -Action $action "Waiting for events. Press CTRL-C to quit." while($true) { Start-Sleep .5 }