Antenna Control
The U300 supports up to 8 antenna ports. Parlevel lets you enable or disable individual ports per location and persists the selection to Supabase so it survives relay restarts.
Setting active antennas
Via the UI
- Go to Locations → [Location Name] → RFID tab
- Scroll to Antenna Control
- Toggle individual antenna ports on or off
- Changes apply immediately — the relay is updated in real time
The selection is saved to the location's device_config row in Supabase and reapplied automatically every time Start RFID is clicked.
Via the API
POST /api/rfid/u300/antennas/mask
Authorization: Bearer <token>
x-selected-location: <locationId>
Content-Type: application/json
{
"antennas": [1, 2, 4]
}Valid port numbers: 1 through 8. Omitting a port disables it.
Persistence
When you toggle an antenna in the UI (or call the mask API), two things happen:
- The mask is sent to the relay immediately (
POST /antennas/maskon the U300) - The selection is saved to
device_configin Supabase asu300.antennas: [1, 2, 4]
On the next Start RFID, the saved mask is reapplied before ingest starts — so you never need to re-configure after a relay restart.
Priority order
If u300.antennas is empty ([]) in the saved config, the relay uses whatever antenna configuration it already has (hardware default = all ports active). A non-empty array always overrides.
Reading current status
GET /api/rfid/u300/antennas/status
Authorization: Bearer <token>Returns configuredAntennas: [1, 2, 4] from the live relay state.
GET /api/rfid/u300/config
Authorization: Bearer <token>Returns the full persisted config including result.u300.antennas.
Physical layout tips
- Ports 1–4 are typically on the front panel
- Ports 5–8 are on the rear panel (8-port model)
- Disable unused ports to reduce read noise from adjacent areas
- For a single bar station, 1–2 antennas directly under the shelf are usually sufficient