Giter Club home page Giter Club logo

coffee_monitor_site's People

Contributors

gberl001 avatar

Watchers

 avatar  avatar  avatar

Forkers

flaviojoshua

coffee_monitor_site's Issues

Show logs in the website

Not sure if this means the logs should move to the database (probably not a bad idea) or if I just serve up the raw text logs on a page but I'd like to read the logs from the website so I don't need to SSH in to do so.

Simulator would be nice

Use existing database logs to simulate an actual scenario, at the very least just have a CSV of fake generated data to use as the readings and test certain scenarios so you don't need the entire scale system when debugging/testing.

Initial printed IP prints a hex string with it

This is a very minor issue but for whatever reason, within the first x seconds of when the network connection is made, the hostname command used to print the IP address prints a hex string with it even though it's supposed to delimit on spaces and only grab the first field.

ex. output:
172.20.10.4 2600:1017:b113:a47f:a765:97ce:d9d5:67bb

Add WiFi Auto Reconnect

Not specific to the Coffee Monitor Site but add a cron job that periodically checks for connectivity, when there is none, try to connect.

It would seem the Raspberry pi only initially looks for wifi on startup and will continue to do so until connected. Once that initial connection ends it never looks for connection again so a reboot is necessary.

There are commands (need to find which ones) that can force wlan0 to look for a connection. (wicd didn't work, couldn't connect to wifi over wicd)

Need better error handling on site

In most cases, when an error is encountered the server simply shuts down. Need to handle errors better, more specifically the mysql commands seem to be a more common issue.

Use average offset value to eliminate need for Tare()

If we use the previously added offset recordings to get an average of what the offset should be, we should be able to avoid needing to start the scale with nothing on it.

Needs to be thoroughly tested as I'm not sure what the chances are that the offset would change for any reason such as if the tile is reseated, will that throw the values off?

I guess you could add some code to use the average offset, take a reading to guess whether something is on the scale, if it's not then tare the scale and record the value so we can continue to log offset values.

Add Charts

Currently using Flask to host charts but it's a lot of overhead for just wanting a simple dashboard to display.

Update the charts to use something with less overhead, just a simple one page dashboard will do for serving to end users.

Add LCD components to dashboard

Store information in the database regarding details about the weight constants so we can display the number of cups remaining.

Would also like to record the time since last brew but that will have to wait for the events feature to be added.

Connect to Internet782

Currently there is an IT ticket in to try and help get the Pi connected to Internet782.

It might be worth trying a WiFi dongle. Reason being, I am able to connect over an ESP32 module but not the Raspberry Pi. My guess is that IT is blacklisting the Rasberry Pi Mac prefix so a wifi dongle should have a different mac address and might connect more easily.

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.