-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
blink random color when turning on with relay (using SSR to control AC power to PSU) #3581
Comments
just tried using usermod multirelay, the problem with is is the minimum is 1 second, it cant do ms, i cant set it lower than 1, if i try to put 0.2 for example, it wont save it and go back to 1 |
@doronazl could it be you are regularly deleting / changing your questions? I got some questions by e-mail but they are missing here, so hard to help you. About multi-relay:
|
My apologies, some issue i got resolved so i just deleted it. |
Before you modify code, it would be smart to first verify that the MultiRelay usermod does indeed solve your problem, by testing 1sec or 2sec as the delay value. If that question is answered "yes", you could try to modify this line in the source code:
Changing the |
Will do!! Thank you so much
…On Tue, 12 Dec 2023 at 19:36 Frank ***@***.***> wrote:
All i need now is a way to do ms, not seconds.
Wouldnt know where to modify and what 🫤
Before you modify code, it would be smart to first verify that the
MultiRelay usermod does indeed solve your problem, by using 1sec or 2sec as
the delay value.
If that question is answered "yes", you could try to modify this line in
the source code:
https://github.com/Aircoookie/WLED/blob/1dab26bcbcac051f2b7be47a2d5c757a9938bf1f/usermods/multi_relay/usermod_multi_relay.h#L225
Changing the * 1000 into * 100 modifies the resolution of the input value
(from 1sec to 100ms units); so if you now enter "3" in the UI, it actually
means 0.3 sec.
—
Reply to this email directly, view it on GitHub
<#3581 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALWQAO33YMWGKZZHVFIIJWTYJBFWDAVCNFSM6AAAAABAQ7A6QCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJRHE2TIOBSHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
so basically if i change it to *1 then i can treat my input in there as ms right ? |
Just curious - what is the magic about exactly 0.2 seconds delay? Would the flicker still happen with 1 second delay, or longer? |
the UI wouldnt let me go lower than 0.2, i read somewhere even 50ms would be fine to avoid the flickering a 1 second would work as well but its too long duration and its noticable. |
It would be very nice to add a delay for the data as discussed here #346 . Unfortunately it is closed even though the workaround proposed there is a bad one imho. |
Hey! This issue has been open for quite some time without any new comments now. It will be closed automatically in a week if no further activity occurs. |
What happened?
im using a SSR to control my PSU and turn it off when not in use, it works fine but im getting a blink sometimes when turning the led on, been reading about it and found this thread
#812
seems this was solved there but trying to edit the changes proposed i find things are different in the current code so im stuck
how do i get this done , id like to add a 200ms delay
To Reproduce Bug
turning on with a relay
Expected Behavior
described
Install Method
Binary from WLED.me
What version of WLED?
0.14
Which microcontroller/board are you seeing the problem on?
ESP32
Relevant log/trace output
No response
Anything else?
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: