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 » 21 Feb 2017 18:05

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: 63
Joined: 29 Nov 2016 11:26

Re: help please with Code Device

Post by tomshuette » 24 Feb 2017 23:50

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

good luck

Post Reply