Coder Social home page Coder Social logo

bartendro's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bartendro's Issues

Taster Button on Drink Admin Page

It's quite common when crafting a new drink in the drink admin page, that one wants to try the drink before saving it for good. Instead of going back and forth from the menu then back to the drink screen and scrolling for the drink, it would be a lot easier to just taste it in the same place where you make it.

Timing of Liquid Level Checks

There's a bug in the behavior of liquid sensors. When a bot is turned on (assuming liquid sensors are turned on) if the sensors are in liquid - status LED comes up green, if they are not in liquid it come up red. Great.

Now, if the bot starts off with no liquid, get's to idle state then liquid is added, and the pumps are reset in the admin page, the status goes to blue instead of green. Drinks don't show up in the menu even though the bot is full and has been reset. That's a problem because the checking of liquid level happens only after a drink is dispensed, and since one can't make a drink because everything is out, the sensors can't be reset unless hard power cycled.

"Now Serving Your..." Screen Freezes

While dispensing some drinks from a B15 kit (such as a Cape Cod, Cosmopolitan, Kamikaze, etc.) the "now serving your..." screen never goes away. The dispensers stop dispensing at the appropriate times, but they never stop displaying their "dispensing LED pattern". The page can be reloaded to get rid of the "now serving your..." screen, or the user can go back a page to get to the menu. Even once at the menu the dispensers still display the "dispensing LED pattern". Resetting the dispensers returns them to their normal waiting pattern.

Getting into Admin Screen on Shotbot

Using an iPhone, since the interface isn't running in a browser proper, there is no way to get to the admin screen using an address bar. A hidden link at the bottom of the ShotBot interface would be helpful.

Future feature: Selective cleaning

It would be nice, as a lower priority item, if certain pumps could be selected to be cleaned. Sometimes you want all, sometimes you want half, sometimes you want 3, sometimes you want 5. I can envision a clean page where the gui mirrors the layout of the bot, one can select each pump and it changes color to indicate that it's selected. There's also a select all, and select none option. Then when the person presses clean, the selected pumps run for the desired amount of time. 15 seconds by default, but this should also be user selectable imo.

Create settings system in UI

The settings system needs to manage to following settings:

  1. Show tasters menu: boolean
  2. Default drink size: integer
  3. Shotbot/bartendro: boolean (act as a shot dispenser or cocktail mixer)
  4. Wifi/network connection settings
  5. Wether or not to use liquid out sensors
  6. Wether or not to require a user login

And other settings/options as they arise.

More drink screen improvements.

Make drink list a scrollable div. Make the rest of the page fully AJAX happy.

Original: The edit fields on the left half should stay stationary. When making many edits, scrolling back and forth to see your entries is cumbersome, especially as the lists get longer.

Dispensing 1oz doesn't work.

With a drink that has 3 equal parts, the ingredients are listed as 0.3fl oz each, but nothing dispenses. I suspect it thinks that it's trying to dispense 0.3mL which would equate to zero ticks. Nothing happens when pour is pressed.

Suggested Serving Size Conflict

In the drinks page, a drink can be assigned a serving size. This is misleading since it is now globally set from config.py

Undesirable Continuous Pumping for Small Quantities

To reproduce problem:
-in the drinks admin page, edit any drink with 2 or more ingredients
-change one ingredient to have "1 part" and another to have "90 parts" or more
-dispense drink from the menu page. I believe any size ordered will cause the runaway problem

Seems to be a math error somewhere, when the number of ticks are too small.

Current Triggered Dispenser does not Require Reset

If a dispenser is over currented, the red leds flash, but one can go back into the drink menu and order another drink while the red lights are flashing. The one that's limited doesn't run, but the others do.

Remove the dispense calibration bits

It fails with this error:

Traceback (most recent call last):
File "/usr/share/pyshared/flask/app.py", line 1518, in call
return self.wsgi_app(environ, start_response)
File "/usr/share/pyshared/flask/app.py", line 1506, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/usr/share/pyshared/flask/app.py", line 1504, in wsgi_app
response = self.full_dispatch_request()
File "/usr/share/pyshared/flask/app.py", line 1264, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/usr/share/pyshared/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/usr/share/pyshared/flask/app.py", line 1248, in dispatch_request
return self.view_functionsrule.endpoint
File "/home/robert/partyrobotics/bartendro/ui/bartendro/view/ws/dispenser.py", line 32, in ws_dispenser_test
t, ticks = app.driver.get_dispense_stats(disp - 1)
AttributeError: 'RouterDriver' object has no attribute 'get_dispense_stats'

