Pioreactor / Pioreactor/pioreactor

In local access point, when powered off, the time reverts back to init time

Open
#372 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

local access point
Dominant language
Python
Stars
149
Forks
18
PR merge metrics
No merged PRs in 30d

Description

In LAP, since there is no NTP, time (available as date) moves forward via the fake-hwclock software on the RPi.

This program may be run by the system administrator directly but is typically run by init (to load the time on startup and save it on shutdown) and cron (to save the time hourly).

If a user pulls the power before an hour, and without > shutdown, the final time is never recorded, so it will revert back to its init time (time on the original image).

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the fake-hwclock behavior described in the issue, including how init and cron load and save the clock on the Raspberry Pi. Done means the clock does not revert to the original image time after power is removed before the next hourly save.

Written by the indexing model from the issue text.

Assessment

Tech stack
raspberry-pi
Domain
embedded-iot, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.