Our step-by-step guide to create a local wireless network by configuring an Owl-in-One as an access point.
Learn how we at reelyActive prepare a standalone, wireless data collection and demo kit from Owl-in-Ones and a laptop.
A laptop or computer configured with the reelyActive open source software suite.
Physically connect to the Owl-in-One and issue commands to configure it as a WiFi access point.
From any computer with the prerequisite t2-cli installed:
The Owl-in-One is now ready to accept commands.
From the USB-connected computer open a terminal and then:
t2 wifi --off t2 ap -n "reelyActive" -p "owl-in-one" t2 ap --on
Observe the response Access Point succesfully enabled and the SSID and Password as configured. The Owl-in-One is now hosting a WiFi network for its peers!
Clone the software repository and update the configuration.
This step requires an Internet connection. If using the same laptop as previously, disconnect from the reelyActive WiFi network and connect instead to a network with Internet connectivity.
From the computer satisfying the prerequisites, open a terminal and then:
git clone https://github.com/reelyactive/tessel-edge.git The tessel-edge software is now cloned to the laptop.
From the same computer , open a terminal and then:
npm install The tessel-edge software now has all package dependencies installed.
From the same computer , open a terminal and then:
const RADDEC_TARGETS = [
{ host: "192.168.1.255", port: "50001", protocol: "udp" }
];
const IS_UDP_BROADCAST = true;
The tessel-edge software is now configured to forward data to all devices on the WLAN. Let's program the Owl-in-Ones!
Program the software of each Owl-in-One and connect to the WiFi network.
Repeat Parts 1 through 3 for each Owl-in-One.
From the same computer :
The Owl-in-One is now ready to accept commands.
From the same computer , open a terminal and then:
t2 push index.js
The software will begin to run, and will start automatically whenever the Owl-in-One is powered on.
This part does not apply to the Owl-in-One configured as an access point.
From the same computer , open a terminal and then:
t2 wifi -n "reelyActive" -p "owl-in-one" t2 wifi
The Owl-in-One is now connected to the WiFi network and forwarding real-time data to all devices connected to the WLAN.
Select the reelyActive WiFi network and observe data from the Owl-in-Ones.
From the laptop :
ifconfig
The laptop is connected to reelyActive WiFi network and is assigned an IP address by the AP via DHCP. Because the Owl-in-Ones are broadcasting on the subnet, their UDP packets will automatically be sent to this IP address, and hence received by the laptop.
From the laptop , run the hlc-server software ( tutorial | tutorial) and browse to the web interface to observe the real-time data stream from the Owl-in-Ones.
The laptop is now connected to the reelyActive WiFi network and observing data from the Owl-in-Ones.
Pareto Anywhere is pioneering open source software for real-time location and context.
Continue exploring our open architecture and all its applications.