I read the docs, but can't quite grasp how I'd go about listening for and processing events from my zwave lock. I see it has an association with the controller, so the controller should get the events... but now what? Are there any code examples or docs for that floating around?
I'd like to be able to log when the door is locked and unlocked.
thanks
How to listen for events from devices (locks)
DoorLockLogging Command Class
DoorLockLogging Command Class is not implemented yet, but the simple DoorLock.data.mode should also show the update of the lock mode. Please check the manual to see how to use JS API.Do you see the update of lock status in the UI in Locks tab?
Re: How to listen for events from devices (locks)
hi,
I'm new to the blog.
I recently installed z-way.
I add a device, using the expert interface, but I can not listen to the changes.
When the device changes state, z-way does not update the status.
How can I fix the problem?
thanks
I'm new to the blog.
I recently installed z-way.
I add a device, using the expert interface, but I can not listen to the changes.
When the device changes state, z-way does not update the status.
How can I fix the problem?
thanks
Re: How to listen for events from devices (locks)
Check log to see what comes from the device. With old locks it depends on manufacturer.
Re: How to listen for events from devices (locks)
hi,
thanks for the reply.
I checked the log file and I saw that the state changes are logged.
There is a function that can check the status changes?
Or do I have read the log file?
thanks
thanks for the reply.
I checked the log file and I saw that the state changes are logged.
There is a function that can check the status changes?
Or do I have read the log file?
thanks
Re: How to listen for events from devices (locks)
You need to bind to those dataholders, that changes during log status change. Please check our manual
Re: How to listen for events from devices (locks)
Good to hear. I hadn't noticed there was a new manual based on version 1.7
Since 29-12-2016 I am no longer a moderator for this forum
Re: How to listen for events from devices (locks)
Me neither
We are still polishing it, so it might become better and better. But it already describes number of new features.
