]>
 
 
zdv2.bktei.com Git - EVA-2020-02.git/log 
 
 
 
 
 
 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 07:32:47 +0000  (07:32 +0000)] 
 
chore(exec):Make recently created scripts executable 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 07:30:40 +0000  (07:30 +0000)] 
 
style(exec):Simplify nfg_run_daily_jobs.sh 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 07:17:37 +0000  (07:17 +0000)] 
 
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/ninfacyzga-01 into develop 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 07:15:36 +0000  (07:15 +0000)] 
 
feat(exec):Add script to run daily executables of nfg repo 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 06:53:57 +0000  (06:53 +0000)] 
 
fix(exec/photograph):Increase while loop delay from 10s to 60s 
 
- Note: battery life is the issue here. 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 06:46:27 +0000  (06:46 +0000)] 
 
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/ninfacyzga-01 into develop 
 
Steven Baltakatei Sandoval  [Mon, 18 Oct 2021 06:46:10 +0000  (06:46 +0000)] 
 
feat(exec/photograph):Add photographing script 
 
Steven Baltakatei Sandoval  [Sat, 16 Oct 2021 03:23:52 +0000  (03:23  +0000)] 
 
feat(exec):Add sleepRand.py 
 
- Note: sleepRand.py pauses activity for random amounts of time using 
  an inverse gaussian distribution. 
 
Steven Baltakatei Sandoval  [Sat, 2 Oct 2021 04:26:38 +0000  (04:26  +0000)] 
 
feat(lib/EVA-2020-02-2):Add dew point temperature display modec 
 
Steven Baltakatei Sandoval  [Sat, 2 Oct 2021 03:01:25 +0000  (03:01  +0000)] 
 
fix(lib/EVA-2020-02-2):Fix abs humid display units to g/kg 
 
Steven Baltakatei Sandoval  [Sat, 2 Oct 2021 02:29:41 +0000  (02:29  +0000)] 
 
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/ninfacyzga-01 into develop 
 
Steven Baltakatei Sandoval  [Sat, 2 Oct 2021 02:28:41 +0000  (02:28  +0000)] 
 
feat(lib/EVA-2020-02-2):Add absolute humidity mode 
 
Steven Baltakatei Sandoval  [Mon, 23 Aug 2021 18:48:32 +0000  (18:48 +0000)] 
 
feat(doc):add process flow diagram for planned sensor data mgmt 
 
Steven Baltakatei Sandoval  [Tue, 4 May 2021 06:06:21 +0000  (06:06 +0000)] 
 
chore(lib):Flip pimoroni enviro display vertically 
 
- note: needed now that vertical stands being used for devices 
 
Steven Baltakatei Sandoval  [Mon, 19 Apr 2021 00:14:01 +0000  (00:14  +0000)] 
 
fix(lib:EVA-2020-02-2):Add delay to pimoroni initial sensor reading 
 
Steven Baltakatei Sandoval  [Sun, 18 Apr 2021 23:32:40 +0000  (23:32 +0000)] 
 
chore(exec:pimoroni):Add symlink to enviro-mini pyscript in submod 
 
Steven Baltakatei Sandoval  [Sun, 18 Apr 2021 23:17:15 +0000  (23:17 +0000)] 
 
feat(lib):Move custom pimoroni to personal git server 
 
Steven Baltakatei Sandoval  [Sun, 18 Apr 2021 22:58:59 +0000  (22:58 +0000)] 
 
Merge branch 'develop' of https://zdv2.bktei.com/gitweb/ninfacyzga-01 into develop 
 
Steven Baltakatei Sandoval  [Sun, 18 Apr 2021 22:58:28 +0000  (22:58 +0000)] 
 
feat(lib):Add pimorni enviroplus python repo as submodule 
 
Steven Baltakatei Sandoval  [Tue, 9 Mar 2021 10:44:57 +0000  (10:44 +0000)] 
 
update(TODO): 
 
Steven Baltakatei Sandoval  [Mon, 25 Jan 2021 00:26:25 +0000  (00:26  +0000)] 
 
chore(TODO):Update task list 
 
