Our step-by-step guide to configure the gateway to forward data for processing by Pareto Anywhere.
Learn how we at reelyActive configure the gateways to enable interoperable IoT solutions
A Minew G1 gateway running firmware v4.x.x or later.
Firmware v3.x.x and earlier is not recommended, because data is forwarded with an incorrect content-type, and is discarded in Pareto Anywhere v1.7+ and barnowl-minew v1.0+.
Connect to the G1 via WiFi and configure its WiFi/Ethernet connectivity.
Apply power to the gateway, ensure the ON/OFF button is pushed in and then:
Set an admin password as follows so that subsequent logins require authentication:
Select the Network page (from the top blue bar) and then configure the gateway's connection to the host network either via Ethernet or WiFi , as follows:
By default, the gateway will be configured to connect to the host network via Ethernet, obtaining an IP address using DHCP. If this is the desired connection, then no action is required aside from the physical connection to the Ethernet network.
Select WiFi connectivity by clicking on the Wireless toggle then:
As the Minew G1 supports simultaneous WiFi Access Point and Client modes, it should establish the connection with the host network while allowing the laptop or mobile to remain connected to complete the configuration in the following step.
Configure the G1 to forward data to a remote server running Pareto Anywhere.
Select the Service page (from the top blue bar) and then configure each of the four tabs as follows:
Click Apply to save the configuration, then proceed to the HTTP tab.
Click Apply to save the configuration, then proceed to the Filter tab.
Click Apply to save the configuration, then proceed to the Scan tab.
The Scan Window must be equal to the the Scan Interval for the gateway to observe Bluetooth Low Energy advertising packets 100% of the time.
Click Apply to save the configuration, then proceed to Step 3 to observe the forwarded data.
Run the Pareto Anywhere open source middleware to observe the forwarded data.
Observing data in Pareto Anywhere requires no additional action if an instance based on the pareto-anywhere package is running, or, for quick-and-dirty validation, run barnowl-minew as described below.
If a Pareto Anywhere installation based on the pareto-anywhere package is already present and running on the target computer on the host network, the data forwarded by the gateway should be available in both the web apps and APIs.
To quickly validate that data is correctly received on the target computer on the host network, it is possible to run barnowl-minew standalone to listen for HTTP POSTs on port 3001 as follows:
git clone https://github.com/reelyactive/barnowl-minew.git npm install npm start
If the gateway is correctly configured, running firmware v4.x.x or greater, and at least one Bluetooth Low Energy device is advertising in range, raddec data should appear in the console.
Our cheatsheet details the raddec and dynamb JSON output from the Pareto Anywhere open source middleware.
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.