[ANNOUNCE] Node RED BARRED

I wasn't kidding, when I started this discussion :nerd_face:

I am happy to announce

It is a fully fleshed out Barcode Scanning Platform, designed as a toolkit, allowing various barcode processing scenarios, where the complicated communication between the scanners and data sources is achieved through simple interconnected Nodes, with (a lot of) icing placed on top, allowing for advanced processing and interconnectivity between your Scanners.

This project involves 2 parts.

  • The Node Collection
  • A purpose built Native Mobile Application, where its UI can be customised from Node RED.

To gain an understanding on what's on offer - please refer to the Read Me.

The Mobile phone application for Android, is within the repo (Mobile Dist -> here) - iOS will land soon
(they want my money for it)

Full source code of the mobile application is within the Repo - so those who wonder if anything is hidden, simply check the source code to settle your nerves :grin:

I would like to thank @dynamicdave - for helping me test the Android mobile app
(and revealing I accidentally added support for emojis :smiley:)

Please do comment / suggest / bug report / cr*p on my work :smiley:

Enjoy

13 Likes

Well done!
Quick question, before I dive in deeper:
Can it use the Android Camera for scans?

1 Like

Yup!

It uses the camera and the mobiles built in decoding API

1 Like

Although I've been helping Marcus with the testing (so I have a bit of a head start) - here are a couple of quick and easy things you can do to customise 'Barred'.

  1. Change the colour scheme
  2. Replace the brilliant 'barred' logo that Marcus created with your very own
  3. Change the 'Department' name to match your needs
  4. Give your scanner a more personal name

Here's an example for my 'Super-Smart Fridge' project (that I'm just starting).

Changed the logo for a view inside a fridge - NOT my fridge.

5 Likes

Looking good there @dynamicdave :smile:

I'm hoping to extend the Info request response soon, to allow drop-downs and Date inputs

/* Using your Smart Fridge Project */
/* Current support is string, ml_string, number */

msg.status = 'CREATE'
msg.payload = {
  _Barcode:'string',
  Name: 'string',
  PurchaseDate: 'date',
  Brand: ["Hovis", "Kingsmill", "Own Brand"],
  Store: ["Tesco", "Sainsburys"]
}
1 Like

That will be useful as I could start-off the sequence with a simple menu...
Select: ["List", "Add", "Use", "Remove", "Delete", "Check", "Reorder"]
Like I do with my Telegram bot...

4 Likes

@dynamicdave
Don't leave food exposed inside your refrigerator. It has a ton of problems for your health, sir. Be careful!

Add a command to your bot to analyse problems with how food is stored inside your refrigerator using an AI model. It could send you alerts "hey, there is chicken exposed inside your refrigerator. Please, put it in a container and close it with a lid."

1 Like

Images are for demonstration purposes only, Health & Safety precautions, must be adhered to by the user. Marcus Davies, or any of its affiliates, take no responsibility

3 Likes

@marcus-j-davies good job

1 Like

That was a 'stock' image I found on the Inter-Web. It is NOT a view of the inside of my fridge.

2 Likes

Ah ok. But have you checked your fridge today? Just kidding

Working with both @dynamicdave & @zenofmud

I am happy to announce a massive feature update....

  • Barcode Scanner Terminal Menu

This comes in at v1.1.0

The latest version now brings my vision to life.

  • A Complete Barcode Scanning Platform for Node RED.
    Where the scanner can be branded, and have a completely customised menu system.
    And offers very clever Interconnectivity, and interaction.

    • The ability to have a "Default Menu", and branch out to others from there.
      This includes showing a menu for a scanned item.
    • The ability to request for further information about a scanned item
    • The ability to send 'out-of-band' messages to 1 or all scanners
    • Any response/item being sent can be a simple message, or a JavaScript Object
      oh....... and emojis are supported :smile:

The "scanner" is your mobile, and has a dedicated (native) application, to work with this Node.

So much is possible with a simple barcode, I have taken the time to document its features via a video walkthrough - Which can be accessed from the Read Me.

The node of course also has a full flow to test with.

Thanks again to Dave & Paul

1 Like

Great work Marcus.

Could this be used to record key purchases? I generally just record labels and receipts direct into a OneNote notebook but this might be interesting.

Also, would be good if you were to upload the video to YouTube to make it more accessible.

1 Like

Thanks Julian,

Absolutely...

Scan a Barcode, respond by requesting it's INFO,
Or create a custom menu, to trigger the scan/record routines

msg.status = 'INFO'
msg.payload = {
   Barcode: msg.payload.barcode.barcode
   Item: 'string',
   Cost: 'number' // No decimals, but can use a string if you wanted
   Date: 'date'
}

return msg

Yup - I don't any google accounts currently, but will look todo so at a later date (but might need to change the Background Music, as I might get flagged)

1 Like

Yes, I generally just use YouTube's free stuff though there is a LOT of reusable music actually published on YT where all you need to do is provide an attribution link.

Easy enough to create a separate one just for publishing Videos. :smiley:

1 Like

Why not use one of your own pieces of music ?

1 Like

I have just built a Printed Circuit Board BOM (Bill-of-Materials) Manager using the Node-RED BARRED node created and released by Marcus Davies @marcus-j-davies

You can find a step-by-step Tutorial by clicking here or over in Share Your Projects.

4 Likes

I was going to, but the track i used is a favourite of mine currently.

Many people are using the same audio track in their reaction videos to that new track i used - so might not actually get a flag to be honest. :grin:

Artist: FENDI x Bang Chan - Roman Empire.
It’s very pretty and fresh

I'm having problems enrolling my phone. The enroll seems to work, but when I exit the app and restart it it shows me the enroll screen again. Android.

[EDIT]
enroll works fine, but when I press "<" the app goes back to the enroll screen.
If I kill the app using "III" it starts properly at the "Scanner Ready" page again, so the "<" key does not close the app?

Not sure what you mean by pressing "<" ?

This is what I do on my Android phone.
Click on one of the BARRED nodes and edit the config.


Set host to IP address of the Raspberry Pi running your BARRED flow.
The port should automatically be filled-in.
Click Update Done Deploy

Go back into the config and this time click 'Generate QR Code' and scan the code displayed on the screen using your mobile phone. Your mobile phone should now be "linked" to your Node-RED flow.


Hope this helps.

EDIT: I think I see what you mean. You are pressing the "back arrow" symbol on the bottom edge of your mobile phone. If I click mine it takes me to the Enroll screen.

1 Like