Giter VIP home page Giter VIP logo

collinux / gohue Goto Github PK

View Code? Open in Web Editor NEW
66.0 4.0 22.0 144 KB

:bulb: [Officially featured on the Philips Hue® Developer site] Go library "hue" interfaces Philips Hue devices to control and monitor lights, scenes, schedules, and groups.

Home Page: https://godoc.org/github.com/collinux/gohue

License: GNU General Public License v2.0

Go 100.00%
lights hue schedules lights-attributes philips-hue philips-hue-lighting philips scenes control-lights sensor

gohue's People

Contributors

bboehmke avatar chbmuc avatar collinux avatar evanpurkhiser avatar realytcracker avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

gohue's Issues

Remove hard-coded IP and user token from test files

Currently I have all of my settings hard-coded into the test files, such as the IP address of my test bridge and my user token to log into the bridge.

I can enhance these test files by doing the following:

  1. Use FindBridges() and use the 0 index to get the test bridge in all testing files
  2. Add a file to .gitignore that includes my user token
  • Note: Instructions would have to be included so contributors will know how to run test cases on their own

inconsistent imports

I am working on a linux maschine and get some problems with the different import variants.

In the tests the import uses "github.com/collinux/GoHue",
The example uses "github.com/collinux/gohue".

Because directories in linux are case sensetive I get 2 directories in "../src/github.com/collinux/".
This causes an error if I try to run the tests:
can't load package: package github.com/collinux/GoHue: case-insensitive import collision: "github.com/collinux/GoHue" and "github.com/collinux/gohue"

Here it would be nice to use the same import for each import.
It is maybe also possible to remove the imports from the test because it is the same package. (Here I am not sure if this is correct because I am new to GO)

Thanks for the libary and best regards

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.