having loading CarPiHat software issues

Post Reply
gwynethh
Posts: 20
Joined: Sat Aug 09, 2025 4:53 pm

having loading CarPiHat software issues

Post by gwynethh »

Noob on the loose.
Anyone know of an active forum for issuee installing CarPiHat support software. We ran into an issue with the real time clock software and the shutdown script.
"Add the following to "/etc/rc.local"
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-1/new_device
sudo hwclock -s
date"

We cannot find "/etc/rc.local" in Trixie

also when we try to
"pip install rpi-lgpio" for the shutdown script we gat a load error message

Email to the guys(?) who designed the CarPihat have gotten no responce.
gwynethh
Posts: 20
Joined: Sat Aug 09, 2025 4:53 pm

Re: having loading CarPiHat software issues

Post by gwynethh »

After getting more familiar with the Pi Linux file browser file search feature. I verified there is no file in Trixie called "rc.local". If I want to use the posted script with the CarPi Hat should I redo installation using "Bookworm"?
alex124.rh
Posts: 125
Joined: Thu Jul 31, 2025 9:18 am

Re: having loading CarPiHat software issues

Post by alex124.rh »

I added stuff to the hudiy start up .sh for the line python3 carpihat.py &

maybe you can try adding stuff there?
gwynethh
Posts: 20
Joined: Sat Aug 09, 2025 4:53 pm

Re: having loading CarPiHat software issues

Post by gwynethh »

A little more web research notes that "/etc/rc.local" was "depreciated" back at bookworm. People have built their own rc.local and made it functional. We will try that this week.
Post Reply