GithubHelp home page GithubHelp logo

jue's Introduction

2014-12-06: This Library is Unmaintained

This library was created by Q42 in August of 2013, but is no longer being maintained. As of December 2014, the library is already out of date with the official Hue API.

This repository has been kept online for future reference, but it might be removed at a later date. It is provided under the MIT license, so feel free to fork and modify.

See hue-libs for a list of other Hue libraries.


The README from August 2013:

Jue

Jue is a Java library allowing developers to easily use the features offered by a Philips Hue bridge. All publicly documented API features have been implemented, along with group creation and deletion.

It is designed with Android compatibility in mind and we encourage you to use it in your apps!

Documentation

If this is your first time using the library, have a look at the wiki pages for tutorials to learn how to use this library. These will outline the organization and usage patterns.

If you're looking for a reference, you can find Javadoc here. Great care was taken to properly document all functions and classes and it is updated after every change.

License

Jue is licensed under MIT, of which the terms are outlined in the LICENSE file.

Also included is a copy of the GSON library, licensed under the Apache License 2.0, of which the terms can be found here.

jue's People

Contributors

chees avatar overv avatar tomlokhorst avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jue's Issues

BridgeDiscovery.searchPortal() mismatched return type.

Hi!

First of all, thanks for making this library. It's far more useful and easy to follow then the offical Phillips version of the SDK.

I've been working on an android app to control Hue, when I kept getting the exception:

nl.q42.jue.PortalDiscoveryResult cannot be cast to nl.q42.jue.HueBridge 

I believe this error is caused in the PortalDiscoveryResult class at this line:
https://github.com/Q42/Jue/blob/master/jue/src/nl/q42/jue/PortalDiscoveryResult.java#L9

When I change it to:

public final static Type gsonType = new TypeToken<List<HueBridge>>(){}.getType(); 

It works as desired and I do not get the exception. Is having the gsonType return a list of PortalDiscoveryResults desired? When using the method as shown in your documentation, it causes the error, making me believe this is a bug. If it is, I would be more then happy to open a pull request with the changes.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.