{"action":"opened","issue":{"url":"https://api.github.com/repos/appideasDOTcom/APPideasLights/issues/18","repository_url":"https://api.github.com/repos/appideasDOTcom/APPideasLights","labels_url":"https://api.github.com/repos/appideasDOTcom/APPideasLights/issues/18/labels{/name}","comments_url":"https://api.github.com/repos/appideasDOTcom/APPideasLights/issues/18/comments","events_url":"https://api.github.com/repos/appideasDOTcom/APPideasLights/issues/18/events","html_url":"https://github.com/appideasDOTcom/APPideasLights/issues/18","id":379697137,"node_id":"MDU6SXNzdWUzNzk2OTcxMzc=","number":18,"title":"Arduino - Possible race condition","user":{"login":"appideasDOTcom","id":5428893,"node_id":"MDQ6VXNlcjU0Mjg4OTM=","avatar_url":"https://avatars3.githubusercontent.com/u/5428893?v=4","gravatar_id":"","url":"https://api.github.com/users/appideasDOTcom","html_url":"https://github.com/appideasDOTcom","followers_url":"https://api.github.com/users/appideasDOTcom/followers","following_url":"https://api.github.com/users/appideasDOTcom/following{/other_user}","gists_url":"https://api.github.com/users/appideasDOTcom/gists{/gist_id}","starred_url":"https://api.github.com/users/appideasDOTcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appideasDOTcom/subscriptions","organizations_url":"https://api.github.com/users/appideasDOTcom/orgs","repos_url":"https://api.github.com/users/appideasDOTcom/repos","events_url":"https://api.github.com/users/appideasDOTcom/events{/privacy}","received_events_url":"https://api.github.com/users/appideasDOTcom/received_events","type":"User","site_admin":false},"labels":[{"id":1079117256,"node_id":"MDU6TGFiZWwxMDc5MTE3MjU2","url":"https://api.github.com/repos/appideasDOTcom/APPideasLights/labels/bug","name":"bug","color":"d73a4a","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-12T09:50:53Z","updated_at":"2018-11-12T09:50:53Z","closed_at":null,"author_association":"OWNER","body":"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.\r\n\r\nI 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.\r\n\r\nMy assessment of the cause is only speculation based on my observation of the symptoms at this point."}}
{"actor":{"display_login":"appideasDOTcom"}}