I’ve noticed that there is not any post about Kiosk-mode. The purpose of this post is to bring support about this custom plugin as well as sharing code snippets and ideas.
If you don’t know what Kiosk-mode is, it is a custom HACS plugin that allows one to hide the header, the sidebar and other elements of Home Assistant with the intention of sharing a dashboard with family or friends without the risk of them clicking on some admin entry-points or entering in some areas that are not intended for them.
Things that are out of the scope of
Kiosk-mode:
- It is intended only for
lovelacedashboards.Kiosk-modewill only work inlovelacedashboards and that is why eachlovelacedashboard needs its own configuration.Kiosk-modeis not intended for other dashboards (like Maps, Energy or History) and it will never be.- It is not intended for cards.
Kiosk-modeis intended for general UI elements that will be in the same place in everylovelacedashboard independently of the system (for example, the header or the sidebar). It is not intended for things that are contained inside the dashboard.- It is not an RBAC solution.
Kiosk-modeis aJavaScriptplugin that is executed in the browser, which means that anybody with the minimum knowledge can deactivate it and bypass it. Do not take this plugin as a security measure because it is not and it will never be. If you want to makeHome Assistantmore secure, or seeingRBACfeatures implemented, you can vote for this feature.- It is not a styling solution.
Kiosk-modeis not intended to hide something to make the interface nicer, to hide something to save space on the screen, or to change the styles of elements, use card-mod or a car-mod theme for that.