hidle screen

Post Reply
ElmodiLatta
Posts: 32
Joined: Mon Sep 15, 2025 10:11 am
Location: Italy

hidle screen

Post 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.
hudiy
Site Admin
Posts: 612
Joined: Mon Jul 14, 2025 7:42 pm

Re: hidle screen

Post 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
Hudiy Team
ElmodiLatta
Posts: 32
Joined: Mon Sep 15, 2025 10:11 am
Location: Italy

Re: hidle screen

Post 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?
hudiy
Site Admin
Posts: 612
Joined: Mon Jul 14, 2025 7:42 pm

Re: hidle screen

Post 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.
Hudiy Team
ElmodiLatta
Posts: 32
Joined: Mon Sep 15, 2025 10:11 am
Location: Italy

Re: hidle screen

Post 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
hudiy
Site Admin
Posts: 612
Joined: Mon Jul 14, 2025 7:42 pm

Re: hidle screen

Post by hudiy »

Is the URL http://127.0.0.1:44412/idle accessible via the web browser locally?
Hudiy Team
ElmodiLatta
Posts: 32
Joined: Mon Sep 15, 2025 10:11 am
Location: Italy

Re: hidle screen

Post by ElmodiLatta »

closing hudy, if I type in the browser http://127.0.0.1:44412/idle it is waiting but nothing appears
hudiy
Site Admin
Posts: 612
Joined: Mon Jul 14, 2025 7:42 pm

Re: hidle screen

Post 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
Hudiy Team
ElmodiLatta
Posts: 32
Joined: Mon Sep 15, 2025 10:11 am
Location: Italy

Re: hidle screen

Post 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
Post Reply