Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
-
Autyzmiasty
- Posts: 3
- Joined: Tue Oct 07, 2025 7:36 am
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Hi i got a problem with this - if i exit hudiy to rpi bookworm os and in terminal paste 127.0.0.1:44480/google it's working but in hudiy first i had red shoutmarks *my eng is poor*. But finally it start running in hudiy but no internet connection :/. When in bookworm it's working fine shutdown, restart, return, and games works perfectly fine
-
Autyzmiasty
- Posts: 3
- Joined: Tue Oct 07, 2025 7:36 am
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Could you describe how you solved this problem? My problem is likely an issue with my phone, but I have been unable to get mobile internet connectivity working with either wireless or wired android auto. I can't USB tether as the AA connection break the tether (both for wired and wireless AA). I also can't get AA to work by having both the RPi and my phone connected to the same WiFi network. At this point the only option I can think of is to plug a USB hotspot into the Pi, but I'd rather not have to eat that expense if I don't have to.
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Goodevening,
Thanks for your hard work.
I seem to have a problem with the py file i dont have the servive file in etc systemd sytem...
What my problem is that the buttons shows but when i press i get a red window with a stop sign in my screen.
I think the py file dont start.
I now have both files in a document folder and i managed to put in the right path for my py file but i dont know what i am doing wrong right now.
Thanks
Thanks for your hard work.
I seem to have a problem with the py file i dont have the servive file in etc systemd sytem...
What my problem is that the buttons shows but when i press i get a red window with a stop sign in my screen.
I think the py file dont start.
I now have both files in a document folder and i managed to put in the right path for my py file but i dont know what i am doing wrong right now.
Thanks
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
To create a .service file, change into direcotry of system: "cd /etc/systemd/system/" and then "sudo nano hudiy_server.service" and then insert the code inside.:
_____________________________________
[Unit]
Description=Hudiy Flask server for system actions
After=network.target
[Service]
ExecStart=/usr/bin/python3 /home/path/to/your/hudiy_server.py
User=pi #choose your user
Restart=always
[Install]
WantedBy=multi-user.target
_______________________________________
! Take in mind here, to change the path in "ExecStart=/usr/bin/python3 /home/path/to/your/hudiy_server.py". to e.g.:
"ExecStart=/usr/bin/python3 /home/pi/Document/hudiy_server.py".
! Also there is a "User=pi", if you are logged in as someone else, then change the user corresponding to yours, e.g.: "User=Leeuw_12".
Then use "sudo systemctl daemon-reload", "sudo systemctl enable hudiy_server.service" &
"sudo systemctl start hudiy_server.service".
You can check out, if the service is working.: "sudo systemctl status hudiy_server.service". And you should see, it is active or in the case of failure -dead.
Addiotionaly, if you are sure, the service is right but the "hudiy_server.py" doesnt start. You can change into directory were the "hudiy_server.py" is stored, e.g.: "cd /home/pi/Document" and then run "python3 hudiy_server.py". You should see in the terminal the errors that could case a problem.
Hope this helps.
_____________________________________
[Unit]
Description=Hudiy Flask server for system actions
After=network.target
[Service]
ExecStart=/usr/bin/python3 /home/path/to/your/hudiy_server.py
User=pi #choose your user
Restart=always
[Install]
WantedBy=multi-user.target
_______________________________________
! Take in mind here, to change the path in "ExecStart=/usr/bin/python3 /home/path/to/your/hudiy_server.py". to e.g.:
"ExecStart=/usr/bin/python3 /home/pi/Document/hudiy_server.py".
! Also there is a "User=pi", if you are logged in as someone else, then change the user corresponding to yours, e.g.: "User=Leeuw_12".
Then use "sudo systemctl daemon-reload", "sudo systemctl enable hudiy_server.service" &
"sudo systemctl start hudiy_server.service".
You can check out, if the service is working.: "sudo systemctl status hudiy_server.service". And you should see, it is active or in the case of failure -dead.
Addiotionaly, if you are sure, the service is right but the "hudiy_server.py" doesnt start. You can change into directory were the "hudiy_server.py" is stored, e.g.: "cd /home/pi/Document" and then run "python3 hudiy_server.py". You should see in the terminal the errors that could case a problem.
Hope this helps.
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Good evening,
So i manached to get it started, i am a bit noob in this...
I can now shut down or reboot no problem. But with web still i get a red screen with a stop sign.
I was thinking how do i connect to the internet ?
I have android auto wireless set up. So i think maybe this is my problem. But i cant find where i can connect to internet ?
Sorry bit noob but maybe you can help again.
So i manached to get it started, i am a bit noob in this...
I can now shut down or reboot no problem. But with web still i get a red screen with a stop sign.
I was thinking how do i connect to the internet ?
I have android auto wireless set up. So i think maybe this is my problem. But i cant find where i can connect to internet ?
Sorry bit noob but maybe you can help again.
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Hi Leeuw_12,
I never had in the car till today. I think I will have to see how to forward the internet from phone to the raspberry pi. I always had Hudiy setup on the desk while connected directly to the internet.
If I will find a solution, I will let you know.
I never had in the car till today. I think I will have to see how to forward the internet from phone to the raspberry pi. I always had Hudiy setup on the desk while connected directly to the internet.
If I will find a solution, I will let you know.
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
So i was going trough all the files. When i open hudiy_py file i dont see any command for going to youtube. But maybe this isnt needed?? Because its not local ? But i dont know.
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Youtube and Google are locaten in applications.json and applications_menu.json
In applications.json - he is defined action - open youtube, which opnes the url: https://youtube.com
{
"applications": [
{
"action": "open_youtube",
"url": "https://youtube.com",
"allowBackground": true,
"controlAudioFocus": true,
"audioStreamCategory": "ENTERTAINMENT"
In applications_menu.json - here is defined what you see in the menu in Hudiy. A new created section "Web" and in this section is "Google" and "Youtube". When you click on "Youtube" it calls the action - open youtube. Based on the action defined in applications.json, it knows what it should do.
"categories": [
"Web"
],
"iconFontFamily": "Material Symbols Rounded",
"iconName": "youtube_searched_for",
"action": "open_youtube",
"label": "YouTube"
In applications.json - he is defined action - open youtube, which opnes the url: https://youtube.com
{
"applications": [
{
"action": "open_youtube",
"url": "https://youtube.com",
"allowBackground": true,
"controlAudioFocus": true,
"audioStreamCategory": "ENTERTAINMENT"
In applications_menu.json - here is defined what you see in the menu in Hudiy. A new created section "Web" and in this section is "Google" and "Youtube". When you click on "Youtube" it calls the action - open youtube. Based on the action defined in applications.json, it knows what it should do.
"categories": [
"Web"
],
"iconFontFamily": "Material Symbols Rounded",
"iconName": "youtube_searched_for",
"action": "open_youtube",
"label": "YouTube"
Re: Applications menu (Web; Games; Power): YouTube, Google; Games; Shutdown, Reboot, Return
Yeah, i saw all this files.. they are right....
Thats why i think there must be something wrong with internet or so. When i click it just pop up with red stopscreen
Thats why i think there must be something wrong with internet or so. When i click it just pop up with red stopscreen