Hi all I have looked all over the the builder what statement type are these in the piston builder
set Interval as “LastTriggeredTime” - $now and set “LastTriggeredTime” = $now .
set “Duration” as $now - LastTriggeredTime.
Hi all I have looked all over the the builder what statement type are these in the piston builder
set Interval as “LastTriggeredTime” - $now and set “LastTriggeredTime” = $now .
set “Duration” as $now - LastTriggeredTime.
What statement type? Those look like they’re just “Set Variable” to me, if that’s what you mean? The last one has some math to it so you’d have to change the blue dropdown box (I think it’s defaulted to Value) to Expression.
What i went is date an time it started how long on then put that in 1 email
and a way to track time between
This piston above will send an e-mail with this in it (I logged to console to get this sample):
Can you turn logging on full, let the piston execute and send an email, then post up the logs? Can fix it then.
Hi michicago,
I been looking at going the next step on this code I like to track the time between off and on how would you go about that ?