Commit Graph

72 Commits

Author SHA1 Message Date
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 43171d12a7 Fix ESP32 phy mode detection 2020-12-07 18:16:28 +01:00
Theo Arends c783ce445b Add NTP fallback servers x.pool.ntp.org 2020-11-27 18:22:44 +01:00
Theo Arends c57e79d51f
Merge pull request #9995 from emontnemery/fix_backlog_wrap_around
Fix wraparound bug in backlog
2020-11-27 15:31:29 +01:00
Erik aa12879356 Fix wraparound bug in backlog 2020-11-27 14:43:45 +01:00
Theo Arends e5dfbb1137 Fix RTC using manual time 2020-11-07 12:42:39 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 8a703adf84 Use global struct 2020-10-29 16:16:34 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 0cfe1ac3e1 Use global struct 2020-10-29 12:39:44 +01:00
Theo Arends 3bebfb32d3 Use global struct 2020-10-29 12:21:24 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 594f57464f Prep global struct 2020-10-28 12:40:52 +01:00
Theo Arends 66f5d5d180 Prep global struct 2020-10-28 11:48:57 +01:00
Theo Arends f268697e54 Add command ``Restart 2`` to halt system
Add command ``Restart 2`` to halt system. Needs hardware reset or power cycle to restart (#9046)
2020-08-10 16:19:44 +02:00
Theo Arends 934ca43463 Remove Arduino ESP8266 Core support before 2.7.1
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends c1d0d20996 Fix mdns related compile error 2020-06-15 22:10:49 +02:00
Theo Arends ef0b797686 Add basic support for ESP32 ethernet
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503)
2020-06-15 18:27:04 +02:00
Paul C Diem 8d2c0b1716 Fix DGR conditional 2020-04-24 10:28:32 -05:00
Paul C Diem 81a874ec72 Use defined mcast addr for device groups instead of sharing emuation's, Code size reductions 2020-04-24 09:12:43 -05:00
Theo Arends 19796a7f97 Refactor ESP32 code 2020-04-19 16:58:13 +02:00
Theo Arends e8f3d1d986 Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends d8f750ebb9 Add legacy support 2020-04-09 14:00:02 +02:00
Theo Arends e69f103755 Small change to Settings var names 2020-04-09 11:40:26 +02:00
Theo Arends 53717df2e9 Fix wifi quick connect
Fix wifi quick connect
2020-04-07 16:39:04 +02:00
Theo Arends 253c947d7b Add more fall back from quick connect
Add more fall back from quick connect
2020-04-07 16:02:51 +02:00
Stephan Hadinger 6219c0fee2 Moving test inside timer condition 2020-04-07 14:21:17 +02:00
Stephan Hadinger 7a6628d903 Add command ``SetOption41 <x>`` to force sending gratuitous ARP every <x> seconds 2020-04-07 14:07:00 +02:00
Theo Arends 05af60074f Add quick wifi connect using saved AP parameters
Add quick wifi connect using saved AP parameters when ``SetOption56 0`` (#3189)
2020-04-07 12:19:54 +02:00
Theo Arends 5471de6f1c Change GPIO initialization solving possible Relay toggle on (OTA) restart
Change GPIO initialization solving possible Relay toggle on (OTA) restart
2020-03-22 17:42:32 +01:00
Hadinger 5d54356a25 Remove code with no effect 2020-02-26 21:43:46 +01:00
Theo Arends 407334be6b Clean up wifi connection / disconnection 2020-02-26 13:45:46 +01:00
Theo Arends ec161d5810 Restore default wifi functionality 2020-02-25 16:52:07 +01:00
Theo Arends 3146bcf23a Add some wifi debug options 2020-02-25 16:49:19 +01:00
Paul C Diem a550fe3ac7 Use newly allocated settings and flag 2020-02-24 16:34:45 -06:00
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