Git Product home page Git Product logo

lifxnet's Issues

Consider public setters for Device / LightBulb

At the moment, these types can't be serialized/deserialized in UWP (no reflection as a workaround). I don't want to have to rely on device discovery upon app startup before issuing commands to cached light bulbs and the Lifxnet API only accepts Lightbulb instances for telling it where to send commands.

An alternative would be to provide API overloads allowing MAC, IP, port params etc and I can just cache that data instead rather than Lightbulb instances.

Thanks ;)

Some lights are not found

I have four lights, all functioning, all in the same room, same network.
2 of them are found and 2 of them are never found by the library. (it is always the same two)

What could be the reason for that?

An attempt was made to access a socket in a way forbidden by its access permissions

I ran into a System.Net.Sockets.SocketException trying to initialize the LIFX client.

var task = LifxNet.LifxClient.CreateAsync();
{"An attempt was made to access a socket in a way forbidden by its access permissions"}

What's the best way to work around this? My first thought is to run as administrator or some other app manifest permission like "Private (Networks Client & Server)".

Thanks,

~Tim Graupmann

GetDeviceLabelAsync doesn't work

I'm trying the get the label of the device instead of just the Hostname, but the call to GetDeviceLabelAsync doesn't work. It just hangs and never returns.

Push New Version to NuGet??

Hey there!

I can't be 100%, but I think the version on NuGet needs to be updated.

Trying this with my project, I'm getting an socket error because it's trying to bind to the address multiple times.

However, in the source for the project, I see you've added socket.reuseaddr to the socket init code, so I'm assuming NuGet needs to be updated.

Could you do this, pretty please? :D

Changing over time like the web api

I'm working on a project where when i score in the game "Rocket League" i trigger my lights into a matching team color. So far i've succefully made it using the web api, though it's a bit slow, so i want to get it going over lan.
In the web api i can call a function that changes the hue over time smoothly, though i can't seem to find anything like that with your library.
This is what it looks like in action, it changes slowly back to the color it was before scoring: https://imgur.com/a/FjoSa

Hyper-V network interface interferes with detection

I have a virtual ethernet card added on my system from the installation of Docker in Hyper-V. It is a NAT interface so it doesn't really go anywhere. When this interface is enabled, LifxNet is not able to detect lights on my network. As soon as I disable it, detection works perfectly. I'm not sure what other diagnostic info I can provide, so please let me know and I will be happy to help.

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.