Intro: Publish "hot Deals" Through the Physical Web
Step 1: What Is the Physical Web
The Physical Web, a project from Google's Chrome team, is an open source approach to allow physical devices (e.g. a vending machine, a poster, a toy, a bus stop, a rental car) to broadcast URL around providing an access to information or remote control.
Get more info about the physical web here:
Step 2: What You Need
You need to have :
Step 3: Publish a "hot Deals" Picture on the Internet
Your hot deals must be available through internet. There are several solutions and the chosen one here is Postimage.
Upload your hot deals image on postimage.
Copy the "Direct Link" of your hot deals. Note given URLs to reuse them later if needed (as the deletion link).
Step 4: Shorten URL
Because the length of the broadcasted URL should be short, we have to use an URL shortener.
The chosen one here is Google shortener.
Copy your long hot deals URL and note the shortened version.
Step 5: Access Your Pi From Your Browser
Enter the network address of the Pi into the address bar of your browser (see here for details).
Step 6: Install the Eddystone Node
Click the right menu in the Node-RED web page. Click Import > Node.
in the edit box and click the OK button.
This imports a third party software. The installation may take up to 5 minutes (a progress bar shows the progress), depending on what is already installed on your Pi.
At the end, click the ``reboot`` button to restart the Raspberry Pi.
Use the menu "Import / lib / PhysicalWeb demo 1" to add an already available flow to your workspace.
"Eddystone" is the name of the protocol used to broadcast the URL with Bluetooth.
Step 9: Enter the URL to Broadcast
Double click the Eddystone node to enter the URL to broadcast.
Step 10: Activate and Broadcast Your Hot Deals
Click the top-right "Activate" button.
A "Stopped" status appears on the eddystone node to indicate that it's actually not broadcasting.
Then, click the "Go" button on the flow and the status on the Eddystone node becomes "broadcasting".