public:watches:watchcheck
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
public:watches:watchcheck [04/05/22 10:37 BST] – gm4slv | public:watches:watchcheck [06/03/25 06:49 GMT] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 12: | Line 12: | ||
directory. the data from each measurement is stored in a **json** file in the same directory. | directory. the data from each measurement is stored in a **json** file in the same directory. | ||
+ | ++++ watchcheck.py | | ||
<file python watchcheck.py> | <file python watchcheck.py> | ||
#! / | #! / | ||
Line 212: | Line 212: | ||
</ | </ | ||
+ | ++++ | ||
Running it for the first time, with no previous records stored, looks like this: | Running it for the first time, with no previous records stored, looks like this: | ||
Line 292: | Line 293: | ||
There' | There' | ||
display the data | display the data | ||
+ | |||
+ | ++++ watchstat.py | | ||
<file python watchstat.py> | <file python watchstat.py> | ||
Line 399: | Line 402: | ||
watch_stat() | watch_stat() | ||
</ | </ | ||
+ | |||
+ | ++++ | ||
Running watchstat.py on the newly updated '' | Running watchstat.py on the newly updated '' | ||
Line 432: | Line 437: | ||
</ | </ | ||
- | '' | + | '' |
- | the data: | + | |
< | < | ||
Line 440: | Line 444: | ||
The fields are "date time", current error, error in seconds per day since last record, average error in seconds per day since the start. | The fields are "date time", current error, error in seconds per day since last record, average error in seconds per day since the start. | ||
+ | |||
+ | This mimics the behaviour of the Android Watchcheck app | ||
+ | |||
+ | {{: | ||
// | // |
public/watches/watchcheck.1651657046.txt.gz · Last modified: 06/03/25 06:49 GMT (external edit)