I am trying to hardcore segments.
I want to have predefined segments and can not be edited or deleted.
Can someone help with that?
I am trying to hardcore segments.
I want to have predefined segments and can not be edited or deleted.
Can someone help with that?
Not sure if that is possible at all in WLED.
The closest I can think of would be to program WLED up the way you want it and then disable or set the WiFi to an unknown or âhiddenâ value.
Essentially you would make it impossible to program and/or change anything in the setup.
Not sure how helpful that might be.
What is your use case for this?
Not possible without heavy modifications.
Its gonna be a product with multiple parts or sections. So i still need the access to the wled for color changing and effects.
The user will see the predefined parts. And can add more of their own
I am willing to do the heavy modifications. I just need to understand the logic of the code. I have reached to it. It is called makeSeg() in the jason.js file. I have tried to fiddle with it. But it seems there is another code somewhere thats blocking the new changes. As the html refreshes with the new adjustments and then removed it immediately.
Lets say i ran the wled on my eps32. I set the segments as i want.
Is there a way to edit the html file that is already on the esp32?
That way i can just disable the edit fields or remove them.
Yes if you go to http://ip/edit you can edit the raw JSON
I am not providing help for commercial products. Sorry.
I appreciate your honesty. And i understand your concern.
But I am not planning to remove the wled branding from it. And hopefully if the product saw success i will be donating.
And of course the modified code will be uploaded.
I am not planning to be taking without giving back
Sorry i have not noticed that you are one of the programmers.
Maybe if you would like we can make a deal if you are willing to communicate
I have no issues with commercial use of WLED but if you intend to modify it (regardless of branding included or not) for your particular needs you will need to delve into the code yourself or find someone else as I donât do paid work for WLED.
If your product succeeds (and I hope it does) I hope youâll keep your word.
Consider that I am donating every day (in the form of hours spent; for people like you to earn some money if they can) without expecting anything in return.
Iâm running 99 Adafruit NeoPixel RGBW Mini Button PCBâs on a chandelier Iâm designing and having difficulty getting WLED to work right. It is lighting, but uncontrollably, responding to input from my phone but not responding as expected (sometimes âorganized colorsâ, other times âblinkingâ. Iâm running them off an ESP32-WROOM-32. All grounds are connected. Steady 5.2 VDC. Data goes from GPIO5 through a 74LV245A level shifter to the 99 NeoPixels. Any ideas why theyâre not behaving?
incorrect shifter. it may work if you lower the shifter supply to 4.7V.
also: why post in a random thread?
Hello, and thank you for responding. I am a retired K-12 special education teacher and long-time wood sculptor who âbranched outâ into design & development after realizing my body was not going to be able to continue the physical requirements of wood carving. I learned how to use Blender and designed a 3 1/2â x 3â (dia.), chandelier that I want to light with 99 Adafruit NeoPixel Mini Button PCBâs (NeoPixels). It is turning out great but Iâm having problems controlling the pixels.
I just signed up for the community forum yesterday so I probably donât know how to find the correct forum to post my question to. I will try to do better.
no worries, it was just odd to pick a completely unrelated topic and ask a question (as you can see the topic here is: âHard codeing segmentsâ which is completely unrelated to your issue)
The chandelier I designed is a hexagon, six sides (segments). The first thing I try to do is make the six segments, with hopes of coordinating them. Unfortunately, I donât know how to correctly fill out the information on the Wifi Settings portion of WLED , so it connects to my home router, and can only log onto WLED-AP, and therefore, when I make my segments, they disappear the next time I log on. //Just noticed that my home network, Cherry12-2.4G, is showing up twice on a WiFi scanner. This may be my problem!//
Once WLED works, and I can make/save segments, I will be using them.
As far as a level shifter I would have a look here: Other Hardware - WLED Project There is also loads of other info there.
If you are looking to use 6 different GPIO pins on your Esp I would have a look at using the 74AHCT245 chip or the 74HCT245. They both offer 8 i/oâs and there is a wiring diagram on the linked page above as well. For convenience here is said diagram:
EDIT: If you are just using 1 GPIO then the standard 4 port chip would be plenty: SN74AHCT125 Wiring diagram is also on the page linked above.
Segments, Fx, Palette (colors) and Brightness are all saved by way of creating âpresetsâ. So if you want more than 1 segment saved you need to create a preset of your settings. If you want said preset to load when the system boots you need to set that saved preset as the âBoot Presetâ in Led Preferences settings.
To configure your Wifi, all you need to do is enter/select your routers ssid from the list and enter itâs password. If done correctly and if you are in decent range of the router/access point it will connect to your network. Keep in mind that only 2.4ghz wifi is supported. If you have 2 listed as that maybe you somehow named your 5g and 2.4g in the router the same? I would login to your routers admin panel and see what your wifi networks are named. *it is also a good idea to setup a static/reserved IP from within your routers config so that your Esp will always have the same IP.
-As an observation of your pic if you donât already have a lot invested you may want to look at using addressable LED strips or seed pixels as they would provide a much better density vs all of those little led modules. Depending on what covering you will be putting over them what you have there may create bright spots vs a smooth look.
Jinx,
Thank you so much for the tips. I really appreciate it!
My internet provider came over yesterday and said that my signal is as strong as it can be without putting in more hardware (no). The chandelier Iâve designed isnât huge, but is intended to be installed in a large(ish) home/building. My shop is about 100â away from the modem/router. Iâm thinking this would be a typical installation problem (poor chip communication with router), now, in the development phase, there will likely be a problem down the road, so I decided to order an ESP32-WROOM-32U (the same chip with an antenna), hopefully boosting the signal enough to provide for clean transmission.
Right now the WLED home page loads and appears exactly like itâs supposed to. I am able to access all of its functions. Symptoms: When I click on a program, like âFireworksâ, âMeteorâ, âChaseâ, if I slow it down a little, turn the intensity down a little, the pixels clearly respond to my command, but not cleanly, with intermittent color changes and flashes of white. Could this be a level shifter issue and benefit from the changes you suggested?
I donât want to use a NeoPixel âstripâ and have designed a âPixel Plugâ, that will hold the âfaceâ of the NeoPixel to the surface of the chandelier, hiding the PCB and wires.
Thank you again for your input!
George Rickert
Full Moon Sculptures
https://www.fullmoonsculptures.com/ (there are some âVideosâ of the development of this project)
The level shifter would likely help with that problem. How far from the first pixel is the Esp32? If you want less work in the level shifter department this already has the 4 port shifter on a pcb: Level Shifters - SN74AHCT125 (Pack of 4) â RGB 2 Go
100ft away from your router would for sure be better with an antenna version. I would suggest adding an 8 or 10dbi antenna. I have used these 8 dbiâs, but often times switched them out to 10dbi ones I got off ali express: Amazon.com: Bingfu Dual Band WiFi 2.4GHz 5GHz 5.8GHz 8dBi RP-SMA Male Antenna 30cm 12 inch RG178 U.FL IPX IPEX to RP-SMA Female Cable 2-Pack for WiFi Router Wireless Mini PCI Express PCIE Network Card Adapter : Electronics
Another option to extend your wifi network would be to add a wifi extender about 1/2 way between the router and the device(s) you want connected. Suggested option at a reasonable price: Amazon.com: TP-Link AC1200 WiFi Extender, 2024 Wirecutter Best WiFi Extender, 1.2Gbps home signal booster, Dual Band 5GHz/2.4GHz, Covers Up to 1500 Sq.ft and 30 Devices ,support Onemesh, One Ethernet Port (RE315)
If you are looking for a smaller form factor Esp you could use an Esp32-Cam board.
It has the option of using an external antenna ***But you need to remove the 0ohm onboard antenna resistor and then bridge the 1 pad to another pad that enables the external antenna jack. >This requires VERY fine/small detail soldering skills< Here is a link to an Esp32-Cam board that also includes the serial adapter for flashing, if that is something of interest. Amazon.com: YEJMKJ ESP32 CAM Development Board ESP32-CAM 8MP OV2640 Camera Module, WiFi Bluetooth Module ESP32-CAM-MB Micro USB to Serial Port CH340G with TF Card Slot for Raspberry Pi for Arduino : Electronics
Thanks again Jinx. I ordered a couple of the level shifters you recommended. They should be here any day. Thanks for your input!
George
Full Moon Sculptures