Skip to content

A very lightweight JVM library allowing to access the JointSPACE interface implemented by Philips televisions to retrieve or manipulate Ambilight data.

License

Notifications You must be signed in to change notification settings

imeszaros/ambilight-api

Repository files navigation

Ambilight API

A very lightweight JVM library allowing to access the JointSPACE interface implemented by Philips televisions to retrieve or manipulate Ambilight data. Written in Kotlin.

For the JointSPACE interface, see http://jointspace.sourceforge.net/projectdata/documentation/jasonApi/1/doc/API.html

This library uses OkHTTP and GSON under the hood.

License: Apache 2.0

Usage

Include the library in your build:

allprojects {
    repositories {
        ...
        maven { url 'https://jitpack.io' }
    }
}

dependencies {
    implementation 'com.github.imeszaros:ambilight-api:v0.1'
}

Instantiate and call the API:

fun main(args: Array<String>) {
    val ambilight = Ambilight("192.168.0.10", "6") // Television IP address and API version
    println(ambilight.getTopology())
    println(ambilight.getProcessed())
}

For further parameters and methods, see the code docs.

About

A very lightweight JVM library allowing to access the JointSPACE interface implemented by Philips televisions to retrieve or manipulate Ambilight data.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages