I'm trying to test the LoggingGet functionality on a lock with the command
"runJS('zway.devices[2].LoggingGet(10)')" at the javascript console of the UI. That generates an internal server error. The log is below
[2013-10-29 08:40:16.786] result: Error: Uncaught TypeError: Property 'LoggingGet' of object # is not a function
How do i test this function? I would like to see what is returned. Can someone please post a small example of how I would call it from the console?
Can't use LoggingGet function on lock - please post example
should be DoorLockLogging.Get
should be zway.devices[2].DoorLockLogging.Get(10)
I can make the call now, but no data comes back
So calling runCmd("devices[4].DoorLockLogging.Get(10)") calls the following URL
http://raspberrypi.local:8083/ZWaveAPI/ ... ng.Get(10)
but the response there is null. I see activity in the server log, but how do i get the data back as an API client?
http://raspberrypi.local:8083/ZWaveAPI/ ... ng.Get(10)
but the response there is null. I see activity in the server log, but how do i get the data back as an API client?
.Get() commands always return
.Get() commands always return null as a sign that the call was successful. Next to this call I would expect you need to read from the Z-Way data tree what is returned for this device.
Since 29-12-2016 I am no longer a moderator for this forum