Sensor Examples

Writing a new type of sensor? Want to integrate an embedded device, smartphone, laptop, or something else? Learn how to interact with the aggregator so that solvers can stream your data by digging through the examples below.

Java

Simple Fake Sensor
A simple application that forwards a pre-configured sample to an aggregator once per second. Useful to test if the aggregator is working correctly. This version takes a more "procedural" approach to the code, and is appropriate when simplicity is preferred over efficiency.
Asynchronous Fake Sensor
A slightly more advanced sensor that also sends samples once per second. This version uses the Observer pattern support built-into the Java Sensor Library, enabling the application to respond asynchronously to connection-related events without the need for polling.

C++

PIP Sense Layer
This is github repository for the code we use to send data from our USB basestations to an Aggregator. Compared to getting data over USB sending data to the aggregator is easy!

Ruby

Coming soon!

Solver Examples

Solvers are the "intelligence" of the system, the driving force behind the platform's versatility. So exercise your brain and expand the Owl's consciousness. Check out these examples to see how to use the Owl libraries to write a new solver.

Java

Simple Fake Solver
A simple solver that subscribes to samples at a rate of once per second and prints them to standard out. This version uses the "SolverAggregatorConnection" class which simplifies the code, but reduces efficiency by requiring polling and blocking operations.

C++

Coming soon!

Ruby

Coming soon!

Application Examples

Visualizations, notifications, Apps, and integration. Applications are how we experience the platform, and a good application makes all the difference. Follow along with these examples to jump-start your application development. Whether you're writing a standalone tool or integrating Owl Platform data into an existing program, this is the place to start.

Java

Coming soon!

C++

Coming soon!

Ruby

Coffee Email Notification
Simple application showing how you can send out alerts when events happen. This application searches for coffee events and sends out emails from a gmail account.