[DEPRECATED] webCoRE Beta Milestone 2

Hi - I noticed twilio sms two-way setup in the source that is commented out.

I am wondering what this will be, as having a piston respond to an SMS message and performing a task and responding back would be very interesting.


I am having the same problem - I grabbed the updated code off github, pasted it into the IDE, saved and published, and all four webCoRE Smart Apps show they are 0.2 in the IDE, but on my phone the installed Smart App doesn’t seem to update no matter what - I signed out and back in, I removed the Smart App on the phone, signed out and back in, and, when none of that worked, I removed it on the device and deleted all four apps in the IDE, and then reinstalled them. But when I go to install in the mobile app, the version still hasn’t updated. It installs fine, but I still get the upgrade warning when the browser opens to set up pistons. Thoughts?

There is a github issue with ST again… I had to manually upload the code to github

In the works. Planning on getting dialogs where you can have an actual dialog with a piston


Ah, my install was a manual one, is there a special upgrade process for manual vs. github installs? I poked around in the wiki but didn’t see anything along those lines.

@ady624 Something seems amiss with using expressions when sending push notifications to contacts: in the following piston

Looking at the Send notification step in the editor, it evaluates correctly:

However, the actual notification I received is:

It seems as if uses some intermediate value of the replacement rather than the final results to send the notification. Is this a command optimization issue or something else I can do on my side (other than assigning to another variable first)?

I’m wanting to do a Piston which when you run a routine, waits for “no activity” for 2 minutes then switches a light off, I’d have thought the below would work.

“However I’m getting ║║Error calling comparison comp_was: java.lang.NullPointerException: Cannot get property ‘id’ on null object” in the logs.


If Routine executes…
Then (Here put another If)
If Motion is inactive
Using Bulb
Wait 2 Minutes
Turn Off

Add webCoRE to github
Then when you update (in IDE), goto SmartApp-Update from Repo-webCoRE-then select webCore and the Child Apps and be sure to click publish then execute.

When updating you can do them all at once

1 Like

When the routine runs I want the bulbs to switch off 2 minutes AFTER the last movement.

That’s exactly what that will do. If there is motion within the 2 minute wait period, the counter will reset. Cancel on Condition State Change is on by default.

Old Habits. Thanks! Fixed above.

1 Like


I am new to webCoRE since I just discovered this after getting into CoRE.

Do I have to always first define my devices at the beginning of the program/script before including them into my condition or action? I would just first review the webCoRE wiki as i did with CoRE’s, but it looks like it’s down as write this.

Anyway, i know in CoRE there are predefined devices that i already have listed in Smartthings. I was wondering if i can just do a lookup for the devices in webCoRE UI, while i write out my script rather than manually type all my devices out?


Have you actually used webCoRE yet? Or is this a preemptive question?

You don’t type** into webCoRE, the output display looks typed.
You pick triggers, conditions, actions, select devices, etc. from menus. You then get that typed output as a result of your selections.

It’s been some time since I set it all up, but I believe you install the webCoRE apps, run through the setup on your phone, make the devices available to webCoRE, and then you can get to work on the web interface.

** NOTE, there will be typing, as in, variables, comments, etc. As you get more advanced.

If you go into the settings for WebCoRE you can define your various devices by attribute.
Motion sensor, switch, light etc.
Then when you define a piston, you can pick the various devices from a drop down list.
Makes it very easy.
Edit. As said above. :slight_smile:

Also, he might have seen some pistons where a device type variable is defined.

You don’t have to define any variables (unless your piston has a complexity that really calls for variables) - some people define variables and put their devices in those variables because they later down the script use the variable instead of the actual devices. The main benefit of this is you can later change that variable to contain more, less, or different devices, as you need. It just makes it much easier to add/remove/swap devices at a later time, as you only have to change one spot. But you don’t have to do that. Programmer-like-thinkers do that.

no. actually using it from a web browser to build out an automation. at least i am in the beginning stages that is.

Exhibit A:

As you can see $devices is a variable. I was just hoping to limit typing there would be a link of some kind for devices that map to my actual devices that i have in the Smartthings app. if i have to declare all the devices, sobeit.

I see what you mean.

Just getting my feet wet that/s all.

EDIT: I found where you need to identify the smart devices you have already configured with smartthings, to add to webCoRE’s configuration. it’s found in the webCoRE smart app itself; under Settings.

i have what i need now.

thanks for the help.