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:
nameparameter will belockorinvalidCodevalueparameter will belocked,unlocked,unknownetc- There will be a
dataparameter which contains extended information like:- A field called
methodcontains the source of the lock or unlock event. This could bemanual,auto,command,keypad,bluetooth,rfidetc - A field called
usedCodewhich represents which user slot (code) was used to lock/unlock
- A field called
To use the extended information from the data parameter in WebCoRE/CoRE:
Use the
$argsvariable in WebCoRE e.g.[$args.usedCode]or[$args.method]
Use the
datavariable 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