SmartThings Community

[DEPRECATED Thread: visit for assistance] webCoRE - Piston Design Help (ask your fellow members for assistance)

@Gietlt terrific!!! i just do this in the spirit of community, so no donation needed or expected. but, if you would like to donate, please do send the donation to @ady624 without whose extensive work on webcore this community would not exist. :slight_smile:

donation link at bottom of this post by @ady624 :


Wow, thank you so much that wiki was spectacular and specific any one have any example Pistons of let’s say an audible tts using the built in weather api playing today’s forcast on what ever sound device

1 Like

Does this mean 10 seconds ? I would like this value to be 2 minutes should it be expressed in milliseconds

thats 1 second. 2 minutes = 2 * 60 * 1000 = 120000

If you already have your speaker working then just build a variable with all the information you want added and then have your speaker read that variable out.

To answer your other question 1000 milliseconds = 1 sec

Going to give it crack tonight I still don’t exactly know how I want to apply it yet that why I was asking for examples but thank you I saw a forcast. For 3 days in one string but I don’t think I saw one for one day


will give you the current weather conditions


would give you the next forecasted report.


Is like your a la cart option. Pick and choose what you would like.

Directly via the Smart things app.

Virtual switch seems like the hot ticket right now. Flip a switch and program it so the home and night routines run as normal but away never runs. Hmmm…

1 Like

@Ronald_Balu Those are great options from @c1arkbar. You could also simply configure multiple voice reports in AskAlexa (unless you don’t have Alexa or don’t want to go to the trouble of configuring AskAlexa). The weather reporting options in AskAlexa’s extensions are…extensive. :laughing:

If I remember correctly. He does not have Alexa. I believe a Google Home. But I could be confusing people

Either way, your route is far, far faster than configuring AskAlexa if he doesn’t already have it configured, even if he does have Alexa. I’m probably the one confusing things. :wink:

I have been down that rabbit hole of AskAlexa. I really like it and the dev is top notch with updating and helping. I am just anxious for the push support he suspects is coming down the line. So I have it installed and follow his weekly updates.

1 Like

I am also anxiously awaiting the push updates. They will work much better with my system plan because I do not want the SONOS speakers or LANnounce handling all of the notifications.

1 Like

I have an Alexa and an aws account with some experience in installing custom coded apps but when I saw all that is required to install ask Alexa I wasn’t to thrilled to jump on it right away especially since Alexa now is much more friendly with controlling smart devices then she was earlier on when you needed a lot of ifttt and smart things as the go between .

Despite my reservations I will still probably install it because I’d like to set up a piston where after I walk in the house Alexa ask me something like “are there any home control adjustments or activites you want me to start for you?” And I could say yes adjust temp or turn on fox ,heat my tea kettle . And also I love how ask alexa lets you chain off commands without having to keep saying the wake word between each command. I hope that works with outside command as well not just the ones pre configured in he ask alexa settings .

So in conclusion I could then configure weather in ask Alexa if and when I get it set up. But for now the built in weather api sounds like a go for me.

I’m having a problem turning my Ecobee3 back on after the piston turns it off. I can’t find the right command out of the long list to resume the normal comfort setting for the appropriate time period. I’ve tried various settings other than resumeprogram(), removed the awake() and other things. Any ideas? I’m using the custom Ecobee3 v5 device handler.

Was just fooling around with this to hear how it sounds on speaker…

Small question is there a limitation on how many words can be used in the speak command using text to speech when I used a string that yielded a one word result like " rain or overcast " it would say it how ever when I put in a string that yeilded a long 3 day forcast such as what I have below I could see when the piston ran but nothing was said out the speaker… Tried it again and substituted the string for any random text and it worked . Any thoughts ?

Looking for some feedback on some motion based routines I have…

I have one in particular that is problematic. It uses an Iris motion sensor and a GE zwave switch. When the motion sensor is active, it turns the lights on. When its inactive, its SUPPOSED to wait 2 minutes before turning the lights off, but when the sensor goes inactive, it ignores the timer and turns the switch off.

Heres the weird thing. I have three copies of this SAME EXACT routine using a GE switch, and the Iris outlets, and they all work perfectly.

Ive tried deleting/readding, same behavior. If I switch it to another motion sensor, it works as expected.

What gives?

for this particular motion sensor have you checked the motion reset time? if it has a short motion reset time where the others use a longer motion reset time that might explain it.

I haven’t because they all appear to be the same.

that might be one thing to check. if you post a snapshot of the piston, will take a look at if there could be something else.