having loading CarPiHat software issues

gwynethh
Posts: 42
Joined: Sat Aug 09, 2025 4:53 pm

Re: having loading CarPiHat software issues

Post by gwynethh »

Wow that sounds nice. Maybe he could place the code on GitHub?
Hiphouser
Posts: 26
Joined: Thu Nov 20, 2025 12:42 am
Location: France
Contact:

Re: having loading CarPiHat software issues

Post by Hiphouser »

ltlnmo wrote: Wed Jan 28, 2026 5:45 am This is what I was using before using Korni's canbus stuff. now its a bit different
Can you tell me more about that?
I know he have developped that:
[urlhttps://youtube.com/shorts/TwIKZYdksmY?si=aghJNTSq0N2pPcFk][/url]

can you send me some link for that?
gwynethh
Posts: 42
Joined: Sat Aug 09, 2025 4:53 pm

Re: having loading CarPiHat software issues

Post by gwynethh »

Did anyone get the Hudiy provided final code to work (on page 2). My first several attempts failed but that may just be me and my lack of software savvy and thumb fingers. I will try from scratch again today. TIA.
XZIVR
Posts: 4
Joined: Tue Jun 16, 2026 6:33 am

Re: having loading CarPiHat software issues

Post by XZIVR »

Just registered to say it's not working for me either. Carpihat pro, couple years ago but the shutdown stuff was working perfectly with OAP.
hudiy
Site Admin
Posts: 600
Joined: Mon Jul 14, 2025 7:42 pm

Re: having loading CarPiHat software issues

Post by hudiy »

Unfortunately, this hardware is not available in our country and we cannot simulate its operation other than by relying on the schematic, readme and specific GPIOs. The version of the script we posted in the thread reacts appropriately to the state of the GPIO pins. Fortunately, this functionality is not related to Hudiy itself, so debugging alone (e.g., by printing GPIO states in the script) should be sufficient to adapt the script to this HAT.

Additionally, the script invokes the sudo shutdown command. In the latest Raspberry Pi OS Trixie, due to security reasons, sudo requires a password. You may need to disable the sudo password prompt in the Control Centre or via raspi-config so that the script can execute the shutdown command.
Hudiy Team
XZIVR
Posts: 4
Joined: Tue Jun 16, 2026 6:33 am

Re: having loading CarPiHat software issues

Post by XZIVR »

Alright, I will try that, thanks. Happy to be a remote guinea pig if that's at all helpful. Am using the pro version.

Okay, no dice. Something seems to happen after installing Hudiy that causes it to break, but the script works on a fresh pi os install. Any idea what could be causing that?
XZIVR
Posts: 4
Joined: Tue Jun 16, 2026 6:33 am

Re: having loading CarPiHat software issues

Post by XZIVR »

hudiy wrote: Tue Jun 16, 2026 7:20 amsnip
I ran it through Claude and it made some changes and got it working. I'm a little wary of posting the code here though, since I don't understand this stuff well enough to verify it's safe and so on.

Hudiy is it okay if I PM the code to you so you can check it, then either post it as-is or modify what you posted on page 1? Basically it told me there was a small bug in the code, then after some testing it also had to change how the GPIO pins are handled due to a conflict.
hudiy
Site Admin
Posts: 600
Joined: Mon Jul 14, 2025 7:42 pm

Re: having loading CarPiHat software issues

Post by hudiy »

XZIVR wrote: Wed Jun 17, 2026 5:18 am
hudiy wrote: Tue Jun 16, 2026 7:20 amsnip
I ran it through Claude and it made some changes and got it working. I'm a little wary of posting the code here though, since I don't understand this stuff well enough to verify it's safe and so on.

Hudiy is it okay if I PM the code to you so you can check it, then either post it as-is or modify what you posted on page 1? Basically it told me there was a small bug in the code, then after some testing it also had to change how the GPIO pins are handled due to a conflict.
If it works, feel free to post it in this thread. As we mentioned, we don't have access to the device ourselves, so we'll only be able to test the script directly via GPIO. If you share the code here, more people with access to the HAT will be able to help test it out.
Hudiy Team
Zyox
Posts: 29
Joined: Wed Jul 30, 2025 10:00 am

Re: having loading CarPiHat software issues

Post by Zyox »

I haven't updated Hudiy since it's first or second version, and I really want to after a few bugs really ruining the experience on a recent drive, but this issue is making me pretty anxious about doing it as I'm using the CarPiHatPro with the autoshutdown script. I'd also appreciate if you could post the fix.
Post Reply