<?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[Control multi WiFi cameras via one script]]></title><description><![CDATA[<p dir="auto">As I mentioned here <a href="https://www.triggercmd.com/forum/topic/1953/voice-controlling-x10-pan-tilt-wifi-cameras">https://www.triggercmd.com/forum/topic/1953/voice-controlling-x10-pan-tilt-wifi-cameras</a> I have HomeGenie (HG) move my wifi cameras via macros based off a security system trip.<br />
I did add a simple way to perform that task for my front door via TRIGGERcmd and Voice nice cool factor.<br />
However I have several cameras some outside some inside I view all these at once in HG via a special camera page. Each camera has 4 preset buttons I added to widgets I created. Now I could just press a preset button for each to turn the camera to a door (yes they all can focus on multiple door entries)<br />
To make things simpler and faster I thought I'd make a simple script to turn all cameras to the preset that matched the closest entry door to the camera. Now I can say Alexa run door watcher and all cameras turn to the closest door to the camera.<br />
the script is simple enough</p>
<pre><code>#!bin/bash
#camera 1 preset 1
curl "URL for preset"
#camera2 preset 2
curl "URL for preset"
</code></pre>
<p dir="auto">If you test this from the command line and all goes well you should get a "OK" response from each camera.<br />
I've tested this thus far with 4 cameras (3 different brands &amp; models).</p>
]]></description><link>https://www.triggercmd.com/forum/topic/1959/control-multi-wifi-cameras-via-one-script</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 20:21:36 GMT</lastBuildDate><atom:link href="https://www.triggercmd.com/forum/topic/1959.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 10 Jan 2022 22:39:46 GMT</pubDate><ttl>60</ttl></channel></rss>