Giter VIP home page Giter VIP logo

livelt's Issues

updates

Out of curiosity, are you still maintaining this? (and do you have a donate link ;)
We took and made a couple of little changes that are very not clean, but I wanted to see if you'd like to incorporate them?

Basically we changed the output to the tricaster to use self generated variables,
The main reason for this is I couldn't figure out the best way to get it to send a second web key I tried a few things, but I think it would need to be similar to what I did below...
I had already made a PHP script that would take the input from a barcode reader (that does QRs as well) and had figured out how to send (via get requests) the data from any read to the tricaster.

So I basically edited the part that sends the data to the TC from your python script to do the following:
Take the text being sent to it by the QR read, and split it based on the pipe ( | ) character. (for reference we are feeding it something like: Michael Anderson|Bachelors blah )
Next it sets the first key from that to the full_name variable, and if the second field exists (anything after the pipe) it sets it to the variable degree otherwise sets degree to " ".
Then I use a similar setup to the post and xml data from your version, but just a get request and the key / value pairing the tricaster wants when you send it via http://{ip}/v1/datalink
eg:
url = f'http://{ip}/v1/datalink'
params = {'key': 'Grad_name', 'value': full_name}
r = requests.get(url, params=params)

The main unclean parts being I do both of those separately, and only return the status code from the second one because I broke it if I had them both returning, and I didn't want to make too many changes yet, as I'm a little new to python.

My boss has a couple of wish list items that I'm going to look into, but it may take me a while.
One thing is a clear list button, but that's mainly because of us experimenting with some changes and the fact it seems you can't scan the same name twice.
We set up the default in our test (after the above changes) to be " | " so that we could clear out the text from the TC if it was wrong, but it would be cool if there was a send blank button also as kind of an "oops that wasn't right" button.
We also had trouble getting the generator to cooperate, we figured out what columns need to be in the CSV, but it only seems to export the diploma name. Not a huge deal because we have ways to generate QRs but thought it was odd.

Sorry for the wall of text.

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.