bmayfi3ld / smartrelay Goto Github PK
View Code? Open in Web Editor NEWOklahoma State University Capstone Design Project Smart Relay
License: MIT License
Oklahoma State University Capstone Design Project Smart Relay
License: MIT License
#check if values are out of range
# wait 30 seconds then turn back on, if occuring twice in 10 min period leave off
returns null values and everything else gets angry
yep
update main.py to use threading module.
This will be put off, unless features are needed to finish other tickets.
if the log file gets empty rows the charts won't display, just need a simple data cleaner on the web app
main.py needs to be able to handle there not being an ini file. Probably just setting with default values. Will intersect with handling no internet
also needs a way of loading new ini file locally without shell access.
thinking of having properly formatted ini file on flash drive that is inserted it will then need to check syntax then update local file
ntp may be blocked on the network, also python needs to wait for date update
The main.py loop needs to be able to handle not having Internet and be able to re-connect.
convert all print statements to logging, maybe add a new def for it.
Analogue inputs need to know if they are disconnected. They currently print a random default value
Time update does not seem to work
Need to setup permanent Internet over USB
Needs to add main.py to startup
convert bbb to use new gmail
Make a pretty cloud ui, that can also be used on mobile
Make the python console do useful stuff
not needed since customer won't be looking at it.
log file needs to keep its size in check, python log file rotation should do the trick
Google sheets will not call script when data is added with gspread library. Thus no email will be sent. Need to add capability to bbb.
once real data is in log files split the graphs up to be their own
in main.py
Value update needs to be able to find frequency
Current plan is to check ADC value rapidly then once value is lower mark as high point.
auto update the time each time the beaglebone turns on. This will need to be done in the setup shell file.
make sure individual needs physical access to device in order to get plaintext password.
SSH should be disabled
FPT
any other random procs.
add ability to push ini file and pull log files automatically when usb is inserted.
https://docs.python.org/2/library/shutil.html?highlight=shutil#module-shutil
http://pyudev.readthedocs.org/en/latest/guide.html#monitoring-devices
if the board goes offline for < hour go ahead and push all those logs to the cloud
# update local/cloud logs\
# use logging module
# push/pull relevant data from cloud
Possibly will want to handle shutting this down while the relay is off.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.