[RELEASE CANDIDATE] CoRE (Community's own Rule Engine)

if you plan to install more instances of the app, yes… if not… no.

I installed one too many when I first did it… so, I just it to make all of my examples for other people in…

I’m at 47 pistons and noticed CoRE takes awhile to load, and also awhile to save changes to pistons. Does splitting into separate installations make it quicker? If so, I’ll be doing this too.

when I first did it I noticed a marked improvement in performance.

I look at it like this… Look at the smartapps that ST has published. Small, mostly simple, one shot types of smartapps. apps that allow multiple installs. apps are limited in the amount of server time they get before being killed.

I see a system that was designed for apps like smart lighting… so, treat the more powerful apps the same way and they will run the same way… reliably.

1 Like

I added 3 additional installations tonight, moved 20 pistons from the old installation to the new ones. Huge difference in load times, the app is faster and the dashboard pages even load faster. I’ll probably do 2 additional installations tomorrow, that’ll give me a total of 6. With 47 pistons, that’s less than 10 per installation on average with room to grow.

1 Like

I’ve seen a number of references to virtual switches. Could you provide some information on how to create one? I’ve done some searching but can’t seem to find any documentation on how to create a virtual switch.

Thanks!

Here you go. PM or post if you have question.

2 Likes

Thanks for the link. It’s exactly what I was looking for.

1 Like

Ended up with 5 instances, working great. It’s back to being a snappy, responsive app with quick loading dashboard pages. My biggest instance is the Inside Lights one with 16 pistons.

Thanks again.

1 Like

Did you know that you can access a CoRE piston from a device’s SmartApps page? Go to a device that is used in a piston, select the SmartApps page on the top selection bar and tap that piston. This way you don’t need to open the main CoRE app all the time…

6 Likes

I ended up with five instances of core. Roughly 10 pistons per install. It does work faster. I like that. Mine is very similar to yours I have one install for notifications, and one install for routines, one install for all my rules that deal with motion.

My original install of core is now a hodgepodge of different kinds of pistons. Trying to figure out how to break that down even more.

3 Likes

Yes, I did know that. I try to do it as often as I can. But sometimes I need to go into the main core app to fix other things. :sunglasses:

This is a much faster way to get in, yes :slight_smile:

Hi there, first, amazing work. i am stunned with the concept and the realization so far. kudus.

Is there a way to invoke a pistol externally using an HTTP call,
such as
https://graph-na02-useast1.api.smartthings.com/api/token/{secret token}/smartapps/installations/{whatever parameters}

thanks !

So, I am so confused here. for some reasons I can get lights to turn OFF , but if I want them to turn on they do not.

see the timer just times the offs, but none of the on’s or set levels… . I’m going insane, this is my first piston and its killing me. Ideas? please help?

Have you tried this using just one or two lights first? Something simple just to see if it will work as expected?

There’s an IFTTT integration you might want to check out. Call a piston via IFTTT maker.

Thank you for your reply eibyer, but my question is exactly around this: what is the URL i should trigger in order to invoke a pistol ?

in CoRe i can set IFTTT as a trigger, and to define a value in it (i did “Lights_Off”). but how i send an IFTTT event with this value ?

thank you.

Here’s the instruction straight from the dev :slight_smile:

Here’s one of my test pistons.

IF
● IFTTT event 'IFTTT_Call_Test' was executed
When true...
Using location...
► Send Push notification 'IFTTT_Call_Test was called from an IFTTT URL' 

This was called from URL:
https://graph.api.smartthings.com/api/token/secret_stuff/smartapps/installations/secret_stuff/ifttt/IFTTT_Call_Test

Put them all in one action. Actions start at the same time, so your waits are overlapping.

1 Like

Yes, I have , and actualy, it worked… then I started adding more, just one at a time, and it stopped working for a few “THEN”'s.

I’m confused.