[DEPRECATED THREAD] webCoRE Beta Milestone 1


( I hate Mondays) #1

webCoRE is currently in Beta Milestone 2. As a result, this thread has been deprecated and you should please follow the discussion on this thread instead. Thank you.

Exactly one year ago, CoRE was born (v0.0.000.20160429). It was meant to replace the gap that bravenel’s Rule Machine left behind when it was withdrew from the SmartThings platform on April 27th, 2016 (2 days earlier). It took 45 days to make it to Beta Milestone 1 and eventually made it to a (final) Release Candidate stage on September 20th, 2016. Soon after, CoRE has reached its maximum code size, pushing ST to the max. Partly because CoRE was no longer able to keep adding features and improvements, and partly because the shortcomings of not being able to backup pistons, on October 28th, 2016, webCoRE was born. Coincidentally, webCoRE was born exactly half a year after CoRE. Its main purpose, to fill the gap that CoRE was not able to. Fast forward 183 days (yes, half a year), webCoRE reaches Beta, exactly one year after CoRE was born. Coincidentally, of course. Wink wink.

Now, the warnings:

The legal boring stuff. This software is free to use, modify, distribute, install on a potato, anything you wish to do with it. As it happens, by using it, you must understand that I cannot be held responsible for anything that stems from the use of this software.

WARNING #2 This software is currently in a BETA release stage. If you don’t know what that means, PLEASE read this!

If you see any white text on a red banner reading “DO NOT SHARE WITH ANYONE”, it is probably best you follow that advice. There is a public way of sharing pistons (anonymized) and a private way. The private one is for you and you alone.

Things may still break here and there, things can get refactored here and there, depending on things we realize need changing down the road, so take this with a grain of salt.

As with the CoRE dashboard, opening the webCoRE dashboard may interfere with your IDE. This is because webCoRE is still using SmartApp endpoints underneath the hood, and opening a SmartApp endpoint in the same browser as the IDE causes the authentication cookies for the IDE to be corrupted, logging you out of the IDE. If you need to use both the IDE and the webCoRE dashboard at the same time, please try using two different browsers, or open the IDE in incognito mode.

Beta Milestone 1 will focus mostly on ironing out bugs and issues. While it will add some features, it’s main intent is to improve on stability and performance of the predecessor Alpha stage. Beta Milestone 2 will focus on adding features that we determine are needed during M1. The third and last milestone, M3 will again focus on stability and performance, before webCoRE hits the Release Candidate stage. But all in due time…

There are a few things that have changed between CoRE and webCoRE. I will add details about these at a later time.

There is a wiki. I am pretty sure there is a wiki. Not sure where it’s hiding, but there is one, I promise. You can look for it in the webCoRE dashboard, it’s hiding there, somewhere. While it’s not complete, it’s being worked on, so please, before asking for help, try and find your ways in the wiki first. The answer you need may be lurking there.

Please follow this guide to install webCoRE. If you survive, that is :slight_smile:

If you decided to install webCoRE and ran into any issue at all, please take a moment and share that experience so I can improve on it. Find the installation feedback thread here.

Many many thanks to everyone who helped developing this software. I don’t usually name people, for fears of forgetting anyone, but I’ll try a list (conveniently alphabetically ordered). If you helped and don’t find yourself on the list, sorry, please contact me and I’ll add you. If you find yourself on the list and don’t want to be there, tough luck. I was not able to mention the users (there is a limit of maximum 10 users being mentioned)


We need writers for the wiki. If you are a fluent English writer, please help us write the wiki. Please request an account here.

NOTE: It is not required, nor necessary to donate to use this SmartApp. This is a free open source software and it is my way to pay my dues to those before me. But if you feel like it, you can donate here.