Steven Baltakatei Sandoval  [Mon, 25 Jan 2021 00:11:08 +0000  (00:11  +0000)] 
 
remove(exec/bkplog):Retire old pressure logging script 
 
Superceded by `python script.py | bklog`. 
 
Steven Baltakatei Sandoval  [Mon, 25 Jan 2021 00:08:23 +0000  (00:08  +0000)] 
 
chore(TODO):Update task list 
 
Steven Baltakatei Sandoval  [Mon, 25 Jan 2021 00:06:00 +0000  (00:06  +0000)] 
 
remove(exec/bkgpslog):Remove unused location logging script 
 
`bkgpslog` has been superceded by `gpspipe | bklog`. 
 
Steven Baltakatei Sandoval  [Sat, 31 Oct 2020 04:28:53 +0000  (04:28  +0000)] 
 
chore(exec/temp):Fix CSV fields in stdout output 
 
Steven Baltakatei Sandoval  [Sat, 31 Oct 2020 04:15:52 +0000  (04:15  +0000)] 
 
fix(exec/bklog):Add kill switch if `while read` returns empty buffer 
 
Such as may occur if EOF condition experienced by `while read` 
 
Steven Baltakatei Sandoval  [Sat, 31 Oct 2020 03:53:47 +0000  (03:53  +0000)] 
 
fix(exec/temp):Handle exception from poll script's read function 
 
Script was exiting early. Adding exception handling in case 
`read_temp()` fails. 
 
Steven Baltakatei Sandoval  [Wed, 28 Oct 2020 21:20:21 +0000  (21:20 +0000)] 
 
chore(exec/temp):Slow temp log period to 10s 
 
Steven Baltakatei Sandoval  [Wed, 28 Oct 2020 21:04:11 +0000  (21:04 +0000)] 
 
fix(exec/temp):Remove buffer from poll py script to enable piping 
 
Steven Baltakatei Sandoval  [Tue, 27 Oct 2020 19:00:05 +0000  (19:00 +0000)] 
 
fix(exec/temp):Reduce socket calls for hostname 
 
Steven Baltakatei Sandoval  [Tue, 27 Oct 2020 18:58:29 +0000  (18:58 +0000)] 
 
feat(exec/temp):Log hostname in polling script 
 
Steven Baltakatei Sandoval  [Tue, 27 Oct 2020 18:54:53 +0000  (18:54 +0000)] 
 
fix(exec/temp):Make temp poll script executable 
 
Steven Baltakatei Sandoval  [Tue, 27 Oct 2020 18:50:37 +0000  (18:50 +0000)] 
 
feat(exec/temperature):Add poll py script, update README 
 
Add links to wiring instructions 
 
Steven Baltakatei Sandoval  [Tue, 27 Oct 2020 16:45:20 +0000  (16:45 +0000)] 
 
chore(TODO):Note need to create script to handle file encryption 
 
Steven Baltakatei Sandoval  [Sun, 25 Oct 2020 00:05:15 +0000  (00:05  +0000)] 
 
doc(temp/README):Initialize README for temperature logging 
 
Add datasheet for digital one-wire sensor 
 
Steven Baltakatei Sandoval  [Sat, 24 Oct 2020 23:35:53 +0000  (23:35 +0000)] 
 
chore(TODO):Update 
 
Steven Baltakatei Sandoval  [Mon, 19 Oct 2020 03:46:53 +0000  (03:46  +0000)] 
 
fix(doc):Enforce relative paths in org files, misc fixes 
 
Steven Baltakatei Sandoval  [Sat, 17 Oct 2020 23:32:33 +0000  (23:32 +0000)] 
 
feat(doc/time/README):Replace ntpsec/ntp with chrony 
 
Change initial startup procedures so that `chrony` is used instead of 
`ntp` or `ntpsec`. `chrony` seems to be more appropriate for devices 
that may experience intermittent unexpected shutdowns which 
~ninfacyzga-1~ devices now currently experience (being basically 
internet-of-things devices). 
 
Steven Baltakatei Sandoval  [Sat, 17 Oct 2020 21:24:41 +0000  (21:24 +0000)] 
 
