Spacestategeschiedenis: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
Subprojecten: | Subprojecten: | ||
* https://github.com/revspace/statelogger | * https://github.com/revspace/statelogger | ||
Statelog na iets minder dan 18 uur loggen: (<tt>*</tt> = meer van hetzelfde) | |||
00000000 ce 39 24 5b 00 00 00 00 31 31 31 31 30 30 30 30 |.9$[....11110000| | |||
00000010 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |0011111111111111| | |||
00000020 30 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 |0001111111111111| | |||
00000030 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |1111111111111111| | |||
* | |||
00000240 31 31 31 31 31 31 31 31 31 31 31 31 30 30 31 31 |1111111111110011| | |||
00000250 31 31 31 31 31 30 30 30 30 30 30 30 30 30 30 30 |1111100000000000| | |||
00000260 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000| | |||
* | |||
000002d0 30 30 30 30 30 30 31 31 31 31 31 31 31 31 31 31 |0000001111111111| | |||
000002e0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |1111111111111111| | |||
* | |||
00000433 |
Revision as of 16:01, 16 June 2018
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 (not currently in use)
- ASCII '\0' (NUL): space state was not recorded
- Any other value: treat as '?'
Subprojecten:
Statelog na iets minder dan 18 uur loggen: (* = meer van hetzelfde)
00000000 ce 39 24 5b 00 00 00 00 31 31 31 31 30 30 30 30 |.9$[....11110000| 00000010 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |0011111111111111| 00000020 30 30 30 31 31 31 31 31 31 31 31 31 31 31 31 31 |0001111111111111| 00000030 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |1111111111111111| * 00000240 31 31 31 31 31 31 31 31 31 31 31 31 30 30 31 31 |1111111111110011| 00000250 31 31 31 31 31 30 30 30 30 30 30 30 30 30 30 30 |1111100000000000| 00000260 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 30 |0000000000000000| * 000002d0 30 30 30 30 30 30 31 31 31 31 31 31 31 31 31 31 |0000001111111111| 000002e0 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 31 |1111111111111111| * 00000433