Sensor Monitor
Lab Exercise 2
Bulb Output
Physical output
ESP32 bulb state
Current stateoff
RFID scannone
Updated-
Lab control
RFID-authorized switch
The apps request the bulb. The backend waits for an RFID scan before allowing the ESP32 to energize the output.
POST /bulb { enabled: true } then POST /bulb/rfid-scan
Off commands still work from the apps so the lab can be reset quickly.