bucket-brain's People
bucket-brain's Issues
Create front-end for data display and db manipulation
The front end should be able to show you anything sensors have picked up (including images), as well as modify data in the db to be used for scheduling.
Test for memory card corruption -- use thumbdrive?
Writing a bunch of images to the microsd card is probably not a great idea. Instead, maybe use a thumb drive for writes that happen frequently. In the extreme, there'd even be two DBs; one for 'life support' scheduling tasks that gets written to rarely, and another for monitoring that gets written all the time. also move the logs to a thumb drive?
interruptable scheduling - take pictures
If the lights are on a 12 hour / 12 hour duty cycle, I should be able to add a camera task that turns off the lights when it's taking a picture so as not to have the image washed out.
Fix directory structure
keeping everything in utils is dumb
Create system for reading from db in pump and light processes.
Pump and light processes should use the db, not hardcoded values, to decide when to go on / off. Need state awareness and polling the db, so if I tell the lights to go off and stay off for a week, then make an update telling them to go to a 5minute on, 5minute off duty cycle, they can switch immediately rather than only checking at the end of the week.
Stop hardcoding filenames
Need a config file so that e.g. path names in start scripts aren't hard coded.
Interruptable scheduling: turn off lights
The purple grow lights are pretty uncomfortable to be around long-term. To make these easier to install in lightly-trafficked areas, it would be nice to use a motion sensor to detect when people are around and turn off the lights for 5-10 minutes from the last detected movement. The process responsible for the lights (which may be the process responsible for all gpio stuff) should get input from the motion sensor--they should not share control of the GPIO pin.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.