Resolve a Delayed Room Assignment

Resolve a Delayed Room Assignment

Try Press Step to follow the Hallway request from the cloud controller into the queue while the hub still shows Bedroom.

Resolve a Delayed Room Assignment

Step-through

Given a delayed request to move a device between rooms, identify the authoritative room assignment, explain why the late write fails its version check, and describe how the out-of-date controller recovers.

The lamp stays physically in place throughout.

Hub

Room assignment authority

Device ID · lamp App room · Bedroom
Original version

Local controller

May request a room move

Device ID · lamp App room · Bedroom
Original version

Cloud controller

May request a room move

Device ID · lamp App room · Bedroom
Original version

Audit · source / route / result

Source · Hub
Route · Local and cloud views
Result · Shared original record
Assignment evidence shown above.

Both controllers start from the same room assignment. The hub keeps the definitive copy.

Observe The Hallway request starts as Pending, the hub and local controller switch to Living Room, and by Frame 4 the audit shows Rejected while the cloud view still shows Bedroom.
Explain At Frame 4 the hub rejects the Hallway request because it carries the original version, while the earlier local edit has already committed Living Room as the updated version.

Technical boundaries. The scenario tracks one lamp whose physical location stays fixed while its room label changes in the app. It shows one queued cloud request and one local edit, with the hub owning the room record and comparing and committing a successful edit in one operation.

Back to the chapter