Sometimes just changing your way of looking at things makes all the difference and it ended up being much simpler.
yep, well said. that looks much simpler and sounds like you got it working yourself. very cool.
@Townsmcp hmm … would you mind posting the latest piston snapshot … so i comment on the latest.
thanks.
Hey peeps,
In my piston I’m trying to get each WITH to run at the same time due to the WAIT in each one. I really don’t want them accumulating the wait times for my door lock to auto-lock after 3x5=15 minutes.
I think I’ve set up the piston to run in parallelism.
Does this look correct?
Thanks, it works as advertised!
Follow up, here’s another piston I had done previously. I’m thinking about updating it (clean it up) with what you pointed me toward.
Here’s the piston:
IMG_0796|532x500
I want the lights to turn on with motion.
Then when no motion for 20 min, flash lights to signal shutoff soon.
Then if motion happens, do nothing, count down for 20 min inactive and do the same (loop)
If no motion happens (still), proceed to shut off lights.
The idea is to get my wife to cut out her long showers, or at least she has to pull back the curtain to reset motion. She also has a bad habit of leaving the bathroom lights on. This solves both problems.
What would be a cleaner way to execute this?
Incorporateing loop, loop break, etc?
Want to learn more ways to skin the animal.
See this post a little further up:
Set your WITHs to ASYNC. To do this go in to edit then select the WITH and then the cog and you’ll see the option.
Click on each ‘with’ click on settings and change them to async.
All the withs will then run at the same time.
@Townsmcp how many devices do you have listed in the global variable @AutomationSwitches?
thanks.
@bangali just 10 devices in that variable
@Townsmcp try this one please
@ady624 @anon36505037
Is there a way to send a message through IFTTT to Webcore and have it push a notification to a contact?
Use case example?
Actually slightly different than original question, the overall I’d like to accomplish is sending a SMS from IFTTT to WebCore and have LanNounce speak the message. Is that possible?
Still in need of some weather help guys, hate to sound like a broken record. Just wondering why the max of all next 6 hours is coming up as less than the individual pop for hour 4.
You may need to place them inside integer() because there is no data typing with those value and they default to dynamic/string.
Thanks I tried both integer and decimal but still not working right. Heck even right now the POP according to the website is 40 percent chance but the string is only showing me 15 it’s just so confusing
So you text IFTTT then IFTTT reports that it got the text to webCoRE then have a piston read out that message.
If this is the case then it depends on if IFTTT can read the text message or not. If it can then I think that this would be possible
It can - when they used to call it a recipe, that was called an ingredient. I had that setup to scare my girls I was texting the number and CoRE back then would play it on the Sonos.
With webCoRE create a piston with an IFTTT trigger - in the trigger editor, select an event name you want to use, you will be provided with the URL to use in the IFTTT action. Use the body shown above in the first image and back in webCoRE read the message with an Argument field message or use the composite variable $args.message.
Note: you do not need the ,”test”:… part in the body. The end result should look like:
{"message":"{{Message}}"}
You can just paste the text above, or use the Add ingredient button to add the Message text.