Automation/RaspberryPi: Difference between revisions

From Medien Wiki
Line 121: Line 121:
  dpkg-reconfigure tzdata
  dpkg-reconfigure tzdata


Note that the Raspberry doesn't have a real-time clock on board. Instead it saves the current time in a file when it shuts down and resumes at the same point when it boots. It is searching online for the current time when booting. If there is no Internet connection the time will almost certainly not be accurate!
Note that the Raspberry doesn't have a real-time clock on board. Instead it saves the current time in a file when it shuts down and resumes at the same point when it boots. It is searching online for the current time when booting. If there is no Internet connection the time will almost certainly not be accurate! (Alternatively you could add a real-time clock shield or a GPS receiver which would allow you to get the current time without Internet connection)


===Shut down at specific time===
===Shut down at specific time===