Meshloom Community

Join, bind an IATA code, publish overheard packets, and share hashtag names.

Meshloom Community is an optional network of observers. When it is on, your server can:

  • publish the raw packets your radio hears to the official Meshloom Stats servers;
  • use the community directory, which gives names to hops, powers RF locate and the “heard by” counts, and feeds the Live page and the radio test;
  • share and look up the names of hashtag channels in a single global list.

It is not an integration you create in Settings → MQTT & Automation. You join and leave from Settings → Meshloom Community.

Joining

  1. Open Settings → Meshloom Community.
  2. Enter the IATA code of the nearest airport: three letters, such as CDG. If you are not sure, click Suggest codes (see Suggested codes for what it sends): Meshloom then suggests up to two codes under the field: the code used by your Community neighbours (the one most declared by active Community members near your radio) and the nearest airport, or a single code when they are the same. Click one to fill the field, or type another code: nothing is chosen for you. If you do not know your code, look it up with Browse IATA airport codes.
  3. Click Join Meshloom Community.

Joining is the only way to turn Community on from the settings: there is no on/off switch, and Leave Meshloom Community (shown once joined) only turns it off. Meshloom first registers the code with Community, and only then turns Community on and starts publishing. If Community refuses the code (for instance because this radio already changed its code too often in the last 7 days), Community stays off, your saved code does not change, and the settings say why.

The code is a coarse label for your region, not a precise location. Meshloom compares it with your radio’s position and tells you whether the two agree. If you are sure of your choice despite a mismatch, I am sure confirms it. Community limits how often the code can be changed. Community drops that confirmation when your radio’s position moves more than 100 km (by default: the IATA_GPS_HYSTERESIS_KM setting on the Community side) from the one it recorded: since Meshloom now sends a new position on its own (see below), this can happen without anything done in the settings, and I am sure shows again if the code and the position still disagree.

The code is also the region the Live page shows by default; you can add other regions there.

Until a code is saved, a banner stays on screen. Publishing packets, the Live page, publishing hashtag names and channel look-ups wait for that code. The directory (hop names, RF locate, “heard by”) does not need it. While Community is off (as on a new install, or after you leave), you can dismiss the banner for good in that browser with Don’t show again.

Suggested codes

Nothing is asked until you click Suggest codes, in the join form or in the code field once joined. Your server then sends your radio’s position, rounded to about 1 km (two decimals) even when your adverts broadcast it, to Community once. This is the one request the settings can make while Community is off or waits for a position, and only on that click. Community records no code and binds nothing, but the request goes through Cloudflare and, like any request, shows in Community’s access logs with your IP address and that rounded position. Community only answers the code its active members near that position declare most (only when at least two members are around, so no single member decides it) and the nearest airport. Without a position on your radio, nothing is sent and nothing is suggested. If Community cannot be reached, the nearest airport comes from a list built into Meshloom, with the same rule as Community (no heliports, no seaplane bases, no city-wide codes such as PAR).

Meshloom no longer calls any outside airport search. The Live page places the chosen regions on the map from the same built-in list, without any request.

Waiting for a position

Community needs to know roughly where your radio is: it places each observer on its map to show where packets are heard. While Community is on but your radio has no position (none set, or MeshCore’s “no GPS” 0, 0), Community waits for your position:

  • a banner says “Meshloom Community needs your position to work”, on every page, the settings included;
  • your server keeps its connection to the Community broker only to publish its status, marked as waiting for a position, so Community knows the observer is there;
  • no packet is published, and the Live page, the directory (hop names, RF locate, “heard by”), the radio test, the statistics and the hashtag names and channel look-ups are all off, as if you had left. The Live page, the “heard by” details and the radio test say Community needs your position and offer to choose it.

You can join while your radio has no position: Community then starts in this state. From the banner:

  • Choose my position opens a map. The point you pick is saved on your radio (as in Settings → Radio). If the radio’s Advert Location Source is Include Node Location, its adverts will also broadcast that position over the air to every node in range. As soon as the radio reports it, Meshloom sends it to Community with your code (rounded to about 1 km unless your adverts broadcast it, see below): the confirmation says the position is being sent, and the banner goes away a few seconds later. Only once Community has accepted it does Meshloom publish its status again and bring everything above back, without a restart. If Community cannot be reached, it keeps waiting and tries again after 1 minute, 5 minutes and 30 minutes, then every 30 minutes for as long as Community waits for the position.
  • Learn more explains why, and offers the same choice or Leave Community, which is the usual opt-out (see Leaving).

