Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is candle supported? #43

Open
nospam2k opened this issue Mar 8, 2022 · 5 comments
Open

Is candle supported? #43

nospam2k opened this issue Mar 8, 2022 · 5 comments

Comments

@nospam2k
Copy link

nospam2k commented Mar 8, 2022

I just received some magic home bulbs and in the app there is an option for candle where you can set amplitude, brightness, speed and color/CCT.

@mdhornet90
Copy link

mdhornet90 commented Apr 18, 2022

FWIW bytes 3 and 4 in this mode are 0x5f and 0x23, respectively, on my RGB controller

@nospam2k
Copy link
Author

nospam2k commented Jul 20, 2022

Not trying to bug you on this but just wondered if you saw it. In the app there is an option for candle which is pretty cool. It's a seperate section in the Magic Home app. If this is just using the app to talk to the bulb, then there is no point but if this is built in, it would be a nice feature.

@jangxx
Copy link
Owner

jangxx commented Jul 20, 2022

Sorry, but I can only support features for lights I actually own, since I can't sniff the network packets otherwise. If you want to build this feature yourself feel free to send a PR (always happy to merge them!), otherwise I've also done paid contract work on this project, where I got some money to buy a new controller to support it.

They way you described it, it should be easy to replicate with the music effect mode. I'm guessing that the app actually sends a special command to the light however, and I unfortunately don't know what that looks like.

@nospam2k
Copy link
Author

Ok, I'll see if I can get some time to look at the music effect mode. I have my own candle effect that I hacked into Tasmota code. I'll come back if I get anywhere. Thx again!

@jangxx
Copy link
Owner

jangxx commented Jul 20, 2022

You can check out this example for how to use it: https://github.com/jangxx/node-magichome/blob/master/examples/async_effect_test.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants