Connect Smart Beacon Devices to your Blecon Network
How to connect S5-BCN and L02S-BCN devices to Blecon so that you can start receiving data
In order for you to receive data from your S5-BCN or L02-BCN devices, it needs to be added to a Blecon network. This guide will show you how to create a Blecon network and add a Smart Beacon device to that network.
Create a network if you have not done so already
Go to the Blecon Console and click the green "Create Network" button
Give your network a name and click "Create Network"
Once the network has been created, you will see the Network Information page for the network you just created. You can return to this page from the main Blecon Console page.
Get the device ID of your Smart Beacon and add it to your network
Install the Blecon App
To read the ID of your device, you will need to install the Blecon App and permit the app to access Bluetooth and location.
Find the "Identify" button on your device
Unscrew the back of the S5-BCN or L02S-BCN
On the L02S-BCN look for the black button
On the S5-BCN look for the white button

These buttons are used to announce the device ID. Press the button and the LED should start to flash – this is a good check that the device is working correctly. You will need to press this button again in the following steps.
Register the Device In the Console
On the browser of your mobile device or computer go to the Blecon Console at (https://console.blecon.net).
Select the Network you created in the first step (or use an existing network) and click or tap the Launch Scanner button in the “Register Device” Section.

On a PC/Mac: A QR code will appear. Scan this QR code with your phone to launch the scanner.
On iOS/Android: Tapping the button will launch the scanner (on iOS devices you will need to tap a second button)
Once the scanner has started, press the "Identify" button on the device that you found in the previous step. The LED will start blinking to indicate that the device can be scanned. Once scanned, a confirmation page will appear, allowing you to register your device.
Verify that events are arriving from your device

Once your device has been successfully registered, the console will show network.device_spotted
events whenever a Blecon Hotspot spots your device. You may also see that some network.routing_failed
events, indicating that some of the messages the device attempted to send do not have a endpoint for Blecon to deliver these messages to.
Route messages from devices to a web endpoint
To view the messages that your device is sending, you will need to route the device.message.sensor.log
messages to a destination. This example will deliver to https://webhook.site a free service that creates a web endpoint to which Blecon can deliver data. In a real application, you would likely send data to your own web service.
Go to https://webhook.site to get a unique, randomly generated web endpoint URL. Click on this URL to copy the URL to your clipboard.

In your network in the Blecon Console, go to the Integrations tab. In the Webhook section click Add Integration

In the “Configure Webhook” pop-up, select the Device requests and messages checkbox and fill in the URL from webhook.site you copied from step 1. The device request namespace can be left as *, which means send all messages to the URL you entered.

You can view any messages that are received in your inbox at https://webhook.site. Click on the message to view its contents. The S5-BCN and L02-BCN take measurements every minute and send consolidated reports of all measurements taken every 20 minutes. Therefore, you may need to wait up to 20 minutes before seeing the first message.
Last updated