weak api documentation

Discussions about RaZberry - Z-Wave board for Raspberry computer
Post Reply
skohrt
Posts: 3
Joined: 24 Feb 2016 10:41

weak api documentation

Post by skohrt »

Hello!

As I am a pretty new user, I must learn quickly, that all the mentioned documentation regarding api is either outdated, incomplete or simply not really helpful.
Therefore I just want to share each bit I find out by trying.

If you want to receive the single information of updateTime and value of a SensorBinary with the nodeID=2, the http-api-commands read contrary to other publications:

http://yourIP:8083/ZWaveAPI/Run/devices ... updateTime
result: 1456407015 (unix timestamp)

http://yourIP:8083/ZWaveAPI/Run/devices ... evel.value
result: true or false

Frequently you see:
http://yourIP:8083/ZWaveAPI/Run/devices ... el.valueOf()
which does not work at all.

Best regards,
skohrt
Post Reply