If don’t have a notification how do you use the pistion ?
Monitor sump pump
Nice work.
Is there any way to integrate WebCoRE dashboard tiles with ActionTiles? I haven’t seen anything; just thought I’d ask if anyone hacked together a solution. I know there is a request on the ActionTiles forum for WebCoRE integration.
I have the code of your from above how does it connect in to Gauge Tiles & Piston State Display for Energy Reporting Devices
That’s literally just “Send notification” and “Send SMS notification” under Actions -> Location
I should have been clear in my question was it in it own piston or the first code you posted
Sorry for the misunderstanding.
The code was with that first thing I posted with the time calculations, not with the tiles.
I like to keep many separate pistons, each with their own function or sub-function and triggering other pistons via changes in variables (not by directly triggering the piston). It may not be the most efficient to have a cascade of pistons firing when something happens, but it means I can alter stuff modularly.
i was look at the gauge code the last active code is missing
also I tried that I got 2 email at a time instead of one
FYI, you can skip all the /60000, /1000 math operators.
Been testing this one and it works, using formatDuration():
I am have trouble get the gauge to read correct as im not sure wht to set variable type to
I don’t think those global vars should be using 2 “@@” at the beginning of them.
Global variables should be a single “@varName”
Are you actually getting valid data for your global variables? you should be able to check that on the piston page as shown here:
In that example, you can see I’m populating valid data into “sumpTriggerTime” and “sumpDuration”.
So first thing is to make sure you have valid data. Only then can you look at writing to gauges.
Single @variables are global variables, but we now can use double @@variables to make the variable accessable to other instances of webCoRE.
The reason for the super variable is because when ties are used you nee two instances of web core