Commit Graph

319 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 92574bc98c Serialise trained AIs and save them to disk 2019-07-22 11:53:30 +01:00
Starbeamrainbowlabs dd9d39ba52 Create initial scaffolding for client-side map interface. 2019-07-19 15:36:21 +01:00
Starbeamrainbowlabs 7469d4c1bf ttn listener:Delete debug lines 2019-07-19 13:10:47 +01:00
Starbeamrainbowlabs 5f5a4382a3 Move npm dependencies to top-level of repo 2019-07-19 12:12:34 +01:00
Starbeamrainbowlabs 5c7cc1e906 Fix bugs in AI trainer. It works, but precisely it's doing si up for debate.... 2019-07-18 17:22:37 +01:00
Starbeamrainbowlabs 192e31a925 Write the the data input, but it's untested.
There's also some confusion over the batch size. If it doesn't work, we 
probably need to  revise our understanding of the batch size in 
different contexts.
2019-07-18 16:34:25 +01:00
Starbeamrainbowlabs 6dbb6c3b87 Hook up a dataset importer for training the AIs, but it's untested.
Also, we don't have any code that actually does the training itself 
either yet.
2019-07-17 15:15:31 +01:00
Starbeamrainbowlabs f7e2d77daa Start writing the AI training code, but it's not finished yet 2019-07-17 14:16:24 +01:00
Starbeamrainbowlabs 1252d60af0 Default to 0600 when creating the custom settings file
The custom settings file will likely contain encryption keys and other 
sensitive data, so it's probably a good idea to tighten up the default 
permissions on it.
2019-07-16 18:08:39 +01:00
Starbeamrainbowlabs 952312fbd3 Add none mode to logging.date_display_mode 2019-07-16 18:03:35 +01:00
Starbeamrainbowlabs 2a9de80848 Add logging.colour settings option 2019-07-16 18:01:17 +01:00
Starbeamrainbowlabs 680b5cb16e rsyslog: Fix syntax 2019-07-16 17:53:06 +01:00
Starbeamrainbowlabs 883ce2b2cb rsyslog: Use stop instead of ~ 2019-07-16 17:49:11 +01:00
Starbeamrainbowlabs e65757308d ttn-server -> tth-listener 2019-07-16 17:47:59 +01:00
Starbeamrainbowlabs 423d0a0dd8 Write rsyslog config file 2019-07-16 17:42:07 +01:00
Starbeamrainbowlabs abb13161da Write service file for TTN listener 2019-07-16 17:39:22 +01:00
Starbeamrainbowlabs d84d838775 Another typo 2019-07-16 16:32:24 +01:00
Starbeamrainbowlabs c703e1c2c4 typo 2019-07-16 16:14:55 +01:00
Starbeamrainbowlabs d57e35b1a9 Make bibtex optional too 2019-07-16 16:14:32 +01:00
Starbeamrainbowlabs 4d3ea4beba Bugfix: Fix syntax error in build script 2019-07-16 16:13:53 +01:00
Starbeamrainbowlabs af5b0bed61 build: Make pdflatex optional
Also ignore all text files
2019-07-16 15:42:24 +01:00
Starbeamrainbowlabs cf1e49f08d Implement GPS delta checking 2019-07-15 15:25:51 +01:00
Starbeamrainbowlabs d806a2e4c9 Fixed bugs in new AEs encryption layer. 2019-07-15 14:31:39 +01:00
Starbeamrainbowlabs 723941bdf8 Implement an extra layer of encryption, but it's untested. 2019-07-15 13:49:44 +01:00
Starbeamrainbowlabs 0604062966 Add aes-js to decrypt the incoming data, but we haven't put it to use just yet 2019-07-15 11:46:41 +01:00
Starbeamrainbowlabs 5b97ada857 Revise ethics form based on ethics review feedback 2019-07-15 11:46:18 +01:00
Starbeamrainbowlabs 4914d5a492 Bugfix data processor 2019-07-11 14:07:55 +01:00
Starbeamrainbowlabs 70da049d49 Implement initial data processor, but it's untested. 2019-07-11 14:03:27 +01:00
Starbeamrainbowlabs d0d303bc4b Bugfix: Squash sd card writing issue 2019-07-11 13:17:01 +01:00
Starbeamrainbowlabs f80571e444 Write test program for the SdFat library 2019-07-11 13:10:24 +01:00
Starbeamrainbowlabs a77fcf637c Change MicroSD card test serial speed 2019-07-11 12:52:05 +01:00
Starbeamrainbowlabs 8d822c33c0 Tidy up logging 2019-07-10 14:44:52 +01:00
Starbeamrainbowlabs 1ee184d82d Bugfix: Use latitude and longitude instead of lat long 2019-07-10 14:32:58 +01:00
Starbeamrainbowlabs 70d29a9517 Bugfix: Correct SQlite db intialisation code 2019-07-10 14:20:46 +01:00
Starbeamrainbowlabs 08a4ebe9f1 Bugfix: Reference db_template currectly when initialising the db connection 2019-07-10 14:13:47 +01:00
Starbeamrainbowlabs bd08aae1da Asyncify everything so that we can do dependency injection 2019-07-10 14:11:46 +01:00
Starbeamrainbowlabs 121cfc2418 Write some glue code to insert the measurement info into the database
....but it's untested.
2019-07-10 12:21:38 +01:00
Starbeamrainbowlabs 855cbc0c1b Insert into ReadingRepo, but it's not tested yet 2019-07-09 17:31:08 +01:00
Starbeamrainbowlabs 3123215f11 Make sure SQLite repos reflect the database template 2019-07-09 14:07:23 +01:00
Starbeamrainbowlabs 489aac2263 Update SQLite repositories to use awilix container 2019-07-09 14:05:42 +01:00
Starbeamrainbowlabs d494998ff8 Update .gitignore 2019-07-09 13:41:32 +01:00
Starbeamrainbowlabs d65f512003 Pass message on to message handler 2019-07-09 13:14:25 +01:00
Starbeamrainbowlabs 380f984253 Bugfix: Correct payload decoder 2019-07-09 13:14:12 +01:00
Starbeamrainbowlabs 3f1cf278e9 Fix ttn app server action in build script 2019-07-09 13:13:11 +01:00
Starbeamrainbowlabs 46bb1d9047 Add a decode-test action to the Node.js server. 2019-07-09 13:12:54 +01:00
Starbeamrainbowlabs b95505eaff Try to fix the sd card issue, but there's no change :-/
For some crazy reason it's not writing to the cd card anymore. At all. 
Arghhhh!
2019-07-09 13:12:32 +01:00
Starbeamrainbowlabs 7dba01bff1 Bugfix: Cast longitude to longitude byte array 2019-07-09 13:11:31 +01:00
Starbeamrainbowlabs 321b154105 Decode incoming messages as JSON 2019-07-09 11:46:35 +01:00
Starbeamrainbowlabs 5aa990b421 Use mqtt directly instead of simple-mqtt-client 2019-07-08 16:06:06 +01:00
Starbeamrainbowlabs 42841d07e8 Finish switching over to simple-mqtt-client, but it's still broken 2019-07-08 15:42:05 +01:00