fix(doc/setup/README):Add more details for SSH login 
 
Note commands to be used when setting up multiple newly formatted 
Raspberry Pi OS SD cards; the default hostname causes `ssh` to 
complain. 
 
Steven Baltakatei Sandoval  [Fri, 16 Oct 2020 23:10:42 +0000  (23:10 +0000)] 
 
chore(README):Update main readme. 
 
Steven Baltakatei Sandoval  [Fri, 16 Oct 2020 22:44:59 +0000  (22:44 +0000)] 
 
chore(doc/location):Remove old exported README cruft 
 
Steven Baltakatei Sandoval  [Fri, 16 Oct 2020 22:41:44 +0000  (22:41 +0000)] 
 
Merge branch 'feature/bash-logging-filter/BK-2020-02' of https://zdv2.bktei.com/gitweb/ninfacyzga-01 into feature/bash-logging-filter/BK-2020-02 
 
Steven Baltakatei Sandoval  [Fri, 16 Oct 2020 22:34:02 +0000  (22:34 +0000)] 
 
doc(doc/time):Document time tracking setup 
 
Also: 
 
- Add TODO item to use `chrony` instead of `ntpsec` 
 
- Modify `/doc/setup/README.org` to note need to disable bluetooth 
 
- Modify `/doc/location/README.org` to note possible need to modify 
`gpsd` configuration file again in order to provide ~pps~ signal to a 
time tracking program such as ~ntpsec~. 
 
Steven Baltakatei Sandoval  [Tue, 13 Oct 2020 18:38:03 +0000  (18:38 +0000)] 
 
Merge branch 'develop' into feature/time-server/EVA-2020-02 
 
Steven Baltakatei Sandoval  [Tue, 13 Oct 2020 18:37:15 +0000  (18:37 +0000)] 
 
doc(time):Prpeare update for README 
 
Steven Baltakatei Sandoval  [Mon, 12 Oct 2020 22:22:47 +0000  (22:22 +0000)] 
 
doc(time/README):Add working ntp.conf file and refs 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 18:14:14 +0000  (18:14 +0000)] 
 
doc(setup):Note need to install gpsbabel 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 18:03:17 +0000  (18:03 +0000)] 
 
doc(location/README):Note how to enable serial port for gpsd 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:57:37 +0000  (00:57  +0000)] 
 
fix(exec/bklog):Fix missing semicolon 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:56:05 +0000  (00:56  +0000)] 
 
fix(exec/bklog):Fix --no-store-raw option 
 
Removed extra `shift`. 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:50:29 +0000  (00:50  +0000)] 
 
doc(setup):Note how to connect remotely to Syncthing WebUI 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:38:11 +0000  (00:38  +0000)] 
 
doc(setup):Note how to start syncthing automatically 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:33:19 +0000  (00:33  +0000)] 
 
doc(setup):Note how to change time zone 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:24:08 +0000  (00:24  +0000)] 
 
chore(exec):Clean up dirs for age exec 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:22:22 +0000  (00:22  +0000)] 
 
exec(age):Add binary for linux-arm version of age 
 
Steven Baltakatei Sandoval  [Thu, 8 Oct 2020 00:18:20 +0000  (00:18  +0000)] 
 
doc(location):Update README 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 23:53:25 +0000  (23:53 +0000)] 
 
doc(setup):Update README with physical setup 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 23:46:16 +0000  (23:46 +0000)] 
 
doc(setup):Update README with SSH, git, and age details 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 23:13:19 +0000  (23:13 +0000)] 
 
feat(exec):Add age binary 
 
Obtained from https://github.com/FiloSottile/age/releases/tag/v1.0.0-beta2 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 23:11:40 +0000  (23:11 +0000)] 
 
doc(setup):Use zdv2.bktei.com instead of gitlab.com for repo 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 23:09:29 +0000  (23:09 +0000)] 
 
doc(various):Move common setup instructions to dedicatd README 
 
Move common setup instructions from `location` to a `setup/README.org` 
file. 
 
Note: Not all instructions moved over yet 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 17:50:37 +0000  (17:50 +0000)] 
 
chore(doc/time):Add ref for PiZ time server setup 
 
