yashsingh1/xdaforums huggingface dataset:
[General Accessories] Akti88:
[MENTION=5810398]jordi.id96[/MENTION] Awesome work! I just got my Yeelight strip today and it works perfectly with your toolbox. Can't wait for my bulbs to arrive :)

Just a few tiny things:

1: Movie Mode seems to take up a good amount of CPU - around 28% average, on an AMD A8-5600K quadcore overclocked to 4100mHz. This gives me some concern about using Movie Mode while gaming on PC. I totally understand that this is likely an unavoidable part of the Yeelight Toolbox constantly monitoring the screen for changes in color, but...anything you can do optimize this further would be awesome.

2: If the Yeelight device disconnects from the WiFi while Movie Mode is running, the Toolbox crashes/freezes up with the error "SlimDX not found installed on PC".

3: If you could figure a way to make Music Mode for Toolbox or make your Music Mode app for Android work through LAN control, that would be awesome. I don't have a WiFi router, I had to set up my Yeelight through Android hotspot, and unfortunately it seems Yeelight Music requires both Yeelight and Android device connected to the same external WiFi, and won't work through LAN control.
[General Accessories] jordi.id96:
Glad you find it useful!

1: Movie move is like an experiment right now, it's in very early stages. I have lots of plans for it, but at the moment it scans the whole screen so gaming performance is impacted. I'll add the ability to change different setting like the percentage of screen pixels to scan and the refresh rate.

2: Noted. I'll fix that. I'll display an error message instead of the app crashing.

3. I'll plan to develop a music mode for the desktop app too.

I don't quite understand the rest. Yeelight Music for android works like the official app, uses the LAN control protocol, so your phone and the bulb must be in the same local network.
[General Accessories] Akti88:
Okay sorry I should explain better because I'm not quite sure how all this works underneath the surface.

I didn't set up my Yeelight with a WiFi router - I connected my Yeelight and my main Android phone to a 2nd Android phone's WiFi Hotspot. Then I changed my SSID/password on my main Android phone to match the 2nd phone, so when I open WiFi hotspot on my main phone, the Yeelight thinks it is connecting to the wifi network used to add it to Yeelight app. My computer is also connected to the Android's wifi hotspot. Hope that makes sense...

In any case, this works perfectly within the Yeelight app and the Yeelight Toolbox, except for things that actually check to see if WiFi is enabled (such as Yeelight Music) - which is why I was hoping you could either add a music mode to Toolbox, or find a way to make your Android app work through hotspot instead of Yeelight + phone both being connected to same WiFi network (because the Yeelight is already connected to the Android's hotspot, so why does the Android device need to be connected to an outside WiFi network? Again, Im not very smart in these things but it seems weird)

Edit: I did manage to get a "pseudo" Music Mode, by using a full-screen Milkdrop plug-in for Foobar (fancy patterns and colors that match the music playing on PC) and enabling Movie Mode in the Toolbox set to instant / no delay :)
[General Accessories] jordi.id96:
Oh I get it now. It makes sense.

The only solution I can think of is to install Yeelight Music on that 2nd android phone and have your wifi hotspot on your main phone as usual. Then your yeelight device and your second android phone will connect to it.

The problem with what you are trying to do is that your phone acts as a router but it is not connected to its own wifi hotspot. It just provides wifi, it doesn't use it. Every other device can see each other, but not your main phone. That's why my windows app can see the bulb but not my android app, unless you intall it on a separate phone. The official yeelight app works because it uses its own servers.

I hope I explained it well enough, I'mnot good with words.

Oh and also, yes, I plan to add a music mode to my windows app
[General Accessories] Akti88:
Thanks for your excellent explanation, it seems much clearer now. I'm wondering if I can use an Android emulator on my PC to install the Yeelight app on PC, since it will connect through my computer's internet (which is connected to my Android hotspot) - this should suffice as a 2nd android phone, I think. Worth a shot and further playing around!

Anyways, kudos again for all your hard work and look forward to future updates :) :) :)
[General Accessories] jordi.id96:
I haven't tried so I cannot guarantee it. Feel free to try, hope it works!
[General Accessories] Akti88:
Omfg it works in Nox Player using DHCP bridge connection :laugh:

