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

Yes and no. I’m not that type of programmer so I don’t know all
The ends and outs of programming web pages, which I assume
Webcore is. Browsers update all the time and I have seen in the
Past where websites have to modify to keep working. That isn’t
Right, but it is what it is.

What actually happens is everytime I go to the dashboard I have
To re-authenticate. Which means get a code from the smartapp,
Enter password. That is annoying, but not the end of the world.
Then when I click on a piston, it shows up with the word such
As IF and Then, but no actions are there.

Please understand, I’m not mad or upset, just curious as to what
Is going on. It is so convenient for me to check on things using my
Tablet rather than going to the computer. And sometimes when
I have created a new piston and it needs to be checked when I’m
Not at home it is handy to just bring it up on my phone to see if
It ran or not. Not a big fan of Firefox, but it is what it is I guess.

I was in the middle of typing a reply when you posted the question. I explained it there. If there is some setting in Chrome that might have changed let me know. I just can’t figure it out.

I see what you mean.
I loaded chrome and as you say, no actions/conditions etc. seem to be populated.

Yep, that’s it. I was just trying to get a pic to post, but you beat me to it.

And the authentication doesn’t seem to save. Have to re-authenticate everytime I try to go into it.

Any chance at getting some logs from the browser? I know it’s Android, but maybe it has a console with error messages?

I’ve been having the same problem. Started with my Chromebook, which runs Chrome browser exclusively. I am on the Beta version so I can get Android apps on the Chromebook. But even when I switch back to the standard version, it has the same behavior. Then it began with the Android version. I expect we will see the same behavior on Windows next time it updates. I’ll see if I can get a log from Chrome

That’s what I am afraid of, that the same thing will happen on a windows chrome update.

I can’t seem to find a way to get logs from the Android version. I’ll keep trying tho.

Cannot seem to find anything in the menus for console or logs. Sorry.

I found a log page for Chromebook, but I have no idea what I’m looking for. There are several pages.

Wondering if I should be building more pistons for each targeted task/device or if I can comebine them? Right now I have all my contact sensor if/then statements in one piston and all my motion sensor statements in one as well. I noticed, however, that one of my two motion sensors doesn’t turn on the targeted light but the other does (the one that is first in the script). The strange thing is that it worked fine during testing.

Any help is greatly appreciated, I love the new interface and the idea of having this all setup so nice and clean is awesome!

The attached script is for the motion sensor events I use, the one that doesn’t work is the “Bedroom” (it’s a light) which is based around the Bedroom Motion Sensor.

Thanks so much,

Perhaps you need to make all your ifs async.
Which one is your bedroom. Can see no reference to it in the screenshot.

Yeah, you’re right … I missed that WAIT in the first WITH block … scanning a piston with half-closed eyelids don’t work too well early in the morning (or any time of day/night, for that matter), LOL

Oops, sorry about that. The bedroom is the motion sensor 1 IF block.

What do you mean by make them “async?”

Go to each of the the ‘If’ blocks and click on it and then the gear ‘cog’ and choose to execute each of them Asynchronously. By default, webCoRE executes all blocks synchronously (all together at the same time)
THE INFO IN THE PARENTHISIS IS WRONG!

Click the With in each If Block then the gear icon and the option is there.

When my alarm goes off (using SHM) I want to get a notification as to what triggered the alarm. Will the following piston do this ok?

On your chrome book, can you check for errors in the browser’s console (F12)?

I got a huge log file. Can I email to you or what? It’s too big to post.

Here’s part of it:
webCoRE.min.js:629 Loading piston…
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1163)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1125)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1163)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1125)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1163)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘comparisons’ of null
at b.$scope.renderComparison (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:1125)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘commands’ of null
at m.$scope.getCommandById (webCoRE.min.js:629)
at b.$scope.renderTask (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:460)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘commands’ of null
at m.$scope.getCommandById (webCoRE.min.js:629)
at b.$scope.renderTask (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:460)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘commands’ of null
at m.$scope.getCommandById (webCoRE.min.js:629)
at b.$scope.renderTask (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:460)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127 TypeError: Cannot read property ‘commands’ of null
at m.$scope.getCommandById (webCoRE.min.js:629)
at b.$scope.renderTask (webCoRE.min.js:629)
at fn (eval at compile (webCoRE.min.js:245), :4:460)
at webCoRE.min.js:133
at m.$digest (webCoRE.min.js:150)
at m.$apply (webCoRE.min.js:153)
at l (webCoRE.min.js:106)
at webCoRE.min.js:111
at HTMLScriptElement.m (webCoRE.min.js:110)
(anonymous) @ webCoRE.min.js:127
(anonymous) @ webCoRE.min.js:99
$digest @ webCoRE.min.js:151
$apply @ webCoRE.min.js:153
l @ webCoRE.min.js:106
(anonymous) @ webCoRE.min.js:111
m @ webCoRE.min.js:110
webCoRE.min.js:127

Is there a way to set time zone for webCoRE? I have a piston that is supposed to trigger at 10:30 PM and it has been going off at 3:30 AM instead:

Any idea why? Thanks in advance!