[RELEASE CANDIDATE] CoRE (Community's own Rule Engine)
CoRE - Get peer assistance here with setting up Pistons
CoRE - Get peer assistance here with setting up Pistons
Core Noob User Need Quick Pointer
If Then Else in Core?
New to ST, need something similar to Vera Alerts
Piston with no event
Edit a SmartApp: Energy Saver
[DEPRECATED THREAD] webCoRE design process
CoRE for Dummies (How to get started and make your first Piston)
How to make SmartThings do what I need it to? Is it even possible?
CoRE - Get peer assistance here with setting up Pistons
Log thermostat changes, temperature based?
(Nathan Davis) #2

The parent source code is still ALPHA on Github and webcore is still telling me to upgrade.

(Nathan Davis) #3

Fixed now. Congrats on BETA!

(Adam V) #4

well done on getting this far - I wanted to find out about two potential features, and if they re likely to be on the todo list:

  1. In the original CoRE you gave us a method for defining custom commands and events in our device handlers, these could then be selected in Core to trigger something else. In webCore, although you can manually write what the custom command / event is, it would be nice if it pre imported it like it used to.
  2. I’m not sure if this is possible, but is it possible to export current pistons from core to webcore?

(Eric) #5

You cannot import from CoRE to webCoRE. That said, I can testify that I was able to take 120ish CoRE pistons and move them manually to webCoRE in 4-5 hours over a few days. I should also note that with the ease and flexibility of webCore I went from 120ish down to around 74. I’ve since added about 10 new automations taking me to 85. All in a single webCoRE instance. I had 20 CoRE instances. I recommend pausing your CoRE pistons instead of deleting them for now once you rebuild the functionality in webCoRE.

Think of this an an opportunity to use a much better tool and rethink your automations.

(Robin) #6

They are there under each device that has custom commands in the DTH… no ‘house’ icon anymore but recognisable as they each end with (…).

You can also send custom parameters with your custom commands :wink:

(Jordon) #7

When I go to update from repo and add it nothing shows up for me once I click on webCORE(master).

(Chris) #8

I searched the wiki but was unable to find instructions for potato installation. Any help would be appreciated.

( I hate Mondays) #9

You need all these “ingredients”.

( I hate Mondays) #10

webCoRE is trying to retrieve information about them from the DTH. I guess I will eventuallyadd those two commands - what were they, describeAttributes and describeCommands?

(Adam V) #11

Yes those are the ones. In the meantime it’s fine writing them in manually, but it was super convenient when it did it automatically!

(Glenn Brockett) #12

Working on migrating pistons over. (Just shutting the old ones off as I go.)

Is there a working dashboard for webCoRE? Right now it seems more like a placeholder for SmartTiles. :slight_smile: Will there be a dash like the one for CoRE?

(Glenn Brockett) #13

One other thing, Will direct editing be an option for users? or is it just an illustration of the choices?

I’m not complaining, just curious. The new interface is MUCH better than the old one.

Also, there is a copy/paste glitch. If I try to copy a new segment (even after clearing the clipboard) the old copied piece remains in the buffer.

(Robin) #14

After a piston has run once you get a ‘trace’ toggle switch below the preview window, which is similar to the old dashboard but with timings.

Also you can turn up the logging via the ST app to get more of an idea of what is happening in real time.

(Robin) #15

I’m not sure I understand the question?

(Glenn Brockett) #16

Will we be able to type in the code directly?

(Glenn Brockett) #17

I found the logging, I was kind of hoping for a truth table such as the CoRE dashboard had. (To see what conditions were satisfied)

(Robin) #18

The bars change between green / red in the same way the CoRE dashboard does.

You can type expressions manually but it’s all via the UI pop-up windows, doubt the ‘script editor’ will ever become a raw IDE, but you never know??

( I hate Mondays) #19

The “glitch” you speak of is actually a feature. The clipboard has 10 slots (last 10 copied blocks are retained). Trust me, the glitch took time to become a glitch and it really comes in handy.

(Marc) #20

Congrats! Just a heads up, I noticed one of my pistons that is supposed to refresh my Harmony Hub status wasn’t running for the last 3 days. I went in and paused it and re-enabled it, and now it’s working. I also upgraded to beta version as well. I realize without logs, this won’t be helpful, but wanted to see if this was a known issue?