mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
Merge branch 'mega' into build/ESP32_IDF4.4
This commit is contained in:
Vendored
+294
@@ -1,3 +1,297 @@
|
||||
-------------------------------------------------
|
||||
Changes in release mega-20220328 (since mega-20211224)
|
||||
-------------------------------------------------
|
||||
|
||||
Release date: ma 28 mrt 2022 9:02:48 CEST
|
||||
|
||||
Leonardo Rizzi (1):
|
||||
Typo in comment of P074
|
||||
|
||||
Sven Briesen (1):
|
||||
Add docs for the lib
|
||||
|
||||
TD-er (189):
|
||||
[PWM motor] Add _P098_PWM_motor.ino
|
||||
[PWM motor] Minor tweaks
|
||||
[PWM Motor] Add proper debounce to limit switches
|
||||
[PWM motor] Move P098 to "testing A" due to iRAM usage
|
||||
[PWM Motor] Uncrustify
|
||||
[PWM Motor] Restore positions at boot & format GPIO overview
|
||||
[PWM Motor] Cleanup GPIO selection code
|
||||
[GPIO selection] Make conflicting pins more clear in the web interface
|
||||
[PWM Motor] Fix setting GPIO state when start/stop motor
|
||||
[PWM Motor] Temp disable interrupts when processing ISR
|
||||
[GPIO selection] Filter possible GPIO pins based on needed properties
|
||||
[PWM Motor] Fix crash on handling limit switch pulse
|
||||
[PWM Motor] Simplify processing debounce on limit switches
|
||||
[Core 3.0.0] Allow building using esp8266/Arduino core 3.0.0
|
||||
[Core 3.0.0] Rename deprecated ICACHE_RAM_ATTR to IRAM_ATTR
|
||||
[WiFi] Allow longer scan time per channel
|
||||
[Memory] Move controller queue elements to IRAM heap
|
||||
[Memory] Store event queue in IRAM 2nd heap
|
||||
[Memory] Move web log entries to IRAM 2nd heap
|
||||
[Memory] Fix crashes using IRAM 2nd heap
|
||||
[Memory] Do not switch heap from .ino or .h files.
|
||||
[memory] Store p2p Nodes information in 2nd heap
|
||||
[ESP32] Fix build issues
|
||||
[Memory] Fix build issues when using 2nd heap (PIO define issue)
|
||||
[Libs] Explicit define Adafruit BusIO library + version
|
||||
[Cleanup] Keep flash string when executing internal commands
|
||||
[Memory] Fix strange crashes due to not using correct heap
|
||||
[Memory] Switch to DRAM heap on every loop and when adding plugins
|
||||
[Reduce size] Add build flag to remove the 4-bytes alignment for PSTR()
|
||||
[Webserver] Fix unneeded copy of object when serving data(#3693)
|
||||
[Mutex] Fix no longer using fishy assembly for ESP8266 mutex
|
||||
[PIO libs] Update Adafruit BusIO to 1.8.1
|
||||
[2nd heap] Make sure DRAM heap is selected when making [CN]Plugin calls
|
||||
[WiFi scan] Push scans to temp list first to store in 2nd heap
|
||||
[Framed OLED] Fix crashes when using 2nd heap
|
||||
[Numerical] Fix bug where "-" is considered numerical
|
||||
[Cleanup] Wrap strings in F()
|
||||
[Web UI] Update served static files
|
||||
[Memory] Fix crashes on serving flash strings with 2nd heap active
|
||||
[Memory] Core 3.0.0 = SDK3, Beta = staging + 2nd heap
|
||||
[PIO] Set build_unflags for all esp8266 build envs
|
||||
[WebUI] Allow slightly longer flash strings to be sent in a single chunk
|
||||
[PIO] Cleanup use of build_unflags
|
||||
[Memory] Fix web log buffer using 2nd heap
|
||||
[Memory] Store more runtime data in 2nd heap
|
||||
Move to esp8266/Arduino @ 3.0.1
|
||||
[Cleanup] Fix some possible uninitialised members & other loose ends
|
||||
[Cleanup] Fix bugs reported by PVS Studio
|
||||
[Memory] Fix reboot on 2nd heap sorting plugins
|
||||
[Cleanup] Fix return value in MQTT Publish command
|
||||
[Cleanup] Use of "byte" as a type. uint8_t or (C++17) std::byte are better
|
||||
[LoRaWAN] Fix crash when LoRa or serial could not be allocated
|
||||
[Libs] Don't use "byte" as type anymore
|
||||
[Cleanup] Don't use "byte" as type anymore (.ino files)
|
||||
Fix uninitialised members of RegExp
|
||||
[Memory] Allow to disable collecting timing stats to save RAM
|
||||
[Framed OLED] Reduce memory usage slightly.
|
||||
[ESP32] Fix merge issue
|
||||
Add custom_beta_IR_ESP8266_4M1M build env
|
||||
Fix build issue with updated Adafruit BusIO library
|
||||
[PIO] Fix merge issue
|
||||
[core 3.0.2] Update to esp8266/Arduino 3.0.2
|
||||
Let toString(UnaryOperator op) output FlashString
|
||||
[Core 3.0.x] Update all references to core_3_0_2
|
||||
[ser2net] Remove tricky temp char pointer use
|
||||
[Commands] Make sure commands are converted to String before executing
|
||||
[Logging] Don't use const char* as function argument
|
||||
[Framed OLED] Fix build issues with PLUGIN_036_DEBUG defined
|
||||
[Cleanup] Do not use const char* as function argument for URLEncode
|
||||
[SD log] Fix merge issue on log to SD
|
||||
[Build] Add -fno-strict-aliasing as build flag make builds more stable
|
||||
[PIO] adafruit/Adafruit BusIO @ ~1.9.0
|
||||
[PWM motor] Add plugin to "testing D"
|
||||
[PWM motor] Add encoder timeout
|
||||
[PWM motor] Add PWM soft start/stop
|
||||
[PWM motor] Add configurable duty cycle
|
||||
[Web UI] Update tasks with no configurable interval every 1 second
|
||||
[Web UI] Suggest reset flash write count command in error message
|
||||
[GCC] Use GCC 10.3 bugfix for ESP8266 core 3.0.2
|
||||
[Webserver] Change chunked buffer size to 1360 bytes
|
||||
[Web UI] Small tweaks improving speed serving pages
|
||||
[Webserver] Fix serving CSS
|
||||
[Web] Allow to stream from file system (e.g. CSS inline)
|
||||
[Webserver] Reduce resources when serving file from file system
|
||||
[Dashboard] Use less resources when serving dashboard.esp
|
||||
[Cleanup] Cache some more constant flash chip values
|
||||
[Cleanup Cleanup] Add missing include
|
||||
[Bugfix] Fix possible crash when printing floating point values
|
||||
[Cleanup] Remove some unneeded conversion to float P073 7DGT
|
||||
[ESP8266 v3.0.2] Update lib_deps
|
||||
[Cleanup] Fix missing paths on #include statements + update I2Cdev lib
|
||||
[Cleanup] Fix define paths on .h files
|
||||
[ESP8266 2nd Heap] Store log buffers in 2nd heap
|
||||
[2nd heap] Load webpage template and string load in 2nd heap
|
||||
[Cleanup] Improve readability for lowest memory usage
|
||||
[Cleanup] Fix merge issue, remove forward declaration duplicate
|
||||
[I2Cdev lib] Change `byte` to `uint8_t`
|
||||
[P016] Reduce memory usage during load/save
|
||||
[P016] Convert settings on the fly, using less memory
|
||||
[P016] Cleanup settings convert and save routine
|
||||
[P016] Make sure to always convert settings on load
|
||||
[P016] Uncrustify P016_data_struct
|
||||
[Task Save] Delete task data before saving when possible
|
||||
[Task Save] Make sure to explicitly PLUGIN_EXIT on saving settings
|
||||
[Web UI] Serve web template immediately to client (less RAM usage)
|
||||
[Web UI] Serve web template immediately to client (less RAM usage)
|
||||
[Web] Add missing include
|
||||
[usec timing] Use 64 bit variables when comparing usec timing
|
||||
[HCSR04] Remove loglevel depending timing showing useless log
|
||||
[Static files] Update link to CDN delivered content to latest build
|
||||
Do include degree symbol on limited build sizes
|
||||
[Cleanup] Serve 2 char flash strings as 2 chars on web pages
|
||||
[Cleanup] Fix signed/unsigned compare warning
|
||||
[Cache] Cache nr of task value decimals
|
||||
[SDK3.0] Disable normal_302_ESP8266_1M due to build size
|
||||
[SSDP] reduce memory usage on SSDP schema
|
||||
[Cleanup] Reduce bin size handling large switch statement
|
||||
[Cleanup] Reduce bin size on longTermTimer by implementing in .cpp
|
||||
[JSON] Improve speed serving JSON + make parsing numericals better
|
||||
[Cleanup] Slightly reduce bin size using chars instead of flash strings
|
||||
Revert caching nr decimals due to strange issues.
|
||||
[JSON] Remove some code duplication generating JSON
|
||||
[Cleanup] Replace some short flash strings with chars
|
||||
Keep "getDeviceIndex error in Device Vector" check
|
||||
[INO to CPP] Adapt __Plugin.ino to .h/.cpp
|
||||
[INO to CPP] Adapt __CPlugin.ino to .h/.cpp
|
||||
[INO to CPP] Rename Cnnn.ino to Cnnn.cpp
|
||||
[INO to CPP] Mark ESP8266/ESP32 specific plugins in _Plugin_init.h/.cpp
|
||||
[INO to CPP] Adapt __NPlugin.ino to .h/.cpp
|
||||
[INO to CPP] Rename Nxxx.ino to .h/.cpp
|
||||
[INO to CPP] Fix missing forward declarations in C018.cpp
|
||||
[Build] Unflag -fexceptions and build flag -Os to reduce bin size
|
||||
[SendToHTTP] Add some checks for timeout to send to HTTP
|
||||
[2nd Heap] Disable using 2nd heap for non-String objects
|
||||
[Webserver] Fix "Templ: Unknown Var : content"
|
||||
[Low Mem] Add checks for successful String memory allocation
|
||||
[WebServer] Speed up serving pages and slight reduction of RAM usage
|
||||
[RAM Tracking] Disable detailed RAM tracking + make it a setting
|
||||
Fix build error WiFiClient doesn't have getTimeout()
|
||||
[CSV] Stream CSV directly to the client, not using RAM
|
||||
[Cleanup] Replace empty string assignment with .clear()
|
||||
[Cleanup] Write single char units as char instead of flash string
|
||||
[Cleanup] Do not generate temp strings that can be streamed to client
|
||||
[Cleanup] Use flash strings where needed or chars for single char string
|
||||
[Cleanup] Direct initialise selection options where possible
|
||||
[Cleanup] Misc cleanup to reduce build size
|
||||
[WiFi] No longer destruct and recreate WiFi object on init
|
||||
[Build Flag] Add -s flag on ESP8266 to explicit strip unused parts
|
||||
Fix build error on ESP32
|
||||
[WebServer] Do not use substring to serve larger strings
|
||||
[Cleanup] Change NULL to nullptr
|
||||
[Cleanup] Use F() macro where possible and less String conversions
|
||||
[WebServer] Tune to faster serving pages using less memory
|
||||
[Build] Fix build error after change to use flash string
|
||||
[RAM tracker] Not logging ram tracker when not enabled.
|
||||
[PLUGIN_READ] Do not call PLUGIN_READ when not enabled.
|
||||
[Webserver] Use move operator when possible to prevent copy strings
|
||||
[Webserver] Fix crashes on 1 heap setups with serving flash strings.
|
||||
[Cleanup] Uncrustify P118 ltho
|
||||
[P118 ltho] Fix some very basic const issues.
|
||||
Disable P118 Itho for 2nd heap builds to make it fit
|
||||
[Log] Prevent String copy when adding log
|
||||
[Log] Make sure to allocate 2nd heap when available
|
||||
[Log] Call addLogMove where log Strings can be moved instead of copied
|
||||
[Log] Fix cleaning up Web log buffers + buffer efficiency
|
||||
[Log] Fix freeing memory in the log struct.
|
||||
[Memory] Free allocated memory in Strings .clear() does not free it
|
||||
[Cleanup] Simple fixes to prevent String reallocation.
|
||||
[ESP8266 2nd heap] Reduce nr of mem allocations and use 2nd heap
|
||||
[Sysinfo] Fix strange ESP Chip ID on sysinfo web page
|
||||
[Web UI] Serve web p[age template based on head or footer part of page
|
||||
[RAM tracker] fix potential multiple calls to std::move on the same str
|
||||
[Build] Make sure SDFS and LittleFS are not linked in the build
|
||||
Use FS_NO_GLOBALS only on esp8266/Arduino v3.0.x
|
||||
Fix build errors due to fwd declaration and typo
|
||||
[Build] Add missing #include <vector>
|
||||
[Build] Using PlatformIO Espressif32 v3.3.2
|
||||
[Build] ignore SD(esp8266), SDFS and LittleFS(esp8266) for 'normal'
|
||||
[Build] Update changed lib_ignore SD library name (from SD(esp8266) )
|
||||
[Build] Remove PlatformIO LDF deep+ mode
|
||||
[Build] Fix ESP32 build
|
||||
[Build] fix build issue using fs:: namespace
|
||||
[Build] Fix IR builds and ESP32 builds due to missing includes.
|
||||
[Build] Also include previous lib name SD(esp8266) for lib_ignore
|
||||
[Build] Make minimal IRext 1M build fit again
|
||||
[Build] Clean-up PlatformIO ESP32 build envs
|
||||
[PVS-Studio] Fix some tricky code noticed by PVS Studio
|
||||
[Notifiers] Fix NPlugins not showing up in build.
|
||||
[Webserver] Fix serving GZipped files
|
||||
|
||||
Ton Huisman (60):
|
||||
[P119] Add library for ITG3205
|
||||
[P119] Add ITG3205 to I2C scanner
|
||||
[P119] Improvements and fixes for ITG3205 library, source reformatted
|
||||
[P119] Add plugin for ITG3205 gyro sensor
|
||||
[P119] Fix ESP32 build issue
|
||||
[P119] Fix ESP32 build issue
|
||||
[P119] Improvements as suggested in feedback
|
||||
[P119] Eliminate unneeded variable
|
||||
[P119] Use intialized() function where possible
|
||||
[P120] ADXL345 Accelerometer basic plugin structure
|
||||
[P120] Add ADXL345 to I2CScanner
|
||||
[P120] Add Sparkfun ADXL345 library to enable secondary I2C address
|
||||
[P120] Sparkfun ADXL345 library source formatted (uncrustify)
|
||||
[P120] Sparkfun ADXL345 library add getDevID() (from github pull request)
|
||||
[P120] Sparkfun ADXL345 library add getDevID() (from github pull request)
|
||||
[P120] Sparkfun ADXL345 library add powerOff() (from github pull request)
|
||||
[P120] Sparkfun ADXL345 library fix compiler warning (cast)
|
||||
[Misc.cpp/h] Add get/set 3 and 3 bits from/to UL support functions, uncrustify Misc.cpp
|
||||
[P120] Add ADXL345 Accelerometer plugin
|
||||
[P119] Add to TESTING_C set, fix some compilation issues
|
||||
[P119] Add documentation
|
||||
[P119] Fix some missed replacements
|
||||
[P008] Wiegand bugfix for 32 bit or larger frames (casting issue)
|
||||
[P008] Wiegand bugfix for swapped GPIO mapping
|
||||
[P008] Add compatibility mode for swapped GPIOs, use 'ull' postfix instead of static_cast for uint64_t values
|
||||
[P008] Update documentation
|
||||
[P008] Update documentation
|
||||
[P119] Move from Development to Testing
|
||||
[P120] Add documentation
|
||||
[P120] Move from Development to Testing, some corrections
|
||||
[P120] Add to TEST_D builds
|
||||
[P120] Refactor to enable I2C and SPI implementation (in plugin P125)
|
||||
[P120] Fix some comment typos
|
||||
[P120] Disable SPI init in library, small code optimization
|
||||
[Build] Add TEST_E set of build configurations, update plugin doc and readme.md
|
||||
[P120] Move to TEST_E build, prepare for P125
|
||||
[P120] Minor documentation corrections
|
||||
[P125] Add ADXL345 SPI plugin, sharing most code with P120 I2C plugin
|
||||
[P125] Add documentation (also mostly shared with P120 I2C plugin)
|
||||
[P021] Fix config-save issue and some improvements
|
||||
[P021] Add documentation (partially migrated from the wiki)
|
||||
[P021] Add setting for saving during config change, update docs
|
||||
[P021] Updated changelog in source
|
||||
[P062] Add Panel sensitivity option
|
||||
[P062] Uncrustify source
|
||||
[P062] Add documentation
|
||||
[Build, MAX] Increase max. plugin count from 125 to 135
|
||||
[P073] Fix rounding errors on 7dt and 7ddt commands
|
||||
[Build] Move P119 ITG3205, P121 HMC5883 and P125 ADXL345 SPI to TEST_E set
|
||||
[P035] Enable multi-instance use for IR Transmit
|
||||
[P035] Review corrections
|
||||
[LIB] IRremoteESP8266 update to v2.8.1
|
||||
[P035] Correct struct init (also needs lib fix)
|
||||
[Build] Set LIMIT_BUILD_SIZE also for ESP32 on DISPLAY builds (and pre-IDF4.x) to fix build-size issue
|
||||
[Build] Enhanced condition
|
||||
[P035] Make some parts optional at compiletime to save a few bytes
|
||||
[Build] IRext 1M build: had to disable P088 Heatpump IR because of max. bin size
|
||||
[P022] Correct dot handling in command parsing
|
||||
[Formatting] Fix issue with unexpected leading space
|
||||
[P073] Code de-duplication and optimization
|
||||
|
||||
soif (4):
|
||||
keeps minified version of css file (to get the espeasy_default.min.css up to date)
|
||||
Separate generated variables by blank lines in data_h_temp (to ease copy/paste)
|
||||
Udate minifiers site URLs, as announced at https://html-minifier.com/
|
||||
CSS now use cssminifier (instead of html-minifier) and results in smaller minified CSS files
|
||||
|
||||
stefan (1):
|
||||
[ESP32] Add GPIO37/38 as input
|
||||
|
||||
svn2208 (11):
|
||||
Init commit. Add support for HMC5883
|
||||
ready to use commit
|
||||
Improve code, because of code review
|
||||
Improvements due to code review
|
||||
Usage of proper storage of a float conf value
|
||||
Remove debug statement; shotens float faction to 2
|
||||
Wrap Logentry in condition Add taskindex instead of hardcoded sensorid
|
||||
Extend DeclinationAngle to 5 decimal places.
|
||||
Simplify Logentry Add pluginsubpage to pluginpage.
|
||||
Change Inputvalue from Radian to Degree
|
||||
Change Category to position Change input to degree and add formula to convert to rand
|
||||
|
||||
svollebregt (1):
|
||||
[P118] Add documentation
|
||||
|
||||
uwekaditz (1):
|
||||
[P016] Accept decode_type_t::UNKNOWN as valid IR code
|
||||
|
||||
|
||||
-------------------------------------------------
|
||||
Changes in release mega-20211224 (since mega-20211105)
|
||||
-------------------------------------------------
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
.. |C001_type| replace:: :cyan:`Controller`
|
||||
.. |C001_typename| replace:: :cyan:`Controller - Domoticz HTTP`
|
||||
.. |C001_status| replace:: :green:`NORMAL`
|
||||
.. |C001_github| replace:: C001.ino
|
||||
.. _C001_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C001.ino
|
||||
.. |C001_github| replace:: C001.cpp
|
||||
.. _C001_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C001.cpp
|
||||
.. |C001_usedby| replace:: `.`
|
||||
.. |C001_shortinfo| replace:: `.`
|
||||
.. |C001_maintainer| replace:: `.`
|
||||
@@ -16,8 +16,8 @@
|
||||
.. |C002_type| replace:: :cyan:`Controller`
|
||||
.. |C002_typename| replace:: :cyan:`Controller - Domoticz MQTT`
|
||||
.. |C002_status| replace:: :green:`NORMAL`
|
||||
.. |C002_github| replace:: C002.ino
|
||||
.. _C002_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C002.ino
|
||||
.. |C002_github| replace:: C002.cpp
|
||||
.. _C002_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C002.cpp
|
||||
.. |C002_usedby| replace:: `.`
|
||||
.. |C002_shortinfo| replace:: `.`
|
||||
.. |C002_maintainer| replace:: `.`
|
||||
@@ -27,8 +27,8 @@
|
||||
.. |C003_type| replace:: :cyan:`Controller`
|
||||
.. |C003_typename| replace:: :cyan:`Controller - Nodo Telnet`
|
||||
.. |C003_status| replace:: :green:`NORMAL`
|
||||
.. |C003_github| replace:: C003.ino
|
||||
.. _C003_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C003.ino
|
||||
.. |C003_github| replace:: C003.cpp
|
||||
.. _C003_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C003.cpp
|
||||
.. |C003_usedby| replace:: `.`
|
||||
.. |C003_shortinfo| replace:: `.`
|
||||
.. |C003_maintainer| replace:: `.`
|
||||
@@ -38,8 +38,8 @@
|
||||
.. |C004_type| replace:: :cyan:`Controller`
|
||||
.. |C004_typename| replace:: :cyan:`Controller - ThingSpeak`
|
||||
.. |C004_status| replace:: :green:`NORMAL`
|
||||
.. |C004_github| replace:: C004.ino
|
||||
.. _C004_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C004.ino
|
||||
.. |C004_github| replace:: C004.cpp
|
||||
.. _C004_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C004.cpp
|
||||
.. |C004_usedby| replace:: `.`
|
||||
.. |C004_shortinfo| replace:: `.`
|
||||
.. |C004_maintainer| replace:: `.`
|
||||
@@ -49,8 +49,8 @@
|
||||
.. |C005_type| replace:: :cyan:`Controller`
|
||||
.. |C005_typename| replace:: :cyan:`Controller - Home Assistant (openHAB) MQTT`
|
||||
.. |C005_status| replace:: :green:`NORMAL`
|
||||
.. |C005_github| replace:: C005.ino
|
||||
.. _C005_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C005.ino
|
||||
.. |C005_github| replace:: C005.cpp
|
||||
.. _C005_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C005.cpp
|
||||
.. |C005_usedby| replace:: `.`
|
||||
.. |C005_shortinfo| replace:: `.`
|
||||
.. |C005_maintainer| replace:: `.`
|
||||
@@ -60,8 +60,8 @@
|
||||
.. |C006_type| replace:: :cyan:`Controller`
|
||||
.. |C006_typename| replace:: :cyan:`Controller - PiDome MQTT`
|
||||
.. |C006_status| replace:: :green:`NORMAL`
|
||||
.. |C006_github| replace:: C006.ino
|
||||
.. _C006_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C006.ino
|
||||
.. |C006_github| replace:: C006.cpp
|
||||
.. _C006_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C006.cpp
|
||||
.. |C006_usedby| replace:: `.`
|
||||
.. |C006_shortinfo| replace:: `.`
|
||||
.. |C006_maintainer| replace:: `.`
|
||||
@@ -71,8 +71,8 @@
|
||||
.. |C007_type| replace:: :cyan:`Controller`
|
||||
.. |C007_typename| replace:: :cyan:`Controller - Emoncms`
|
||||
.. |C007_status| replace:: :green:`NORMAL`
|
||||
.. |C007_github| replace:: C007.ino
|
||||
.. _C007_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C007.ino
|
||||
.. |C007_github| replace:: C007.cpp
|
||||
.. _C007_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C007.cpp
|
||||
.. |C007_usedby| replace:: `.`
|
||||
.. |C007_shortinfo| replace:: `.`
|
||||
.. |C007_maintainer| replace:: `.`
|
||||
@@ -82,8 +82,8 @@
|
||||
.. |C008_type| replace:: :cyan:`Controller`
|
||||
.. |C008_typename| replace:: :cyan:`Controller - Generic HTTP`
|
||||
.. |C008_status| replace:: :green:`NORMAL`
|
||||
.. |C008_github| replace:: C008.ino
|
||||
.. _C008_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C008.ino
|
||||
.. |C008_github| replace:: C008.cpp
|
||||
.. _C008_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C008.cpp
|
||||
.. |C008_usedby| replace:: `.`
|
||||
.. |C008_shortinfo| replace:: `.`
|
||||
.. |C008_maintainer| replace:: `.`
|
||||
@@ -93,8 +93,8 @@
|
||||
.. |C009_type| replace:: :cyan:`Controller`
|
||||
.. |C009_typename| replace:: :cyan:`Controller - FHEM HTTP`
|
||||
.. |C009_status| replace:: :green:`NORMAL`
|
||||
.. |C009_github| replace:: C009.ino
|
||||
.. _C009_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C009.ino
|
||||
.. |C009_github| replace:: C009.cpp
|
||||
.. _C009_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C009.cpp
|
||||
.. |C009_usedby| replace:: `.`
|
||||
.. |C009_shortinfo| replace:: `.`
|
||||
.. |C009_maintainer| replace:: `.`
|
||||
@@ -104,8 +104,8 @@
|
||||
.. |C010_type| replace:: :cyan:`Controller`
|
||||
.. |C010_typename| replace:: :cyan:`Controller - Generic UDP`
|
||||
.. |C010_status| replace:: :green:`NORMAL`
|
||||
.. |C010_github| replace:: C010.ino
|
||||
.. _C010_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C010.ino
|
||||
.. |C010_github| replace:: C010.cpp
|
||||
.. _C010_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C010.cpp
|
||||
.. |C010_usedby| replace:: `.`
|
||||
.. |C010_shortinfo| replace:: `.`
|
||||
.. |C010_maintainer| replace:: `.`
|
||||
@@ -115,8 +115,8 @@
|
||||
.. |C011_type| replace:: :cyan:`Controller`
|
||||
.. |C011_typename| replace:: :cyan:`Controller - Generic HTTP Advanced`
|
||||
.. |C011_status| replace:: :yellow:`TESTING`
|
||||
.. |C011_github| replace:: C011.ino
|
||||
.. _C011_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C011.ino
|
||||
.. |C011_github| replace:: C011.cpp
|
||||
.. _C011_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C011.cpp
|
||||
.. |C011_usedby| replace:: `.`
|
||||
.. |C011_shortinfo| replace:: `.`
|
||||
.. |C011_maintainer| replace:: `.`
|
||||
@@ -126,8 +126,8 @@
|
||||
.. |C012_type| replace:: :cyan:`Controller`
|
||||
.. |C012_typename| replace:: :cyan:`Controller - Blynk`
|
||||
.. |C012_status| replace:: :yellow:`TESTING`
|
||||
.. |C012_github| replace:: C012.ino
|
||||
.. _C012_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C012.ino
|
||||
.. |C012_github| replace:: C012.cpp
|
||||
.. _C012_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C012.cpp
|
||||
.. |C012_usedby| replace:: `.`
|
||||
.. |C012_shortinfo| replace:: `.`
|
||||
.. |C012_maintainer| replace:: `.`
|
||||
@@ -137,8 +137,8 @@
|
||||
.. |C013_type| replace:: :cyan:`Controller`
|
||||
.. |C013_typename| replace:: :cyan:`Controller - ESPEasy P2P Networking`
|
||||
.. |C013_status| replace:: :green:`NORMAL`
|
||||
.. |C013_github| replace:: C013.ino
|
||||
.. _C013_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C013.ino
|
||||
.. |C013_github| replace:: C013.cpp
|
||||
.. _C013_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C013.cpp
|
||||
.. |C013_usedby| replace:: `.`
|
||||
.. |C013_shortinfo| replace:: `.`
|
||||
.. |C013_maintainer| replace:: `TD-er`
|
||||
@@ -148,8 +148,8 @@
|
||||
.. |C014_type| replace:: :cyan:`Controller`
|
||||
.. |C014_typename| replace:: :cyan:`Controller - Homie MQTT convention`
|
||||
.. |C014_status| replace:: :yellow:`TESTING`
|
||||
.. |C014_github| replace:: C014.ino
|
||||
.. _C014_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C014.ino
|
||||
.. |C014_github| replace:: C014.cpp
|
||||
.. _C014_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C014.cpp
|
||||
.. |C014_usedby| replace:: `.`
|
||||
.. |C014_shortinfo| replace:: `Controller for communication following the Homie convention`
|
||||
.. |C014_maintainer| replace:: `.`
|
||||
@@ -159,8 +159,8 @@
|
||||
.. |C016_type| replace:: :cyan:`Controller`
|
||||
.. |C016_typename| replace:: :cyan:`Controller - Cache`
|
||||
.. |C016_status| replace:: :red:`DEVELOPMENT`
|
||||
.. |C016_github| replace:: C016.ino
|
||||
.. _C016_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C016.ino
|
||||
.. |C016_github| replace:: C016.cpp
|
||||
.. _C016_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C016.cpp
|
||||
.. |C016_usedby| replace:: `.`
|
||||
.. |C016_shortinfo| replace:: `Cache layer to collect data while offline`
|
||||
.. |C016_maintainer| replace:: `TD-er`
|
||||
@@ -170,8 +170,8 @@
|
||||
.. |C017_type| replace:: :cyan:`Controller`
|
||||
.. |C017_typename| replace:: :cyan:`Controller - Zabbix`
|
||||
.. |C017_status| replace:: :yellow:`TESTING`
|
||||
.. |C017_github| replace:: C017.ino
|
||||
.. _C017_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C017.ino
|
||||
.. |C017_github| replace:: C017.cpp
|
||||
.. _C017_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C017.cpp
|
||||
.. |C017_usedby| replace:: `.`
|
||||
.. |C017_shortinfo| replace:: `.`
|
||||
.. |C017_maintainer| replace:: `.`
|
||||
@@ -181,8 +181,8 @@
|
||||
.. |C018_type| replace:: :cyan:`Controller`
|
||||
.. |C018_typename| replace:: :cyan:`Controller - LoRa TTN - RN2483/RN2903`
|
||||
.. |C018_status| replace:: :yellow:`TESTING`
|
||||
.. |C018_github| replace:: C018.ino
|
||||
.. _C018_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C018.ino
|
||||
.. |C018_github| replace:: C018.cpp
|
||||
.. _C018_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_C018.cpp
|
||||
.. |C018_usedby| replace:: `.`
|
||||
.. |C018_shortinfo| replace:: `Controller for the LoRaWAN/TTN network supporting RN2483 (434/868 MHz) and RN2903 (915 MHz)`
|
||||
.. |C018_maintainer| replace:: `TD-er`
|
||||
|
||||
@@ -31,7 +31,6 @@ pytz==2021.3
|
||||
PyYAML==6.0
|
||||
recommonmark==0.7.1
|
||||
requests==2.26.0
|
||||
semantic-version==2.8.5
|
||||
six==1.16.0
|
||||
snowballstemmer==2.1.0
|
||||
tabulate==0.8.9
|
||||
|
||||
+1
-1
@@ -333,7 +333,7 @@ static const char DATA_ESPEASY_DEFAULT_MIN_CSS[] PROGMEM = {
|
||||
// #define USES_P071 // Kamstrup401
|
||||
// #define USES_P072 // HDC1080
|
||||
// #define USES_P073 // 7DG
|
||||
// #define USES_P074 // TSL2561
|
||||
// #define USES_P074 // TSL2591
|
||||
// #define USES_P075 // Nextion
|
||||
// #define USES_P076 // HWL8012 in POW r1
|
||||
// #define USES_P077 // CSE7766 in POW R2
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
void printDirectory(fs::File dir, int numTabs)
|
||||
{
|
||||
while (true) {
|
||||
File entry = dir.openNextFile();
|
||||
fs::File entry = dir.openNextFile();
|
||||
|
||||
if (!entry) {
|
||||
// no more files
|
||||
@@ -43,7 +43,7 @@ void printDirectory(fs::File dir, int numTabs)
|
||||
|
||||
const __FlashStringHelper * Command_SD_LS(struct EventStruct *event, const char* Line)
|
||||
{
|
||||
File root = SD.open("/");
|
||||
fs::File root = SD.open("/");
|
||||
root.rewindDirectory();
|
||||
printDirectory(root, 0);
|
||||
root.close();
|
||||
|
||||
@@ -265,7 +265,7 @@ void addToSDLog(uint8_t logLevel, const String& string)
|
||||
{
|
||||
#ifdef FEATURE_SD
|
||||
if (loglevelActiveFor(LOG_TO_SDCARD, logLevel)) {
|
||||
File logFile = SD.open("log.dat", FILE_WRITE);
|
||||
fs::File logFile = SD.open("log.dat", FILE_WRITE);
|
||||
if (logFile) {
|
||||
const size_t stringLength = string.length();
|
||||
for (size_t i = 0; i < stringLength; ++i) {
|
||||
|
||||
@@ -1292,7 +1292,7 @@ bool getGpioInfo(int gpio, int& pinnr, bool& input, bool& output, bool& warning)
|
||||
|
||||
if (gpio == 37 || gpio == 38) {
|
||||
// Pins are not present on the ESP32
|
||||
input = false;
|
||||
input = true;
|
||||
output = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -317,7 +317,7 @@ void SendValueLogger(taskIndex_t TaskIndex)
|
||||
|
||||
#ifdef FEATURE_SD
|
||||
String filename = F("VALUES.CSV");
|
||||
File logFile = SD.open(filename, FILE_WRITE);
|
||||
fs::File logFile = SD.open(filename, FILE_WRITE);
|
||||
|
||||
if (logFile) {
|
||||
logFile.print(logger);
|
||||
|
||||
@@ -1252,7 +1252,7 @@ bool downloadFile(const String& url, String file_save, const String& user, const
|
||||
}
|
||||
|
||||
long len = http.getSize();
|
||||
File f = tryOpenFile(file_save, "w");
|
||||
fs::File f = tryOpenFile(file_save, "w");
|
||||
|
||||
if (f) {
|
||||
uint8_t buff[128];
|
||||
|
||||
@@ -64,8 +64,8 @@ void handle_filelist_json() {
|
||||
addHtml('[', '{');
|
||||
bool firstentry = true;
|
||||
# if defined(ESP32)
|
||||
File root = ESPEASY_FS.open("/");
|
||||
File file = root.openNextFile();
|
||||
fs::File root = ESPEASY_FS.open("/");
|
||||
fs::File file = root.openNextFile();
|
||||
int count = -1;
|
||||
|
||||
while (file and count < endIdx)
|
||||
@@ -210,8 +210,8 @@ void handle_filelist() {
|
||||
moreFilesPresent = dir.next();
|
||||
# endif // if defined(ESP8266)
|
||||
# if defined(ESP32)
|
||||
File root = ESPEASY_FS.open("/");
|
||||
File file = root.openNextFile();
|
||||
fs::File root = ESPEASY_FS.open("/");
|
||||
fs::File file = root.openNextFile();
|
||||
|
||||
while (file && count < endIdx)
|
||||
{
|
||||
@@ -365,9 +365,9 @@ void handle_SDfilelist() {
|
||||
current_dir = "/";
|
||||
}
|
||||
|
||||
File root = SD.open(current_dir.c_str());
|
||||
fs::File root = SD.open(current_dir.c_str());
|
||||
root.rewindDirectory();
|
||||
File entry = root.openNextFile();
|
||||
fs::File entry = root.openNextFile();
|
||||
parent_dir = current_dir;
|
||||
|
||||
if (!current_dir.equals("/"))
|
||||
@@ -409,8 +409,8 @@ void handle_SDfilelist() {
|
||||
// take a look in the directory for entries
|
||||
String child_dir = current_dir + entry.name();
|
||||
child_dir.toCharArray(SDcardChildDir, child_dir.length() + 1);
|
||||
File child = SD.open(SDcardChildDir);
|
||||
File dir_has_entry = child.openNextFile();
|
||||
fs::File child = SD.open(SDcardChildDir);
|
||||
fs::File dir_has_entry = child.openNextFile();
|
||||
|
||||
// when the directory is empty, display the button to delete them
|
||||
if (!dir_has_entry)
|
||||
|
||||
@@ -120,9 +120,6 @@ bool loadFromFS(String path) {
|
||||
if (path.endsWith(F(".dat"))) {
|
||||
web_server.sendHeader(F("Content-Disposition"), F("attachment;"));
|
||||
}
|
||||
if (gzipEncoded(path)) {
|
||||
web_server.sendHeader(F("Content-Encoding"), F("gzip"));
|
||||
}
|
||||
|
||||
web_server.streamFile(f, dataType);
|
||||
f.close();
|
||||
|
||||
@@ -631,11 +631,11 @@ bool EnumerateFileAndDirectory(String & rootPath
|
||||
hasMore = dir.next();
|
||||
# endif // ifdef ESP8266
|
||||
# ifdef ESP32
|
||||
File root = ESPEASY_FS.open(rootPath);
|
||||
fs::File root = ESPEASY_FS.open(rootPath);
|
||||
|
||||
if (root)
|
||||
{
|
||||
File file = root.openNextFile();
|
||||
fs::File file = root.openNextFile();
|
||||
|
||||
while (next && file) {
|
||||
if (count >= skip) {
|
||||
|
||||
Reference in New Issue
Block a user