WLED Sync Explained

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
I gotta tell you guys I am having so much fun learning about wled and its capabilities and I'm going to show you a feature that is really awesome this is if you have two different LED features somewhere in your room or in your house or whatever and you want to change the setting on one but have it mirrored onto the other one and that's what I'm doing right here I am actually setting the effect on this one but it's mirroring it onto this one I'm going to show you how I did that using out of the box wled coming up [Music] all right what's up everybody today I am going to demystify another feature of wled that is syncing between two devices and the scenario here is let's say you've got two different strings on different sides of your room maybe different parts of your kitchen whatever and you want them to do the same effect at the same time you can do that with wled and I have here two node mcu's they are both configured exactly the same way and you can see I put a 53 on here that is the IP address of that one and this one is 118 and you can see that represents that the two browser windows that I have open on my screen here 53 and 118 and so the one on the left is the one that I am controlling with this one you can see I will turn it red and orange and whatever so I've got that one working there and on this side I've got a number of presets already set up with uh just a couple of things here so you can see that's just a red green Chase I want to go into the config and when I go into sync interfaces in here it has eight sync groups and you can see send and receive Now by default the check box is under one are both checked which means that you could take control of multiple devices you can actually put things into groups if you put devices in the same group they will be controlled so let's see if we go into sync interfaces over here now I don't want to use one because I have other things in the house that are on one so I'm going to turn off one I'm just going to use H and I'm going to on 53 I'm going to make that one what I'll call the the master and the other one would be the slave which means that this one is going to mirror whatever the um 118 is going to mirror whatever 53 does all right now when I set this button when I click sync on here what it will do is whenever I make a color change it will synchronize that change to the other one so let's try that and you can see exact same thing whatever color goes over there all right so I have 53 set to a blue and yellow Chase which it sets the same exact thing to the other one now one thing I want to point out which is subtle but you can see this last LED right here is off there's a reason for that because I set this this segment is stopping at 30. even though there's 50 lights on this string and I did that on purpose so that is a short segment it's configured for a 50 light string but my segment is only 30 lights so only the first 30 lights light up so that one that's why that one is off now this is the last Light on the other one and over here you can see if I go into my segments here this segment is 50. even though the segments are different sizes whatever the effect is on this segment is what we'll come over onto this segment now if I come into my configuration settings over here to sync interfaces you'll see here it says receive brightness color and effects segment options and Bounds are not checked so what happens if we check those let's save it all right now when I come back over here let me go to one of my presets I'm going to just call this I'm just going to go to green okay notice I have green over here but that last LED is not lit now why is that well that's because it mirrored the segments as well now I only have a 30. you know one segment that's 30. now if I come over here I have another preset called two segments and there you can see I have that last LED is lit and so is that last LED is lit because guess what it created two segments here I hope I'm not confusing you but this is somewhat confusing all right so let's go back to Candy Cane and here you can see I only have one segment and it's a short segment same thing over here that last LED is not lit so remember that if you want segments to synchronize you have to put that in here now I'm going to take that off and I'm going to come over here I have a preset that has two segments in it okay and you can see oh let me go to the pre the segments if I turn off this segment you can see just the one segment has a Chase effect with red and green the second segment is the one that is solid blue all right now you need to know that now when I come over here and I say I want this to be green it only changes that second segment why did it change the second segment when there's only one segment over a year well because this is the one that I had checked see the check mark right here so it's synchronized that setting so let me undo that let me come back in here now I'm going to come back over here and I'm going to check this one and uncheck that one now come into this preset here I'm going to make this one a red and you can see only the first segment is the one that became red because that's the one with the check mark now what does this say sinking is tricky that's really what I'll what I'll say what I really thought would happen is if I selected preset one here that it would also go preset one over here to whatever that preset is and they don't necessarily have to be the exact same thing but that's not the way sync works now if you do want to synchronize based on presets so that they both you use a certain preset preset number one on both of them at the same time you can't do that with the sync button but what you can do there's this API called the Json API and this is the the knowledge um I guess it's a Wiki for wled and some of this is kind of confusing but uh I have kind of boiled some of it down so that it's not so hard to to understand that if you want to all right I'm going to take this all right I'm on my Mac and I opened up a terminal window that's what this is here and what I have is I have a I can use this curl command and it sets it sends a a post command to this address now you can see this is my IP address here the 118 which is for this string right here and what I'm sending it is I'm sending it a toggle of the on command okay so it's basically saying toggle the on State and when I click enter on that you can see it goes off and if I do it again you can see it goes on if I pull this out of the way let's see if we look here I can see preset is the ID of the preset that I want to play so I can do the same kind of thing so I have preset one is the command the data that I'm actually going to send it and when I do that you can see preset 1 comes on here if I do it again I can change that to preset too then the same thing goes on there now let me try the same thing with my 53. all right now it set it to Green but if you recall I have to turn the sync interface off here try that again I'm going to tell this go one I'll go back to 118 and have that one play one there now I have both of these set programmatically to preset one and I can use home assistant or I can use some other computer to do that if I needed to the point here is that you can use the API to set the same preset numbers or different preset numbers depending upon you know it's almost like you're creating a light show but for whatever reason if you want to you can have it so that you click a button in your house let's say and it it does your presets the way that you want them to now is that cool or is that cool I think it is the documentation on wled is not always the best so that's why I put this little video together to explain how it works hopefully it helped you if you have any questions just write them down in the comment below and I will get back to you and if you like the video please give it a thumbs up and I will see you in the next one if you are a DIY Video Creator struggling to find an audience join handydad TV and get instant access to an established audience that will provide more views and income than you're getting on your own just go to handydad.tv slash join for more information [Music]
Info
Channel: HandyDadTV
Views: 25,632
Rating: undefined out of 5
Keywords: handy dad tv, handydad.tv, handydadtv, wled, christmas lights, rgb, rgb pixel lights, permanent christmas lights, led strip controller, athom, diguno, digquad, dig uno, dig quad, dr zzzs, dr zzs, drzzs, aircoookie, quindor, node mcu, hiletgo, fairy lights, rgb fairy lights, addressable fairy lights, wled sync
Id: Yd-2Sl8v5FM
Channel Id: undefined
Length: 10min 19sec (619 seconds)
Published: Sat Dec 17 2022
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.