BboxLab/bboxiot-library


API interface / wrapper for BboxIoT

Download


Step 1. Add the JitPack repository to your build file

Add it in your root settings.gradle at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url 'https://jitpack.io' }
		}
	}

Add it in your settings.gradle.kts at the end of repositories:

	dependencyResolutionManagement {
		repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
		repositories {
			mavenCentral()
			maven { url = uri("https://jitpack.io") }
		}
	}

Add to pom.xml

	<repositories>
		<repository>
		    <id>jitpack.io</id>
		    <url>https://jitpack.io</url>
		</repository>
	</repositories>

Add it in your build.sbt at the end of resolvers:

 
    resolvers += "jitpack" at "https://jitpack.io"
        
    

Add it in your project.clj at the end of repositories:

 
    :repositories [["jitpack" "https://jitpack.io"]]
        
    

Step 2. Add the dependency

	dependencies {
		implementation 'com.github.bboxlab:bboxiot-library:1.01'
	}
	dependencies {
		implementation("com.github.bboxlab:bboxiot-library:1.01")
	}
	<dependency>
	    <groupId>com.github.bboxlab</groupId>
	    <artifactId>bboxiot-library</artifactId>
	    <version>1.01</version>
	</dependency>

                            
    libraryDependencies += "com.github.bboxlab" % "bboxiot-library" % "1.01"
        
        

                            
    :dependencies [[com.github.bboxlab/bboxiot-library "1.01"]]
        
        

Readme


Bbox IoT library

Build Status Download Coverage Status License Javadoc

Android wrapper for BboxIoT

Bbox IoT is an Android service aiming at controlling and monitoring IoT devices through high-level APIs

<hr/>

At this moment, this library is concentrating on Bluetooth Low Energy devices. <br/>Further Radio protocol could be added later.

Specific features are :

  • BLE devices control
  • BLE connection workflow management
  • high level APIs for controlling BLE workflow and devices
  • flexible architecture and datamodel for multi-protocol implementation

Look at the Change Log <a href="CHANGELOG.md">here</a>

Including in your project

From jcenter :

compile 'fr.bouyguestelecom.dev:bboxiot-library:1.01'

Requirements

To be able to use this library, you must have a Miami Box Android TV with BboxIoT service running

Bbox Miami

Scope

  • BLE discovery
    • scanning
  • BLE device control
    • association
    • connection
    • write/read characteristics
    • event monitoring
  • Device database
    • store associated devices

Global architecture

architecture

The project you are watching is the interface between your client and BboxIoT Service (in the middle)

Supported devices

List of currently supported devices :

| Product Name | Manufacturer | Status | type | functionnalities | |------------------------------|-------------------|---------------------------------|------------------------|---------------------| | SmartLite | Beewi | good | actuator / sensor | state / color / intensity | | SmartClim | Beewi | good | sensor | temperature / humidity | | SmartTrack | Beewi | good | sensor | button single/double push (advertizing) | | Aroma Light | AwoX | good | actuator / sensor | state / color / intensity / odor | | Flower Power | Parrot | good | sensor | air temperature / soil temperature / soil electroductivity / water content / luminosity | | NIU | Altyor | good | sensor | button single push (advertizing) | | Oblo | RtRk | good | actuator / sensor | state / tension / current / power factor / active power / reactive power | | Notti | Witty | good | actuator | state / color |

JavaDoc

http://bboxlab.github.io/bboxiot-library

Support

  • BboxLab developper portal IoT section: https://dev.bouyguestelecom.fr/forum/viewforum.php?f=45
  • BboxLab developper portal Download section : https://dev.bouyguestelecom.fr/forum/viewtopic.php?f=36&t=71

License

The MIT License (MIT) Copyright (c) 2016 InnovationLab BboxLab