Meshloom checks the position as soon as it recognises the radio, before anything is sent to Community. If the radio is disconnected, or not yet recognised after a reconnection, Meshloom keeps the last state it knew, also across a restart: the banner does not come and go while the radio reconnects, and nothing is sent to Community before the radio is back. Removing the position from the radio (setting it back to 0, 0) puts Community back in the waiting state at once.

New installs

A brand-new database starts with Community off: joining is your choice, made in Settings → Meshloom Community. No environment variable turns it on, sets the code or changes the Community servers, which are fixed (mqtt.meshloom.app and api.meshloom.app).

MESHLOOM_COMMUNITY, MESHLOOM_COMMUNITY_IATA, MESHLOOM_COMMUNITY_BROKER_HOST and MESHLOOM_COMMUNITY_API_BASE are no longer read. On an existing installation that still sets MESHLOOM_COMMUNITY_IATA, its code is copied into the settings once, at the first start after the upgrade, so Community keeps the region it knows; whether Community is on stays as it was. Meshloom then logs a warning at each start while one of these variables is still set: remove them. See Variables and settings.

What leaves your machine

With Community on and a code saved, your server sends:

  • Raw packets, exactly as they travel over the air, together with the signal strength, your radio’s name and its public key. Messages for private channels and direct messages stay encrypted. The text of your conversations never goes through this path.
  • Your radio’s position, if it has one, with the code: when you join or change the code, and again on its own when the radio reports a new position or a new Advert Location Source (re-sending it is not a code change). The radio reports it when it connects or reconnects, when Meshloom sets its position and when that setting changes, not at every GPS move: a radio moving with its GPS on sends its new position at its next reconnection or setting change. It is exact only if the radio already broadcasts it in its adverts (Include Node Location). Otherwise it is rounded to about 1 km (two decimals). Community uses it to check the code, and shows it on its public map (Live, directory): the exact one is the position your adverts already make public, the rounded one places your observer near its town, not at its address. A radio with no position sends none, and Community then waits for one (see Waiting for a position).
  • A status message, when the connection opens and then every five minutes: your radio’s name, public key, model, firmware version and radio settings (frequency, bandwidth, spreading factor, coding rate), the Meshloom version, and the radio’s counters when it provides them. While Community waits for a position, it also says so (state: waiting_for_position), and it is published again as soon as that changes.
  • Directory requests. To name a hop or draw an RF locate zone, your server asks Community about the nodes involved. The browser never talks to Community itself: your server relays. One-byte hops are never sent.
  • Your radio’s position for the code suggestions, rounded to about 1 km, when you click Suggest codes, Community off included (it shows in Community’s access logs with your IP address): see Suggested codes.
  • Hashtag channel names. When you create or adopt a hashtag channel, or when Meshloom finds one, its name (up to 50 at a time) is added to the global list. Names are not grouped by airport. Keys are not shared. A channel whose key does not come from its name is private: its name is never shared, even when it starts with #.
  • Channel look-ups. To recognize an unknown channel, Meshloom sends the one-byte identifier of the channel to ask which names match. If nothing matches, it may also send one encrypted packet of that channel (once per identifier while Meshloom runs), so the community can try to find its name. Only channels you cannot read are concerned.

Meshloom never sends your radio’s private key to Community. It is only used to sign the short-lived passes that prove to Community who is calling. Anyone who can reach your Meshloom can still read the key back, through the API and in the full backup (see Security). Your radio’s public key is your account: rotating the key of the radio starts a new history and drops the code you bound.

Leaving

Leave Meshloom Community (in the settings, or Leave Community in the waiting banner’s explanation) first shows what leaving means:

  • the packets your radio already reported stay in Community’s statistics, under your radio’s name;
  • your radio’s position is deleted from Community;
  • if your radio’s adverts broadcast its position, it stays visible on the map like any other node heard on the mesh;
  • to have everything deleted, write to privacy@meshloom.app.

You can also say why you leave (privacy, not useful, technical issue, other); this is optional. Once you confirm, Meshloom sends one last request to Community to record the opt-out, with the reason if you gave one: Community deletes your radio’s position, clears its status on the broker (at once, or shortly after) and refuses this radio until it joins again. Then Meshloom cuts everything, as described below.

