CoRE - Get peer assistance here with setting up Pistons

Like these?

Here’s one for motion triggered lights:

And this is a variation for contact sensors:

Create a new piston, select the orange option and enter the code you want to import. That kind of shared? :smiley:

Or maybe the crazy-creative ones some users are coming up with? And sharing? [DEPRECATED THREAD: visit community.webcore.co for assistance] WebCoRE - Example Pistons

PS: To answer the original question, yes, webCoRE supported sharing and importing pistons since day 1. It was technically built around that concept.

I seem to be having an issue with either the zooz 4-in-1 motion sensor or the Piston it is being used in. This was working flawlessly up until about two weeks ago. All of a sudden my hall light would turn on regardless of the light amount. I have tried everything to make this work but it seems that the piston isn’t getting the proper info from the motion sensor. In the pictures I show that the zooz 4-in-1 was registering lux at 35.6 and Light was registering at 68.1%, and in my piston I have it set for the light to come on if the illuminance is equal to or below 30 and yet the light still went on. I have tried changing the light settings and changing the settings of the motion sensor but nothing seems to work. Like I said this was working flawlessly before so it isn’t the piston. Any suggestions?

I just want a simple action. I get up in the middle of the night and step into my hallway I want the lights to come up to 5%. However when I set this the light goes up to a higher percent when entering the hallway and then down to 5%. Why is this and what can I do about it? Also… I would like the light to go off after X minutes of motion. How do I do the 2nd step? Sorry super new to CoRE and overwhelmed.

Yes that is what I was looking for.

Hi, Guys. This was probably asked before. I am looking for a piston(s) that would do the following:

Say “fridge door is open” every 3 minutes, while door sensor is open. I almost got it to work with “follow up with piston x” but my problem is that followup continues to execute even after I close the door, so, I guess, I will need closing of the door to cancel all pending announcements.

thanks

Hi there!

Looking for some assistance! I’m using my iPhone as an arrival sensor but for added security I’ve purchased some Samsung arrival sensors that I leave in my car. What I’m trying to setup is a core piston which will detect the arrival of iPhone and Samsung arrival sensor to trigger opening the garage and unlocking the garage door. I think I’ve got it setup correctly but it won’t seem to trigger. When I look at the piston it always says current evaluation of false even though the st app shows both sensors have arrived. Details attached;

Any help would be appreciated!

Thanks

Make it is present instead of changes too.

No help here? I do not know where to look for answers. :frowning:

Thanks. So instead of changes to present, make it “is present”?

Won’t that continually trigger it when both presence sensors are present?

You could use your original piston (changes to) but change the “and” to an “or”.

The reason you can’t use “and” is because they would have to both change to present at the exact same time.

Thanks. I get it now. I wanted to use two presence sensors for security. Chances of someone detailing my phone and car at the same time are slim!

I guess I’ll just stick to using my iPhone as a presence sensor!

If one presence sensor consistently reports as “present” first, you can set it to be “changed” and “within 1 minute.” Then when the second presence sensor reports as “changes to” present, it should (in theory) trigger the “then” commands.

If neither one consistently reports first, you could always try an “or” piston where in the second half of the piston, you just reverse the order of the presence sensors.

Edit: On second thought, it may be easier to use variables, where when each of the sensors arrives, it adds 1 to a variable. When that variable reaches 2, then your “then” functions occur. You would have to set a “time-out” period (like 30 seconds) when the variable resets to 0, to avoid accidental openings.

Hi,

I have a circuit that keeps getting tripped and want to notify if the circuit goes down via Core. How would I setup an alert if the last event is more than 30 minutes old for a device?

I am new to using core. I am trying to set up a simple piston, but can’t seem to get it to work. I want to turn on two rgbw lights if there is motion but turn them off if there is no motion for 5 minutes. I tried a simple, but the lights don’t turn off after 5 minutes. Any ideas? Thanks!

A lot of users have been converting over to webCoRE, you’ll probably get more feedback there plus it’s easier to share pistons now.

wiki.webcore.co for install instructions

I should have been more clear. I am using webcore. Any suggestions?

Thanks

Ah, ok, let me paste a sample that you can import. Click the orange button and then enter the code from this piston. You can then edit/modify it to use your bulbs.

Trouble adding Delay/Wait
I’d like to have a light turn on after 15 seconds if 2 contact sensors are open.

I set up a basic piston as follows
If each of contact 1 or contact 2 is open
Using location wait 15 seconds
Then
Using overhead light turn on.

I also tried the wait 15 sec after THEN, but the light comes on as soon as the second contact opens.

Why no delay? What am I doing wrong?

Just in case you dont check the other thread again. Here is your answer

can you post a screenshot of your piston set up in this configuration? There must be something else causing it to not work correctly because that is the correct syntax for it to work as described.