Of course, the reality of this would mean installing a music player and all my music into the emulator, but preeeettty cool.
[General Accessories] Akti88:
[MENTION=5810398]jordi.id96[/MENTION]

Sorry to bug ya :) but do you have any idea about the limitations of what programs SlimDX can hook into? I turned on movie mode while playing an older PC game (Postal 2) which worked fine, but then I tried Skyrim and the lights wouldn't change colors.

I have both x32 and x64 SlimDX versions installed so wondering if its something to do with how SlimDX hooks into D3D apps? I mean why it would work in one game and not another.
[General Accessories] jordi.id96:
I don't really know how it works. For me it worked in dishonored if I remember correctly and I currently use it on racing simulators like assetto corsa.

I chose to use Slimdx because I knew it would work on some games too, not only on the desktop, but I don't know how many it supports
[General Accessories] Akti88:
I'll investigate this further - it may be a mod for Skyrim I have installed that deploys a custom D3D .dll - there's a performance monitor plug-in for Skyrim which also uses SlimDX and their FAQ mentions that some of the mods that replace Skyrim's D3D files cause SlimDX to not work with Skyrim. Or maybe it needs SlimDX Net 2.0 version.

Maybe I can get it working with an ENB profile loaded into Skyrim. Sorry if I'm "updating" you with nonsense, maybe this will be useful info down the road LOL
[General Accessories] oldsap:
any news on this function?

"Movie mode will work with multiple bulbs as soon as I implement bulb grouping."
[General Accessories] jordi.id96:
I need to get more devices. Currently I have only one bulb. I already started developing bulb groups but it's hard to debug right now
[General Accessories] John Gibbson:
This program is brilliant, thanks a lot! I had problems finding my bulbs but the tip from fafifi regarding the Telnet Client solved it for me. I still haven't figured out yet what the "Save in device" button does tho, can anyone explain :P ?
[General Accessories] affe2000:
For me it' not working. Device is found and can be controlles manually, but when i click start nothing happens. When i click stop. Programm freezes.

Brightness Slider is adjusting while Screnn is changing, but light stay unique

Seems that the Image in not grabbed correctly. Its always default grey

Any Idea?
[General Accessories] jordi.id96:
It saves the current state of the bulb as the default. I guess I'll change the name of the button, it's not very intuitive
[General Accessories] John Gibbson:
ahhh arlight, that makes sense. Thanks!
[General Accessories] jordi.id96:
v2.0.0 released

· Added a dark theme.

· Reduced movie mode flickering (more improvements to come with a firmware update, which eliminates flickering and provides smoother transitions. It's currently in beta).

· Performance settings for movie mode in advanced tab.

· Added keyboard shortcuts.

· Added a donation link in about tab.

· Bug fixes for movie mode.

· UI improvements and bug fixes.

· Updated app icon.

Changelog: https://drive.google.com/open?id=1y1G695C1ErY0AD8dOwrLQvG-Y1ZU2Nllp7IMnrSBN00

Download: https://drive.google.com/open?id=1uIRyFDb90kFlALWi6HIMVYjKCdDvgKGy
[General Accessories] lawrnz:
How did you get it to run? Mine still can't find the bulb after doing what fafifi advised.
[General Accessories] jordi.id96:
edit: my reply got duplicated, sorry
[General Accessories] jordi.id96:
My program does not use telnet so that step is not necessary. The problem could be that your router blocks or doesn't support multicast traffic
[General Accessories] affe2000:
I don't know, what you have fixed, but v2 is working for me now! thxs
[General Accessories] lawrnz:
You're right. I finally got it to work. Apparently, my Avast Firewall is blocking my bulb from connecting to my pc. Only thing is now I had to turn off Firewall in order to use this and turn it back on after to keep my pc secured.
[General Accessories] jordi.id96:
Try to add the following ports as exceptions:

UDP - 1982

TCP - 55443

TCP - 54321

That should be enough to allow automatic discovery, bulb control and movie mode. If you have any issues, please tell me
[General Accessories] jordi.id96:
v2.0.1

· Multi-core movie mode.

· UI improvements.
[General Accessories] gidi:
Hey there [MENTION=5810398]jordi.id96[/MENTION]

What does multi core movie mode mean?

Any news regarding multi device (more than one lights) support?

Thanks a lot for your great work. Really has changed the way I am watching Netflix.
[General Accessories] jordi.id96:
-That menas that movie mode will use more CPU cores to imrpove performance instead of just one core. I'm still working on improving performance, that should be a step forward.

-I only have one device, I'll get more soon so I can implement groups.
[General Accessories] John Gibbson:
Can other programs connect to you bulbs when its in LAN mode? You can easily check by using Jordis yeelight music app on your android. If the app also doesnt work then it might be some problem with the yeelight server. I was using the german one innitially and the LAN mode was super buggy and never worked, i just generally had problems with that server so i switched to the chinese one and it works a lot better now.

---------- Post added at 04:15 PM ---------- Previous post was at 04:12 PM ----------

edit: whoops, didnt see that your problem is already solved
[General Accessories] jordi.id96:
v2.0.2

· Minor UI improvements.
[General Accessories] ninjaskija:
Hey Jordi, nice work with the toolbox ;). I'm using it with the yeelight smart led strip and when I activate movie mode, the CPU jumps to almost 100% and stays there.. I have to kill the process in order to have my PC usable again :). PS: My CPU is a Ryzen 1800x so I don't think is CPU power related. Any ideas? Thanks
[General Accessories] jordi.id96:
Check the advanced tab, I added some options to play with so you can find the best setting for performance. I also plan on adding edge detection, so movie mode will only scan the screen edges.
[General Accessories] jordi.id96:
v2.1.0

