can somebody help me
i need to create virtual device
that will be triggered 'on' when value from one of mine TEMPERATURE SENSOR < X
i was thinking to use for this solution Code Device module
i have created binarySwitch type, but i dont understand how i can access to TEMPERATURE SENSOR value
can somebody help me what JS code i can use in "Code to get value" field
help please with Code Device
-
- Posts: 73
- Joined: 29 Nov 2016 11:26
Re: help please with Code Device
use a logic modul ,
set trigger condition multilevel with Temp sensor,
set action our virtual binary switch
good luck
set trigger condition multilevel with Temp sensor,
set action our virtual binary switch
good luck