This website requires JavaScript.
121d39bfae
Improve retry and cleanup logic
esp32-shrooms
Kelvin Ly
2025-03-18 22:36:58 -0400
be008a2876
SSH connection logic seems to be working correctly
Kelvin Ly
2025-03-18 22:28:13 -0400
f0e7bbe358
Switch to using libssh2 from someone who knows how to properly configure it
Kelvin Ly
2025-03-18 22:21:45 -0400
363ce80f14
Start work on using libssh2 to establish an SSH session
Kelvin Ly
2025-03-18 00:06:45 -0400
0720606969
Get WiFi connected on ESP32
Kelvin Ly
2025-03-17 15:32:10 -0400
dcfd5ebc79
Implement datalogger
Kelvin Ly
2025-02-16 09:07:45 -0500
ed1d6cb43a
Slight ergonomic refactor
Kelvin Ly
2025-02-15 11:17:18 -0500
7dd74ac36c
Implement append-only log store
Kelvin Ly
2025-02-15 08:32:01 -0500
b1bfeab645
Start of ESP32 code TODO setup wifi connection, sync RTC time, then the rest
Kelvin Ly
2025-02-10 23:53:58 -0500
36a7d28187
Save before switching to new architecture
Kelvin Ly
2025-02-10 23:09:55 -0500
5dd60e87e4
Ensure the floating point parsing at least kind of works
Kelvin Ly
2024-08-25 13:45:08 -0400
19483a0f68
Move more logic onto the Arduino, make properties adjustable
Kelvin Ly
2024-08-25 13:44:46 -0400
38f26f3e65
Add support for the fan
master
Kelvin Ly (from lePotato)
2024-08-21 12:59:12 -0400
a65dcb1ee4
Make the piping logic more robust and separate it further from the main process to avoid stalling the controller logic; add in staggered restarts
Kelvin Ly (from lePotato)
2024-08-21 11:08:57 -0400
3117487346
Feedback the humidifier relay pin state to ensure it gets set
Kelvin on RPi
2024-08-11 20:35:01 +0100
ad2b15d49e
Various tweaks
Kelvin on RPi
2024-08-09 21:39:50 +0100
df4d3b130d
Fix typo
Kelvin on RPi
2024-08-09 20:50:21 +0100
2cb6472133
Separate out classes into separate files
Kelvin on RPi
2024-08-09 20:49:54 +0100
476a5cb8d1
Add more entries for different number of hours
Kelvin Ly
2023-09-27 23:31:18 -0400
c38fbc474c
Speed up latest entry lookup by using the cache if it's not empty
Kelvin Ly
2023-09-27 23:09:29 -0400
88136304e4
Fix typos
Kelvin Ly
2023-09-27 07:35:49 -0400
a9abe87413
Fix dumb typo
Kelvin Ly
2023-09-27 05:35:04 -0400
e0cc31794b
Fix humidifier status code and adjust rate to 2SPS from 5SPS
Kelvin Ly
2023-09-27 04:48:48 -0400
85a85f6588
Swap out the SHT20 bare boards for the contained SHT30 boards
Kelvin Ly
2023-09-27 04:45:25 -0400
93fc82fbd2
Fix humidifier 1 toggle command
Kelvin Ly
2023-09-21 22:20:57 -0400
b4003246a8
Merge branch 'stagger'
Kelvin Ly
2023-09-21 22:08:42 -0400
4ba46b8331
Stagger humidifier toggles to avoid browning out the USB adapter
Kelvin Ly
2023-09-21 22:08:32 -0400
4bbf387f4f
Switch humidifier 1 to the same wiring as humidifier2
Kelvin Ly
2023-09-21 22:07:23 -0400
f69ae9eed2
Lower I2C speed to reduce errors due to longer cable
Kelvin Ly
2023-09-04 13:56:26 -0400
dcf8069f68
Add support for second voltage column
Kelvin Ly
2023-07-30 23:52:43 -0400
c7ace97ef0
Man I suck at SQL
Kelvin Ly
2023-07-30 23:45:40 -0400
8f533d191d
Fix typo in table creation
Kelvin Ly
2023-07-30 23:43:44 -0400
1083d56c50
Add support for second humdifier to server
Kelvin Ly
2023-07-30 23:36:20 -0400
8dae2ce83c
Add more missing humidifier2 stuff
Kelvin Ly
2023-07-30 23:27:22 -0400
bd63e4e0fc
Fix bugs; set pin 5 to OUPUT to make it usable, fix one bug in contrller code
Kelvin Ly
2023-07-30 23:08:57 -0400
31859f8a69
Add in second humdifier channel TODO add in code on server side
Kelvin Ly
2023-07-30 22:40:44 -0400
d404651a74
Improve cache testing a bit more
Kelvin Ly
2023-07-03 05:16:23 -0400
e56c4835f1
Add caching to reduce load on sqlite
Kelvin Ly
2023-07-03 05:12:19 -0400
b4b1d2d60b
Fix bug with old data deletion
Kelvin Ly
2023-07-02 15:15:37 -0400
73bd49191b
Add working service file
Kelvin Ly
2023-05-17 22:11:42 -0400
838671781e
Lots of small tweaks to get stuff to work; generate hex files for Arduino firmware
Kelvin Ly
2023-05-17 22:09:39 -0400
91b4dbd0c8
Don't error out on timeout
Kelvin Ly
2023-05-17 07:25:26 -0400
811ed951e1
Write newlines to trigger read error out on a closed connection
Kelvin Ly
2023-05-17 07:22:44 -0400
738c52984e
Try adding a dummy write so that the TCP read fails correctly
Kelvin Ly
2023-05-17 07:07:28 -0400
13239a6b91
Change addressing scheme and fix SQL bug
Kelvin Ly
2023-05-16 23:07:25 -0400
ce2cac6602
Add code to remove old data and switch the port to 8085
Kelvin Ly
2023-05-16 20:42:42 -0400
6287708d8c
Move admin to static folder, reduce manual mode timeout to 40 seconds
Kelvin Ly
2023-05-16 16:01:08 -0400
e3cc1cd407
Add 100x decimation
Kelvin Ly
2023-05-16 16:00:29 -0400
3baa19d145
Implement manual mode controls and thread manual mode status logic from the controller to the front end
Kelvin Ly
2023-05-16 15:42:57 -0400
251d23446a
Parameterize everything
Kelvin Ly
2023-05-16 14:49:25 -0400
80916bc3fa
Deal with failed parameter queries properly
Kelvin Ly
2023-05-16 14:49:17 -0400
7ca6f6f192
Start work on admin page; parameter setting works, TODO manual mode
Kelvin Ly
2023-05-16 13:50:33 -0400
e908495c0c
Switch to auth_secret file that's compiled in at runtime instead of a hardcoded string
Kelvin Ly
2023-05-16 13:49:55 -0400
35e7a5641f
Rename index.htm to index.html so it's served as '/' as well
Kelvin Ly
2023-05-16 13:16:26 -0400
762ca60f4c
Move dev webpage to static folder TODO figure out why index.htm isn't showing up at the root webpage
Kelvin Ly
2023-05-16 13:13:52 -0400
dcef35b3b2
Minor changes to data ingestion pipeline
Kelvin Ly
2023-05-16 12:22:13 -0400
ea2bc8b96b
Implement customizable decimation rate, window size, and update rate
Kelvin Ly
2023-05-16 12:21:49 -0400
e5e4289342
Add support for parameter querying and modification
Kelvin Ly
2023-05-16 11:35:06 -0400
0934e2df8d
Increase TCP buffer size, fix truncation bug; it should truncate before trying to read
Kelvin Ly
2023-05-16 10:25:57 -0400
af7627a15a
Rename ShroomStatus to ShroomState
Kelvin Ly
2023-05-16 10:24:50 -0400
5bb945e875
Refactor the controller-server format a bit; also add in some protection to prevent overrun issues
Kelvin Ly
2023-05-16 10:19:16 -0400
09504e9ec5
Have only one version of the controller, TODO add flags to switch from mock and actual version
Kelvin Ly
2023-05-16 09:42:25 -0400
3a7bb60360
Test out admin mode commands; it looks like the basic idea works for now at least
Kelvin Ly
2023-05-15 16:38:37 -0400
f1723ff5bd
Add stdout thread to capture commands from the server
Kelvin Ly
2023-05-15 16:38:17 -0400
9692132e75
Add model for humidity, fix bug in Status logic
Kelvin Ly
2023-05-15 14:30:56 -0400
008cde9d5e
Add status, adjust updater logic, add seconds/ API, fix time formatting to be more human readable
Kelvin Ly
2023-05-15 12:19:40 -0400
ce21b6fa85
Implement updatable charts
Kelvin Ly
2023-05-15 11:05:41 -0400
00868284bd
Implement a simple mushroom controller mock
Kelvin Ly
2023-05-15 10:45:26 -0400
18ffe01347
Switch to using milliseconds as the unit of time
Kelvin Ly
2023-05-15 10:45:07 -0400
0ca4da4b6c
Modify the API format a bit and fix bug with the packet parsing logic
Kelvin Ly
2023-05-15 10:22:45 -0400
25d3788478
Lots of small modifications and refactors
Kelvin Ly
2023-05-14 15:23:47 -0400
928692334c
Add Arduino firmware
Kelvin Ly
2023-05-14 13:53:10 -0400
15e06d9b0c
Add TCP piping util
Kelvin Ly
2023-05-14 09:34:21 -0400
8aa47b3ccb
Add support for a dev folder
Kelvin Ly
2023-05-14 08:18:42 -0400
3d9f9eceed
Working queries/data ingestion TODO outputting status, admin commands, UI
Kelvin Ly
2023-05-14 08:00:35 -0400