Steven Baltakatei Sandoval  [Wed, 7 Oct 2020 17:45:10 +0000  (17:45 +0000)] 
 
chore(doc/time):Update README 
 
Steven Baltakatei Sandoval  [Sat, 25 Jul 2020 19:35:07 +0000  (19:35 +0000)] 
 
doc(time):Create README for time server setup 
 
Start documentation process for making `ninfacyzga-01` a time server 
that uses satellite GPS data. 
 
Steven Baltakatei Sandoval  [Thu, 23 Jul 2020 21:58:09 +0000  (21:58 +0000)] 
 
doc(location):Add NMEA sentence descrip; bklog:init time style 
 
Steven Baltakatei Sandoval  [Mon, 20 Jul 2020 03:45:46 +0000  (03:45  +0000)] 
 
doc(bklog-plan): Add TODO feature: config file parsing 
 
Steven Baltakatei Sandoval  [Thu, 16 Jul 2020 01:01:44 +0000  (01:01  +0000)] 
 
feat(README):Convert main README to org file from markdown 
 
Steven Baltakatei Sandoval  [Wed, 15 Jul 2020 23:51:21 +0000  (23:51 +0000)] 
 
doc(bklog-plan):Note possible future feature: user config file 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 22:27:50 +0000  (22:27 +0000)] 
 
fix(bklog):Update plan, bump version (bklog working) 
 
Complete fix for `bklog` duration string bug. 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 19:47:38 +0000  (19:47 +0000)] 
 
fix(bklog):Fix initial edge case bug in duration time 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 19:40:03 +0000  (19:40 +0000)] 
 
fix(bklog):Fix flip-flopped buffer start/end timestamps 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 17:23:40 +0000  (17:23 +0000)] 
 
debug(bklog):Testing duration code 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 17:20:42 +0000  (17:20 +0000)] 
 
debug(bklog):Debugging duration code 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 16:58:48 +0000  (16:58 +0000)] 
 
fix(bklog):Fix gap in duration times 
 
Gap caused by not accounting for synchronous calcs between timestamps 
marking duration. Using method planned in `bklog-plan.org`. 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 03:23:37 +0000  (03:23  +0000)] 
 
fix(bklog):timeDuration():Fix duration 0 error. 
 
Duration of "0" was erroneously being converted to "P" instead of 
"PT0S". 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 03:08:18 +0000  (03:08  +0000)] 
 
doc(bklog-plan):Add TODO item:account for input script failure 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 03:00:09 +0000  (03:00  +0000)] 
 
Merge branch 'develop' into feature/bash-logging-filter/BK-2020-02 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 02:44:05 +0000  (02:44  +0000)] 
 
debug(bklog):Fix SECONDS advancing 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 02:39:33 +0000  (02:39  +0000)] 
 
debug(bklog):Add minor debug msg 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 02:31:40 +0000  (02:31  +0000)] 
 
debug(bklog):Add debug messages 
 
bklog is malfunctioning. Adding debug messages. 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 02:08:49 +0000  (02:08  +0000)] 
 
fix(bklog):Fix buffer drift via SECONDS 
 
==Change 1== 
Fix drift in when bklog starts reading data via `while read` by 
enforcing buffer termination when SECONDS (script variable that 
increments every second) rises above a number determined by the 
current bufferRound number and bufferTTL. 
 
==Change 2== 
Also initially advance SECONDS so it aligns with the remainder of 
dividing the current seconds remaining in the day by bufferTTL. The 
result should be that, if the user specifies a bufferTTL value that is 
a clean fraction of a time element (ex: a bufferTTL of 5 minutes = 300 
seconds), then each buffer round should start at a clean fraction of 
absolute time with respect to the day (ex: 02:05, 02:10, 02:15, 
etc.). This may assist searching through saved files since instead of 
files named: 
 
20200714T000019+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T000521+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T001023+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T001525+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T002027+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T002529+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T003031+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T003533+0000--PT5M0S..hostname_location.nmea.gz.age 
 
they will be named something more like: 
 
