WCmore's Tips
Hello and welcome!!
This is a collection of things that I have learned over the years. Stay tuned for more Tips & Tricks...
Contents
Other Articles worth reading:
▲ Top ▲ |
.
External URLs - Execute a piston from elsewhere
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 -->
(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:
... 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:
One of the benefits of having no triggers is that this piston can be triggered from multiple locations and different events.
▲ Top ▲ |
.
Handy Links for Reference
Here are a few links that I have found to be helpful
webCoRE
- Dashboard (where we create & edit our pistons)
- webCoRE Forum - Latest Topics (great community for like-minded people)
- webCoRE Forum - Tutorials
- webCoRE Forum - Example Pistons (great place to get inspired!)
- webCoRE Functions (data processing & conversions)
- webCoRE Expressions (mathematical constructions)
- $twc.weather (which replaces $weather)
Other Resources
- SmartThings IDE (where we can add new devices)
- Amazon Alexa Settings
- Font Awesome Icons (can be inserted in tiles, piston states etc)
- Emoji reference (can be inserted in SMS, notifications, tiles, piston states etc)
Advanced Pistons
- Making voice announcements & controlling Amazon Alexa Echo
- WebCoRE asks a question, my voice response determines the action
- Send a notification to only ONE device without a SIM card
- Visual Countdown to a Special Event
- Gauge for Length of Day (showing Solstices & Equinoxes)
- Making a 24 hour Clock with webCoRE
▲ 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 ▲ |
.