<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Raspberry Pi]]></title><description><![CDATA[A place to share commands you like to trigger remotely.  ]]></description><link>https://www.triggercmd.com/forum/category/10</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 13:58:11 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/category/10.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jan 2025 22:30:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[TriggerCMD on Openwrt]]></title><description><![CDATA[@eromano, I tried to install OpenWRT on a VMWare VM for a while.  I got version 15 installed using an OVA but I couldn't get openssl working, so I couldn't install nodejs etc on it.
Anyway, I noticed your error output shows it's trying to access a URI that starts with /engine.io .  That's not valid URI.
I wonder if you've upgraded socket.io-client beyond the version specified in ubuntupackage.json because this article says the latest version 'socket.io-client@4.X.X uses /engine.io instead of the valid /socket.io URI.
]]></description><link>https://www.triggercmd.com/forum/topic/3207/triggercmd-on-openwrt</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/3207/triggercmd-on-openwrt</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 30 Jan 2025 22:30:39 GMT</pubDate></item><item><title><![CDATA[How can I do it with Pc I used the code wakeonlan with my windows pc but doesnt work]]></title><link>https://www.triggercmd.com/forum/topic/3160/how-can-i-do-it-with-pc-i-used-the-code-wakeonlan-with-my-windows-pc-but-doesnt-work</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/3160/how-can-i-do-it-with-pc-i-used-the-code-wakeonlan-with-my-windows-pc-but-doesnt-work</guid><pubDate>Sat, 23 Nov 2024 22:47:12 GMT</pubDate></item><item><title><![CDATA[Trouble Executing TriggerCMD Commands on Raspberry Pi]]></title><description><![CDATA[@boblewis, that all sounds good.  Do you have any remaining problems or are you all set now?
]]></description><link>https://www.triggercmd.com/forum/topic/2857/trouble-executing-triggercmd-commands-on-raspberry-pi</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2857/trouble-executing-triggercmd-commands-on-raspberry-pi</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Thu, 23 May 2024 12:01:19 GMT</pubDate></item><item><title><![CDATA[startup service for openwrt]]></title><link>https://www.triggercmd.com/forum/topic/2822/startup-service-for-openwrt</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2822/startup-service-for-openwrt</guid><pubDate>Sat, 02 Mar 2024 22:48:28 GMT</pubDate></item><item><title><![CDATA[TriggerCMD on openMPTCP a fork of openwrt project]]></title><description><![CDATA[@eromano resolved by a new install from zero.
Maybe the problem was that at the first execute was already present another machine
]]></description><link>https://www.triggercmd.com/forum/topic/2818/triggercmd-on-openmptcp-a-fork-of-openwrt-project</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2818/triggercmd-on-openmptcp-a-fork-of-openwrt-project</guid><dc:creator><![CDATA[eromano]]></dc:creator><pubDate>Fri, 01 Mar 2024 23:19:13 GMT</pubDate></item><item><title><![CDATA[Display a Window with custom text]]></title><link>https://www.triggercmd.com/forum/topic/2710/display-a-window-with-custom-text</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2710/display-a-window-with-custom-text</guid><pubDate>Sat, 30 Sep 2023 21:16:17 GMT</pubDate></item><item><title><![CDATA[Script.sh não executa a função completa]]></title><description><![CDATA[@Antonio-Francisco-S-Santos , I'd need to see the two scripts.
]]></description><link>https://www.triggercmd.com/forum/topic/2627/script-sh-não-executa-a-função-completa</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2627/script-sh-não-executa-a-função-completa</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 25 Jun 2023 21:05:46 GMT</pubDate></item><item><title><![CDATA[paypal "hosted button ID" integration with triggercmd]]></title><description><![CDATA[@hehaha, good.  I'm glad you got it working.  And no, no Venmo, only PayPal.
]]></description><link>https://www.triggercmd.com/forum/topic/2568/paypal-hosted-button-id-integration-with-triggercmd</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2568/paypal-hosted-button-id-integration-with-triggercmd</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Tue, 14 Mar 2023 20:47:25 GMT</pubDate></item><item><title><![CDATA[Tentando Executar um Script python no terminal LX com o TriggerCMD mas não estou conseguindo]]></title><description><![CDATA[@Antonio-Francisco-S-Santos Desculpe, O Código que me refiro é esse aqui:
#!/usr/bin/python3
coding=utf8
import sys
import time
import math
import hiwonder.Mpu6050 as Mpu6050
import hiwonder.ActionGroupControl as AGC
import hiwonder.Board as Board
mpu = Mpu6050.mpu6050(0x68)#启动Mpu6050
mpu.set_gyro_range(mpu.GYRO_RANGE_2000DEG)#设置Mpu6050的陀螺仪的工作范围
mpu.set_accel_range(mpu.ACCEL_RANGE_2G)#设置Mpu6050的加速度计的工作范围
count1 = 0
count2 = 0
def standup():
global count1, count2
try:
    accel_date = mpu.get_accel_data(g=True) #获取传感器值
    angle_y = int(math.degrees(math.atan2(accel_date['y'], accel_date['z']))) #将获得的数据转化为角度值
    
    if abs(angle_y) &gt; 105: #y轴角度大于160，count1加1，否则清零
        count1 += 1
    else:
        count1 = 0

    if abs(angle_y) &lt; 85: #y轴角度小于10，count2加1，否则清零
        count2 += 1
    else:
        count2 = 0

    time.sleep(0.1)
    
    if count1 &gt;= 1: #往前倒了一定时间后起来
        count1 = 0  
        print("equilibrio_1！")#打印执行的动作名
        AGC.runActionGroup('equilibrio_1')#执行动作
        Board.setPWMServoPulse(1, 1300, 700)
        Board.setPWMServoPulse(2, 1500, 700)
        time.sleep(0.8)
        AGC.runActionGroup('stand') 
    
    elif count2 &gt;= 1: #往后倒了一定时间后起来
        count2 = 0
        print("equilibrio_2！")#打印执行的动作名
        AGC.runActionGroup('equilibrio_2')#执行动作            
        Board.setPWMServoPulse(1, 1500, 700)
        Board.setPWMServoPulse(2, 1500, 700)
        time.sleep(0.8)
        AGC.runActionGroup('stand') 
    
