Controlling and Querying devices

Discussions about Z-Way software and Z-Wave technology in general
hp1
Posts: 29
Joined: 09 Jun 2015 07:00

Re: Controlling and Querying devices

Post by hp1 »

OK, well that was interesting. The command actually worked. That code opened the door and looking at

curl --globoff "http://razberry:8083/ZWaveAPI/Run/devic ... rCode.data" I can see an entry for a user 10.

pofs
Posts: 688
Joined: 25 Mar 2011 19:03

Re: Controlling and Querying devices

Post by pofs »

Get() / Set() commands always return null, because they're just queuing command for device. It may take some time till device wakes up and command is actually delivered, so there's no reason for them to return anything. When there's a reply from device, it will update corresponding value in the device subtree.

User avatar
PoltoS
Posts: 5525
Joined: 26 Jan 2011 19:36

Re: Controlling and Querying devices

Post by PoltoS »

Null means command queued. The read UserCode.data.xxx. See log

Post Reply