Question about webcore?


#1

I am wondering if it is possible to see what the data is in a devices variables. I am using Webcore in HE and I am trying to find where the Ecobee Mode ie: Home, Away, Sleep variable is located so that I can use it (possibly) to change the HE mode accordingly.


#2

The easiest way is to “Log to console” and point it to the variable you are curious about.
You can even do that multiple times in your code to see the variable at different times as the code is being processed.

temp


#3

So if I just create a piston to log to info the variables that I am trying to figure out and then test it, will it log the info? I did this and this is in the logs:
+100ms ║║Executed virtual command [EcobeeTherm: Ecobee].log (1ms)
but I don’t see anything else. Where is the log?


#4

The log should be directly below the piston when not in edit mode.
It should add a new line to the log each time the piston fires.
(please post a green snapshot of the piston if it does not)


#5

This is the piston I have setup just to try to see what is in the variable.


#6

Oh, I don’t think those are called variables. That is what threw me off.

You can see the current info of any device by using this format in an expression box:
[Exact Device name : parameter]

Like this:

temp


Alternatively, for a bit more info, you can enable the console up top:
temp

and then at the very bottom, change to ‘Expression’ and type in the same code there:
temp