having loading CarPiHat software issues
Re: having loading CarPiHat software issues
Wow that sounds nice. Maybe he could place the code on GitHub?
Re: having loading CarPiHat software issues
Can you tell me more about that?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
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
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
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
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.
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
Re: having loading CarPiHat software issues
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?
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
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
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.XZIVR wrote: Wed Jun 17, 2026 5:18 amI 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 Team
Re: having loading CarPiHat software issues
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.