Page 3 of 4

Re: having loading CarPiHat software issues

Posted: Wed Jan 28, 2026 6:21 pm
by gwynethh
Wow that sounds nice. Maybe he could place the code on GitHub?

Re: having loading CarPiHat software issues

Posted: Wed Jan 28, 2026 8:42 pm
by Hiphouser

Re: having loading CarPiHat software issues

Posted: Fri Jan 30, 2026 10:20 am
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?

Re: having loading CarPiHat software issues

Posted: Mon Feb 09, 2026 2:06 pm
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.

Re: having loading CarPiHat software issues

Posted: Tue Jun 16, 2026 6:40 am
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.

Re: having loading CarPiHat software issues

Posted: Tue Jun 16, 2026 7:20 am
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.

Re: having loading CarPiHat software issues

Posted: Tue Jun 16, 2026 5:02 pm
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?

Re: having loading CarPiHat software issues

Posted: Wed Jun 17, 2026 5:18 am
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.

Re: having loading CarPiHat software issues

Posted: Sat Jun 20, 2026 11:09 am
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.

Re: having loading CarPiHat software issues

Posted: Sat Jun 20, 2026 2:50 pm
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.