Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move the QR codifier to the dymo printer and document #1247

Closed
goatchurchprime opened this issue Sep 16, 2019 · 7 comments

Comments

@goatchurchprime
Copy link
Contributor

commented Sep 16, 2019

Alex made/found a QR codifier thing, used here:
https://github.com/DoESLiverpool/somebody-should/wiki/IoT-Lending-Library

The sophia PC originally had the dymo printer, but now that's moved, so the app should move with it.

I'd also like the documentation of it so we can hack and change it because I've decided that Becka has an application for it; of encoding dates and places into the qr code and photographing objects with them in it, given that we have the opencv tech to find and read these things from it.

@goatchurchprime

This comment has been minimized.

Copy link
Contributor Author

commented Sep 16, 2019

Alex's codifier hooks in with the label printer and writes it in english beside the qr code, so it more fun. Also I want to see if qr codes can encode not urls, but the aquisition dates, prices and places of things.

qrcodifiererror

@ajlennon

This comment has been minimized.

Copy link
Contributor

commented Sep 16, 2019

Had a quick look. The current source and installer is here

https://github.com/DynamicDevices/qrcodifier

The current release installs ok but craps out when I run it.

We may need to recompile it...

@goatchurchprime

This comment has been minimized.

Copy link
Contributor Author

commented Sep 16, 2019

I had a good go at trying to get the javascript version of the dymo thing going just now
https://github.com/MaxSmith/DYMO-Label-Framework

There's something still missing, even after I sorted out the cross site thing. The example thing is here:
http://developers.dymo.com/2010/06/02/dymo-label-framework-javascript-library-samples-print-a-label/

Didn't work. It wants to connect to localhost:41951 which I presume is served by the dymo software. (There's a newer version, but don't know if it's 64 bit only)

A javascript implementation would be preferable as it would be more hackable.

One application is to quickly generate templated labels with QR or Aruco tags to stick onto things or people. We have already demonstrated the capability to lift out Arucos using opencv, and there are libraries to extend to QR and barcodes for real-time tracking.
https://answers.opencv.org/question/198783/opencv-real-time-tracking-only-qrcode/

QRs and images can emulate most of the same things as RFIDs, but with the advantage that they are visible, very cheap, longer distance, and you can get positional information from them. We should call them LFIDs for "Light Frequency IDs".

We could print the QI code for the MAC address each SONOFF to stick on the box, which could mean that we'd have a faster way to commission any such IoT item when they are moved about in a place.

@ajlennon

This comment has been minimized.

Copy link
Contributor

commented Sep 17, 2019

So I downloaded Visual Studio 2019 Community edition, rebuilt the QR codifier and it runs up.

The QR code is the wrong size and when you push a button it hangs.

I wonder if the label size for this printer is different or something.

We need to look at the label template it is using and I need to work out why it is hanging.

Collar me when you're about @goatchurchprime and we'll look at it together.

@ajlennon

This comment has been minimized.

Copy link
Contributor

commented Sep 23, 2019

Working now. Just run from the shortcut.

Somebody needs to commit the code.

@ajlennon ajlennon closed this Sep 23, 2019
@ajlennon

This comment has been minimized.

Copy link
Contributor

commented Sep 23, 2019

@goatchurchprime For docs see the Dymo SDK docs.

http://www.dymo.com/en-GB/online-support-sdk

There's an XML label definition format which you can load directly into the Dymo LabelWrite program you usually use. You can edit the format and re-save it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.