How do I set up the MQTT feed in Home Assistant?

Before you begin

  • Make sure your MeshCore companion is connected to the MeshCore integration in Home Assistant.
  • Obtain your MQTT username and password from LincsMesh.
  • Register your companion’s public key on LincsMesh and set it as your static companion.

Configure the MQTT broker

In Home Assistant, go to Settings → Devices & services → MeshCore, then open the integration’s configuration and find MQTT Broker Settings.

Configure a broker using these settings:

SettingValue
EnabledTick
Servermqtt.lincsmesh.co.uk
Port443
Transportwebsockets
Use TLSTick
Verify TLS CertificateTick
Keepalive (seconds)60
UsernameYour LincsMesh MQTT username, e.g. lincsmesh_xxxx
PasswordYour LincsMesh MQTT password
Use MeshCore Auth TokenLeave unticked
Token AudienceLeave blank
Owner Public Key (JWT owner claim)Leave blank
Owner Email (JWT email claim)Leave blank
Payload ModePacket (LetsMesh-compatible)
Auth Token TTL (seconds)Leave at 3600
Status Topicmeshcore/{IATA}/{PUBLIC_KEY}/status
Packets Topicmeshcore/{IATA}/{PUBLIC_KEY}/packets
Broker IATA CodeYour local airport identifier, e.g. HUY, EMA, DSA, NWI or LBA

Keep {IATA} and {PUBLIC_KEY} exactly as shown in the topic fields; these are placeholders filled in by the integration.

Save the settings

Click Submit and complete any remaining configuration prompts.

Check the feed

Visit LincsMesh CoreScope observers to confirm your companion is reporting successfully.

How do I set up the MQTT feed for an OpenHop repeater?

Thank you to BlackSpider for writing these instructions.

Before you begin

  • Obtain your MQTT username and password from LincsMesh.
  • Copy your OpenHop repeater’s public key.
  • Register this key as your companion on LincsMesh, even if the device is already claimed as your repeater.
  • Make sure this is set as your static companion.

Configure the observer

Log in to the OpenHop web interface and go to System → Observer → Observer config → Edit settings.

SettingValue
IATA codeYour local airport identifier, e.g. HUY, EMA, DSA, NWI or LBA
Status interval300
Owner companion keyYour OpenHop repeater’s public key

Configure the MQTT broker

Under Broker settings, enter:

SettingValue
NameLincsmesh
FormatMeshcoretomqtt
EnabledTick
TransportWebsockets
Hostmqtt.lincsmesh.co.uk
UsernameYour LincsMesh MQTT username, e.g. lincsmesh_xxxx
Port443
PasswordYour LincsMesh MQTT password
TLS enabledTick

Save and restart

  1. Click Done.
  2. Click Save Settings at the top of the page.
  3. Click Validate and Restart.

Check the feed

Visit LincsMesh CoreScope observers to confirm your repeater is reporting successfully.