Difference between revisions of "WCmore's Tips"

From webCoRE Wiki - Web-enabled Community's own Rule Engine
Jump to: navigation, search
m (→‎Other Articles worth reading:)
m (→‎External URLs - Execute a piston from elsewhere)
Line 12: Line 12:
 
* [[WCmore's_AddDevices|Adding devices to webCoRE]]
 
* [[WCmore's_AddDevices|Adding devices to webCoRE]]
 
* [[WCmore's_ExternalURL|External URLs - Execute a piston from elsewhere]]
 
* [[WCmore's_ExternalURL|External URLs - Execute a piston from elsewhere]]
−
 
−
{{TipsTOC}}
 
−
 
−
== External URLs - Execute a piston from elsewhere ==
 
−
 
−
[[File:ExternalURL.jpg|thumb|right]]
 
−
 
−
Any piston can be run from any place that you are online.  A few possibilities are:
 
−
* Clicking a link in a SMS message
 
−
* Clicking a link in an email or HTML document
 
−
* Opening a URL directly inside any browser
 
−
* HTTP GET request from any app with that capability
 
−
* HTTP GET request from any OS (''Windows, Android, RPi etc.'')
 
−
* HTTP GET request from another SmartThings hub (''IE: House to House'')
 
−
* Command prompt / batch file / macro tool etc.
 
−
 
−
Each piston has a unique URL, which can be found at the very top of any piston -->
 
−
<br> (''Anyone that knows this URL can trigger that one piston whenever they want to, so this URL should be kept private, or only shared with those whom you trust'')
 
−
 
−
So, for example, if you wanted a piston in your vacation house to trigger a piston in your main house, then the vacation house can make a web request like this:
 
−
 
−
[[File:UrlGetRequest.jpg|none]]
 
−
 
−
... and the piston in your main house would trigger a moment later.
 
−
 
−
Generally speaking, the piston that is getting triggered by the external call should have no triggers (''lightning bolts''). 
 
−
 
−
Once the piston is saved, you should see this up top:
 
−
 
−
[[File:NoSubscriptions.jpg|none]]
 
−
 
−
One of the benefits of having no triggers is that this piston can be triggered from multiple locations and different events.
 
  
 
{{TipsTOC}}
 
{{TipsTOC}}

Revision as of 01:18, 6 June 2019

Hello and welcome!!

This is a collection of things that I have learned over the years. Stay tuned for more Tips & Tricks...

Other Articles worth reading:



▲ Top ▲





.

Handy Links for Reference

Here are a few links that I have found to be helpful

webCoRE

Other Resources

Advanced Pistons



▲ Top ▲





.

Coming Soon

  • Good Practices
  • Task Cancellation Policy
  • Triggering a piston by voice (Alexa & SimSwitch)
  • Installation Tips (GitHub)
  • Two Hub Communication
  • Passing Arguments
  • "Daisy-Chaining" Pistons
  • Tasker (Controlling & being controlled by an Android device)
  • EventGhost (Controlling & being controlled by a Windows PC)
  • Android Presence Sensor using Tasker



▲ Top ▲





.