Locker Controller Admin Interface
Congrats on Finding this Page
Avaiable Routes:
GET /This Page HereGET /allJSON Summary Table of All DevicesGET /<MAC>Log Table for a specific device. Optional count and offset URL params for paginationPOST /<MAC>Add a new log entry for a Device
Payload
devices: [
{
id:int, // MAC Address of the device as a 12Char Hex String (MSB First)
col_addr:int, // Column address, as set by the DIP switches
config:int, // Configuration State of the additional 4 Dip Switches
is_active: bool, // If set to False, the device doesnt actuate or report changes to the Lock
uptime_hrs:int, // Uptime since last reboot (in hours)
lifetime_hrs: int, // How many hours TOTAL has the board been online
reboot_count:int, // Increased with every Power-Cycle of the Board
lock_operation_counts: [
1: , // How often has Locker #1 Opened
2: , // How often has Locker #2 Opened
....
16: // How often has Locker #16 Opened
]
ble_enabled:bool, // True = Report BLE Tags, False = Dont Report
ibeacon_header:str, // Hex String that identifies MAC addresses
mac_address_lsb:bool, // True = LSB, False = MSB
}
]
Problems?
Talk to Hayden. You have his contact details