Commit Graph

84 Commits

Author SHA1 Message Date
Paul C Diem b15a8a749c Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 06:50:37 -06:00
Theo Arends 94c9072815 Add wifi debug code 2020-02-24 13:27:22 +01:00
Paul C Diem 8182d6ef7b Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-21 09:15:47 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Theo Arends 9b1fc4342b Revert wifi connectivity stability introduced in 8.1.0.5
Revert wifi connectivity stability introduced in 8.1.0.5 (#7746, #7602, #7621)
2020-02-20 11:24:35 +01:00
Theo Arends 51211dfd55 Attempt to fix slow wifi connection caused by #7602
Attempt to fix slow wifi connection caused by #7602
2020-02-13 12:46:06 +01:00
Theo Arends ba345625de Fix wifi connection issues
Fix wifi connection issues since 7602 (#7621)
2020-02-12 16:55:39 +01:00
Adrian Scillato a904da2a2e
Fix Deep-Sleep-Wake timming
https://github.com/arendst/Tasmota/issues/7621
2020-02-10 16:57:42 -03:00
Theo Arends 9efe67127d Refactor wifi code 2020-01-26 15:52:26 +01:00
Theo Arends 3d00c4f093 Change wifi connectivity stability
Change wifi connectivity stability (#7602)
2020-01-26 14:30:11 +01:00
CORP\vdi 81c6355b8f Address multiple WiFI connectivity /stability issues.
1) Reduce the roam threshold to 5dBm to fix issues where a device might connect at -80dBM which is marginal operation, but would not roam to a -72dBm AP
2) Reduce the scan rate from 44 minutes to 5 minutes to accelerate network harmony
3) Arduino SDK was allowed to control re-connections which resulted in a de-authentication attack on teh WiFi AP.  Explicitly disable with WiFi.setAutoReconnect(false);
4) Reduce WIFI_CHECK_SEC to 5, and Wifi.retry_init times to accommodate Tasmota dealing with retransmissions.
5) WifiBeginAfterScan:  Save the last BSSID a connection attempt was made on.  Should that error, pick the next strongest AP for the next attempt.  Addresses situations where an AP has a high RSSI, but poor channel health due to it being overloaded.
6) WifiCheckIPAddrStatus: Error cases did not properly alternate between AP's, with some error cases geeting hug up where they did not initiate a reconnection so the device became non-responsive.  Device now starts at Wifi.retry_init, tries to connect, does again at Wifi.retry_init/2, and then does a WifiConfig.  Should no IP address be received, restart DHCP each second during this time.

Test Environment:
27 Tasmota devices
3 SonicWALL corporate AP's
Highly interfered 801.11n network
2020-01-25 11:22:40 -07:00
Theo Arends 0e0d8190fa Change some commands displaying all items
Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
2020-01-12 13:10:21 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 24aff9b415 Add info to Status 0
- Add SerialConfig to ``Status 1``
- Add WifiPower to ``Status 5``
2019-12-27 11:13:22 +01:00
Theo Arends 281cef6763 Fix no AP on initial install
Fix no AP on initial install (#7282)
2019-12-21 17:57:54 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +01:00
Bastian Urschel 27dd251fc3 IPv6 global unique address is now displayed at webinterface "information" above IPv4 address and also mentioned in the initial MQTT message if WebServer is active. 2019-12-11 15:53:19 +01:00
Theo Arends f3a5b033c8 Add save call stack in RTC memory in case of crash
Add save call stack in RTC memory in case of crash, command ``Status 12`` to dump the stack (#7114, #5883)
2019-12-07 18:32:39 +01:00
Theo Arends 2686ccb117 Revert "Merge pull request #7134 from s-hadinger/crashrecorder_rtc"
This reverts commit 758b255078, reversing
changes made to f4993736a5.
2019-12-07 16:50:10 +01:00
Hadinger 5a0febc64e Add save call stack in RTC memory in case of crash 2019-12-07 10:41:29 +01:00
Theo Arends 8c3295034d Update support_wifi.ino 2019-12-02 11:56:40 +01:00
Theo Arends 7777fa08b0 Sanitize code 2019-11-20 20:53:12 +01:00
Theo Arends 11c5947c23 Fix possible reboot loop regression 2019-11-18 11:02:04 +01:00
Theo Arends f6a7722a3c Refactor RtcReboot counter 2019-11-16 10:42:28 +01:00
Theo Arends 0636113147 Revert "Version bump 7.0.0.5"
This reverts commit edcc17c41b.
2019-11-15 21:30:59 +01:00
Theo Arends edcc17c41b Version bump 7.0.0.5
Add one time flash sdk reset on initial execution solving possible SDK wifi releated issues
2019-11-15 18:10:46 +01:00
Theo Arends 7b10bec8fe Refactor SDK erase
Add device hardware type to status 2
2019-11-14 15:57:52 +01:00
Theo Arends fa03f57ca8 Refactor deepsleep
Refactor deepsleep allowing time to update GUI before going to sleep (#6890)
2019-11-12 22:30:44 +01:00
Theo Arends 3c89dedb92 Enforce wifi output power 2019-11-11 17:39:24 +01:00
Theo Arends 9ada3df640 Fix setting Wifi mode (#6875)
Fix setting Wifi mode (#6875)
2019-11-09 14:26:17 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00
Theo Arends 4b49979274 Add SetOption comments to code 2019-11-03 13:51:22 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00