qJake / HADotNet.CommandCenter

📱 A web-based, wall-mountable command center for Home Assistant.
https://hacc.dev
Apache License 2.0
158 stars 11 forks source link

Blank Dashboard #110

Closed Colorado4Wheeler closed 3 years ago

Colorado4Wheeler commented 3 years ago

Description

After install HACC I got the interface once, then switched over to get my token from HA and when I returned I got nothing but a blank page. I can view source and see that there is some HACC generated HTML but nothing shows.

I thought perhaps there was a config file I could blow away but saw non under config or config/.storage that I could see.

Environment

HACC 0.6.0

Raspberry Pi 4 HA Supervisor 2020.12.7 HA OS 5.10

Steps to Reproduce

  1. Access HACC via the URL directly or through "Open Web UI" in the Add-On

Screenshots

Screen Shot 2021-01-12 at 4 38 10 PM

A big gray screenshot is probably not useful, but here is all of the HTML of that otherwise blank page:


<!DOCTYPE html>
--
  | <html>
  | <head>
  | <meta charset="utf-8" />
  | <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  | <title>Home - HA Command Center</title>
  |  
  |  
  |  
  | <link rel="stylesheet" href="https://cdn.materialdesignicons.com/3.9.97/css/materialdesignicons.min.css" crossorigin="anonymous" />
  | <link type="text/css" rel="stylesheet" href="/css/dashboard.min.css?v=a757TOuQwO3gryRqvgTvThOg8BUcypf7XQYcht5vFV8" />
  |  
  |  
  |  
  |  
  | <style type="text/css">
  | body.dashboard
  | {
  | }
  |  
  | body.dashboard > .tiles
  | {
  | height: 860px;
  | width: 965px;
  | }
  |  
  | body.dashboard > .tiles > .tile
  | {
  | font-size: 12.5px;
  |  
  | }
  |  
  | body.dashboard > .tiles > .tile .value.state-on
  | {
  | }
  | body.dashboard > .tiles > .tile .value.state-off
  | {
  | }
  |  
  | </style>
  |  
  | </head>
  | <body class="dashboard">
  |  
  | <div class="tiles">
  | </div>
  |  
  |  
  |  
  |  
  | <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  | <script src="https://cdnjs.cloudflare.com/ajax/libs/packery/2.1.2/packery.pkgd.min.js" integrity="sha256-qgHmqWpw9DcQLJgcK+YvMiLjEHTVuWQQ1eexLdiOzzU=" crossorigin="anonymous"></script>
  | <script src="https://cdnjs.cloudflare.com/ajax/libs/aspnet-signalr/1.1.4/signalr.min.js" integrity="sha256-LeAW7V38b1z8nHHlrckbnAfx5W4Ge57nDlsDz6GzJjc=" crossorigin="anonymous"></script>
  | <script src="https://cdnjs.cloudflare.com/ajax/libs/skycons/1396634940/skycons.min.js" integrity="sha256-tZNzlXmrMrO9BLT6Gv4Y0LfAN8HdbZ7+LIuNf6WkFC0=" crossorigin="anonymous"></script>
  | <script src="/js/app.min.js?v=Bi1jH8NwuMpsQCaDFWagFIIx7dLpv4SZbK9P030WZ9M"></script>
  |  
  |  
  | <script>
  | window.ccOptions = window.ccOptions \|\| {};
  | window.ccOptions.mode = 0;
  | </script>
  |  
  |  
  | </body>
  | </html>
github-actions[bot] commented 3 years ago

Hey there, looks like this is your first time submitting a bug or enhancement to HACC! Thanks for helping make HACC a better app! 🎉

qJake commented 3 years ago

In this version, you have to go to, I think, /admin in order to administer the addon.

Future versions have reversed this - the homepage is the admin area, and the dashboard is located at /d.