Our step-by-step guide to install and run on a Windows/Mac/Linux PC (or server).
Learn how we at reelyActive run our open source IoT middleware on a PC.
A recent version of Node.js installed.
From a terminal run node --version
to check if Node.js is already installed.
Get it from GitHub with or without git.
Choose the installation process that best suits your situation (Got git?) from the two options below:
Open a terminal and then:
git clone --recurse-submodules https://github.com/reelyactive/pareto-anywhere.git
cd pareto-anywhere
npm install
1 min Pareto Anywhere can be run from this folder with the command npm start as presented in the next step.
Browse to the /pareto-anywhere repository, then:
Browse to the /pareto-anywhere-apps repository, then:
Open a terminal and then:
cd ~/reelyActive/pareto-anywhere
). npm install
1 min Pareto Anywhere can be run from this folder with the command npm start as presented in the next step.
Confirm that everything works!
Open a terminal and then:
cd ~/reelyActive/pareto-anywhere
). npm start
Browse to localhost:3001 to observe Pareto Anywhere running on the PC.
Enter Ctrl+C from the terminal to stop the program at any time.
Should a source of ambient IoT data be available (see the tabs below), it is possible to validate its integration with Pareto Anywhere, replacing xxx.xxx.xxx.xxx with the PC's IP address, where required.
Pareto Anywhere will automatically listen for ambient Bluetooth Low Energy data forwarded from reelyActive Owl-in-Ones and Minew G1 gateways. Follow the step-by-step tutorials below to forward data from these gateways.
Pareto Anywhere will automatically listen for ambient Bluetooth Low Energy data forwarded from compatible HPE Aruba Networking and Huawei APs. Follow the step-by-step tutorials below to forward data from these access points.
Forward UDP packets from the Huawei AP to the PC on port 50010
Pareto Anywhere will automatically listen for ambient Bluetooth Low Energy data from the PC's onboard radio—if compatible—provided an instance of barnowl-hci is running and forwarding the data. Follow the instructions below to install and run this option.
Open a terminal and complete the following:
git clone https://github.com/reelyactive/barnowl-hci.git
cd barnowl-hci
npm install
1 min Allow Node.js programs the privilege to initiate scans with the command sudo setcap cap_net_raw+eip $(eval readlink -f `which node`)
Run barnowl-hci once to confirm that it can listen for ambient data:
npm start
will output radio decodings (raddecs) to the console for quick-and-dirty testing npm run forwarder
will forward raddecs to a local Pareto Anywhere instance Enter Ctrl+C to stop either program.
Pareto Anywhere will automatically listen for ambient Bluetooth Low Energy data forwarded from reelyActive reelceivers on UDP port 50000.
Pareto Anywhere will automatically listen for ambient RAIN RFID data forwarded from compatible Impinj and RF Controls readers.
Data from RFC OS will automatically be ingested if running on the same machine (see barnowl-rfcontrols).
Pareto Anywhere will automatically listen for ambient EnOcean Wireless Standard data from a USB dongle connected to the PC provided an instance of barnowl-enocean is running and forwarding the data. Follow the instructions below to install and run automatically each time the Pi boots.
Open a terminal and complete the following:
git clone https://github.com/reelyactive/barnowl-enocean.git
cd barnowl-enocean
npm install
1 min Include the user in the dialout group to facilitate serial access to the USB dongle with the command sudo usermod -a -G dialout $USER
Run barnowl-enocean once to confirm that it can listen for ambient data:
npm start
will output radio decodings (raddecs) to the console for quick-and-dirty testing npm run forwarder
will forward raddecs to a local Pareto Anywhere instance Enter Ctrl+C to stop either program.
Pareto Anywhere now #RunsAtTheEdge on your machine!
Our cheatsheet details the raddec, dynamb and spatem JSON output from the Pareto Anywhere open source IoT middleware.
Optionally customise Pareto Anywhere and run automatically on boot.
Add or remove modules from the default Pareto Anywhere configuration, if required, to better accommodate your specific IoT deployment.
Run Pareto Anywhere automatically on boot, and restart on failure, by following the instructions specific to your architecture.
These instructions apply only to Linux distributions that have adopted systemd.
Configure systemd to run the pareto-anywhere service by completing the following:
sudo cp units/pareto-anywhere.service /lib/systemd/system
sudo useradd reelyactive
setfacl -R -m u:reelyactive:rwx data
) sudo systemctl enable pareto-anywhere.service
sudo systemctl start pareto-anywhere.service
Check the status and output of the service at any time with sudo systemctl status pareto-anywhere.service
Tutorial prepared with ♥ by jeffyactive.
You can reelyActive's open source efforts directly by contributing code & docs, collectively by sharing across your network, and commercially through our packages.Continue exploring our open architecture and all its applications.