loading

This Instructable describes steps to publish hot deals as an image on the Physical Web.

It uses a Raspberry PI and a Bluetooth dongle to broadcast URL on 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.

Google provides phone Apps that allow the user to discover the brocasted URL and use them to access web pages, javascript apps or nativ apps to get information about the device or remote control them.

Get more info about the physical web here:

  • Download the Physical web Android app here
  • Download the Physical web from the Apple Store here

Step 2: What You Need

You need to have :

  • a Raspberry Pi 2 (see here for more details),
  • a Bluetooth 4.0 dongle (you can buy it here) and
  • the software : downloadable on TheThingBox.io website. Go to "download" and write to a SDCard as explained here. Alternatively, you can buy an already built Pi 2 here: http://TimeSquAir.io

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.

Step 7:

Type

node-red-contrib-eddystone

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.

Step 8:

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".

Step 11: Access Your Hot Deals Thanks to the Physical Web

Use the Physical Web application (available on Android and iOS) to browse the broadcasted URL and look at the hot deals picture.

Step 12: Learn More !

Learn how to link things together with TimeSquAir (http://TimeSquAir.io) and IBM's Node-RED (http://nodered.org)
and discover the other Instructables:

About This Instructable

779views

7favorites

License:

Bio: The ThingBox Project - A ready to flash Raspberry Pi image that contains Node-RED and Internet Of Things software for non developers.
More by thethingbox:Telegram Bot and TimeSquAir: the Bedrock Install Zwave Soft Remote on TimeSquAir Install Zwave LED Bulb on TimeSquAir 
Add instructable to: