Kiosk Mode for Raspberry Pi with Touch Display

You can enable the default “Screen Blanking” functionality (turns the screen off after 10 minutes and on after touch) if you are using a Raspberry Pi:
https://www.raspberrypi.com/documentation/computers/configuration.html#screen-blanking-3

Alternatively use a presence sensor and the MQTT integration:

I’m using a Raspberry Pi 4, and Home Assistant is barely usable—neither in the browser nor in the kiosk browser. It’s extremely laggy. Do you have similar issues? How smoothly does it run on a Pi 5, or how can I fix this problem?

What kind of HA cards are you displaying? Some people reporting performance issues with the thermostate card.

I’m using also a RPI 4 with 4GB memory and don’t experience this kind of problems.

Very nice project, it is running here very smoothly on a spare PI. Thanks for all the good work!

I have been testing this project for about 3 weeks and everything runs smoothly on a Rpi5 8Gb + 10" display. The only unsightly thing is the circular mouse cursor, which cannot be hidden yet (or I don’t know how). I have only encountered one display issue with the Lovelace Horizon Card component, which does not update in real time and requires a page refresh. This issue does not exist on other devices.