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

You got it right, drops/rises filter out events and execute actions only when the temperature crosses the line, whereas is gt/lt would execute actions repeatedly depending on the temperature. You can also enable TEP on actions below such a condition to make them work more like the triggers. You can have an action only execute when the condition changed from false to true or true to false, changing the is lt effectively into a drops

Thanks. Are there any cases where it could make sense to use a “condition” with a TEP instead of a trigger?

Also can you please have a look at question #3 here: [DEPRECATED Thread: visit community.webcore.co for assistance] webCoRE - Piston Design Help (ask your fellow members for assistance) . Would love to know what’s the easiest way to do that. Thanks!

Could someone look at this piston I created as a enhanced alarm below. I can’t figure out why the alarm/lights continues to go off even after STM is disarmed on a false alarm. I actually can’t get the alarm to stop until I pause this piston and manually disable the alarm/reset lights in ST App. I keep getting the SMS message every 5 seconds that siren is going off as well which tells me the piston keeps restarting or repeating some of the commands. This example below I removed my siren off and tested with the light effects I have with the Flash command but didn’t include all of my lights till I can get this working. The goal I’m trying to achieve is to have the siren and lights trigger when a contact (Door or Window) is opened on this piston but it’ll delay 20 seconds before it starts with a warning beep. I used some of the coding from someone else on one of the webCoRe threads but modified for my use but could never get it to work right.

For some reason, every time I test it, the logs clear on the Piston. ST Logs are too long to post here but nothing I can find that is causing it.

@ady624 agreed, in memory won’t work. here are a couple of ideas:

  1. Donations to cover hosting costs
  2. Subscription model
  3. Free software with paid premium features
  4. local hosting

i can easily see analytics (fuel stream) and event log (fuel log?) being part of the premium features. In fact when I first saw the reference to fuel stream, i thought this was going to be the event log.

i sincerely appreciate your willingness to put in your time and effort in providing free software and with such high quality. however, its not fair for any of us to expect you to be paying for significant hosting costs beyond what you already must be. so, yes my preference is #3 for the greater good while i would personally love #4. (sidebar: i don’t like depending on cloud instances for some things, even though with #4 I don’t think it totally solves the cloud problem with ST using cloud.)


on a quick glance, change this
boolean alarmWarning = false
boolean alarmWarning

its resetting your alarmWarning variable every time the piston is executed.

Thanks for the suggestion, that fixed a different issue that I overlooked but when STM is disarmed, it doesn’t relay on the alarmWarning value to stop the alarm. I’m still having the same issue when I changed alarmWarning to no default value.

I still have to pause the piston just to turn the alarm off on false alarm.

I’m looking to build a rachio schedule based on temperature.

What I want is, if a temp sensor is above a certain temp, at a specific time, turn on a switch, then wait a prescribed time, then turn on another switch (this turns off the first switch automatically), then wait a prescribed time, then turn on another switch…etc.

I’m concerned that adding multiple blocks will fire them all at once. I can’t figure out how to do what I’d like.


I agree. A subscription model would make the most sense - perhaps with two tiers? In them mean-time, a PayPal donate page?

First post


How can I put the status of a device into a Send Notification event?

Currently I have:
With MulitSensor
send notification: Alert: HIGH humidity, at {$currentEventValue}%
End With

However I want to show the on/off status of my dehumidifer switch. Like this:
send notification : Alert: HIGH humidity, at {$currentEventValue}% The dehumidifer switch is _____
and have it put ON/OFF into the blank accordingly.

I suppose I may need to add the dehumidifier switch to the “With” part? But even then I am not sure how to reference the state of the switch to fill in the blank.


Sure. What does flash_off() do? Could you turn on trace and post a snapshot post disarming?

[HumidifierDevice : switch] should work for referencing the state of the switch.

Everyone I have been trying to build a presence piston that works like the example except I want to use the geo-fencing of each phone on my system. I have been able to program it but now want to add a button so I can check on demand that each children is home by announcing each child by phone name. I have not been able to get the piston to work without the button and can not figure out how to test it so I thought just adding a button as seeing if the phone is present by person would be a good place to start. I was wrong, it is hard to combine these with the presence and speak function. Anyone doing this and have a sample that uses the native presence logic in smart things and not an add-on like the sample?

Which sample are you referring too?

I just realized I am in web core and not CoRE help area. The example was the Family Presence Notifications by @Bamarayne with life360 under coresamples

1 Like

Sounds like a good time to jump into webcore. Go to the wiki and check out the awesome video by @anon36505037

1 Like

You are correct. It is sometimes hard to understand what is the best tool for the job. CoRE has been a challenge to learn. I am guessing this is much easier as a editor. Thanks.

No coding required. Everything is entered via user interface.

Would $currentEventDevicePhysical=true also if the switch is off and I press off again? Or is this just for a change in physical state (e.g. on->off)?

In the IDE log I get:

7e6ea289-055c-45d7-be5d-8af226f3764b 12:51:50 AM: debug Parse returned [Gym Fan Controller was turned off]
7e6ea289-055c-45d7-be5d-8af226f3764b 12:51:50 AM: trace BasicReport
7e6ea289-055c-45d7-be5d-8af226f3764b 12:51:50 AM: trace doCreateEvent

I am trying to use my GE-fan control switch to toggle the fan light when it is off and I press off again but can get this to work in a piston.


I’ve checked the wiki but haven’t found anything like this: a list of differences between the way CoRE and webCoRE pistons execute.

@ady624 posted that webCoRE actions are executed async vs WebCoRE sync. I also think someone posted that TCP is automatically enabled in webCoRE and wasn’t in CoRE.

Are these documented in the wiki? If so, would someone point me to the page?