A getting started guide oriented towards developers familiar with the open source software model
The TL;DR
(Too Long; Didn't Read)
Discover Pareto Anywhere with a hands on, instant gratification, open source approach.
What's Pareto Anywhere?
Pareto Anywhere is open source software that makes sense of who/what is where/how, in any physical space, in real time.
Why 'Anywhere'?
Pareto Anywhere is written in JavaScript and is highly modular, facilitatating edge, local and/or cloud deployments, and running both server-side and client-side.
Why should I read this?
Because it's the fastest path to familiarisation for developers that we know: read less, do more.
Hello impatient developer!
This tutorial is organised by fastest-path-to-instant-gratification in four parts as follows:
Discover nearby BLE devices and their identifiers in a web browser that supports Web Bluetooth Scanning.
All going well you'll find a way to experience the web app on a compatible device/browser. If not, here's a video playlist of Pareto Anywhere (Web Edition) in action. Either way, it should now be clear that real-time-proximity-driven web apps remain experimental and largely unsupported (much to our chagrin). That's why from here on in we'll be running server-side.
Under the hood
Meet the beacorcut stack
Pareto Anywhere (Web Edition) offers an introduction to the client-side modules which handle the stream of radio decodings (beaver), and fetch (cormorant) and render (cuttlefish) digital twins from the Web.
Our step-by-step guide to run reelyActive's open source software suite on a laptop or personal computer.
Pareto Anywhere will run on any computer, however access to the BLE radio is subject to OS constraints (sound familiar?). Check the bluetooth-hci-socket package documentation if you plan to run standalone on anything other than Linux.
All going well you've now deployed Pareto Anywhere on a computer with access to the real-time stream of ambient Bluetooth Low Energy (BLE) advertising packets in your space. Take a moment to explore all the web apps: we'll be adding more documentation on these soon.
Under the hood
Meet the rest of the stack
The beacorcut stack presented above is used in the web apps included in the version of Pareto Anywhere running on your Pi and/or laptop. Now add to that the following server-side modules:
Take the Pi or laptop deployment to the next level with a powerful analytics suite.
Why Elastic?
Many reasons: the stack is open source, feature-rich, and there's an incredibly convenient hosted Elasticsearch service. Oh and they also honoured us with an award.
Runs on the Pi?
No. But Elasticsearch and Kibana will run on a recent laptop, and the Elasticsearch service has a free trial period.
Integrate it!
Forward data to the Elastic Stack for visualisation and analysis
If you followed the laptop tutorial above you may already have an Elasticsearch instance collecting data.
Our step-by-step guide to create an occupancy dashboard for physical spaces using Kibana.
Kibana + On + On
You know, for physical search
Our Kibana integration overview includes links to all our tutorials to create visualisations, dashboards, alerts, filters and more. For many applications, access to dashboards in Kibana may be the sole interface required for end users.
Kit up and apply Pareto Anywhere to whatever matters for you (or your team/employer/client).
Do I have to buy stuff?
Most likely. Hopefully you made it to this step investing just your time. Good chance you'll need at least some hardware to scale up beyond a prototype or demo.
Install the right infrastructure and/or radio-identifiable devices for the target space and application
reelyActive and other vendors offer purpose-built BLE gateways suited to production deployments, and there are countless vendors offering both traditional beacons and sensor beacons.