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
c2810d4871
Improve format of index
2019-07-22 12:42:04 +01:00
d9cf650019
Write index JSON file to AI output directory
2019-07-22 12:40:19 +01:00
92574bc98c
Serialise trained AIs and save them to disk
2019-07-22 11:53:30 +01:00
7469d4c1bf
ttn listener:Delete debug lines
2019-07-19 13:10:47 +01:00
5f5a4382a3
Move npm dependencies to top-level of repo
2019-07-19 12:12:34 +01:00
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
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
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
f7e2d77daa
Start writing the AI training code, but it's not finished yet
2019-07-17 14:16:24 +01:00
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
952312fbd3
Add none mode to logging.date_display_mode
2019-07-16 18:03:35 +01:00
2a9de80848
Add logging.colour settings option
2019-07-16 18:01:17 +01:00
d84d838775
Another typo
2019-07-16 16:32:24 +01:00
d806a2e4c9
Fixed bugs in new AEs encryption layer.
2019-07-15 14:31:39 +01:00
723941bdf8
Implement an extra layer of encryption, but it's untested.
2019-07-15 13:49:44 +01:00
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
4914d5a492
Bugfix data processor
2019-07-11 14:07:55 +01:00
70da049d49
Implement initial data processor, but it's untested.
2019-07-11 14:03:27 +01:00
8d822c33c0
Tidy up logging
2019-07-10 14:44:52 +01:00
1ee184d82d
Bugfix: Use latitude and longitude instead of lat long
2019-07-10 14:32:58 +01:00
70d29a9517
Bugfix: Correct SQlite db intialisation code
2019-07-10 14:20:46 +01:00
08a4ebe9f1
Bugfix: Reference db_template currectly when initialising the db connection
2019-07-10 14:13:47 +01:00
bd08aae1da
Asyncify everything so that we can do dependency injection
2019-07-10 14:11:46 +01:00
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
855cbc0c1b
Insert into ReadingRepo, but it's not tested yet
2019-07-09 17:31:08 +01:00
3123215f11
Make sure SQLite repos reflect the database template
2019-07-09 14:07:23 +01:00
489aac2263
Update SQLite repositories to use awilix container
2019-07-09 14:05:42 +01:00
d65f512003
Pass message on to message handler
2019-07-09 13:14:25 +01:00
380f984253
Bugfix: Correct payload decoder
2019-07-09 13:14:12 +01:00
46bb1d9047
Add a decode-test action to the Node.js server.
2019-07-09 13:12:54 +01:00
321b154105
Decode incoming messages as JSON
2019-07-09 11:46:35 +01:00
5aa990b421
Use mqtt directly instead of simple-mqtt-client
2019-07-08 16:06:06 +01:00
42841d07e8
Finish switching over to simple-mqtt-client, but it's still broken
2019-07-08 15:42:05 +01:00
1a39c5902e
Start switching over to simple-mqtt-client, but it's not finished yet
2019-07-04 20:53:00 +01:00
e3a667cb69
Implement the ttn client connection, but it throws a syntax error.
2019-07-04 17:18:38 +01:00
88d8a14154
Bugfix the container
2019-06-04 18:53:38 +01:00
1aac3e9432
Start working on the architectural diagrams, but they aren't finished yet.
2019-06-03 14:14:23 +01:00
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
31a75b5589
Bugfix: Fix repository default exports
2019-05-29 11:36:36 +01:00
26c82ac7e6
Create the rest of the repositories, but it isn't tested yet.
2019-05-29 11:35:10 +01:00
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
ed256c1e76
Update TTNAppServer to use awilix DI container
2019-05-23 22:39:10 +01:00
0d3edd0a93
Get dependency injection (basically) working. Hooray!
2019-05-23 22:26:31 +01:00
15a5bf9d03
Autoload repositories as required
2019-05-23 21:01:32 +01:00
afec88082b
Start working on dependency injection, but it's complex & not finished yet.
2019-05-23 20:10:06 +01:00
5b4ffba112
Add comment
2019-05-22 19:58:46 +01:00
087c7e23c1
Add missing column
2019-05-22 19:58:06 +01:00
aaee7880fb
db template: fix syntax
2019-05-22 18:05:40 +01:00
99bbb34843
Start creating the database structure, but it's unfinished.
2019-05-22 18:04:46 +01:00