Giter VIP home page Giter VIP logo

huelibent's People

Contributors

chincheta0815 avatar daniel1111 avatar dctsystems avatar eric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

huelibent's Issues

C99

Getting this error while trying to compile!
[ 6%] Building C object CMakeFiles/HueEnt.dir/src/hue_rest.c.o /root/HueLibEnt/src/hue_rest.c: In function ‘free_whitelist’: /root/HueLibEnt/src/hue_rest.c:83:3: error: ‘for’ loop initial declarations are only allowed in C99 mode for (uint i=0; i < ctx->whitelist_count; i++) ^ /root/HueLibEnt/src/hue_rest.c:83:3: note: use option -std=c99 or -std=gnu99 to compile your code /root/HueLibEnt/src/hue_rest.c: In function ‘parse_entertainment_groups_json’: /root/HueLibEnt/src/hue_rest.c:657:7: error: ‘for’ loop initial declarations are only allowed in C99 mode for (int n = 0; n < json_object_array_length(obj_param) && n < MAX_LIGHTS_PER_AREA; n++) ^ make[2]: *** [CMakeFiles/HueEnt.dir/src/hue_rest.c.o] Error 1 make[1]: *** [CMakeFiles/HueEnt.dir/all] Error 2 make: *** [all] Error 2

Question concerning an implementation of HueVis.

Hi daniel1111,

I found your great project and remembered that I once had the same issue on coupling squeezelite with hue.
So I worked on LMS-to-Hue (https://github.com/chincheta0815/LMS-to-Hue/tree/master/helper/LMS-to-Hue)

That thing discovers the Bridge, shows it as a LMS player, gets the music stream and is supposed to analyze it and flash the lights.

So far the idea. Until now that thing simply has issues with the correct stream output:

  1. I do not know if I get 16bit PCM correctly and the if I split up the channels correctly.
  2. Since point 1 I do not know if the analysis is correct.

But maybe you like the project. If you have any hints on how to get the audio stream and the analysis correctly I would also be happy.

BTW: I had to add minor functions to libHueEnt as I needed the apiversion. Maybe some headers (and functions) should be named more "liebhueent" specific (debug.h --> hue_debug.h, dtls.h --> hue_dtls.h) or so...
Do you want me to send as a pull request?

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.