Loading page...Загружаем страницу...正在加载页面...
AtlasRepo

Run Your Own MQTT Broker for 60GHz Radar: An Apache Artemis Setup Guide

说明与用途

使用 Apache Artemis 配置 60 GHz 雷达、ESP32 网关和 Home Assistant 的 MQTT 代理,包括安装、用户配置、启用 1883 端口和连接验证。

问题

The radar setup guide requires an MQTT broker ready before configuring the radar, but it does not provide steps to stand one up.

结果

Apache Artemis is successfully configured as an MQTT broker on port 1883, allowing 60 GHz radar modules, an ESP32 gateway, and Home Assistant to publish and subscribe to the required topics.

工作流

  • Install Java 17 and 1 GB RAM on a LAN machine
  • Download Apache Artemis 2.50.0 and extract
  • Run artemis create /opt/radar-broker and set console credentials, disable anonymous login
  • Start broker with artemis run to verify
  • Install broker as a service with artemis-service install and start
  • Edit /opt/radar-broker/etc/broker.xml to add <acceptor name="mqtt">tcp://0.0.0.0:1883?protocols=MQTT</acceptor>
  • Restart broker and confirm listening on 1883 with ss -ltnp | grep 1883
  • Create users in etc/artemis-users.properties and roles in etc/artemis-roles.properties for radar, radar‑gw, and ha
  • Restart broker
  • Configure radar modules with server address tcp://<host>:1883, unique ClientID, and the corresponding username/password
  • Configure ESP32 gateway firmware with mqtt_server, mqtt_port, mqtt_username, mqtt_password and unique ClientID
  • Add MQTT integration in Home Assistant with same host, port 1883, and ha credentials
  • Verify connections in broker console, subscribe to /Radar60SP/{DeviceID}/#, /Radar60FL/, /RadarHP/, and check Home Assistant states
  • Troubleshoot common issues such as missing acceptor, wrong port, duplicate ClientID, or firewall on 8161

证据

The broker has to be ready before the radar is configured

来源

Apache Artemis 2.50.0

来源

Stop the broker, edit /opt/radar-broker/etc/broker.xml, and add one acceptor inside <acceptors>

来源

Create users in etc/artemis-users.properties and map them to roles in etc/artemis-roles.properties

来源

Verify by subscribing to the model's report topic with any MQTT client — /Radar60SP/{DeviceID}/#

来源

  • 记录日期: 2026-10-23T00:11:42.159Z