• How do you install TRIGGERcmd on Raspberry pi with OpenWRT?

    Moved
    19
    0 Votes
    19 Posts
    4k Views
    Scott BartonS
    I just updated the scripts that TRIGGERcmd runs to have full paths, and now it works, thanks!
  • Off Command for Raspberry

    Moved
    3
    0 Votes
    3 Posts
    1k Views
    P
    @Russ Thnx for the information i' will give it a go as soon as i will have alexa dot....still waiting due to the whole situation. But I understand what you are trying to say so i will test it and i have have an issue i will post it here. Thnxx again man.
  • Enable or disable ads with Pi-hole on a Raspberry Pi

    Moved
    8
    0 Votes
    8 Posts
    3k Views
    Furkan CevikF
    @Russ Works now, thanks!
  • 0 Votes
    2 Posts
    738 Views
    RussR
    @Alfredo-Guzman, you have to switch yourself to the root user before you can edit that file. This command will switch to root: sudo su -
  • How do I run a .py file on my RaspberryPi through TriggerCMD?

    Moved
    2
    -1 Votes
    2 Posts
    900 Views
    RussR
    @Jack-Bailey, what will steam.py do? Anyway here are some steps you'll need to do. Let me know if you get stuck on any of them. Create your steam.py file and test it. Install the TRIGGERcmd agent on your Raspberry Pi and test it using one of the built-in commands. Run this to install the background service so it starts when your Raspberry Pi boots: /usr/share/triggercmdagent/app/src/installdaemon.sh Add your python3 steam.py command to your /root/.TRIGGERcmdData/commands.json file. Something like this: {"trigger":"steam","command":"python3 \/root\/steam.py","ground":"background","voice":"steam","allowParams": "false"}, Test it using the green Trigger button on the TRIGGERcmd website. Go to ifttt.com and create your Button widget / TRIGGERcmd applet that runs your command. Long-press the IFTTT app icon and select Widgets, and place your button widget on your home screen.
  • Raspberry Pi relay wiring photos

    Moved raspberry pi
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Can't add command with raspberry pi 3b+

    Moved
    9
    0 Votes
    9 Posts
    2k Views
    P
    Okay, the command lines you provided work, and I also changed my command word to just "shut" so Alexa can recognize it better. Overall, thanks a lot for helping me, TriggerCMD is definitely a great tool for the raspberry pi.
  • Adding Parameter to raspberry pi commands

    Moved
    5
    0 Votes
    5 Posts
    2k Views
    RussR
    Ok @js, you could change your commands.json to this: [ {"trigger":"Monitor","command":"/root/monitor.sh","ground":"background","voice":"Monitor","allowParams": "true"} ] And put this in your /root/monitor.sh script: #!/bin/bash if [ "$1" = "on" ] ; then echo Turning it on vcgencmd display_power 1 fi if [ "$1" = "off" ] ; then echo Turning it off vcgencmd display_power 0 fi And say this to Alexa or Google Assistant: ask TRIGGERcmd to run monitor with parameter on Or use the TRIGGERcmd Smart Home Alexa skill or the SmartThings integration with Google Assistant, and say this: turn on monitor
  • TRIGGERcmd projects on hackster.io

    Moved
    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Run remote commands with an old VCR remote and a Raspberry Pi Zero W

    Moved
    1
    1 Votes
    1 Posts
    4k Views
    No one has replied