TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. snantz
    3. Topics
    S Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 4
    • Groups 0

    Topics

    • S

      Can you feed back information to Alexa

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion 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]
    • S

      Where to find info on adding commands

      Watching Ignoring Scheduled Pinned Locked Moved General Discussion
      3
      0 Votes
      3 Posts
      1k Views
      S
      Thank you,