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:
name
parameter will belock
orinvalidCode
value
parameter will belocked
,unlocked
,unknown
etc- 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 bemanual
,auto
,command
,keypad
,bluetooth
,rfid
etc - A field called
usedCode
which 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
$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