@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!
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?
@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!
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.
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?
@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:
Entering your settings (HA URL + LLAT)
Saving settings
Going to Tiles
Add a State tile
Does the State dropdown load, or do you get an error when loading the “Add State Tile” page?
@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.
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.