20200714T000000+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T000500+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T001000+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T001500+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T002000+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T002500+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T003000+0000--PT5M0S..hostname_location.nmea.gz.age 
20200714T003500+0000--PT5M0S..hostname_location.nmea.gz.age 
 
==Change 3== 
 
Fix how the ISO-8601 duration string is calculated. Instead of using a 
fixed value of `bufferTTL` seconds, record the epoch start and end 
times (in seconds since 1970-01-01) of the main data gathering loop 
and then calculate the difference. Now, actual deviations in buffer 
gathering durations (ex: the first buffer round will likely be shorter 
than a normal one) will be accurately represented. 
 
Steven Baltakatei Sandoval  [Tue, 14 Jul 2020 01:03:27 +0000  (01:03  +0000)] 
 
doc(bklog-plan):Add TODO task: correct drift of SECONDS 
 
Steven Baltakatei Sandoval  [Mon, 13 Jul 2020 22:31:14 +0000  (22:31 +0000)] 
 
fix(bklog):Add 2nd try to checkMakeTar() if tar --list fails 
 
Steven Baltakatei Sandoval  [Sun, 12 Jul 2020 21:35:16 +0000  (21:35 +0000)] 
 
doc(exec):Create coding plan for bklog, retire bkgpslog plan 
 
Create coding plan for `bklog` at `exec/bklog-plan.org`. 
 
Retire coding plan for `bkgpslog` at `exec/bkgpslog-plan.org`. 
 
Steven Baltakatei Sandoval  [Sun, 12 Jul 2020 21:05:23 +0000  (21:05 +0000)] 
 
doc(bklog):Update location readme with bklog details 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 09:28:00 +0000  (09:28 +0000)] 
 
chore(bklog):Update vbm() to include script name 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 09:09:31 +0000  (09:09 +0000)] 
 
fix(pressure):bmp388.py:Make executable 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 08:51:45 +0000  (08:51 +0000)] 
 
doc(pressure):Note python-smbus dependency for bmp388.py script 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 08:42:46 +0000  (08:42 +0000)] 
 
feat(pressure):Add python script for outputting pressure to stdout 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 08:23:00 +0000  (08:23 +0000)] 
 
fix(bklog):Fix debug and status messages 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 08:02:18 +0000  (08:02 +0000)] 
 
test(bklog):Uncomment cleanup line since script functional 
 
Use of appendFileTar() to append a file to a tar using the file's same 
location as a temporary working file caused problems. More direct 
'eval' command string formation and 'tar --append' usage solved empty 
file problem. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:54:48 +0000  (07:54 +0000)] 
 
debug(bklog):Test tar --append 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:51:48 +0000  (07:51 +0000)] 
 
debug(bklog):Test more direct tar --append operation 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:37:04 +0000  (07:37 +0000)] 
 
chore(bklog):Bump version for recent commit change. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:35:43 +0000  (07:35 +0000)] 
 
fix(bklog):Add missing appendArgTar() function 
 
Note:Used by magicWriteVersion() function. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:33:28 +0000  (07:33 +0000)] 
 
debug(bklog):Fix version appending; test filewrite change 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 07:10:45 +0000  (07:10 +0000)] 
 
debug(bklog):Debugging write command 
 
Note: bklog appending appropriately named files to tar but they are 
all empty. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 06:43:07 +0000  (06:43 +0000)] 
 
debug(bklog):Add debug msgs in magicParseProcessStrings 
 
Add debug msgs to try and debug error in procStrings and procFileExts 
arrays. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 06:39:19 +0000  (06:39 +0000)] 
 
fix(bklog):Fix how procStrings and procFileExts arrays assembled 
 
Default raw data was not being included in output file processing 
since procStrings and procFileExts arrays were being completely 
overwritten instead of being appended by argProcStrings array 
assembled in magicParseProcessStrings() function. 
 
Steven Baltakatei Sandoval  [Sat, 11 Jul 2020 06:21:32 +0000  (06:21 +0000)] 
 
style(bklog):Combine functions that parse '-r' and '-R' 
 
Combine functions magicParseRecipientArgs() and 
magicParseRecipientDir() into magicParseRecipients(). 
 
Group showUsage() function with other script-specific functions.