Commit Graph

60 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 43f99d6b5d Try to add an additional input to the neural network, but it's not working. 2019-07-29 14:17:28 +01:00
Starbeamrainbowlabs ff412dcd5d Update CLI help 2019-07-25 13:17:23 +01:00
Starbeamrainbowlabs 61edaf6fa3 Write AI layer, but it's untested. 2019-07-23 15:45:29 +01:00
Starbeamrainbowlabs f0694de02c Bugfix: Create 1 model per-gateway 2019-07-23 15:14:50 +01:00
Starbeamrainbowlabs d158868c3f AITrainer: Save gateway locations to the index file 2019-07-23 13:44:00 +01:00
Starbeamrainbowlabs ebbc96ec8c HACK: Dynamically import the AITrainer when it's needed to avoid crashes when the AVX instruction set isn't available 2019-07-22 16:04:49 +01:00
Starbeamrainbowlabs c2810d4871 Improve format of index 2019-07-22 12:42:04 +01:00
Starbeamrainbowlabs d9cf650019 Write index JSON file to AI output directory 2019-07-22 12:40:19 +01:00
Starbeamrainbowlabs 92574bc98c Serialise trained AIs and save them to disk 2019-07-22 11:53:30 +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 d84d838775 Another typo 2019-07-16 16:32:24 +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 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 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 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 46bb1d9047 Add a decode-test action to the Node.js server. 2019-07-09 13:12:54 +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
Starbeamrainbowlabs 1a39c5902e Start switching over to simple-mqtt-client, but it's not finished yet 2019-07-04 20:53:00 +01:00
Starbeamrainbowlabs e3a667cb69 Implement the ttn client connection, but it throws a syntax error. 2019-07-04 17:18:38 +01:00
Starbeamrainbowlabs 88d8a14154 Bugfix the container 2019-06-04 18:53:38 +01:00
Starbeamrainbowlabs 1aac3e9432 Start working on the architectural diagrams, but they aren't finished yet. 2019-06-03 14:14:23 +01:00
Starbeamrainbowlabs 009d6335a0 Setup basic logging framework.
In the future, we might be able to use a proxy object here or some other 
wizadry? I'm not sure.
2019-05-29 11:59:40 +01:00
Starbeamrainbowlabs 31a75b5589 Bugfix: Fix repository default exports 2019-05-29 11:36:36 +01:00
Starbeamrainbowlabs 26c82ac7e6 Create the rest of the repositories, but it isn't tested yet. 2019-05-29 11:35:10 +01:00
Starbeamrainbowlabs 0cba7297d4 I'm not quite sure where this is going now.
DI definitely helps, but we're going to have to figure out a pattern for 
this.

It's either going to have to be repository or active record I think
2019-05-23 22:48:51 +01:00
Starbeamrainbowlabs ed256c1e76 Update TTNAppServer to use awilix DI container 2019-05-23 22:39:10 +01:00
Starbeamrainbowlabs 0d3edd0a93 Get dependency injection (basically) working. Hooray! 2019-05-23 22:26:31 +01:00
Starbeamrainbowlabs 15a5bf9d03 Autoload repositories as required 2019-05-23 21:01:32 +01:00