rd13_tile_server/docs/homeassistant-config.md
Conrad Schulz cd73f91021 feat: migrate from TileServer-GL to Martin
- docker-compose: ghcr.io/maplibre/martin:v1.10.1, Port 3000
- config/martin.yaml: Auto-Discovery MBTiles/Styles/Sprites/Fonts, CORS built-in
- nginx-Container entfernt (NPM uebernimmt Proxy/SSL/Routing)
- config/config.json + nginx/ entfernt (TileServer-GL Artefakte)
- docs: alle Endpunkt-URLs auf Martin-Format aktualisiert
- .github/copilot-instructions.md: Stack auf Martin (Rust) aktualisiert
- Vorteile: Hot-Reload, CORS built-in, ~10x weniger RAM
2026-05-30 17:15:44 +00:00

47 lines
2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Home Assistant eigenen Tile-Server verwenden
#
# Martin liefert Raster-Tiles (Satellit) direkt als PNG ideal fuer HA.
# OSM-Vektorkarten werden ueber MapLibre GL Style eingebunden.
#
# -------------------------------------------------------------------------
# Option 1: Map Card (Standard Lovelace) Satellit (Raster, sofort nutzbar)
# -------------------------------------------------------------------------
# type: map
# entities:
# - person.YOUR_PERSON
# default_zoom: 12
# tile_layer: https://TILE_SERVER_URL/satellite/{z}/{x}/{y}
# tile_layer_attribution: "Sentinel-2 cloudless"
# -------------------------------------------------------------------------
# Option 2: custom:map-card (HACS) Satellit
# -------------------------------------------------------------------------
# https://github.com/nathan-gs/ha-map-card
#
# type: custom:map-card
# x: 48.137
# y: 11.576
# zoom: 12
# tile_layer_url: "https://TILE_SERVER_URL/satellite/{z}/{x}/{y}"
# tile_layer_attribution: "Sentinel-2 cloudless"
# tile_layer_max_zoom: 14
# entities:
# - entity: person.YOUR_PERSON
# -------------------------------------------------------------------------
# Option 3: custom:map-card OSM via MapLibre GL Style
# -------------------------------------------------------------------------
# type: custom:map-card
# tile_layer_url: "https://TILE_SERVER_URL/osm/{z}/{x}/{y}"
# tile_layer_attribution: "© OpenMapTiles © OpenStreetMap contributors"
# tile_layer_max_zoom: 19
# -------------------------------------------------------------------------
# Hinweise
# -------------------------------------------------------------------------
# - TILE_SERVER_URL = oeffentliche URL via NPM (kein Port noetig bei HTTPS)
# - Satellit (Raster-PNG) ist direkt nutzbar ohne MapLibre GL
# - OSM-Vektorkacheln: HA rendert sie nicht nativ Raster-Tiles oder
# MapLibre GL Style-Einbindung ueber custom:map-card verwenden
# - CORS ist via Martin built-in konfiguriert (alle Origins erlaubt)
# - Fuer HTTPS: NPM uebernimmt SSL-Terminierung