Coder Social home page Coder Social logo

jakobjfl / hue-browser-controller Goto Github PK

View Code? Open in Web Editor NEW
75.0 4.0 13.0 147.2 MB

Philips Hue Controller that works in a browser and can be installed on your PC/Mac.

Home Page: https://jakobjfl.github.io/Hue-Browser-Controller/

License: MIT License

CSS 16.84% JavaScript 63.05% HTML 20.10%
hue hue-api javascript philips-hue smart-home smart-lights

hue-browser-controller's Introduction

The Hue Browser Controller

Introduction

The Hue Browser Controller is a website that enables you to control your Philips Hue lighting right from the website. It requires no install of software and runs locally. I other words it is a static website which means it can run independently of a web server and run just as it is stored. This means that if you have downloaded the site you can even control your lighting without a public internet connection.

Check out the Hue Browser Controller

Features

Creating a connection

When you enter the website you will see the login page. Here you can use an existing Philips Hue API connection or create a new connection as seen on the figure below. The program will automatically find the IP of a Philips Hue Bridge connected to the same network as your computer. You can also enter the IP manually this can be found in the hue app. After this the button on the Hue Bridge have to be pressed and then the program will automatically create a connection and you can login.

The login page

Controlling the lights

When you are logged in you will be presented with the control page. Here the rooms, scenes and lights from the phone app will automatically be fetch and displayed as shown on the figure below.

The login page You can select different rooms to see the lights and scenes in them, adjust the brightness and turn all lights off in every room. Scenes can be selected by cheating on them but can only be created in hue app. By clicking on the uppermost part of a light you turn the lights off/on. By clicking on the lowermost part you a menu opens where you can adjust the lights brightness and colour temperature or saturation and hue as shown below.

The login page

Contributing

If you would like to contribute to this repository please feel free to do so. Please open an issue with the tag "enhancement" if you have any improvements or ideas for improvements. If you finde problems/issue with the website please also open an issue with the appropriate tag. You can also fork the repository can create a pull request if you wish to do so. Thank you in advance!

License

Distributed under the MIT License. See LICENSE.txt for more information.

hue-browser-controller's People

Contributors

jakobjfl avatar retog 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

hue-browser-controller's Issues

Error when trying to create connection

I get the following error when trying to make a new connection:
Error - try and enter the Hue bridge IP manually - SyntaxError: Unexpected end of JSON input

Console errors are attached below
Screenshot 2023-07-19 at 22 10 46

Build instructions

The README should contain instructions on how to build the artifacts (specifically the zip and exe file). Also, I'd suggest having a main branch with no generated artifacts and have a Github action create them for the gh-pages/deploy branch.

Differentiate zones & rooms in UI

The UI shows a "Rooms" column that includes rooms and zones mixed together. Current functionality is fine, but it would be more clear & helpful if rooms & zones were listed separately.

Solution could be as simple as a second area labeled "Zones" with the appropriate elements (/resource/zone/{id} in v2).

Ideally, the UI could be configured as either zones first or rooms first, as in the Hue mobile app. A zones/rooms toggle could also be an option, but it would be preferable to have both visible & accessible at once.

Firefox issues

online-hue-controller
Layout is messed up on Firefox 101. Chromium based browsers are working fine.

Additionally, it is impossible to set 'allow insecure content' when using https and access the page; the only way to use this on Firefox 101 is to access it over http.

Docker Image

Hey, had the idea for a apache docker image with hue-browser-controller inside it that exposed a port so you can access it.

other port number?

Hi,

would it be possible to add an option to use a port number other than the default, like 8080?

Best regards,

Victor

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.