Philips Hue: Webapp – Dynamic bulbs

13 Responses

  1. Kevin Andersson Kevin Andersson

    Implemented color selection for my lights. Changing the color of a light, will be indicated on the small bulbs, which is pretty neat in my humble oppinion.

    This is really coming together nicely!

    Let me know what you guys think.

    Dev page
    If you want to have a peek at the current development site, just visit www.hueice.com/dev

    Note
    Remember, that url is my development page - so please refrain on commenting on that part.

    I've also added some random todos in my humans.txt.

    likes

    5 months ago

  2. Jeff Broderick Jeff Broderick

    Wow man...always impressed! I would do some preloading on the images though.

    likes

    5 months ago

  3. Kevin Andersson Kevin Andersson

    @Jeff Broderick - thank you kind mr. Broderick. As for preloading, I already made the method for preloading images, I just need to go back and add all the new assets. I didn't see the point in adding them before I was done creating assets.

    likes

    5 months ago

  4. David Keegan David Keegan

    @Kevin Andersson Not sure if this would help but this is a little script I wrote that runs through the css and preloads any images it finds, so you don't have to hard code any filenames.
    https://gist.github.com/1218824

    Awesome work on this, looks great!

    likes

    5 months ago

  5. Kevin Andersson Kevin Andersson

    @Jeff Broderick I also plan to add application cache to the app - which stores all defined assets locally - until I push out a change in the manifest file. It's just really annoying to work with while you are developing.

    likes

    5 months ago

  6. David Keegan David Keegan

    @Kevin Andersson I looked into this more and something has changed sense I wrote this code. document.styleSheets[i].rules always seems to be null now. Sorry, looks like this code doesn't work anymore. Feel free to delete these comments.

    5 months ago

  7. Kevin Andersson Kevin Andersson

    @David Keegan I should be able to make it in jQuery - I just had way to much fun working on all the other stuff :D

    Anyways - the problem will also be solved when I implement the document manifest / application caching.

    5 months ago

  8. David Keegan David Keegan

    @Kevin Andersson actually if you wouldn't mind could you give this updated code a try: https://gist.github.com/1218824

    Turns out CSS rules are not available cross domain, so the css from jquery.com was causing it to blow up.

    5 months ago

  9. Kevin Andersson Kevin Andersson

    @David Keegan thanks, I am still getting the same error ;)

    – Also added you to the humans.txt :D

    likes

    5 months ago

  10. David Keegan David Keegan

    @Kevin Andersson ok slightly different, 'undefined' instead of 'null', making progress. How abot this: https://gist.github.com/1218824

    I ran it in the console on you site and it seemed to work.

    5 months ago

  11. Kevin Andersson Kevin Andersson

    @David Keegan magic code accepted. Looks like it is working now. Thank you David!

    likes

    5 months ago

  12. Iconfinder Iconfinder

    Nice work. Seems like a very user-friendly interface.

    likes

    5 months ago

  13. David Keegan David Keegan

    @Kevin Andersson awesome! Thanks for your patience, this code should be really robust now thanks to this back and forth! Also thanks for the shout out in humans.txt!

    likes

    5 months ago

keyboard shortcuts: previous shot next shot L or F like