Vehicle & ITS-G5 overlay: a stdlib MQTT subscriber (MQTT_URL/USERNAME/PASSWORD) keeps the car's LTE tracker position and the ITS-G5 stations heard by mcu-its-g5 (decoded header, stations expire after 60 s), served by /api/live and drawn as a car badge plus stations colored by type with DENM in red; Meshtastic noted in TODO
This commit is contained in:
1 parent
b381ca289f
commit
02c2ef05f8
12 files changed
+608
-12
No files matched your search
@@ -162,6 +162,15 @@ id/secret to store as the two `OAUTH_CLIENT_*` secrets above.
|
||||
usernames, e.g. `randy,friend1,friend2` — not their emails, the
|
||||
`login` field from Gitea's `/api/v1/user`.
|
||||
|
||||
Optional: `MQTT_URL`, `MQTT_USERNAME`, `MQTT_PASSWORD` (same names as
|
||||
secrets and in `.env`) — the home MQTT broker the car's ESPHome nodes
|
||||
publish to, read by `/api/live` (the "Vehicle & ITS-G5" overlay): the
|
||||
GNSS tracker's `mcu-tracker/location` and the ITS-G5 receiver's
|
||||
`mcu-its-g5/decoded`. Use a read-only broker user limited to those
|
||||
topics. Blank `MQTT_URL` turns it off. The URL needs a name the
|
||||
container can resolve — `ha.local` (mDNS) doesn't resolve inside it,
|
||||
`mqtt://ha.priesol.net:1883` does.
|
||||
|
||||
== GNSS simulator
|
||||
|
||||
`docker-compose.yaml`'s `gnss-simulator` service (`bin/gnss_simulator.rb`,
|
||||
|
||||
Reference in new issue
Block a user