I am facing an issue with my AppDaemon setup where the dashboard is not being found. The main.dash
file is placed inside the appdaemon/dashboards/
directory, but it has a warning icon next to it in VS Code. Despite following all the recommended steps, the issue persists.
Configuration Details
appdaemon.yaml
secrets: /config/appdaemon/secrets.yaml log: access file: /config/appdaemon/logs/access.log error file: /config/appdaemon/logs/error.log logfile: /config/appdaemon/logs/appdaemon.log log size: 100000 log_generations: 10 appdaemon: threads: 10 disable_apps: 1 app_dir: /config/appdaemon/apps plugins: HASS: type: hass ha_url: http://10.1.190.49:8123 token: !secret ha_token namespace: default dashboard: dash_url: http://10.1.190.49:5050 dash_dir: /config/appdaemon/dashboards access file: /config/appdaemon/logs/dash_access.log dash_force_compile: 1 dash_compile_on_start: 1 log_level: DEBUG
secrets.yaml
dash_password: your_dash_password ha_token: your_long_lived_access_token
main.dash (Simplified for Testing)
title: Simple Dashboard widget_dimensions: [120, 120] widget_margins: [5, 5] columns: 8 clock: widget_type: clock time_format: 24hr layout: - clock
Steps Taken
- Verified that the
main.dash
file is correctly placed in the/config/appdaemon/dashboards
directory. - Ensured the file permissions allow AppDaemon to read the
main.dash
file. - Checked that the file is saved with UTF-8 encoding without BOM.
- Used a basic
main.dash
file to rule out syntax or formatting issues. - Restarted AppDaemon and checked the logs.
Logs
Here are relevant excerpts from the AppDaemon logs:
2025-03-01 18:05:46.235404 INFO AppDaemon: Starting Dashboards
2025-03-01 18:05:46.254908 INFO HASS: Connected to Home Assistant 2025.2.5
2025-03-01 18:05:47.438085 INFO AppDaemon: Compiling dashboard 'main'
2025-03-01 18:05:47.516456 WARNING AppDaemon: Dashboard 'main' not found
Despite following all these steps, the issue persists and I cannot access the dashboard at http://10.1.190.49:5050/main
.
Request for Help
Could anyone please help me troubleshoot and resolve this issue? Any insights or suggestions would be greatly appreciated.
I appreciate any help you can provide.