Giter Club home page Giter Club logo

Comments (5)

szechyjs avatar szechyjs commented on August 15, 2024

this issue has been discussed previously... the proper way to manually add a drink is by using the api...

i have a script i use that works pretty well

#!/bin/bash -x
USER=$1
OZ=$2
TICKS=`echo "$OZ/0.01545" | bc -q`
curl -F 'api_auth_token=AUTHTOKEN' \
-F "ticks=$TICKS" \
-F "username=$USER" \
http://kegbot.goliathonline.com/api/tap/kegboard.flow0

from kegbot-server.

jallen2281 avatar jallen2281 commented on August 15, 2024

From one Jared to another.... I must have missed that discussion. Where can
I find it? And thanks man!

from kegbot-server.

mik3y avatar mik3y commented on August 15, 2024

Yup, @szechyjs is right! -- You want to add a drink using the API. I should probably incorporate such a feature into kegadmin, eventually..

from kegbot-server.

markrickert avatar markrickert commented on August 15, 2024

👍 +1 for this issue. I pulled 2 liters of stout into a growler the other day only to realize my daemon had crashed. I need to add this so that my volumes are correct. I tied manually adding through the web interface, but as @jallen2281 said, regen stats wouldn't work properly. Kept getting python errors... I can only assume that you don't expose the drinks_to_sessions db table in the web interface.

from kegbot-server.

mik3y avatar mik3y commented on August 15, 2024

Issue #133 (just closed) adds manager interfaces for deleting, reassigning, and editing pour drinks.

I'll keep this open to add a manual "record a drink with these parameters" form, though I suspect this is lower priority (and can be already accomplished from the command line as above).

from kegbot-server.

Related Issues (20)

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.