except BaseException as e:
    print(e)

if name == 'main':
print("Fall_and_Stand Init")
print("Fall_and_Stand Start")
while True : #循环检测机器人的状态
standup()
key = time.sleep(0.1)
if key == 27:
break
]]></description><link>https://www.triggercmd.com/forum/topic/2510/tentando-executar-um-script-python-no-terminal-lx-com-o-triggercmd-mas-não-estou-conseguindo</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2510/tentando-executar-um-script-python-no-terminal-lx-com-o-triggercmd-mas-não-estou-conseguindo</guid><dc:creator><![CDATA[Antonio Francisco S.Santos]]></dc:creator><pubDate>Sun, 22 Jan 2023 13:14:28 GMT</pubDate></item><item><title><![CDATA[Orange Pi Zero 2 image with TRIGGERcmd agent pre-installed and programmed for IR remote control]]></title><link>https://www.triggercmd.com/forum/topic/2394/orange-pi-zero-2-image-with-triggercmd-agent-pre-installed-and-programmed-for-ir-remote-control</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2394/orange-pi-zero-2-image-with-triggercmd-agent-pre-installed-and-programmed-for-ir-remote-control</guid><pubDate>Sat, 29 Oct 2022 23:29:21 GMT</pubDate></item><item><title><![CDATA[Command run but nothing happens]]></title><description><![CDATA[@matúš-maron, no problem.  I'm glad you figured it out.
]]></description><link>https://www.triggercmd.com/forum/topic/2144/command-run-but-nothing-happens</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2144/command-run-but-nothing-happens</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 08 May 2022 12:04:12 GMT</pubDate></item><item><title><![CDATA[Controlling  Pi-Hole on the Raspberry Pi remotely through Alexa]]></title><description><![CDATA[@russ I added the password to pi-hole and generated the token from web API. New URL that appeared with that token has been added to the TriggerCMD. However, this still doesn't resolve the problem, I am receiving the same message with empty token. Can anyone help with the issue? Where to dig further? Thanks
]]></description><link>https://www.triggercmd.com/forum/topic/2108/controlling-pi-hole-on-the-raspberry-pi-remotely-through-alexa</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2108/controlling-pi-hole-on-the-raspberry-pi-remotely-through-alexa</guid><dc:creator><![CDATA[Georgi_Sharkov]]></dc:creator><pubDate>Sat, 16 Apr 2022 21:33:15 GMT</pubDate></item><item><title><![CDATA[running trigger on raspberry pi and trigger script on another pi]]></title><description><![CDATA[@thibou-justin, yea the first time you ssh into a remote box, it will ask prompt you to accept the server's fingerprint.  If you hadn't done that first, that might be why the command wasn't working.
You definately do need root's local public key (id_rsa.pub) in the remote pi's authorized_keys file though.  You could put it in root's or pi's authorized_keys file depending on which user you want to be able to login as on the remote pi.
]]></description><link>https://www.triggercmd.com/forum/topic/2022/running-trigger-on-raspberry-pi-and-trigger-script-on-another-pi</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/2022/running-trigger-on-raspberry-pi-and-trigger-script-on-another-pi</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sun, 30 Jan 2022 19:34:46 GMT</pubDate></item><item><title><![CDATA[Run a HomeGenie macro(script, scene)]]></title><link>https://www.triggercmd.com/forum/topic/1973/run-a-homegenie-macro-script-scene</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1973/run-a-homegenie-macro-script-scene</guid><pubDate>Sun, 16 Jan 2022 14:46:37 GMT</pubDate></item><item><title><![CDATA[Alexa Google Panic Alarm]]></title><description><![CDATA[Yesterday I did a clean up of my HomeGenie disabling things I thought I no longer needed. After this I tested my Panic Alarm and discovered there were a few things required that I had left out. These may have been set by default with the initial install of HomeGenie.

