Commit Graph
7560 Commits
Author SHA1 Message Date
TD-er aa4891ef56 [ESP32] Force SDK log level to NONE 2021-09-06 18:40:18 +02:00
TD-er 5c3e0c9c6e [WiFi] Try connect to hidden SSID without explicit BSSID + channel 2021-09-06 18:36:49 +02:00
TD-er d24ab196bf [WiFi] Only check WiFi connection timeouts if they are started. 2021-09-06 18:24:49 +02:00
TD-er b636e0a095 [WiFi] Only set WiFi initialised when connected & got IP 2021-09-06 16:37:31 +02:00
TD-er 35b46eb9ea [ESP32] Switch to PlatformIO ESP32 core 3.3.2 2021-09-02 16:52:36 +02:00
TD-er 06096957a9 [ESP32 ETH] Fix not getting DNS from DHCP at boot
The WiFi radio was started too soon, which probably let parts of the DHCP request be stored in the wrong network settings.
2021-09-02 16:50:45 +02:00
TD-er 8c7b49520c Merge pull request #3771 from Micha-he/patch-1
Docs corrected - P051 (AM2320) is TESTING not NORMAL
2021-08-20 23:12:16 +02:00
Michael Schröder 2d598cb17b P051 (AM2320) is TESTING not NORMAL 2021-08-20 12:47:34 +02:00
TD-er a846ed323c Merge pull request #3750 from immiimmi/mega
p20 ser2net added option fo chosing reset pin (bugfix for esp8266)
2021-08-19 22:53:37 +02:00
immiimmi 0ccc2a8526 Merge branch 'mega' into mega 2021-08-19 19:53:52 +02:00
TD-er b708a419b4 Add custom_ESP8266_2M256 PlatformIO build env 2021-08-17 20:14:51 +02:00
TD-er eb2a47bef9 Merge pull request #3766 from mcspr/patch-1
[Build] Use up-to-date platformio/toolchain-xtensa for the esp8266
2021-08-17 14:44:32 +02:00
Max Prokhorov cead017f0a [Build] Revert to platformio/toolchain-xtensa for the esp8266
Up-to-date for the 3.0.2 release
2021-08-17 01:36:19 +03:00
TD-er e60b20d46b Merge pull request #3765 from TD-er/build/Aliasing
[Aliasing] Prevent aliasing issues + remove C-style casts
2021-08-15 23:48:50 +02:00
TD-er 0844b7604a [Cleanup] Change some short strings to just a char. 2021-08-15 22:35:06 +02:00
TD-er 15d85dc3ce [Docs] Update README.md about newer build sets 2021-08-15 22:05:39 +02:00
immiimmi db182b0835 Update _P020_Ser2Net.ino 2021-08-15 09:55:21 +02:00
immiimmi e78bbfd591 Update _P020_Ser2Net.ino 2021-08-15 09:46:17 +02:00
TD-er af8aa7e833 [Casts] Change C-style casts (int) and (float) into static_casts 2021-08-14 23:48:34 +02:00
TD-er 62964fee1c [Casts] Change C-style (uint8_t*) casts into reinterpret_cast 2021-08-14 23:47:43 +02:00
immiimmi a90d07e13f Update _P020_Ser2Net.ino 2021-08-14 17:05:00 +02:00
TD-er dfd4276a27 [Cleanup] Replace reinterpret_cast + fix compiler warning. 2021-08-14 16:51:28 +02:00
immiimmi 23318726c1 Merge branch 'mega' into mega 2021-08-14 14:26:01 +02:00
TD-er 7ab21e6b4c [Build] Add -fno-strict-aliasing as build flag make builds more stable
It may prevent optimisations where the compiler may cause issues when allocated memory is not aligned for 4-byte access when storing/reading int from a `char array` allocated memory block for example.
2021-08-14 12:07:44 +02:00
TD-er 87a9c08bdc Merge pull request #3653 from tonhuisman/bugfix/p016-correct-signed-conversion-to-unsigned
[P016] Correct hex value conversions to unsigned and support 64 bit IR codes
2021-08-13 22:11:28 +02:00
Ton Huisman ed5a24b3f3 Merge branch 'mega' into bugfix/p016-correct-signed-conversion-to-unsigned 2021-08-13 09:29:33 +02:00
TD-er 3b082ff4df Fix missing include in ConfigPage.cpp
As reported here: https://github.com/letscontrolit/ESPEasy/commit/593899d081bd1c17de996db1ecc97354a07a9efd#r54808848
2021-08-12 22:38:29 +02:00
TD-er 41c315a0bf Accidentally removed extra check in isLoggedIn() 2021-08-12 22:36:02 +02:00
TD-er 363efa7e1c Merge pull request #3760 from TD-er/bugfix/access_rules_passwd
[Web Login] Fix file access with password set (#3759 )
2021-08-12 22:29:22 +02:00
TD-er 393282b888 [Dashboard] Do not check for loggedIn() on dashboard.esp 2021-08-12 20:59:18 +02:00
TD-er 5634f4eabf [Web UI] Do not POST rules parameters to save memory
The `rules` parameter is disabled when changing the rules set.
Otherwise it might create a POST request the size of the current rule page, which does consume at least twice the size of it in RAM.
2021-08-12 20:07:04 +02:00
TD-er ca778ad788 [Web UI] Fix handling rules switching 2021-08-12 15:28:43 +02:00
TD-er b10b1f8e37 [Web Login] Fix file access with password set (#3759 )
Fixes: #3759
2021-08-12 14:26:55 +02:00
TD-er fa9d4aa99c Merge pull request #3758 from TD-er/feature/randomize_NTP_interval
[NTP] Use random interval for NTP sync interval
2021-08-11 22:30:13 +02:00
TD-er a02b76dbb1 Merge branch 'mega' into feature/randomize_NTP_interval 2021-08-11 22:23:57 +02:00
TD-er 93c2c41dc6 [docs] Describe all fields on the sysinfo page. 2021-08-11 22:23:22 +02:00
immiimmi 21b01cba43 Merge branch 'mega' into mega 2021-08-11 21:35:46 +02:00
TD-er d05fcc2c3b Merge pull request #3757 from TD-er/bugfix/duplicate_MQTT
[MQTT] Fix duplicate call task PLUGIN_READ at MQTT connect (#3754)
2021-08-11 20:44:58 +02:00
TD-er edc17528ab [docs] Add documentation on on the time wander info 2021-08-11 16:11:10 +02:00
TD-er 44b8429c4c [NTP] Use random interval for NTP sync interval
This will be easier on pool.ntp.org.
For example after a power outage, lots of nodes may use the same sync interval and thus perform a small DDoS like attack to the NTP pool servers as they may request several requests at the same time from the same public IP address.

By randomising this interval this will unlikely cause a peak.

Also added a time wander indicator, to get some idea of the stability of the used crystal in the ESP.
Typically this wander should be less than 0.010 msec/sec (< 10 ppm)
2021-08-11 16:01:33 +02:00
TD-er 5231ba5c12 [Scheduler] Rename SchedulerTimerType_e to what it is calling 2021-08-11 01:51:37 +02:00
TD-er 4fb8feb1aa [Uncrustify] Scheduler.cpp/.h 2021-08-11 01:31:16 +02:00
TD-er c3e869dfeb [MQTT] Fix duplicate call task PLUGIN_READ at MQTT connect 2021-08-11 01:29:30 +02:00
TD-er baae9d1fd9 [Scheduler] Convert defines into SchedulerTimerType_e enum class 2021-08-11 01:28:37 +02:00
TD-er 569442e527 Merge pull request #3756 from TD-er/feature/CacheController_localTime
[Cache Controller] Allow to save sample time in local time
2021-08-10 22:51:27 +02:00
TD-er cc190a06ef [docs] Update Cache Controller docs to mention different time exports 2021-08-10 22:51:12 +02:00
TD-er cc058affdd [Cache Controller] Update dump.htm to not check for valid timestamp
When used on a node that cannot have its time set to a proper time, the `dump5.htm` would not export any data in the export CSV file.
This because of a very simple check for a valid time stamp where the Unix Time had to be > 1.5 billion.
However on a node which doesn't have any time set, you can't check for this.
2021-08-10 22:50:20 +02:00
TD-er 03d430d64b [RTC lib] Makecentury bit unambiguous in C++ terms 2021-08-09 03:05:46 +02:00
TD-er 961a69a2e9 [Cache Controller] Allow to save sample time in local time
Default is to save it using Unix Time, but that may be hard to use later if you need local time.
2021-08-09 03:04:41 +02:00
TD-er 0d119d2c61 Merge pull request #3752 from letscontrolit/bugfix/RTClib_month
Fix setting month + century bit RTC lib
2021-08-08 14:47:05 +02:00