{"action":"created","issue":{"url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/128","repository_url":"https://api.github.com/repos/rszimm/sprinklers_pi","labels_url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/128/labels{/name}","comments_url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/128/comments","events_url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/128/events","html_url":"https://github.com/rszimm/sprinklers_pi/issues/128","id":407858982,"node_id":"MDU6SXNzdWU0MDc4NTg5ODI=","number":128,"title":"delay after activating pump before activating zone ","user":{"login":"AUCOTEC-TDo","id":46557324,"node_id":"MDQ6VXNlcjQ2NTU3MzI0","avatar_url":"https://avatars0.githubusercontent.com/u/46557324?v=4","gravatar_id":"","url":"https://api.github.com/users/AUCOTEC-TDo","html_url":"https://github.com/AUCOTEC-TDo","followers_url":"https://api.github.com/users/AUCOTEC-TDo/followers","following_url":"https://api.github.com/users/AUCOTEC-TDo/following{/other_user}","gists_url":"https://api.github.com/users/AUCOTEC-TDo/gists{/gist_id}","starred_url":"https://api.github.com/users/AUCOTEC-TDo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AUCOTEC-TDo/subscriptions","organizations_url":"https://api.github.com/users/AUCOTEC-TDo/orgs","repos_url":"https://api.github.com/users/AUCOTEC-TDo/repos","events_url":"https://api.github.com/users/AUCOTEC-TDo/events{/privacy}","received_events_url":"https://api.github.com/users/AUCOTEC-TDo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-02-07T19:25:06Z","updated_at":"2019-02-08T08:47:53Z","closed_at":null,"author_association":"NONE","body":"i tried to add a delay after activating pump before activating the configured zone by using delay(n), usleep(n) or gettimeofday() looping until the difference of n. But when i start Sprinklers_pi as service, i receive a \"Communications Failure\" by connecting via web interface. If i comment the time functions, the web interface will connection without error.\r\n\r\nWhat is the reason for that?\r\nIs there any workaround?\r\n\r\nThanks\r\nThomas"},"comment":{"url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/comments/461731456","html_url":"https://github.com/rszimm/sprinklers_pi/issues/128#issuecomment-461731456","issue_url":"https://api.github.com/repos/rszimm/sprinklers_pi/issues/128","id":461731456,"node_id":"MDEyOklzc3VlQ29tbWVudDQ2MTczMTQ1Ng==","user":{"login":"AUCOTEC-TDo","id":46557324,"node_id":"MDQ6VXNlcjQ2NTU3MzI0","avatar_url":"https://avatars0.githubusercontent.com/u/46557324?v=4","gravatar_id":"","url":"https://api.github.com/users/AUCOTEC-TDo","html_url":"https://github.com/AUCOTEC-TDo","followers_url":"https://api.github.com/users/AUCOTEC-TDo/followers","following_url":"https://api.github.com/users/AUCOTEC-TDo/following{/other_user}","gists_url":"https://api.github.com/users/AUCOTEC-TDo/gists{/gist_id}","starred_url":"https://api.github.com/users/AUCOTEC-TDo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AUCOTEC-TDo/subscriptions","organizations_url":"https://api.github.com/users/AUCOTEC-TDo/orgs","repos_url":"https://api.github.com/users/AUCOTEC-TDo/repos","events_url":"https://api.github.com/users/AUCOTEC-TDo/events{/privacy}","received_events_url":"https://api.github.com/users/AUCOTEC-TDo/received_events","type":"User","site_admin":false},"created_at":"2019-02-08T08:47:53Z","updated_at":"2019-02-08T08:47:53Z","author_association":"NONE","body":"Thanks all!\r\nDuring testing my delay loop i broke down my code so that there is only one call to gettimeofday() left - it does not have any time delay. But connecting via web Interface i receive still that error message \"Communications Failure\". If i also disable the call to gettimeofday() everything works fine. It seems that any call to a system function will have that effect. "}}
{"actor":{"display_login":"AUCOTEC-TDo"}}