nathanielxd / magic-home Goto Github PK
View Code? Open in Web Editor NEWA .NET library that imports functionality from the Magic Home app, allowing control of smart lights.
License: GNU General Public License v3.0
A .NET library that imports functionality from the Magic Home app, allowing control of smart lights.
License: GNU General Public License v3.0
Hey! I'm thinking of syncing my RGB keyboard to my magic home LED strips, and therefore I'm wondering whether the reverse engineering work you did could be reversed, so a UDP socket listening on my computer could send a fake response to the Magic Home app, pretending to be a real LED controller?
Thanks!
Hello Dear.
I have RGB and RGBW led controller and i want to distinguish these two type of LEDs.
Is there any command that determined whether the led is RGB or RGBW?
Thank you.
We have a standard RBG strip, and then we have an RGB bulb that has the cool/warm option (when we interact with it via the app).
Running the same code for both strip and bulb, they both turn on / off fine, but setting the colour doesn't work for the bulb (but does work for the strip). I've debugged it and the RGB value is being set for the bulb as expect, but the light isn't actually changing colour. We have tried calling refresh on it after changing colour. We have tried calling SetColdWhiteAsync after setting it to a different colour on the phone app, and it doesn't change either.
Please have time to develop the music function
I noticed my lights flicker/flash to white before setting the color.
I'm wondering if this is an issue with my lights or something else?
Code that causes issues:
await lights.setColorAsync(255, 0, 0); // all colors cause flashes
Hi, I was using the 1.2.0 release in my project, upgraded to 1.4.0 but since I'm having problem with the release I want to go back to 1.2.0.
Could you mind uploading the 1.2.0 version to the NuGet repository?
When you make major (breaking) changes like between version 1.2 and 1.4 you should increase the major version number and not the minor version number. And why not keep the older versions on nuget so we can go back when we realise that all our code is broken after updating?
Sorry to sound harsh, I appreciate the work you've put into this but it is annoying when you upgrade a package and then find yourself stuck with work you weren't planning to do in the first place not able to revert easily.
First of all, kudos to you for making such a library, been looking for this for .NET.
However, there's an issue when I try to instantiate a new Light object. It's not able to create the logs directory in Docker.
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
An unhandled exception has occurred while executing the request.
System.IO.IOException: Invalid argument
at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at MagicHome.Light..ctor(IPEndPoint endpoint)
magic-home/LightController/Light.cs
Line 80 in c44ac05
Suggestion: Maybe provide an option to disable logs, or better: expose an event handler that gets invoked each time a new log message arrives. This way it's fully optional without any weird quirks.
Bought these, they use the magic home app, so assumed i could use this API
https://www.amazon.com/gp/product/B07GGWNQT7
Im getting an error when trying to connect via ip (ive tried the discover async also but that continues to fail to find anything).
I'm wondering if it's possible to change individual lights on addressable LED strips using this API, if it is how would I go about doing that?
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.