Skip to content

Georgia ๐Ÿ‡ฌ๐Ÿ‡ช GCAA Registry โ€‹

Namege-gcaa-registry
CountryGeorgia
Registration prefix4L-
Data sourcehttps://gcaa.ge/civil-aircraft-register/
FormatHTML (two pre-rendered tables on a fixed page)
Run frequencyWeekly (Tuesday, 19:10 UTC)
Depends on Mictronics for ICAO hexYes โ€” this runner does not publish ICAO hex addresses; registrations are resolved via RediSearch against Mictronics records (idx:aircraft:mictronics). Must run after the mictronics runner.

How it works โ€‹

The Georgia Civil Aviation Agency register page is fetched and two identically laid-out HTML tables are parsed by element id: table_1 (operator data) and table_2 (owner data). Rows from both tables are merged by registration mark: aircraft fields (type, serial number, year of manufacture) are taken from whichever table supplies them first, and registrant.names is built from table_2's owner only โ€” per team decision, only ownership data is imported, not operator data, so table_1's party column is never read for names (it is still fetched and parsed for its aircraft fields). Every written record explicitly sets military: false โ€” this register is exclusively civil, and the explicit value ensures a stale military: true flag (from Mictronics or a prior record on a reused hex) is corrected on re-registration.

Columns โ€‹

Both tables share the same column layout.

Source columnImportedNotes
Operator (table_1 col 0)โŒPresent in source; not read by this runner
Owner (table_2 col 0)โœ…โ†’ registrant.names[0]
Aircraft type (col 1)โœ…โ†’ aircraft.model; merged from whichever table provides it
Registration (col 2)โœ…4L-prefix; used as the Mictronics lookup key
Registration date (col 3)โŒParsed but not stored
Serial number (col 4)โœ…โ†’ aircraft.serial_number; merged from whichever table provides it
Year of manufacture (col 5)โœ…โ†’ aircraft.manufactured_date (as YYYY-01-01); merged from whichever table provides it

See specs/data-dictionary.yaml (ge-gcaa-registry entry) for full column semantics and cross-source schema notes.

Example Output โ€‹

Read back the merged record for a given ICAO hex (combines this runner's data with Mictronics and any other sources that have written to the same key):

bash
docker run --rm --network host redis:latest redis-cli EVAL "$(cat ./shared/lua/merge_aircraft.lua)" 0 51404B | python3 -m json.tool --sort-keys --no-ensure-ascii
json
{
    "aircraft": {
        "manufactured_date": "2000-01-01",
        "manufacturer": "BOMBARDIER",
        "manufacturer_model": "BOMBARDIER Regional Jet CRJ-200",
        "model": "CL-600-2B19 (CRJ)",
        "serial_number": "7442",
        "type_designator": "CRJ2"
    },
    "data_sources": [
        "mictronics",
        "ge-gcaa-registry"
    ],
    "icao_hex": "51404B",
    "military": false,
    "registration": "4L-TGB"
}
bash
docker run --rm --network host redis:latest redis-cli EVAL "$(cat ./shared/lua/merge_aircraft.lua)" 0 514D03 | python3 -m json.tool --sort-keys --no-ensure-ascii
json
{
    "aircraft": {
        "manufactured_date": "2002-01-01",
        "manufacturer": "BOEING",
        "manufacturer_model": "BOEING 767-300",
        "model": "Boeing 767-300",
        "serial_number": "29390",
        "type_designator": "B763"
    },
    "data_sources": [
        "mictronics",
        "ge-gcaa-registry"
    ],
    "icao_hex": "514D03",
    "military": false,
    "registration": "4L-GTR"
}

Configuration โ€‹

See Data Runners for the full list of environment variables every runner reads. This runner writes aircraft:registry:{icao_hex} with a fixed 14-day TTL (ENRICHMENT_TTL_SECONDS in shared/timing.py).

MQTT โ€‹

Published once, at the end of a run, to SkyFollower/runner/ge-gcaa-registry/statistic/{name} (all retained):

Topic suffixValueFormat
records_importede.g. 271Integer as string
last_run_ate.g. 2026-07-07T14:32:01.123456+00:00ISO 8601 UTC
last_run_statusSuccess or FailureString

Home Assistant autodiscovery configs are also published (retained) to homeassistant/sensor/SkyFollower_runner_ge_gcaa_registry_{name}/config for each of the three stats above.