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"]]
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 :
Look at the Change Log <a href="CHANGELOG.md">here</a>
From jcenter :
compile 'fr.bouyguestelecom.dev:bboxiot-library:1.01'
To be able to use this library, you must have a Miami Box Android TV with BboxIoT service running
The project you are watching is the interface between your client and BboxIoT Service (in the middle)
List of currently supported devices :
| Product Name | Manufacturer | Status | type | functionnalities |
|------------------------------|-------------------|---------------------------------|------------------------|---------------------|
| SmartLite | Beewi | | actuator / sensor | state / color / intensity |
| SmartClim | Beewi |
| sensor | temperature / humidity |
| SmartTrack | Beewi |
| sensor | button single/double push (advertizing) |
| Aroma Light | AwoX |
| actuator / sensor | state / color / intensity / odor |
| Flower Power | Parrot |
| sensor | air temperature / soil temperature / soil electroductivity / water content / luminosity |
| NIU | Altyor |
| sensor | button single push (advertizing) |
| Oblo | RtRk |
| actuator / sensor | state / tension / current / power factor / active power / reactive power |
| Notti | Witty |
| actuator | state / color |
http://bboxlab.github.io/bboxiot-library
The MIT License (MIT) Copyright (c) 2016 InnovationLab BboxLab