Skip to main content

Antennas

Antennas are the BLE signal receivers installed in the site's zones. Each antenna captures the BLE advertisements emitted by the beacons and sends them to the server via MQTT for location calculation — the antenna itself acts as a gateway (BLE → MQTT), with no need for an intermediary device.

Iongrade's field antenna is the Radium Gateway. ION Guard is also compatible with third-party BLE gateways — currently the Minew MG4C —, which act as antennas in the same way.

Naming

On this page, antenna is the generic term for the Synapsys module's field device. Iongrade's antenna is the Radium Gateway; the Minew MG4C is a compatible third-party gateway. The instructions apply to both, except where indicated (e.g., the scan parameters specific to Minew gateways).

Antenna status

StatusIndicatorMeaning
PendingGrayRegistered but has not connected yet
OnlineGreen (pulsing)Receiving and transmitting signals
OfflineRedStopped transmitting signals
MaintenanceBlueTemporarily offline for scheduled maintenance

Antenna list

Antenna list with status and assigned zone

The Antennas page (/antennas) displays all antennas of the selected site:

  • Hardware ID — Unique device identifier (MAC address)
  • Label — Friendly name
  • Status — With a visual indicator (pulsing dot when online)
  • Zone — Assigned zone (or "Not assigned")
  • Last signal — When the antenna was last seen

Available filters

  • Search by hardware ID or label
  • Status: Pending, Online, Offline, Maintenance
  • Sorting by hardware ID, label, or last signal

Register an antenna

Antenna registration form

  1. In the antenna list, click "Add Antenna"
  2. Fill out the form:
FieldRequiredDescription
Hardware IDYesGateway MAC address (e.g., AC233FC22C94). Unique per site
DriverYesCompatible hardware driver (e.g., Minew MG4C Gateway)
LabelYesFriendly name (e.g., "Antenna - North Reception"). Max. 255 characters
Gateway IPNoGateway IP address on the local network (e.g., 192.168.1.100). Required for automatic provisioning
ZoneNoZone the antenna is associated with. Can be assigned later
  1. Click "Save"
Finding the gateway IP

Check the server's ARP table (arp -a) or the router panel to find the gateway IP by its MAC address. Minew gateways appear with a hostname in the format MG4C-xxxxxx.

Gateway configuration

After registering the antenna, it needs to be configured to send data to the ION Guard server via MQTT. There are two ways to do this:

ION Guard can configure the gateway automatically via its local HTTP API. This method is available when the server and the gateway are on the same network (on-premises installations).

  1. On the antenna details page, verify that the Gateway IP field is filled in
  2. Click the "Provision Gateway" button
  3. The system checks whether the gateway is reachable and displays its information (model, version, battery)
  4. Confirm by clicking "Provision"

Provisioning automatically performs:

  • Generation of unique MQTT credentials (username + password)
  • Sending the full configuration to the gateway (MQTT broker, topics, scan parameters)
  • Rebooting the gateway to apply the settings

After ~10 seconds, the gateway reconnects to the MQTT broker and starts sending data. The status changes from Pending to Online.

Regenerating credentials

When you re-provision an antenna that has already been configured, the previous credentials are invalidated. The gateway will automatically receive new credentials.

Manual configuration

For gateways that are not reachable over the network (e.g., SaaS installations where the server is in the cloud), configuration must be done manually:

MQTT Configuration guide with connection parameters

  1. Click "Generate MQTT Credentials" to obtain a username and password
  2. Click the MQTT info button to view the connection parameters
  3. Access the gateway's web interface (e.g., http://192.168.1.100) and configure:
ParameterValue
MQTT URLmqtt://{ip-do-servidor}:{porta}
Client IDAntenna hardware ID (e.g., AC233FC22C94)
UsernameValue generated by the system
PasswordValue generated by the system
Publish Topicionguard/{hardware_id}/signals
Subscribe Topicionguard/{hardware_id}/to
Response Topicionguard/{hardware_id}/from
QoS1
Keep Alive30 seconds
Save the password

The MQTT password is displayed only once at the moment it is generated. If you lose it, generate new credentials.

Scan parameters (Minew gateways)

Automatic provisioning configures the following default BLE scan parameters:

ParameterValueDescription
Upload Interval5sInterval for sending data to the server
Scan Interval100msInterval between BLE scans
Scan Window100msScan window (100% = continuous scan)
Active ScanYesCaptures advertising + scan response packets
RSSI Filter-90 dBmIgnores signals weaker than -90 dBm (noise)
MAC Filter^AC233F.*|^C30000.*Filters only Minew beacons
NTP Serverbr.pool.ntp.orgBrazilian time server
TimezoneUTC+3Brasília time

Zone assignment

The zone assigned to an antenna determines which zone the Location Engine considers when that antenna receives a beacon signal. Therefore:

  • Each antenna must be assigned to exactly one zone
  • A zone can have multiple antennas (improves accuracy)
  • Antennas without an assigned zone do not contribute to location calculation

To assign or change the zone, edit the antenna and select the zone from the dropdown.

Antenna details

Antenna details with hardware, zone, and MQTT information

When you click an antenna, the details page displays:

  • General information — Label, hardware ID, driver, status, assigned zone
  • Gateway IP — IP address on the local network
  • Gateway StatusConfigured on {data} when provisioned
  • MQTT Configuration — Connection data for reference

Available actions

ButtonFunction
Provision GatewayAutomatically configures the gateway (generates credentials + sends config + reboot)
MQTT GuideDisplays the MQTT connection parameters for manual configuration
Generate CredentialsGenerates or regenerates MQTT credentials (without configuring the gateway)
EditChanges label, zone, and gateway IP
DeleteRemoves the antenna and its MQTT credentials

Edit an antenna

On the details page, click "Edit". You can change:

  • Label — Friendly name
  • Gateway IP — IP address on the local network
  • Zone — Assign, change, or remove the zone

Delete an antenna

In the list or on the details page, click "Delete". A confirmation dialog appears. Deleting disassociates the antenna from the zone and removes the record.

Troubleshooting

Gateway does not connect after provisioning

  1. Check whether the gateway restarted (the LED blinks during boot)
  2. Wait ~15 seconds for the MQTT connection to be established
  3. Check the MQTT logs: docker logs ionguard_mosquitto_{deploy} | tail -20
  4. Confirm that the firewall allows the MQTT port (1883)

"Provision" button disabled

The button is disabled when the Gateway IP field is not filled in. Edit the antenna and add the IP.

Gateway responds but does not send data

  1. Check whether the MQTT credentials are correct: docker logs ionguard_mosquitto_{deploy} | grep {hardware_id}
  2. If "not authorised" appears, generate new credentials via provisioning
  3. Check the MAC filter (regex_mac) — only Minew beacons (AC233F*) are captured by default