wisvch / chue Goto Github PK
View Code? Open in Web Editor NEWCH Philips Hue
Home Page: https://chue.k8s.chnet
CH Philips Hue
Home Page: https://chue.k8s.chnet
/color
POST
endpoint was removed by Mr. Merges Own PR in #15
Currently strobe will function even if lights are turned off. Checking state first should fix this.
Because it's broken
In the current implementation strobe always strobes all lamps, no matter which lamps are specified. This is because
strobeJSON.put("symbolselection", "01010301010102010301");
specifies which pointsymbols of which lamps are being called (in this case all 3 lamps).
Once a pointsymbol is set it is saved until it is overwritten (or the lamp is turned off?).
Just like #12 implements returning the chosen color in hex.
I want to be able to see the current color of the lamps on the web interface!
If the Hue bridge is not reachable when CHue starts up, it never tries to connect again and the application is effectively in a hung state.
Logs:
2017-10-16 16:57:50.065 INFO 23 --- [ main] s.b.c.e.t.TomcatEmbeddedServletContainer : Tomcat started on port(s): 8080 (http)
2017-10-16 16:57:50.079 INFO 23 --- [ main] ch.wisv.chue.Application : Started Application in 6.824 seconds (JVM running for 7.66)
2017-10-16 16:57:56.114 ERROR 23 --- [ Thread-3] ch.wisv.chue.hue.PhilipsHueFacade : Not responding
2017-10-16 16:58:41.326 INFO 23 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring FrameworkServlet 'dispatcherServlet'
(.. application keeps running ..)
Instead of integer ids we should use friendly names as set in the Hue bridge.
Support for loading a list of commands (a script) that would be automatically executed in order.
e.g.:
{time} {command}
1000 color red
2000 colorloop
500 alert
http://gadgetlab.chnet/chue/54
There was an unexpected error (type=Internal Server Error, status=500).
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is java.lang.ArrayIndexOutOfBoundsException: 0
Related to #10
Bridge firmware can be updated with some REST calls, would be nice to implement support for that.
Nu kan je alleen alerten op alle lampen, dat moet per lamp kunnen
Page title should be changed ๐ธ
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.