Lot Detection Change
Sent when the state of the lot detection changes and if the occupancy changes
Event Example
socket.on("lot_detection_change", data => {
console.log("Event data received: ", data);
})
Event Payload
interface Data {
id: number;
detection_status: string;
occupied_count: number;
}
interface LotDetectionChange {
lots: Data[];
}