• 0 Votes
    11 Posts
    4k Views
    Furkan CevikF
    @russ Thanks Russ!
  • Can you feed back information to Alexa

    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]