[EDGE] Universal Enhanced Z-Wave Lock Driver for Schlage, Yale, Kwikset, IDLock, Popp, Danalock, August Pro, Keywe, Philia, Samsung

Many folks have been asking how to use the DTH’s extended information in CoRE and WebCoRE. Here’s the short answer (this is not a complete guide to CoRE or WebCoRE pistons, just a tip).

Basic structure of the event:

  1. name parameter will be lock or invalidCode
  2. value parameter will be locked, unlocked, unknown etc
  3. There will be a data parameter which contains extended information like:
    • A field called method contains the source of the lock or unlock event. This could be manual, auto, command, keypad, bluetooth, rfid etc
    • A field called usedCode which represents which user slot (code) was used to lock/unlock

To use the extended information from the data parameter in WebCoRE/CoRE:

Use the $args variable in WebCoRE e.g. [$args.usedCode] or [$args.method]

Use the data variable in CoRE (enable Expert mode) [data.usedCode] or [data.method]

usedCode contains the user slot number that was used for the lock or unlocked event (if present)
method contains the source of the events (e.g. keypad, manual, command, rfid, bluetooth etc)

Feel free to bookmark this post for future reference and continue the discussion here