Kelvin Ly
|
73bd49191b
|
Add working service file
|
2023-05-17 22:11:42 -04:00 |
Kelvin Ly
|
838671781e
|
Lots of small tweaks to get stuff to work; generate hex files for Arduino firmware
|
2023-05-17 22:09:39 -04:00 |
Kelvin Ly
|
91b4dbd0c8
|
Don't error out on timeout
|
2023-05-17 07:25:26 -04:00 |
Kelvin Ly
|
811ed951e1
|
Write newlines to trigger read error out on a closed connection
|
2023-05-17 07:22:44 -04:00 |
Kelvin Ly
|
738c52984e
|
Try adding a dummy write so that the TCP read fails correctly
|
2023-05-17 07:07:28 -04:00 |
Kelvin Ly
|
13239a6b91
|
Change addressing scheme and fix SQL bug
|
2023-05-16 23:07:25 -04:00 |
Kelvin Ly
|
ce2cac6602
|
Add code to remove old data and switch the port to 8085
|
2023-05-16 20:42:42 -04:00 |
Kelvin Ly
|
6287708d8c
|
Move admin to static folder, reduce manual mode timeout to 40 seconds
|
2023-05-16 16:01:08 -04:00 |
Kelvin Ly
|
e3cc1cd407
|
Add 100x decimation
|
2023-05-16 16:00:29 -04:00 |
Kelvin Ly
|
3baa19d145
|
Implement manual mode controls and thread manual mode status logic from the controller to the front end
|
2023-05-16 15:42:57 -04:00 |
Kelvin Ly
|
251d23446a
|
Parameterize everything
|
2023-05-16 14:49:25 -04:00 |
Kelvin Ly
|
80916bc3fa
|
Deal with failed parameter queries properly
|
2023-05-16 14:49:17 -04:00 |
Kelvin Ly
|
7ca6f6f192
|
Start work on admin page; parameter setting works, TODO manual mode
|
2023-05-16 13:50:33 -04:00 |
Kelvin Ly
|
e908495c0c
|
Switch to auth_secret file that's compiled in at runtime instead of a hardcoded string
|
2023-05-16 13:49:55 -04:00 |
Kelvin Ly
|
35e7a5641f
|
Rename index.htm to index.html so it's served as '/' as well
|
2023-05-16 13:16:26 -04:00 |
Kelvin Ly
|
762ca60f4c
|
Move dev webpage to static folder TODO figure out why index.htm isn't showing up at the root webpage
|
2023-05-16 13:13:52 -04:00 |
Kelvin Ly
|
dcef35b3b2
|
Minor changes to data ingestion pipeline
|
2023-05-16 12:22:13 -04:00 |
Kelvin Ly
|
ea2bc8b96b
|
Implement customizable decimation rate, window size, and update rate
|
2023-05-16 12:21:49 -04:00 |
Kelvin Ly
|
e5e4289342
|
Add support for parameter querying and modification
|
2023-05-16 11:35:06 -04:00 |
Kelvin Ly
|
0934e2df8d
|
Increase TCP buffer size, fix truncation bug; it should truncate before
trying to read
|
2023-05-16 10:29:07 -04:00 |
Kelvin Ly
|
af7627a15a
|
Rename ShroomStatus to ShroomState
|
2023-05-16 10:24:50 -04:00 |
Kelvin Ly
|
5bb945e875
|
Refactor the controller-server format a bit; also add in some protection to prevent overrun issues
|
2023-05-16 10:19:16 -04:00 |
Kelvin Ly
|
09504e9ec5
|
Have only one version of the controller, TODO add flags to switch from mock and actual version
|
2023-05-16 09:42:25 -04:00 |
Kelvin Ly
|
3a7bb60360
|
Test out admin mode commands; it looks like the basic idea works for now at least
|
2023-05-15 16:44:53 -04:00 |
Kelvin Ly
|
f1723ff5bd
|
Add stdout thread to capture commands from the server
|
2023-05-15 16:38:17 -04:00 |
Kelvin Ly
|
9692132e75
|
Add model for humidity, fix bug in Status logic
|
2023-05-15 14:30:56 -04:00 |
Kelvin Ly
|
008cde9d5e
|
Add status, adjust updater logic, add seconds/ API, fix time formatting to be more human readable
|
2023-05-15 12:19:40 -04:00 |
Kelvin Ly
|
ce21b6fa85
|
Implement updatable charts
|
2023-05-15 11:05:41 -04:00 |
Kelvin Ly
|
00868284bd
|
Implement a simple mushroom controller mock
|
2023-05-15 10:45:26 -04:00 |
Kelvin Ly
|
18ffe01347
|
Switch to using milliseconds as the unit of time
|
2023-05-15 10:45:07 -04:00 |
Kelvin Ly
|
0ca4da4b6c
|
Modify the API format a bit and fix bug with the packet parsing logic
|
2023-05-15 10:22:45 -04:00 |
Kelvin Ly
|
25d3788478
|
Lots of small modifications and refactors
|
2023-05-14 15:23:47 -04:00 |
Kelvin Ly
|
928692334c
|
Add Arduino firmware
|
2023-05-14 13:53:10 -04:00 |
Kelvin Ly
|
15e06d9b0c
|
Add TCP piping util
|
2023-05-14 09:34:21 -04:00 |
Kelvin Ly
|
8aa47b3ccb
|
Add support for a dev folder
|
2023-05-14 08:18:42 -04:00 |
Kelvin Ly
|
3d9f9eceed
|
Working queries/data ingestion TODO outputting status, admin commands, UI
|
2023-05-14 08:01:08 -04:00 |