Git Product home page Git Product logo

smartrelay's People

Contributors

bmayfi3ld avatar

Stargazers

 avatar

Watchers

 avatar

smartrelay's Issues

Main Commander Loop

    #check if values are out of range
    # wait 30 seconds then turn back on, if occuring twice in 10 min period leave off

Main threading module

update main.py to use threading module.

This will be put off, unless features are needed to finish other tickets.

charts failing to display

if the log file gets empty rows the charts won't display, just need a simple data cleaner on the web app

Handle ini file init

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

date stuff

ntp may be blocked on the network, also python needs to wait for date update

Main No Internet

The main.py loop needs to be able to handle not having Internet and be able to re-connect.

Python Logs

convert all print statements to logging, maybe add a new def for it.

ani d/c values

Analogue inputs need to know if they are disconnected. They currently print a random default value

Finish Setup Shell File

Time update does not seem to work
Need to setup permanent Internet over USB
Needs to add main.py to startup

Pretty UI

Make a pretty cloud ui, that can also be used on mobile

Pretty Console

Make the python console do useful stuff

not needed since customer won't be looking at it.

Log File Rotation

log file needs to keep its size in check, python log file rotation should do the trick

move email alert to bbb

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.

Main Value Update

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.

Time

auto update the time each time the beaglebone turns on. This will need to be done in the setup shell file.

Security

make sure individual needs physical access to device in order to get plaintext password.

SSH should be disabled
FPT
any other random procs.

small offline buffer

if the board goes offline for < hour go ahead and push all those logs to the cloud

Main Logging Loop

    # 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.