Dispensing 60mL is Outdated

Dispensing 60ml caused a crash. Is this calibration feature still hooked up? Consider making it a feature that's enabled/disabled with config.py (High Priority)

It might be nice to keep the feature as Dispense 10mL that would help with minimal waste during priming. (Low Priority)

Drink Strength Shows up Inappropriately

-Created 3 new boozes all with 0 ABV and type unknown.
-Created drink with the 3 new boozes -- equal parts
drink in the main menu displayed a strength option even though it did nothing to the ingredients when changed

Admin drinks page cleanup

A few things should be cleaned up on this page:

  1. The row of buttons should appear right underneath the list of boozes.
  2. The save button should be greyed out if no boozes are specified for a drink.
  3. Better error handling in general.

Really small drinks and tasters are innacurate

When dispensing 1oz or less, drinks would be way more accurate if the pump was slowed down with PWM. Maybe even make it completely proportional to size, where everything over 3oz is at full speed, and the pump slows down with every 0.5oz increment.

Remove Brand Field in Admin>Booze List

We are adding brands to ingredients by making them comma delimited.

For example:
Tequila
Tequila, Cazadores
Tequila, Hornitos

This makes searching much more possible. The brand field in the admin page becomes redundant at that point.
(low priority)

Drinks Tab Updates

-Is it possible/easy to make the buttons on the bottom (add booze / cancel / save) appear right after the ingredients instead of having to scroll down for them?

-It's kind of strange having a cancel button in the middle and so close to save.

Ingredient Volume Listed Incorrectly

After selecting a 5oz drink (low carb vodka lemonade), the drink screen shows ingredients with 100.0oz and 50.0oz. Ingredients should either be shown in parts, or with correct number of oz (or mL).

Liquid Out Tab Updates

-liquid out tab has default threshold of 13. What is that number? It's confusing and should be changed to 90.
-Every instance of "liquid out" should be changed to "liquid level" (the tab could be called "calibration" or "liquid level")

Let's add basic instructions on the far left:
"Dispensers with a liquid level sensor (included with Bartendro 7 and above) can be calibrated for optimal performance.

To calibrate:

  1. Ensuring that the dispenser's input tube isn't placed in liquid, place liquid sensor tube in a shot glass filled with water.
  2. Set threshold to 90 and press go.
  3. While listening, raise the tube until dispenser stops pumping.
  4. Note the liquid level when the pump stops, it should be around 1/2" so as not to ever draw air.
  5. Adjust threshold as necessary.
  6. Repeat until content with results.

Note: A lower number means less liquid is left in the bottle. Due to some variations in the sensors, the same numbers may not yield the same results, so calibration should be performed on dispensers individually. The threshold will likely be no less than 60."

Drinks show up in menu when bot is out of liquid

Powering up a fresh kit, when liquid sensors are turned on in config.py, drinks show up in the menu. Just these two: Kamikaze and Vodka Gimlet.

The odd thing is, there isn't even lime juice or triple sec in the bot.

Drink page should check to make sure it can make a drink

The drink page and the actual dispense action should check to make sure that the drink that is being created can actually be created. Outdated pages can remain on browsers after the ingredients have been changed. The server should recognize this problem and give the user an error and then send the user back to the main menu.

Original title: Drink In Menu Without Required Mixer

Original text:
The B3 UI had vodka cranberry showing up with no cranberry loaded. I checked the recipe and it was correct. I checked the dispenser screen the pumps were correctly designated. I attempted to dispense the drink and no pumping happened. A text box said my drink was being served and the box wouldn't go away. The back button let me get back to the menu.

Liquid levels button in Dispenser Page

"liquid levels" button should be called "refresh liquid levels" or something more clear. It currently returns an unfriendly error if turned off. Maybe something more like "Liquid sensors are currently disabled, enable them by..."

B3 Log In Issue

I was using B3 during an event and it was working on my phone, Nexus 7, and Nexus 10. At some point during the night I got an error message that I need to use a device that is connected to the bot (I forget the exact wording of the error screen). I tried to log in using my phone and it didn't work. I tried with my Nexus 7 and it didn't work. I tried resetting the bot and it didn't work. I tried resetting the bot again and logging in with my Nexus 10 and it worked. I then was able to log in using the Nexus 7 and my phone.

I am not sure what made the issue come up or what made it go away. I will keep an eye out for it to happen again and try to get more details.

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.