Chapter 1. Tigase IoT Framework

Table of Contents

Overview
Building
Requirements
Building Framework
Running
Requirements
Running Web UI
Installation
Create user and adjust permissions
Switching working directory
Download distribution package
Unpacking distribution package
Installation of startup scripts
Enabling Tigase IoT Framework
Summary
Upgrade
Switching working directory
Stopping old installation
Download distribution package
Unpacking distribution package
Copy configuration
Replace old installation
Updating startup scripts
Starting Tigase IoT Framework
Summary
Development
New sensor
New sensor with periodical reads
New device
Quickstart
Creating new project using Tigase IoT Framework
Initialization
Publishing data from sensors
Reacting on change of sensor state
Publishing data to device
Configuration
User Interface
Requirements
Device running IoT-XMPP bridge - Raspberry Pi
Tigase IoT Hub
Network

Overview

Figure 1.1. Example project

hardware

Tigase IoT Framework project is a composite project for more and more popular idea of IoT enabled devices. It is based on Jaxmpp library and Jaxmpp Bot Framework for providing XMPP connectivity between devices.

This project is modular and consist of following modules:

runtime
Contains main classes of a framework. It is responsible for connectivity and general functionalities.
devices
Provides API and base classes for implementations of sensors or executor devices.
devices-rpi
Provides support for particular sensors or executors which are supported on Raspberry Pi platform. It is responible for communication between framework and actual devices connected to Raspberry Pi.
client
Web based UI for interaction with devices, including device management task
client-library
Library for interaction with application using Tigase IoT Framework installed and running on a device using XMPP protocol with support for GWT compilation. It provides classes used by UI.