· Some UI tweaks.

· Improved movie mode performance. I got deeper into the DirectX 3D API and tweaked hardware acceleration and stuff, so it should be way better now. And of course it still can capture full screen apps or games. You can still play with the settings in the advanced tab (change frame rate and screen percentage to scan). But keep in mind that it could still be very demanding on low powered computers if you choose a very high refresh rate or percentage. Lower values should be completely fine (100ms and 10% consumes about 20% of CPU, which it is still pretty fast and provides lots of data for color calculation).

· Display selection for movie mode. Choose what monitor should be captured for movie mode if you have multiple of them connected to your PC.
[General Accessories] John Gibbson:
Thanks for the update! Movie mode works a lot better for me now, it was super slow and always crashed for me before. The Dominant colour mode doesnt work properly tho, it displays colours that arent even present on the screen but avarage colour works perfectly fine!
[General Accessories] jordi.id96:
Can you help me reproduce the issue? I had no problems when testing. Maybe try scanning a larger percentage of the screen, without sacrificing performance too much
[General Accessories] John Gibbson:
I set the screen scanning percentage to 80% and and 100ms refresh rate, but i still get false colours. For example: https://youtu.be/YdcE2j8xkMQ?t=13m19s at 13:19 gives me a bright intense red.

As a side note: To get the toolbox to work for me, i have to enable telnet and enter the IP in cmd so that the toolbox can find the lights. Your app works without problem but sometimes i need to completely turn off the lights (cut them from electricity, not just turn them off with the app), otherwise neither your app nor the toolbox can find the lights (turning LAN mode on and off doesn't solve it). The strange part is that i still can connect to the lights via telnet cmd even if they are no discoverable on your app or toolbox. As you see, it generally doesnt work 100% smoothly for me which could be a problem on my side instead of the toolbox so maybe that could somehow be linked to dominant colour mode not working for me?
[General Accessories] jordi.id96:
I've tried the video and it happens to me too. But it's really weird that it just happens on that particular scene, I've been testing a lot and I can't reproduce the issue anywhere else. I'll try to fix it.

Also my app doesn't use telnet. Sometimes LAN control can be buggy, I've personally had to factory reset my bulbs a couple of times because of the issues you describe
[General Accessories] John Gibbson:
Hmm strange, generally ill also only notice false colors during gray/white/blacksih dominant images where there isn't an obvious dominant color, besides black white shades. So maybe its the toolbox finds some hint of colour somewhere on the screen and defines that as the dominant colour?

Yeah the yeelight app seems to be buggy in general, do you still have to reset every now and then or has it been fine for you since then? Also do you have any idea why i need to connect to the lights via cmd every time i want to use the toolbox?
[General Accessories] jordi.id96:
Ohh that makes sense. The bulb can't produce gray/black light so maybe it behaves weirdly. I'll take a look into it tonight.

I sometimes have to reset them, but also it is fair to say that I run beta firmwares. It happened with stable firmwares but not frequently.

No idea, my app discovers devices using multicast. You don't need telnet to make my app work.
[General Accessories] jordi.id96:
Version 3.0.0 uploaded!

Huge thanks to the Yeelight team for providing the necessary hardware, implementing groups would have taken much longer and would have been much harder to debug without their help.

v3.0.0

· Groups.

· New tabbed layout.

· New fields for inputting RGB and HEX values manually.

· Improved bulb discovery reliability.

· Improved lightstrip support.

· Movie mode advanced settings will now be applied in real time.

· Other minor UI improvements and bug fixes.

I’ve also created a Telegram group for bug reporting, feature requests, suggestions and beta testing. English only. I might as well create a Telegram channel for changelogs so development and releases would be easier to follow.

https://t.me/joinchat/ACE0Dg-Txw-m7gVSCPfx3Q
[General Accessories] IonuZ:
I´ve tested the latest verion with this Youtube clip -> https://www.youtube.com/watch?v=8u4UzzJZAUg

I noticed that on ¨Average color¨ mode once there are more than 2 colors(after 0:35) the lights turn white and only the brighness is changing slightly

On ¨Dominant color¨ mode once there are more than 2 colors the lights color stayed unchanged , in this video after 0:35...

During tests i change the ¨Screen color picker¨ in every corner on the screen , center , almost everywhere .

Below are 2 examples , how it looks like when i have a dominant green color on the screen .

And how i think it should be like

In 80% of the time the colors are so washed out that it seems that are always white :D
[General Accessories] jordi.id96:
I just tested it with the video you mention:

- I have no issues when setting dominant color, doesn't matter how many colors are on screen that it picks the dominant one.

- On average color, it's true what you describe, it will always look washed out, but that's the thing, it makes the average. If colors are opposites of each other I suppose it would tend to be close to white.

I've tested it with 5% of screen scanning and as I said I had no issues. You can increase that value and keep trying, hope this solves it for you.
[General Accessories] IonuZ:
:crying:

Then i´ve done something wrong because it´s not working for me in ¨dominant color¨...i´ve installed the ¨SlimDX Runtime .NET 4.0 x64 (January 2012).msi¨ , and i´m on windows 10 Pro , up to date.

Edit : I mean it´s working with one color but after having multiple colors on screen it´s jost dropping the brighness to 1% and that is , i tried to jump from one part of the video to another and nothing ,

for example from 0:25(Blue) to 1:00 (Blue with 1% brightness)

then from 0:16(Green) to 1:23(Green with 1% brightness) and so on...
[General Accessories] jordi.id96:
Dumb question maybe, but where you trying it in full screen? Keep in mind that having black bars at the sides of the video counts too, and since the bulb can't produce black it will show white.
[General Accessories] IonuZ:
Not dumb at all , yes , i´m on full screen but i have an 21:9 screen and i have black bars on left and right , i´ll try again with an 16:9 screen :confused:

Edit : Silly me , that's the problem , sorry for wasting your time .
[General Accessories] jordi.id96:
Oh I see, then that's the cause. Black bars on the sides are interfering, that's why average color looks too washed out also.
[General Accessories] IonuZ:
One more thing :D Don´t kill me :laugh:

Is movie mode for individual lights coming ?

Like ambi-light , Let´s say there´s two lights on left and right of the TV/Monitor and on the right it´s the ocean and on the left side the sand , one light will be blue and the other one orange-ish .

And also music mode for windows version ? (These are only suggestions)

Thank you for you´re time developing all of these and keep up the good work ! :good:
[General Accessories] jordi.id96:
I thought about it but requires rewriting movie mode almost entirely, along with a whole new UI. I don't think so, for now, maybe in the future.

Music mode will come for sure, I want it myself too. I can't give you a deadline though
[General Accessories] jordi.id96:
v3.0.1

· Improved support for Bedside Lamp.

· Bug fixes.
[General Accessories] Taskabbot:
Open Multiple instances

Can i open the program in multiple instances?

I'm positive I could do this a month ago but can't seem to do it now. Using windows 10.

I want to open the program I 2 separate instances and try to use the movie mode in different settings for 2 different bulbs.

The program itself do not allow it if I'm correct?

I have 2 bulbs behind my TV and want to use lower and upper screen for the 2 bulbs. To make it more similar to ambilight. Is this possible?

Other then that the program is working perfectly.
[General Accessories] derdigga:
Hey,

ty for the great work, sadly i cant get it started.

im getting this error:

I dont have slimdx installed, since their website is down. Is this maybe the problem?

Ok, i found here the dx runtime: https://code.google.com/archive/p/slimdx/downloads

Now i got another problem, when i search for my yeelight bulbs its says Invalid length for a Base-64 char array. Ty!
[General Accessories] jordi.id96:
It's a known bug because something on the firmware has changed. I'm working on it.
[General Accessories] derdigga:
Ty and sry I didn't see that.
[General Accessories] jordi.id96:
v3.0.2

· Reduced flickering in movie mode (UPDATE TO THE LATEST FIRMWARE REQUIRED).

· Bug fixes.
[General Accessories] The_Butsmuts:
hi I'm trying to install this amazing piece of software, but I have hit a wall.

The SlimDx website isn't online anymore and I can't find a recent version anywhere online, what do I do now?
[General Accessories] Dreamclaw:
Nice app!

That's an awesome app you have here! I do have a question though: do you plan to include a music mode for the desktop app?

I'd love to have music play on my PC and be able to make the lights flow with it, preferably from system audio input!

It would also be nice if this could work with more than 4 devices (let alone 1), as I actually have 7 of them :P
[General Accessories] jordi.id96:
I do plan to include it, and of course will support groups.
[General Accessories] Duarik:
The truth is I don´t know if it's implemented but at least I did not find it.

To be able to add devices manually with the ip, I do not know why but it does not detect my device in any application that I tried, but in one of them I let it be manually and it worked.

I wish I could try yours, if you could add it in the future it would be great.
[General Accessories] Dtrieb:
Same here:
[General Accessories] jordi.id96:
v3.0.3

· Bug fixes.
[General Accessories] jordi.id96:
v3.1.0

Added an option to add devices manually for those of you who can't get automatic discovery to work (Advanced -> Add device). It's still work in progress.
[General Accessories] iam1simpleguy:
Hi

Everything was working fine until I install win10 1903 build.Now when media mode starts nothing really happens except brightness low and high.Which was fine in 1809 build.I also tried latest and previous versions of yeelight too but no success.only media mode not working rest of yeelight toolbox works fine. light strip can be ON n OFF and its color can be changed etc.

Thx in advance.
[General Accessories] adi518:
In attempt to get it working, I messed my device list a bit. How can I clean it up? couldn't find where preferences are stored.

Great work.
[General Accessories] jordi.id96:
Look for the yeelight toolbox folder under %localappdata%\JGR and open the file user.config. Delete the devices there
[General Accessories] jordi.id96:
It works fine for me. Try clearing the app config under %localappdata%\JGR
[General Accessories] iam1simpleguy:
Hi

I did tried as u advised but it has no effect in media mode.
[General Accessories] DidyZ:
Hello,

The app worked fine and now I can't open it anymore... When I click the .exe nothing happens.

I'm on the latest version with all the necessary .net framework and SlimDX.
[General Accessories] dupasj:
Movie Move Troubleshoot

Hello :)

I discovered this application yesterday. I felt this awesome.

This application worked on my desktop, I decided to add it into my laptop one and watch a movie with it. But the application does'nt work with :/ I installed SlidmDx from this url: code.google.com/archive/p/slimdx/downloads (I selected the SlimDX Runtime .NET 4.0 x64 (January 2012).msi) and the tollbox (the 3.1.0 once)

The toolbox reconize the window and the lamp. But when I start the movie mode, the application doesn't crash, but the lamp doesn't update colors from screen (nothing append); but the application looks to run because my computer performances downcrease when I launch it.

My computer is a surface Book 2, I don't know if it's the toolbox or slimdx who have a confics because the laptop can plug/unplug a graphic card easely.

When will we have the music mode ? :)

I am a developper, I can build some nodejs feature if you have somes ideas and need some help.

May you help me to solve this ?
[General Accessories] benris:
Hey guys

it does not find my lamp automatically.

But when i add it the manual way, i cannot control anything, the controls on the right side are greyed.

I also installed that Slimdx Runtime 4.0 thing...

Could you please help me to get this to work?

Thanks a lot

edit:

I didn't enable lan-control now it works just fine!!!