help please with Code Device

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
deg026
Posts: 18
Joined: 06 Jan 2017 08:23

help please with Code Device

Post by deg026 »

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
tomshuette
Posts: 73
Joined: 29 Nov 2016 11:26

Re: help please with Code Device

Post by tomshuette »

use a logic modul ,
set trigger condition multilevel with Temp sensor,
set action our virtual binary switch

good luck
Post Reply