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.
hidle screen
Re: hidle screen
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
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
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
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
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
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
closing hudy, if I type in the browser http://127.0.0.1:44412/idle it is waiting but nothing appears
Re: hidle screen
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
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
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
Thanks