diff --git a/config/packages/twig.yaml b/config/packages/twig.yaml
index d912927a..cb90797b 100644
--- a/config/packages/twig.yaml
+++ b/config/packages/twig.yaml
@@ -6,3 +6,4 @@ twig:
gmaps_api_key: "%env(GMAPS_API_KEY)%"
mqtt_host: "%env(MQTT_WS_HOST)%"
mqtt_port: "%env(MQTT_WS_PORT)%"
+ dashboard_enable: "%env(DASHBOARD_ENABLE)%"
diff --git a/templates/home.html.twig b/templates/home.html.twig
index 975b0ea5..b7ac2c24 100644
--- a/templates/home.html.twig
+++ b/templates/home.html.twig
@@ -15,7 +15,9 @@
-{{ include('map/' ~ map_js_file) }}
+{% if dashboard_enable == 'true' %}
+ {{ include('map/' ~ map_js_file) }}
+{% endif %}
{% endblock %}