I’d like to start with a big thanks for this project. The customization possibilities and swipe navigation are really just amazing.
Question in short:
I’d really like the same navigation on other browsers as on a mobile - Menu option in the three dot-button and when I click it it would show the sidebar.
Longer description:
As a default, I have this config:
It works great for my kids and the dashboards.
But for myself I’d like to be able to access the Sidebar without seeing it all the time.
Ideally It would be accessible from the overflow menu. The menu item is there, but since I have “Hide & Disable Sidebar” active, nothing happens when I click it.
And If I disable “Hide & Disable Sidebar”, the sidebar is shown - which I don’t want.
Basically, what I want is the same behavior on a PC browser as on the mobile. There it works perfectly. The Menu option is in the three dots-button and when I click it it shows the sidebar.
Is that possible?
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
976
tldr : This is something that should either be a dedicated addon for the sidebar or added to core. I’ve added the ability to disable the sidebar only to keep the exceptions and kiosk_mode features of CCH useful.
Edit: I realize now that you were asking if it is currently possible, but I kind of jumped ahead to explaining why it’s not.
1 Like
mayker
(maykar (pronounced "maker" with a southern accent))
977
Also, keep in mind that this is the first iteration of the new sidebar. There’s a fair bit of comments and criticism coming in now and I’m sure it’s all being heard. Solving current issues/feature requests with a custom project is counterproductive for both the custom project and HA.
Wait… I’ve been using CCH since the beginning and as such have had it set up how I like it for so long now that I don’t even always keep up with changes as well as I should. Maybe I missed it or maybe it has been possible for along time and I never took any notice, but are you saying you can configure CCH dynamically using automations (based on input_booleans as triggers)?
mayker
(maykar (pronounced "maker" with a southern accent))
979
Anyway, I just tried an old school way to do it which solves (or rather a work around to) my issue:
Hide Sidebar for everyone and just put a weblink to “https://xyz.duckdns.org/hassio/dashboard” on a tab that’s only shown to myself. Then a new page is shown - with sidebar - but hidden on all other tabs.
That works fine for me - that’s basically the functionality I wanted, but with a link instead of a menu item in the 3-dot menu.
Again - thank you very much for this. CCH is just amazing.
I’m sorry but I don’t know what to explain. You just substitute the “legacy” code for the normal CCH code and reference it in resources as js instead of as module and then use it the same way you would use the normal CCH.
You can’t use both - it’s one or the other. And the legacy version is currently far behind due to some issues with importing the editor component that I couldn’t work out. I think @mayker is working on a new structure for the code that would make it possible for me to catch the legacy version back up.
Yeah, I thought I might not have explained it properly. I understand you are not supporting this at all, but I just need some pointers of how to use it. I am doing the below and it doesn’t seem to be working on my Fire HD 8 on FKB (Fire OS version).
I have put the legacy version in /local/custom-lovelace/compact-custom-header/ and entered
I never set up the CCH card like that before, only using the new cch: method, so I wonder if there is any documentation somewhere that can tell me how?
I am on 0.96.3 - does it work on this version of HA or should I downgrade?
I really appreciate your time on this, I’ve been pulling my hair out for days trying to make it work - you are my last hope! I’m more than happy to shoot you a decent donation if you can help me get this to work.
just for completeness sake: the above is in Lovelace (obviously) and in States, the tab icon is displayed correctly:
at least as proof the base sensor is correctly initialized.
Hope @mayker knows what I could do to test and fix. Please let me know how to help debug this.
Yes, the version that is currently still in my gist is prior to the “new” method where CCH is not a card and has a global config. I guess you might be able to clone @mayker’s repo and check out the tag for v. 1.0.4b8 to see the documentation that is consistent with that version.
I’m sorry but I won’t be much help with troubleshooting because I am actually currently running a newer test version based on a gist that @mayker sent me and I’m also still on HA 0.95.4.
I think that if @mayker goes ahead with the new code structure that he is using in the test he sent me, then I’ll be able to release new versions of the legacy code in the future. And I’ll get it tested and working with 0.96+ as I upgrade myself which shouldn’t be too far down the road, but I can’t give you an ETA on any of that stuff.
I got the same problem, after upgrade to 0.96.3 the fullscreen mode (hiding bar completely) isn’t working anymore… will the compact custom header be updated to be working with 0.96 and later?