Geeny Flow Demo: Lighty
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Geeny Flow Demo: Lighty


Lighty is a hypothetical smart light bulb with an accompanying mobile app. As part of the Geeny Flow demo, it demonstrates the capabilities of the Geeny platform when it comes to publishing and consuming IoT data using an application.

In this demo, Kadabra (a hypothetical smart lock app) publishes messages to the Lighty app to switch the lights off/on when the door is locked/unlocked.

NOTE: Before continuing, please read the Geeny Alliance Onboarding Guide for an in-depth understanding of how applications and devices are integrated with the Geeny platform.

Lighty's context in Geeny

Lighty is a Geeny Alliance Customer -- i.e., a company that connects an application to the Geeny Platform to consume data from any Geeny Alliance Member (when a consumer authorizes them to do so).

In this scenario, Lighty created a Geeny application and was granted an API key and OAuth access.

Lighty is an OAuth 2 client.

Application architecture

Lighty is a Node.js application with a React frontend and is located in the lighty folder. The frontend applications are located in the lighty/web folder.

The Frontend is served by a Node.js backend. During the Docker build step, it is bundled into the same Docker image as the backend.

Running the application locally

You must have Docker installed to run Lighty locally.

To run the application locally, you can use docker-compose up. It will bring up all the necessary services.

After the applications are started with Docker, it will be available at http://demo.geeny.localhost/lighty.

Configuration is handled by the .env-lighty and docker-compose.yml files.


Copyright (C) 2018 Telefónica Germany Next GmbH, Charlottenstrasse 4, 10969 Berlin.

This project is licensed under the terms of the Mozilla Public License Version 2.0.