{"action":"created","issue":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1302","repository_url":"https://api.github.com/repos/letscontrolit/ESPEasy","labels_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1302/labels{/name}","comments_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1302/comments","events_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1302/events","html_url":"https://github.com/letscontrolit/ESPEasy/issues/1302","id":316619718,"number":1302,"title":"Wifi issues -never ending story- go back to non event based wifi?","user":{"login":"TD-er","id":3751318,"avatar_url":"https://avatars3.githubusercontent.com/u/3751318?v=4","gravatar_id":"","url":"https://api.github.com/users/TD-er","html_url":"https://github.com/TD-er","followers_url":"https://api.github.com/users/TD-er/followers","following_url":"https://api.github.com/users/TD-er/following{/other_user}","gists_url":"https://api.github.com/users/TD-er/gists{/gist_id}","starred_url":"https://api.github.com/users/TD-er/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TD-er/subscriptions","organizations_url":"https://api.github.com/users/TD-er/orgs","repos_url":"https://api.github.com/users/TD-er/repos","events_url":"https://api.github.com/users/TD-er/events{/privacy}","received_events_url":"https://api.github.com/users/TD-er/received_events","type":"User","site_admin":false},"labels":[{"id":587074314,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Category:%20Core%20related","name":"Category: Core related","color":"5319e7","default":false},{"id":855470727,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Category:%20Stabiliy","name":"Category: Stabiliy","color":"5319e7","default":false},{"id":910449351,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Category:%20Wifi","name":"Category: Wifi","color":"5319e7","default":false},{"id":850761330,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Status:%20Fixed","name":"Status: Fixed","color":"0e8a16","default":false},{"id":855164549,"url":"https://api.github.com/repos/letscontrolit/ESPEasy/labels/Type:%20Discussion","name":"Type: Discussion","color":"d1a814","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":333,"created_at":"2018-04-22T22:39:10Z","updated_at":"2018-05-08T10:38:34Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"As a lot of you have noticed the last few weeks, there have been lots of issues with the wifi.\r\nThis all started when I changed the way wifi operates to be event based.\r\n\r\n- Static IP not working\r\n- Boot loops (ESP32)\r\n- Connected but data transfer not possible (NTP cannot connect to 0.0.0.0)\r\n- No AP found errors\r\n- Loading setup page from AP mode not working (changed to core 2.4.0 for this)\r\n- Beacon timeout errors => no proper reconnect\r\n- Various other wifi related issues.\r\n\r\nSome of these errors are core version related, and update to core 2.4.0 does introduce lots of other issues.\r\nAnd then there is the problem with corrupted settings what was also in this period. That wasn't related to the wifi event based connect, but it made me look for a lot of other issues that were not really issues at all but just corrupted settings.\r\n\r\nSo at the moment the wifi state machine I wrote is overly complex due to the many fixes that were no fixes, because things were not broken.\r\nAnd still there are other real issues, either caused by core 2.4.0 or still open wifi issues.\r\n\r\nSo now we have to choose:\r\n\r\n1. Go back to sloooowwww but stable wifi (still some issues then with MQTT when connection is lost)\r\n2. Invest some more time to get event based wifi just right + try to get core 2.4.1 working.\r\n3. Invest some more time to get event based wifi just right, but still go back to core 2.3.0\r\n4. Some intermediate solution to do async wifi with core 2.3.0\r\n\r\nCore 2.3.0 does seem to give a lot less issues and leaves more free memory.\r\nSo I guess that's my preferred base.\r\nThis means that for event based wifi, there is still some issue with respect to loading the setup page when initial config is needed.\r\n\r\nAnyway, this has to stop now and get stable again. \r\nThere are currently way too many issues at hand that are quite hard to see as separate issues.\r\n\r\nAny other suggestion?"},"comment":{"url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/comments/387360919","html_url":"https://github.com/letscontrolit/ESPEasy/issues/1302#issuecomment-387360919","issue_url":"https://api.github.com/repos/letscontrolit/ESPEasy/issues/1302","id":387360919,"user":{"login":"giig1967g","id":21318099,"avatar_url":"https://avatars3.githubusercontent.com/u/21318099?v=4","gravatar_id":"","url":"https://api.github.com/users/giig1967g","html_url":"https://github.com/giig1967g","followers_url":"https://api.github.com/users/giig1967g/followers","following_url":"https://api.github.com/users/giig1967g/following{/other_user}","gists_url":"https://api.github.com/users/giig1967g/gists{/gist_id}","starred_url":"https://api.github.com/users/giig1967g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giig1967g/subscriptions","organizations_url":"https://api.github.com/users/giig1967g/orgs","repos_url":"https://api.github.com/users/giig1967g/repos","events_url":"https://api.github.com/users/giig1967g/events{/privacy}","received_events_url":"https://api.github.com/users/giig1967g/received_events","type":"User","site_admin":false},"created_at":"2018-05-08T10:38:34Z","updated_at":"2018-05-08T10:38:34Z","author_association":"CONTRIBUTOR","body":"What abuout leaving disabled by default and enabling only if requested in the settings page?\r\nThe power saving options make sens for battery operated devices only, I suppose."}}
{"actor":{"display_login":"giig1967g"}}