Besides the Demo-Toggle Door having to be enabled the Virtual Modules Demo program must also be enabled.
As well the Automation.Demo 2 "DoorSensor" need to have the options to "Use as security sensor" and "Also trigger when armed Home" checked.
The Automation.Demo 2 "DoorSensor" has to be in the closed condition prior to arming the security widget or you will need to send 2 panic calls

]]></description><link>https://www.triggercmd.com/forum/topic/1970/alexa-google-panic-alarm</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1970/alexa-google-panic-alarm</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 14 Jan 2022 18:28:21 GMT</pubDate></item><item><title><![CDATA[Arm/Disarm Security system via Google/Alexa]]></title><description><![CDATA[Here's the command to arm the HG security system widget to armed home.
curl http://HGAddress/api/HomeAutomation.HomeGenie.Automation/90/Control.ArmHome

]]></description><link>https://www.triggercmd.com/forum/topic/1969/arm-disarm-security-system-via-google-alexa</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1969/arm-disarm-security-system-via-google-alexa</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 14 Jan 2022 18:27:49 GMT</pubDate></item><item><title><![CDATA[Check DuckDNS connection status/update]]></title><link>https://www.triggercmd.com/forum/topic/1967/check-duckdns-connection-status-update</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1967/check-duckdns-connection-status-update</guid><pubDate>Thu, 13 Jan 2022 20:05:31 GMT</pubDate></item><item><title><![CDATA[Say room temperature and humidity]]></title><description><![CDATA[If your like me and find the decimal point in the return a bit confusing you can change the line
 os.system('~/.TRIGGERcmdData/sendresult.sh ' + 'Temp={0:0.1f}  Humidity={1:0.1f}'.format(t,h))

to
os.system('~/.TRIGGERcmdData/sendresult.sh ' + 'Temp={0:0.0f}  Humidity={1:0.0f}'.format(t,h))

if you wish the return to send a Fahrenheit value instead of Celsius you can add the line
t = (t* 1.8) + 32

just after the  line
#Print Temperature and Humidity on Shell window

]]></description><link>https://www.triggercmd.com/forum/topic/1962/say-room-temperature-and-humidity</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1962/say-room-temperature-and-humidity</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Tue, 11 Jan 2022 21:50:19 GMT</pubDate></item><item><title><![CDATA[Control multi WiFi cameras via one script]]></title><link>https://www.triggercmd.com/forum/topic/1959/control-multi-wifi-cameras-via-one-script</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1959/control-multi-wifi-cameras-via-one-script</guid><pubDate>Mon, 10 Jan 2022 22:39:46 GMT</pubDate></item><item><title><![CDATA[HomeGenie X10 control with single bash script]]></title><description><![CDATA[@russ thanks, I removed the deviceType from my json file and  had Alexa rediscover and they do still dim.  I edited my previous post.
It should be noted that using dim turns the device to that value. So if you turn a light on (100%) then say dim 20% it doesn't set the light level to 80 but instead sets the light level to 20.
At least that's the way it works for HG.
]]></description><link>https://www.triggercmd.com/forum/topic/1941/homegenie-x10-control-with-single-bash-script</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1941/homegenie-x10-control-with-single-bash-script</guid><dc:creator><![CDATA[tuicemen]]></dc:creator><pubDate>Fri, 07 Jan 2022 18:59:15 GMT</pubDate></item><item><title><![CDATA[Is it possible to have more then one parameter?]]></title><description><![CDATA[@tuicemen
You can add house code (A-P) and unit codes (1-16) as parameters in your bash scripts.
#!/bin/bash
house_code=$1
unit_code=$2
action=$3
curl "http://url:port/api/HomeAutomation.X10/${house_code}${unit_code}/Control.${action}"
Run it like this:
./control_x10.sh A 4 On
This way, you only need one script.
Thank you
boblewis
]]></description><link>https://www.triggercmd.com/forum/topic/1937/is-it-possible-to-have-more-then-one-parameter</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1937/is-it-possible-to-have-more-then-one-parameter</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Thu, 06 Jan 2022 21:25:51 GMT</pubDate></item><item><title><![CDATA[Control RGB LED bike lights with Raspberry Pi]]></title><link>https://www.triggercmd.com/forum/topic/1739/control-rgb-led-bike-lights-with-raspberry-pi</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1739/control-rgb-led-bike-lights-with-raspberry-pi</guid><pubDate>Sat, 23 Oct 2021 21:28:01 GMT</pubDate></item><item><title><![CDATA[trigger ssh command on raspberry pi]]></title><description><![CDATA[@thibou-justin,
I'm glad that worked.
No, I don't have a donations page - just the annual subscription.
]]></description><link>https://www.triggercmd.com/forum/topic/1736/trigger-ssh-command-on-raspberry-pi</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1736/trigger-ssh-command-on-raspberry-pi</guid><dc:creator><![CDATA[Russ]]></dc:creator><pubDate>Sat, 23 Oct 2021 04:25:58 GMT</pubDate></item><item><title><![CDATA[Running a python script on a raspberry pi]]></title><description><![CDATA[@Russ
Thank you Russ for looking into it.
With the startup, I was referring to the RPI starting / booting up from being turned off. I noticed that the issue only happens from the RPI starting up and on the first instance a command is run. The next time a command is run, the command executes without issue. The main problem is the xdotool command not being executed on this first instance. However, the page is loaded.
Also, I do have TriggerCMD installed as a background agent using that command and I do have xhost+ addeed to the end of the /etc/profile
]]></description><link>https://www.triggercmd.com/forum/topic/1681/running-a-python-script-on-a-raspberry-pi</link><guid isPermaLink="true">https://www.triggercmd.com/forum/topic/1681/running-a-python-script-on-a-raspberry-pi</guid><dc:creator><![CDATA[daproduct]]></dc:creator><pubDate>Fri, 01 Oct 2021 00:45:55 GMT</pubDate></item></channel></rss>