HACC - Home Assistant Command Center

Hi @qJake,
Great Work you did here.
I have few suggestions:

  1. in your docker documentation add volume mapping. my dasheboard was deleted after last night update.
  2. is it possible to add support for creating more than one dashboard? i can do work around by adding more containers but you now… (:slight_smile:
  3. I thinks you should add security (User/Pass) for the admin area.

Cheers!

iPad Gen 1 has iOS 5, AFAIK this version of iOS has some troubles supporting websockets.

@Tomer_Klein I will definitely be updating the documentation, yes multiple pages/dashboards are on the to-do list, and security is a great idea! Thanks for your suggestions!

Would love to see media and volume controls

1 Like

Me too and specifically ones that are supported by the SMARTIR Custom component of at all possible.

@mitchell @frank451 Media tiles with controls is definitely on the list! :slightly_smiling_face:

thanks @qJake that worked for me. However when I try to set the background color for the page and hit save …I do not get any confirmation of the changes as saved and also the background color doesn’t change i.e. it remains grey. Any idea?

Is there a way to put a floorplan in the background?

@bachoo786 Not sure, check the Docker console output of the container for errors, and I plan to add more logging in the next version that may point to the issue.

@Icardcollect I’m sure you could get something to work with a ton of custom CSS, sure, and I plan to support floor plans officially at a later date as well!

2 Likes

Hi, I tried to install HACC with terminal, “docker pull qjake / hacc” ok. “docker run -p 8095: 8095 qjake / hacc” - standard_init_linux.go: 207: exec user process caused “exec format error”.Solutions?

Are you running this on an RPi? That’s usually what that error means… ARM architecture isn’t officially supported yet, but support is coming soon. Someone up in the thread here claimed to get it to work on an RPi 3 so you might be able to follow those instructions as a workaround.

Yes i’m on RPi 3. Thanks i search in the thread, thanks!

@qJake here is my log from Docker console:

Hosting environment: Production


Content root path: /app


Now listening on: http://[::]:8095


Application started. Press Ctrl+C to shut down.


info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]


      Client factory is not initialized, redirecting user to settings area...


fail: Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery[7]


      An exception was thrown while deserializing the token.


Microsoft.AspNetCore.Antiforgery.AntiforgeryValidationException: The antiforgery token could not be decrypted. ---> System.Security.Cryptography.CryptographicException: The key {50ea433a-41a3-46d1-99c0-8023b97043d9} was not found in the key ring.


   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.UnprotectCore(Byte[] protectedData, Boolean allowOperationsOnRevokedKeys, UnprotectStatus& status)


   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.DangerousUnprotect(Byte[] protectedData, Boolean ignoreRevocationErrors, Boolean& requiresMigration, Boolean& wasRevoked)


   at Microsoft.AspNetCore.DataProtection.KeyManagement.KeyRingBasedDataProtector.Unprotect(Byte[] protectedData)


   at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)


   --- End of inner exception stack trace ---


   at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgeryTokenSerializer.Deserialize(String serializedToken)


   at Microsoft.AspNetCore.Antiforgery.Internal.DefaultAntiforgery.GetCookieTokenDoesNotThrow(HttpContext httpContext)


info: HADotNet.CommandCenter.Middleware.HAClientInitialization[0]

it seems like it doesnt like it. I only change the background color of the page and I am not touching anything else.

Is it possible if you could share your theme? Maybe I can import it and see if that works?

thanks

@bachoo786 Is your Settings tab initialized correctly? The next version of HACC will have better error handling for this page, but in the meantime can you try:

  1. Entering your settings (HA URL + LLAT)
  2. Saving settings
  3. Going to Tiles
  4. Add a State tile

Does the State dropdown load, or do you get an error when loading the “Add State Tile” page?

@qJake done what you said and the state tile does load with no errors.

1 Like

@bachoo786 Thanks for checking. Follow this thread for updates, and hang tight until the next version of HACC where this may be fixed!

1 Like

Does this support displaying an input_boolean in a tile with the colour and icon of the tile being customisable for on/off ?

1 Like

@xAPPO Yes, this should work with a State tile. You can’t click it to toggle it just yet but that’s something that will be added in a future release. Everything else should be supported.

An input_boolean shouldn’t toggle from UI

You mean the 123 State tile ? I can’t see on that where to set colours / icons - it just displays the text ‘on’ and ‘off’ and that doesn’t change colour with on/off even if configured to do so .

Instead I can create a ‘switch’ tile then it does have the color/icon edit capability but then input_boolean entities are not listed

@xAPPO Hmm, yes, I might have been confusing the two. Although what you want to do isn’t unreasonable! I think I can make a new “Icon State” tile that will display this (with customizable on/off states, etc).

And perhaps, since it does the same thing (and I think input_boolean responds to the homeassistant.toggle service), I should be able to also include that as a switch… though you’d be able to toggle it… so we’d also need something like a “Display Only” flag so you couldn’t click it accidentally.