Spacestategeschiedenis

From RevSpace
Revision as of 21:58, 15 June 2018 by Juerd (talk | contribs) (Created page with "Data file: * First 8 bytes (64 bit): unix time_t epoch time of first data point * Subsequent data: one byte per minute, byte offset = 8 + floor((time() - $start_time) / 60) *...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Data file:

  • First 8 bytes (64 bit): unix time_t epoch time of first data point
  • Subsequent data: one byte per minute, byte offset = 8 + floor((time() - $start_time) / 60)
    • ASCII '0': space was closed (or mostly closed)
    • ASCII '1': space was open (or mostly open)
    • ASCII '?': script did run but could not determine space state
    • ASCII '\0' (NUL): space state was not recorded