mcu-its-g5: MQTT only, to the own broker with an EMQX bridge to OpenTrafficMap
CI / YAML lint (push) Successful in 7s
CI / ESPHome config validation (push) Successful in 58s

HA can't reach the API on the car hotspot, so the device talks MQTT to the own
broker like the tracker; EMQX forwards its/<node_id>/# to cits1.opentrafficmap.org.
API and homeassistant time removed, the OTA key set directly.

MQTT discovery unique ids with the MAC (its-g5 and tracker): the default
ESP<type><object_id> made the common entities of both devices clash in HA.
Uptime in "d": HA MQTT discovery rejects "days" with device class duration.
This commit is contained in:
randy committed 2026-11-17 21:59:19 +01:00
1 parent 177bdcb3de
commit 3676c0bbcc
4 files changed
+22 -42

No files matched your search

+2
View File
@@ -119,6 +119,8 @@ mqtt:
username: !secret mqtt_tracker_username
password: !secret mqtt_tracker_password
discovery: true
# MAC in the unique_id: the default ESP<type><object_id> clashes with other devices' common entities
discovery_unique_id_generator: mac
# Every message costs data: logs stay on USB, and one ping per 10 min keeps the session.
# Lower keepalive if O2's CGNAT drops idle TCP sooner (reconnects resend all discovery)
log_topic: null