CodeDevice

Discussions about Z-Way software and Z-Wave technology in general
Post Reply
User avatar
10der
Posts: 80
Joined: 08 Jul 2016 00:23
Location: Ukraine - Berkeley, CA

CodeDevice

Post by 10der »

hi!

why my sensorBinary cannot be updated outside?

Code: Select all

 if (command === "on" && (vDevType === "toggleButton" || vDevType === "switchBinary")) 

Code: Select all

http://127.0.0.1:8083/ZAutomation/api/v1/devices/Code_Device_sensorBinary_34/command/on
nothing todo.

or m.b. wrong idea here?
I have external sensor. I do not want poll this sensor from ZWay controller, my sensor can call ZWay via ZAutomation/api/v1 and set right status.
my question is - how I can create such virtual sensorBinary

Thanks!
gsaw
Posts: 78
Joined: 22 Aug 2016 00:26

Re: CodeDevice

Post by gsaw »

use dummy device instead
User avatar
10der
Posts: 80
Joined: 08 Jul 2016 00:23
Location: Ukraine - Berkeley, CA

Re: CodeDevice

Post by 10der »

gsaw wrote:use dummy device instead
yeah, dummy device can't be r/o (without switcher)
Post Reply