Device properties logging

logging

(Joel Day) #1

I’m a professional developer and I just learned about webCoRE. I must say I am very impressed! The IDE like environment is truly an innovative app building interface and I’m really enjoying using learning about how to use it.

I just learned about the “Advanced Options” toggle, which I didn’t find much about in the documentation. I’m now building more complex pistons, which require logging. I’m trying to log things like current level for a dimmer switch, and I can’t figure out a way to get that value directly.

Currently I’m setting the dimmer level value to a local variable and logging that to an expression. There must be a better way!

Is there any way to do something like this:

$currentEventDevice + "  has a current level of " + $currentEventDevice.level