I installed HAOS on a notebook and after starting the server the screen stays on indefinitely, burning the monitor with the banner image.
I thought about using a command like; âsetterm -blank 10â in terminal or using the variable âBLANK_TIME=10â somewhere in the system settings through the instructions in {âŚ/home-assistant/operating-system/blob/4a1d2b75b94483efc749e88aab95fa639aa2bb0a/buildroot-external/configs/generic_x86_64_defconfig}âŚ
but I also found this reference in another web search; â$ cat /sys/module/kernel/parameters/consoleblankâ where I think the desired effect of the system can be inferred.
and looking a little more I found this other material {âŚ/home-assistant/operating-system/blob/dev/buildroot-external/kernel/v6.12.y/hassos.config} that shows the [CONFIG_CMDLINE=ââ] boot resource, but then the answer came on the page {operating-system/Documentation/configuration.md at dev ¡ home-assistant/operating-system ¡ GitHub} where the option âconsoleblank=600â is informed in the boot in this file â/boot/cmdline.txtâ
While youâre playing around with settings, it might be a good time to also ignore the lid closed power off behaviour for your notebook.
This post is for instructions on how to do it in Proxmox. The command should be the same if youâre running HAOS directly on baremetal, but the folder location might be different.
Setting this will allow you to close your notebook lid without shutting down your server
Guys, thanks for your attention, I wanted to say that I managed to solve this issue with the resource informed on github itself; {operating-system/buildroot-external/board/pc/generic-x86-64/cmdline.txt at 4a1d2b75b94483efc749e88aab95fa639aa2bb0a ¡ home-assistant/operating-system ¡ GitHub}, it was a little complicated but I managed it, the fact is that the instructions that will be passed when starting the system through the contents of the file; [cmdline.txt] in (/mnt/boot) must all be on a single line with the âend of line: Unix (LF) end of line characterâ sign at the end of that single line.
so include the term âconsoleblank=240â there through the command:
â# echo â$(cat /mnt/boot/cmdline.txt) consoleblank=240â > /mnt/boot/cmdline.txtâ
and it worked perfectly.
This would be VERY hardware and OS dependent, and would not be something that I can see them adding to core.
I would recommend changing the category to configuration, and ask the best way to do this outside of HA
Itâs already implemented in Linux as a generic config. Once you figure out that HA is essentially a stripped-down version version of Linux, google will get you most of the way there