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

Arduino - Possible race condition #18

Open
appideasDOTcom opened this issue Nov 12, 2018 · 0 comments
Open

Arduino - Possible race condition #18

appideasDOTcom opened this issue Nov 12, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@appideasDOTcom
Copy link
Owner

I have noticed that, on controllers that are far away from my WiFi router and have a poor WiFi signal, there are times when I will set a light's colors, watch the colors change successfully, leave that controller's screen, come back into the controller's screen of controls, and one of the sliders is set to an incorrect value. I verified that http://<ip_address>:5050/status returned the wrong value.

I have only noticed this behavior on devices that have a poor WiFi signal, and I cannot reproduce it at will. I believe that there is a race condition on the Arduino side between changing the values of the pins and changing the values stored in the status array, and it appears to be affected by network lag.

My assessment of the cause is only speculation based on my observation of the symptoms at this point.

@appideasDOTcom appideasDOTcom added the bug Something isn't working label Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant