Page 1 of 1

hidle screen

Posted: Tue Jul 14, 2026 8:33 am
by ElmodiLatta
Hi,
I'd like to use hidle_screen. The shortcut works. It adds an icon to the toolbar, but when I press it, a red circle with an exclamation point appears. I guess I can't find the hidle.html file. I put the hidle_screen.py file in a folder called python, where I created a templates folder and placed the hidle.html file inside. I installed the dependencies, but it doesn't work. Can you help me? Thanks.

Re: hidle screen

Posted: Tue Jul 14, 2026 9:22 am
by hudiy
Hello,
Do you mean the idle_screen example? If so, the Python script in this example starts its own HTTP server. You need to add a valid URL pointing to the idle_screen in overlays.json. In the example, you will find a sample overlays configuration that uses a URL matching the HTTP server started by the Python script: https://github.com/wiboma/hudiy/blob/ma ... rlays.json

idle.py should be started before Hudiy so that the URL is accessible once Hudiy loads - if the URL is unavailable, the aforementioned red indicator with an exclamation mark will be displayed instead of the page content.

https://github.com/wiboma/hudiy/blob/ma ... how-to-run

Re: hidle screen

Posted: Tue Jul 14, 2026 7:38 pm
by ElmodiLatta
there is something that escapes me, the idle_screen.py file is in the home/pi/python folder, the idle.html file is in the home/pi/python/templates folder, in the overlays.json file I tried with "url": "http://127.0.0.1:44412/python" and it doesn't work with "url": "http://127.0.0.1:44412/python/templates" and it doesn't work what am I doing wrong?

Re: hidle screen

Posted: Tue Jul 14, 2026 7:53 pm
by hudiy
Did you try "url": "http://127.0.0.1:44412/idle" like in the example? The Python script uses Flask. It is not just an HTTP server that serves files from a particular directory, but operates based on the routes defined in the script.

Re: hidle screen

Posted: Wed Jul 15, 2026 2:46 pm
by ElmodiLatta
it was the first try "http://127.0.0.1:44412/idle", but I always get the exclamation point, I'm running the file idle_screen.py at startup $HOME/.config/labwc/autostart python3 /home/pi/python/idle_screen/idle_screen.py &, if I try to manually run the file idle_screen.py it tells me that the port is in use by another program so I deduce that it is working thanks

Re: hidle screen

Posted: Wed Jul 15, 2026 5:17 pm
by hudiy
Is the URL http://127.0.0.1:44412/idle accessible via the web browser locally?

Re: hidle screen

Posted: Wed Jul 15, 2026 7:14 pm
by ElmodiLatta
closing hudy, if I type in the browser http://127.0.0.1:44412/idle it is waiting but nothing appears

Re: hidle screen

Posted: Thu Jul 16, 2026 11:37 am
by hudiy
We tested the example on a fresh Raspberry Pi OS Trixie and everything works without any issues. It is possible that the files in your copy are somehow corrupted (incorrect formatting, wrong line endings). Try downloading the zip from the hudiy repository again and extract it directly on the Raspberry Pi.

https://github.com/wiboma/hudiy/archive ... s/main.zip

Re: hidle screen

Posted: Thu Jul 16, 2026 5:32 pm
by ElmodiLatta
Redownloading all the files now works. Now I'll try moving the files I need into my configuration and try to figure out where I went wrong.
Thanks