Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 6746

HATs and other add-ons • Re: ON/OFF Shedule Script for Raspberry pi 5

$
0
0
A quick look in the WittyPi docs didn't reveal whether it used the standard Linux /sys/class/rtc interface. As the Raspberry Pi 5 RTC docs state, the RTC can only wake the board: you'll need to handle the shutting down yourself. Something like at(1) can do the shutdown bit, and a small matter of programming to calculate the wakealarm offset value at the same time.

The POWER_OFF_ON_HALT=1 bit is quite important if you like sleeping in low power use mode

Statistics: Posted by scruss — Thu Feb 01, 2024 6:18 pm



Viewing all articles
Browse latest Browse all 6746