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

1 Like

Thanks @bangali! This is a great feature. Thanks for the info!

you are welcome.

Is it possible to have a piston execute multiple actions at the same time? Specifically what I am trying to do is have the brightness of 2 Hue bulbs fade from 0-40% at the same time. Thanks!

Thanks! I’ve set this up and I"ll report back for every one to see how this fires tonight .

you are welcome. :+1:

I have been running this guy since May and it has never failed to run on the appropriate days. Maybe you can use some of the ideas here.

Greetings,

This is probably a rooky question, but how do I get a piston to tell Alexa to voice “Front lights have been turned on”?
Even though I don’t have Alexa, I’d got an Android app that simulates Alexa and have integrated SmartThings with Alexa via alexa.amazon.com… I’m able, thought the android app, to turn things on/off etc. But now I’d like to send text notifications to Alexa.

Can someone please point me in the right direction? Perhaps I have to add a Device Handler or Smart App to the IDE?

:slight_smile:

You sure can. Here is a simple example where when i arrive home 2 bulbs will fade from 0-40%.

Hope that helps!

Note that while this will handle both actions together based on the trigger the actual execution will never be exactly at the same time as everything is sequential. Each device will get a command in sequence. But it will be close enough.

Seems to be an issue with the piston restriction - it won’t allow it to resubscribe for a new time trigger. While this is a bug and it will get fixed, I recommend that you move the restriction as an IF inside the timer to avoid it until it gets fixed.

1 Like

interesting discovery although, i dont know if it’s a bug or that it’s not being used properly.

I was able to hit-up the “WebCore Example Piston” page to find my answers.

Anyway, when creating a piston to use my Sonos speakers as a door chime. And I initially created a task to have webCoRE both ‘speak to text’ and ‘set the volume’ all in one task (see below), there’s no playback on the speakers when the door is actually opened.

piston_incor

But, when i create two separate tasks; one for ‘speak to text’ and the other ‘set volume’, the piston actually works with the door is opened (see script below).



works

Would anyone happen to know why the two script methods do not yield the same results? I mean, if the task gives me the option to roll-up two tasks in one. I would expect it to work. just curious what the expected behavior is.

Thanks

Sorry, that won’t work. At this time Echo can only respond to commands it receives. Voice notifications are not possible . This is an Amacon restriction.

You can still use your android tablet for voice announcements (with the Smarthings voice):

Check this example I put up: [DEPRECATED THREAD: visit community.webcore.co for assistance] WebCoRE - Example Pistons

change speaker with your speaker, and git rid of the MP3 URL to just Speak a dynamic txt string based on the item open.

Thanks. I will give this a try

@pizzinini… I forgot to ask, will webCoRE have the ability to send audible messages to LANouncer?

Yes, WebCore can do that. It can send custom announcements to any SmartThings speaker.

This worked perfectly!

excellent!

Hi guys

First time poster in this thread, so hopefully the question hasnt been asked before.
I created a piston that waits for movement and turns on a light (only during nighttime) to make sure we get to the bathroom without hurting ourselves. After a certain amount of inactivity, the lights turn off again.

My solution to this was the following, and it works well so far:

Now the question I am having concerns the second block.
If motion gets triggered, but the piston does not activate because its not night mode, would the second if-block cause RGB Bulb 7 to be turned off anyhow, in case it is on?