If Community does not confirm within 5 seconds, you leave anyway, and the settings show Deletion not confirmed with a Retry button. Meshloom never sends the opt-out again on its own, not even after a restart: only that button does, and sending it twice is harmless. It needs the same radio, since the request is signed with its key; if Meshloom does not know which radio left (it was disconnected and had never published), the button cannot help: write to privacy@meshloom.app. Joining again makes it moot: Community lifts the opt-out when you join again.

Turning Community off cuts every connection to Community (*.meshloom.app), at once and without a restart, with the exceptions described in the first point, in the version check below, in Leaving (the Retry button) and in Suggested codes:

  • your node’s status on the broker turns offline and is then cleared, before the MQTT connection closes, so it does not stay listed as online. When Community confirmed the opt-out, it clears that status itself (at once, or shortly after), and Meshloom makes no further attempt; the same goes when the opt-out request timed out, since Community may have recorded it (use Retry). Otherwise, if the broker cannot be reached at that moment, nothing can be sent: the broker then marks the node offline itself once it notices the connection is gone, and that offline would stay. This is the only connection Meshloom makes on its own after you leave, and only when Community surely did not receive the opt-out: Meshloom reconnects to the broker, alone, to delete that leftover status and nothing else (no packets, no status, no other request). It tries at most 6 times over about 13 hours (after 1 minute, then 5 minutes, 15 minutes, 1 hour, 4 hours and 8 hours), survives a restart, and gives up for good after 24 hours. Once the status is deleted, or once it gives up, nothing connects to Community any more;
  • the Live feed closes, and Community requests still in flight are cancelled;
  • the “heard by” counts and the radio test say Community is off instead of showing an empty result.

Changing the IATA code clears the status left under the old code the same way, with the same single retry if the broker cannot be reached: first the old status is cleared, then Community records the new code, and only then does Meshloom reconnect under it. If Community refuses the new code, your node goes back online under the old one. Stopping or restarting Meshloom marks the node offline. If the code changes while Meshloom is stopped (a restored database, for instance), or Community is turned off meanwhile, the status left under the old code is cleared at the next start, with the same single retry. The same happens once after the upgrade on an installation that used its own broker through MESHLOOM_COMMUNITY_BROKER_HOST: the status left on that broker is cleared, then Meshloom publishes on mqtt.meshloom.app. Joining again with the same code cancels a pending retry: the status is yours to publish again.

Community off does not mean no network traffic at all. These still happen:

  • every Meshloom, joined or not, asks Community for the latest version (GET /v1/meshloom/latest on api.meshloom.app) once every 6 hours. Your IP address reaches Community, and nothing else is sent: no key, no identifier, no position. While Community cannot be reached, new versions are not discovered and nothing is installed automatically;
  • Web Push and the integrations you set up call their own servers;
  • a click on Suggest codes sends your radio’s rounded position to Community (see Suggested codes);
  • alert emails leave through the mail server you set up. The Meshloom logo is inside the email, so opening one loads nothing from meshloom.app;
  • the map backgrounds are loaded by your browser from their providers (OpenStreetMap, CARTO, OpenTopoMap, Esri).

If your radio is banned

The Meshloom Community team can ban a radio that misbehaves. Community then refuses that radio: it no longer accepts its packets, its status, its code changes or its hashtag names, and it no longer opens the Live feed for it. Meshloom notices it on the first refusal (a refused connection to the broker included: Meshloom then asks Community once whether the radio is banned) and stops trying, so it does not hammer Community with requests that cannot succeed: no new connection to the broker, no Live feed, no code or hashtag update. Everything else in Meshloom keeps working, and you can still leave Community.

Settings → Meshloom Community then says Radio banned from Meshloom Community, and the Live tab says so in its banner. If you think this is a mistake, write to ban@meshloom.app. Meshloom checks again on its own after 12 hours (and finds the ban again at once if it still holds), at the next restart, or when you act in the Community settings (joining, changing the code).

In the interface

Settings → Meshloom Community lets you join or leave, type the IATA code (or pick a suggested one), see whether the publisher is connected, and read your own contribution (unique packets in the last 24 hours and 7 days, and your rank in your region) next to the community’s totals. While Community waits for a position, the settings say so and do not show the statistics.

The “heard by” details and the radio test measure distances only to observers whose exact position is known. An observer that publishes a rounded position still appears on their maps, but has no distance and never sets the farthest-ear record. Exception: if your radio has heard that observer’s own advert with its position (same public key), Meshloom uses that exact position, and the observer then counts in the distances. An observer that publishes no position at all may be placed on the map from a local advert with the same name, but a name is not proof of identity: such an observer gets no distance either.

See Variables and settings and Security.