Skip to content

Releases: letscontrolit/ESPEasy

mega-20220616

16 Jun 20:31
Compare
Choose a tag to compare

Release mega-20220616

Changes in mega-20220616 (since mega-20220427):

Bartłomiej Zimoń (8):

  • [P2P] set default port to 8266, plus warn about port, partly fix for #3982
  • [p2p] more defaults
  • [p2p] warn about int number equals 0
  • [p2p] update text plus check for port on rootpage
  • [p2p] update text info
  • [p2p] typo
  • Update AdvancedConfigPage.cpp
  • [p2p] typo of typo of typo

Boris Krivonog (2):

  • Should resolve #3531 and #3158.
  • Removed invalid (no longer working) url ...

Gijs Noorlander (2):

  • [MQTT commands] Support commands with arbitrary argument position
  • [MQTT commands] Fix parsing full command

Mateusz Skowroński (1):

  • P031 - fix timing for SHT1X

TD-er (199):

  • [Provisioning] Allow to fetch config via commands from HTTP server
  • [Provisioning] Add factory default defines to ease deployment of nodes
  • [Provisioning] Add documentation
  • [Cleanup] Missing include in C013
  • [Cleanup] Fix return value of gpio_mode_range_helper (real bug)
  • [Cleanup] Uncrustify Commands/GPIO.cpp
  • [ESP32] Update to IDF 4.4 Arduino-ESP32 2.0.1
  • [ESP32] Allow building LittleFS builds on ESP32
  • [Build] Fix case sensitive include
  • [Windows Build] Convert IRremoteESP8266 to single cpp file
  • [IR build] Fix build issue on IR plugins
  • [WiFi ESP32] Disable WiFi TX power settings for ESP32 (IDF4.4)
  • [ESP32 IDF4.4] Update to the latest Arduino ESP32 2.0.1.1
  • [Webserver] Change chunked buffer size to 1360 bytes
  • [Web UI] Small tweaks improving speed serving pages
  • [Cleanup] Use .clear() on strings instead of assigning empty string
  • [Webserver] Fix serving CSS
  • [Web] Allow to stream from file system (e.g. CSS inline)
  • [ESP32-S2] Add PlatformIO envs for ESP32-s2
  • [IR] Cleanup check for redefine IR plugin USES
  • Revert "[Windows Build] Convert IRremoteESP8266 to single cpp file"
  • [Build] Fix build of ESP32 max LittleFS build on Windows
  • [PIO] Simplify ESP32 env definitions.
  • [PIO] Simplify WROVER kit envs and remove WROVER kit ETH builds
  • [PIO] Add missing ESP32-S2 build envs
  • [IDF4.4] Use Tasmota's IDF 4.4 platform-tasmota-espressif32
  • [IDF4.4-v2.0.2] Now actually using the latest espressif/Arduino-esp32
  • [LittleFS] Make sure to always define USE_LITTLEFS on LittleFS envs
  • [PIO build ESP32] Attempt to fix boot loop on ESP32 with IDF4.4
  • [Cleanup] Misc optimisations to reduce build size
  • [LittleFS] Some cleanup to fix boot loops ESP32 IDF4.4 for 16M flash
  • [IDF4.4 + 16M] Make normal builds with IDF4.4 work on 16M flash
  • [IDF4.4 + 16M] Restore missing ESP32 builds
  • [Cleanup] Make ESP32 PIO envs a bit more readable
  • [Cleanup] Split ESP32S2 envs to separate ini file.
  • [PIO build] Do not use commas in build_flags (Linux build fail)
  • [PIO] fix incorrect esp32 IRExt envs
  • [PIO] add labels to envs which wil later adjusted in extends
  • [PIO] Use shorter extends chain for ESP32 max builds
  • [PIO] Apparently when referring an env, the 'env:' prefix is needed
  • [P096 eink] Fix failing build
  • [ESP32 LittleFS] Add old LittleFS library to lib_ignore
  • [P118] Disable P118 ITHO for now as it crashes on IDF4.4
  • [ESP32 Factory] Fix boot loop on 16M flash nodes using factory image
  • [ESP32 factory] Use esptool.py to generate and patch combined binary
  • [Build] Add missing esptool==3.2 in requirements.txt
  • [ESP32 factory] Revert factory image script to not use esptool.py
  • [ESP32 factory] Final fix using esptool.py by Jason2866
  • [ESP32 factory] Change -factory.bin to .factory.bin
  • [ESP32 factory] using the pio env to find esptool
  • [ESP32 build] Restore ESP32 build for 16M1M (using SPIFFS) with Ethernet
  • [Libs] Update adafruit/Adafruit BusIO @ ^1.10.0
  • [ESP32 IDF4.4] Set CPU frequency to 240 MHz
  • [ESP32 Max] Do not use "LIMIT_BUILD_SIZE" on Max builds
  • [ESP32 PSRAM] Rename define ESP32_ENABLE_PSRAM to BOARD_HAS_PSRAM
  • [Ethernet] Add selector for newer supported Ethernet chips
  • [PSRAM] Fix 40 MHz signal on GPIO-17 using Tasmota PSRAM functions
  • [Build] Fix build on ESP8266
  • [Ethernet] Work-around for bug in IDF4.4 in ETH.linkUp()
  • [Cleanup] Fix parameter mismatch floating point formatting String
  • [ESP32 IDF4.4] Update to include latest merges
  • [PSRAM] Fix incorrect log of found PSRAM
  • [Eth] Show state of actual active network device in logs
  • [Eth] Power cycle Ethernet device if power pin is defined
  • [PWM] Fix PWM and status LED on ESP32 IDF4.4
  • [Eth] Add option to autodetect Eth PHY address + documentation
  • [ESP32-S2] Disable -flto on ESP32-S2
  • Disable -flto on ESP32 due to linker errors.
  • [Cleanup] Move defines from Commands/GPIO to DataStructs/PinMode.h
  • [ESP32 IDF4.4] Move to platform-espressif32 v2.0.2.1
  • [Bugfix] Fix possible crash when printing floating point values
  • [Cleanup] Fix define paths on .h files
  • [Cleanup] Fix missing paths on #include statements + update I2Cdev lib
  • [I2Cdev lib] Change byte to uint8_t
  • [ESP32] Update to IDF 4.4 Arduino-ESP32 2.0.1
  • [ESP32] Allow building LittleFS builds on ESP32
  • [Build] Fix case sensitive include
  • [Windows Build] Convert IRremoteESP8266 to single cpp file
  • [IR build] Fix build issue on IR plugins
  • [WiFi ESP32] Disable WiFi TX power settings for ESP32 (IDF4.4)
  • [ESP32 IDF4.4] Update to the latest Arduino ESP32 2.0.1.1
  • [Cleanup] Use .clear() on strings instead of assigning empty string
  • [Web] Allow to stream from file system (e.g. CSS inline)
  • [ESP32-S2] Add PlatformIO envs for ESP32-s2
  • [IR] Cleanup check for redefine IR plugin USES
  • Revert "[Windows Build] Convert IRremoteESP8266 to single cpp file"
  • [Build] Fix build of ESP32 max LittleFS build on Windows
  • [PIO] Simplify ESP32 env definitions.
  • [PIO] Simplify WROVER kit envs and remove WROVER kit ETH builds
  • [PIO] Add missing ESP32-S2 build envs
  • [IDF4.4] Use Tasmota's IDF 4.4 platform-tasmota-espressif32
  • [IDF4.4-v2.0.2] Now actually using the latest espressif/Arduino-esp32
  • [LittleFS] Make sure to always define USE_LITTLEFS on LittleFS envs
  • [PIO build ESP32] Attempt to fix boot loop on ESP32 with IDF4.4
  • [Cleanup] Misc optimisations to reduce build size
  • [LittleFS] Some cleanup to fix boot loops ESP32 IDF4.4 for 16M flash
  • [IDF4.4 + 16M] Make normal builds with IDF4.4 work on 16M flash
  • [IDF4.4 + 16M] Restore missing ESP32 builds
  • [Cleanup] Make ESP32 PIO envs a bit more readable
  • [Cleanup] Split ESP32S2 envs to separate ini file.
  • [PIO build] Do not use commas in build_flags (Linux build fail)
  • [PIO] fix incorrect esp32 IRExt envs
  • [PIO] add labels to envs which wil later adjusted in extends
  • [PIO] Use shorter extends chain for ESP32 max builds
  • [PIO] Apparently when referring an env, the 'env:' prefix is needed
  • [P096 eink] Fix failing build
  • [ESP32 LittleFS] Add old LittleFS library to lib_ignore
  • [P118] Disable P118 ITHO for now as it crashes on IDF4.4
  • [ESP32 Factory] Fix boot loop on 16M flash nodes using factory image
  • [ESP32 factory] Use esptool.py to generate and patch combined binary
  • [Build] Add missing esptool==3.2 in requirements.txt
  • [ESP32 factory] Revert factory image script to not use esptool.py
  • [ESP32 factory] Final fix using esptool.py by Jason2866
  • [ESP32 factory] Change -factory.bin to .factory.bin
  • [ESP32 factory] using the pio env to find esptool
  • [ESP32 build] Restore ESP32 build for 16M1M (using SPIFFS) with Ethernet
  • [Libs] Update adafruit/Adafruit BusIO @ ^1.10.0
  • [ESP32 IDF4.4] Set CPU frequency to 240 MHz
  • [ESP32 Max] Do not use "LIMIT_BUILD_SIZE" on Max builds
  • [ESP32 PSRAM] Rename define ESP32_ENABLE_PSRAM to BOARD_HAS_PSRAM
  • [Ethernet] Add selector for newer supported Ethernet chips
  • [PSRAM] Fix 40 MHz signal on GPIO-17 using Tasmota PSRAM functions
  • [Build] Fix build on ESP8266
  • [Ethernet] Work-around for bug in IDF4.4 in ETH.linkUp()
  • [Cleanup] Fix parameter mismatch floating point formatting String
  • [ESP32 IDF4.4] Update to include latest merges
  • [PSRAM] Fix incorrect log of found PSRAM
  • [Eth] Show state of actual active network device in logs
  • [Eth] Power cycle Ethernet device if power pin is defined
  • [PWM] Fix PWM and status LED on ESP32 IDF4.4
  • [Eth] Add option to autodetect Eth PHY address + documentation
  • [ESP32-S2] Disable -flto on ESP32-S2
  • Disable -flto on ESP32 due to linker errors.
  • [Cleanup] Move defines from Commands/GPIO to DataStructs/PinMode.h
  • [ESP32 IDF4.4] Move to platform-espressif32 v2.0.2.1
  • [Cleanup] Fix missing paths on #include statements + update I2Cdev lib
  • [I2Cdev lib] Change byte to uint8_t
  • [EDP32 IDF4.4] Fix merge issues
  • [IDF 4.4] Update to platform-espressif32 v2.0.2.2
  • Temporary revert move operator on RamTracker
  • [MQTT commands] Add command via MQTT with variable parameters
  • [IDF 4.4] Update to espressif/arduino-esp32 tag 2.0.3
  • [WiFi] Prevent stack overflow when WiFi connection isn't successful
  • [WiFi] Properly clear duplicates from WiFi scans
  • [WiFi] Fix connecting to the strongest WiFi AP
  • [Build] Add missing include in Servo.cpp
  • [IDF 4.4] Update to platform-espressif32-2.0.3rc1
  • Revert "[IDF 4.4] Update to platform-espressif32-2.0.3rc1"
  • [Build] Fix build on display plugins using NodeMCU pin labels
  • [MQTT] Reduce rate of MQTT reconnects when failing to reconnect
  • [IDF 4.4] Update to latest platform espressif32 zip file
  • [Web flash] Let user choose to erase flash or not upon flashing
  • [Eth] Fix loosing DNS info when disabling WiFi after ETH got IP
  • [ETH] Cleanup unused variable
  • [Rules] Fix issues with rules one-liners (#4025)
  • [ESP32] Fix PWM on IDF4.4
  • [Docs] Fix formatting of C005 OpenHab MQTT documentation
  • [MQTT Events] Allow receiving events + eventvalues via MQTT (C005)
  • [Provisioning] Cleanup code to manage internal file names
  • [Provisioning] Cleanup of no longer needed strings + use RULESETS_MAX
  • [Misc] pre-merge small fixes from pending ESPEasy-NOW PR
  • [Web] Cleanup code to show MAC address input field
  • [MQTT events] Do n...
Read more

mega-20220427

27 Apr 15:04
Compare
Choose a tag to compare

Release mega-20220427

Changes in mega-20220427 (since mega-20220328):

Blazej222 (1):
Allow OTA attempt even when not enough space

Gijs Noorlander (2):
[MQTT commands] Support commands with arbitrary argument position
[MQTT commands] Fix parsing full command

Leonardo Rizzi (1):
Update _controller_substitutions.repl

Peter Kretz (1):
Check of x and y against height and width has to be done before

TD-er (50):
[MQTT commands] Add command via MQTT with variable parameters
[Build] Make sure to add fs:: namespace to fs::File
[Pip] Remove conflicting version limit on semantic-version
[WiFi] Prevent stack overflow when WiFi connection isn't successful
[WiFi] Properly clear duplicates from WiFi scans
[WiFi] Fix connecting to the strongest WiFi AP
[MQTT] Reduce rate of MQTT reconnects when failing to reconnect
[Build] Disable test_X_beta_ESP8266 builds due to build size
[Rules cache] Add handler for speeding up rules parsing
[Rules] Let the RulesHelper parse line by line
[Rules] Cache rules per line on ESP32
[Rules] Only parse lines that need to be parsed
[Rules] Nesting level does not matter to stop parsing rules file
[WiFi] Rate limit checking WiFi.isConnected()
[Rules] Small tweaks to speed up processing rules
[Rules] Rate limit calls to background tasks
[Rules] Minor tweaks to improve rules execution speed
[Rules] Cache which rules lines start with "on " for ESP32
[Rules] Fix missing include
[Rules] Add caching to speed up rules processing
[Rules] Fix build issue on ESP32
[Rules] Fix build on ESP32
[Rules] Fix missing include on ESP32
[Rules] Improve speed processing rules + option to disable rules cache
[PlatformIO] Update ESP32 PIO platform to 3.5.0
[Rules] fix parsing events starting with " do"
[Rules] Add %eventname% and %eventpar% to allow for simpler rules
Rate limit the number of background task calls to improve speed
[Timing Stats] Add process_system_event_queue() to the timing stats
[Rules] Add setting to disable cached event reorder
[Rules] Allow for more than 4 %eventvalueN%
[Rules] Document using > 4 eventvalues + using string type eventvalues
[Rules] Add %eventvalue0% to get all arguments at once.
[Rules] Fix compiler warning compare signed/unsigned
[Rules] Check for invalid %eventvalueN% occurences
[Rules] Add documentation on %eventvalue0%
[Rules] Allow for empty event values
[Rules] Add option for default values on non-existing eventvalues
[Rules] Add 'restrict' keyword to safely allow executing %eventvalueN%
[Rules] Fix issue when processing eventvalue without default value
[Rules] Update documentation regarding event values.
Wrap eventvalues in quotes when needed for generated events
[Fonts] Only include font data once in built bin file.
Add Fixme for later reducing IRAM usage on font size struct
[Cleanup] Remove duplicate code to wrap text in quotes
[MQT import] Reduce memory usage, especially during load/save
[Cleanup] Fix tricky PLUGIN_EXIT calls
[MQTT Import] Unsubscribe from MQTT topics on exit
[MQTT import] Add log when task cannot unsubscribe as others use it
automatically updated release notes for mega-20220427

Ton Huisman (247):
[P037] Add mapping, filtering and json support - Mapping string to numeric/other string - Filtering to limit processed data - json support to process complex messages
[P037] Fix build issues (missing include, testing size)
[P037] Fix some bugs, add filtering with list, some code optimization
[P037] Bugfixes, improvements, filter per Topic, re-org Device setup
[P037] Some minor corrections
[P037] Add documentation
[P037] MQTT Topic match multi-level standards compliant
[P037] MQTT Wildcard handling improvement
[P037] Proceed with invalid numeric value as NaN
[P037] Code cleanup and improvements, documentation improvements
[P037] Actually store the NaN value if applicable
[P037] Adjust for changed compare function
[P037] Use proper double variables for comparisons
[P037] Reduce String re-allocations and memory use
[P037] Additional merge fixes
[P037] Optimize string handling/passing
[P037] Source formatting (uncrustify)
[P037] Disable development logging
[P037] Add conditional flag to force all features
[P037] Merge changes for byte to uint8_t change
[P037] Optimizations and some source reformatting
[P116] ST7735/ST7789 TFT Plugin and AdafruitGFX helper
[Build] Add ST7735 library to libdeps for ESP32
[Build] Fix ST7735 library libdeps for ESP32
[Build] Fix ST7735 library libdeps for ESP8266
[Build] Fix ST7735 library libdeps for ESP8266
[Build] Fix ST7735 library libdeps
[Build] Fix ST7735 library libdeps
[Build] Fix Adafruit_ST77xx library libdeps
[AdaGFX helper] Only compile when used/needed
[AdaGFX helper] Treat like an optional 'plugin'
[AdaGFX helper] Fix for custom_ir build
[AdaGFX helper] Add validation check (optional, if build size permits)
[P116] Small code improvements
[AdaGFX helper] Add debug logging to validation check
[AdaGFX helper] Small improvements
[P116] Textual changes, only generic type names shown
[AdaGFX helper] Add color conversions, improved validation and compile-time defines
[AdaGFX helper] Missed a file for compile-time defines
[AdaGFX helper] Implement TextPrintMode, get cursor coordinates, fixes
[P116] Use new features of AdafruitGFX_helper
[P116] Reorder some device settings
[P116] Add triggerCmd 'backlight,' command
[P116] Reorder more device settings
[AdaGFX helper] Corrections and improvements
[P116] Add default color settings
[AdaGFX helper] Argument validation corrections
[Docs] Fix small typo in tools.rst
[P116] Add documentation, including AdafruitGFX_helper commands
[AdaGFX helper] Fix a missing conditional compilation check
[AdaGFX helper] Improve 'clear' command, add 'rot' command
[P116] Refactor some generic functions to AdaGFX helper
[AdaGFX helper] [P116] Fix: Restore intended transparent background feature
[AdaGFX helper] Improvements for compatibility with P095 ILI9341
[P095] Initial implementation of AdaGFX Helper, work in progress
[AdaGFX helper] Moved more generic code here, improvements
[P116] Less conditional compilation, improvements
[P095] Complete overhaul w. AdaGFX Helper, settings like P116, Use PluginStructs for multi-instance, some work in progress
[AdaGFX helper] Add/update unicode-char conversions
[AdaGFX helper] Add/update unicode-char conv, add txz and asciitable commands
[P116] [P095] Minor update for AdaGFX helper update
[P116] Documentation corrections
[AdaGFX helper] Bugfix,apply txp/txz compatibility correction
[P095] Remove duplicate clear handler
[P096] Initial implementation of AdaGFX Helper, work in progress
[AdaGFX helper] Fix typos in unicode character conversions
[AdaGFX helper] Enable subcmd proc. from template
[AdaGFX helper] Change subcmd trigger, bugfixes [P095][P116] Allow longer template lines, always process subcmds
[P095][P116] Improvements in template processing
[AdaGFX helper] Improvements and corrections
[P095] Re-order settings, minor improvements
[P116] Re-order settings, minor improvements
[P096] Complete overhaul w. AdaGFX Helper, settings like P116, Use PluginStructs for multi-instance, some work in progress [LOLIN_EPD] Update library to support extra devices
[P037] Reformatted using Uncrustify, string & logging optimizations
[P037] Fix filter input validation, use string.isEmpty() where possible
[P037] Small source reformsatting
[P037] Small improvements
[P037] Restore required include
[P037] Reduce info-logging somewhat
[P037] Fix JSON filtering & resizing bugs
[AdaGFX helper] Fix color parsing bug
[P116] Explicitly initialize all ST7789 resolutions
[P116] Add support for ST7789 240x135 resolution
[AdaGFX helper] Rename color(depth) enum values
[P096] Fix compiler warning on 'delete eInkScreen'
[AdaGFX helper] Add setting for Fill text background
[P116] Update documentation
[P116] Simplify initialization
[P095] Simplify initialization
[P096] Simplify initialization
[P095/P096/P116] No 'read' action if all Line fields empty, log Exit, optional splash text
[P116] Swap resolution for 135x240 display
[P096] Fixes to Lolin EPD library, fix bg color conversion
[Lolin EPD lib] Fix class destructor issues
[Lolin EPD lib] Fix class destructor issues
[AdaGFX helper][P095][P096][P116] Fix many bugs (init, rotation, destructors)
[AdaGFX helper] Don't remove trailing spaces
[P116] Fix displaybutton handling (based on P036)
[P095] Fix displaybutton handling (based on P036)
[AdaGFX helper] Move settings to generic functions
[AdaGFX helper] Fix row/col recalculation on rotation change
[AdaGFX helper] Restore text-end trimming
[AdaGFX helper] Add vert. font offset where needed, add 16pt font, include all fonts in MAX builds
[AdaGFX helper] Fix font issues, add some fonts, remove 1 font
[AdaGFX helper] Handle proportional font widths correctly
[AdaGFX helper] Disable fonts used during debugging
[AdaGFX helper] Bugfix monospaced fonts
[AdaGFX helper] Fix for fonts with 0-width space
[P037] Documentation improvements
[P116] ifdef error fixed
[Storage] Add optional offset argument to Load/SaveCusto...

Read more

mega-20220328

28 Mar 07:31
Compare
Choose a tag to compare

Release mega-20220328

Changes in mega-20220328 (since mega-20211224):

Leonardo Rizzi (1):
Typo in comment of P074

Sven Briesen (1):
Add docs for the lib

TD-er (190):
[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 ...

Read more

mega-20211224

24 Dec 13:41
Compare
Choose a tag to compare

Release mega-20211224

Changes in mega-20211224 (since mega-20211105):

StefanNetzer (15):

  • Update _P043_ClkOutput.ino
  • add events
  • added TDs recommendations
  • cleanup
  • resync to GitHub
  • Update _P043_ClkOutput.ino
  • added PLUGIN_VALUENAME2_043
  • Update _P043_ClkOutput.ino
  • Update _P043_ClkOutput.ino
  • Update _P043_ClkOutput.ino
  • added output data type
  • replaced all by simple
  • restored
  • fixed link error
  • using output value definition from P004

TD-er (22):

  • [Cleanup] Fix lots of missing delete calls to free memory
  • [P095 ILI9341] Convert to use PluginDataStruct
  • [P095 ILI9341] Renamed functions in P095 plugin
  • [P096 E-ink] Convert to use PluginDataStruct
  • [Build] Fix case sensitive mixup in include path
  • [Build] Correct correct include path depth
  • [P095 P096] Convert to use PluginDataStruct
  • Revert changes to P095 and P096 Moved to PR #3835
  • [ThermoOLED] Check for successful allocation of display object
  • [Domoticz] Only incoming MQTT on tasks with controller linked (#3829)
  • [GPS] Add power save commands (Ublox specific)
  • [GPS] Add more U-blox specific features
  • [GPS] For now, disable U-blox specific settings
  • [GPS] Document GPS plugin
  • [Password] Add clearPassword command
  • [Doc] Add Notepad++ colourise ESPEasy Rules language
  • [dashboard] Fix crash on parsing empty command {} (#3873)
  • [dashboard] Fix parsing {} and leaving the braces when not a command
  • GCC 10.3 Bugfix 1 - Constant literal address fix
  • [ClearPassword] Fix typo in command
  • [PIO] Restore default envs
  • automatically updated release notes for mega-20211224

Ton Huisman (25):

  • [Docs] Add How To for starting development on ESPEasy
  • [Docs] Add How To for starting development on ESPEasy
  • [Docs] How To fix some typos
  • [Docs] How To: fix some sphinx syntax issues
  • [Docs] Development guide restrucured and extended
  • [Docs] How To guide: textual improvements and additions
  • [Docs] How To: Extend the text and some corrections
  • [P111] Add virtual destructor to MFRC522 library to fix compiler warning
  • [P053] Fix support for PMS5003T
  • [P053] Remove unneeded #define, minor source formattings
  • [Build] Enable Dummy device and Neopixel on ESP32 Custom (script)
  • [P053] Leave out invalid event-values for PMS5003T
  • [P124] Add plugin Output - I2C Multi Relay
  • [P124] Add optional initialization 'protection'
  • [P117] Add SCD30 CO2, humidity and temperature sensor
  • [P117] Correct slash/backslash confusion/typo
  • [P117] Add to TEST_D set
  • [P117] Adjust ClockStrechLimit message
  • [P117] Add documentation
  • [P117] Fix compilation issue error: narrowing conversion of '2415919104' from 'unsigned int' to 'int' [-Wnarrowing]
  • [P124] Add configurable I2C addresses, add relay state on exit [P114] Add VEML6075 to I2C scanner
  • [P124] Add documentation
  • [P124] Include in TEST_D build, aad missed documentation file
  • [P016] Change plugin title Communication - IR Receive (TSOP4838)
  • [P124] Add get command and looping that, fix a small settings bug

svollebregt (7):

  • Adding Itho library to main reposity
  • Revert "Adding Itho library to main reposity"
  • [P118] Adding Itho plugin to main reposity""
  • Update _P118_Itho.ino
  • Update _P118_Itho.ino
  • Further code improvements
  • Remove noInterrupts() and Itho library improvements

mega-20211105

05 Nov 10:30
Compare
Choose a tag to compare

Release mega-20211105

Changes in mega-20211105 (since mega-20211005):

Peter Kretz (4):

  • [P103 AtlasEZO] Added Dissolved Oxygen Sensor DO
  • Update platformio_esp32_envs.ini
  • Update _P103_Atlas_EZO_pH_ORP_EC.ino
  • Rename Plugin 103 : Atlas Scientific EZO pH ORP EC DO

TD-er (59):

  • [P103] Perform manual merge of conflicting files
  • [P103] Perform manual merge of P103...ino
  • [PMSx003] Convert plugin into using multiple instances data_struct
  • [PMSx003] Uncrustify .ino file
  • [PMSx003] Cleanup naming of types and variables
  • [ESP32] Revert to PlatformIO platform 3.3.0 to fix web login
  • [PMSx003] Cleanup by turning sensor type into enum class
  • [PMSx003] Add pin selection for PWR Set pin
  • [Serial] Make serial selection more intuitive
  • [PMSx003] Use defines when interpreting received data
  • [PMSx003] Use enum class for event output selector
  • [PMSx003] Add check for duplicate messages
  • [PMSx003] Make output/event selector enums a bit more readable
  • [PMSx003] Add commands for reset/sleep/wake + document them
  • [Cleanup] Use PLUGIN_WEBFORM_SHOW_GPIO_DESCR to show all GPIO used
  • [PMSx003] Add output selection for counted small particles 0.3 ... 2.5 u
  • [PMSx003] Add explanation on particles measurement
  • [PMSx003] Simplify event generation + update task value names
  • [PMSx003] Update documentation
  • [PMSx003] Ignore incompatible event out selections
  • [ESPEasySerial] Fix issues on ESP32 with serial (restart serial)
  • [ESPEasySerial] Fix issues on ESP32 with serial (restart serial)
  • [PMSx003] Document new pmsx003,wake & pmsx003,wake commands
  • [ESPEasySerial] Include v2.0.7 in the ESPEasy libs dir too
  • [PMSx003] Add option to split counted data in bins
  • [PMSx003] Add oversampling to average readings
  • [PMSx003] Document new Data Processing features.
  • [PMSx003] Add sensor init time option after wake up sensor
  • [PMSx003] Add proper defaults when creating new task or loading old conf
  • [PMSx003] Make 1M builds fit again
  • [Cleanup] Remove PeriodicalScanWiFi
  • [Cleanup] Fix compile warning and failed build on ESP8266 beta builds
  • [ESP32] Update GPIO description docs & add event to get boot strap pins
  • Reset former PeriodicalScanWiFi bit to 0
  • [P046 Ventus] Fix UV only "binary" (#3073)
  • [P046 Ventus] Minor cleanup of strange float casts
  • [GPIO] Fix [Plugin#PCF#PinRange#x-y] (#3815)
  • [Build] Fix build on Windows for ESP32 Max LittleFS builds
  • [Build] Concat Globals .cpp files to help building in Windows
  • Fix missing lib_debs
  • [PVS Studio] Test using ESP32 max build + some suggested fixes
  • [PVS Studio] Fix issues reported by PVS Studio
  • [PVS Studio] Fix "dangerous" macros in IRremoteESP8266 library
  • [Python] Update Python packages due to Sphinx build error on Python 3.10
  • [PVS Studio] Fix some warnings made by PVS Studio.
  • [Python] Update Python packages + missing Ubuntu packages
  • [Build] Fix build fail due to warnings
  • [Build] Fix CompiletimeDefines
  • [Build] Fix quotes issue on compile time defines
  • [Build] Cleanup of Compile time defines scripts
  • [WiFi] Add note about minimal WPA key length
  • [WebFlasher] Generate manifest.json file per build
  • [Webflasher] Generate html page for web flasher
  • [Build] Add option "esp8266" to be the same as "esp82xx"
  • [build] Make sure Python requirements are installed
  • [Webflasher] Add groups in selection combobox
  • [Build] Include flash size on all PlatformIO envs
  • [Webflasher] Do not create index.html during build
  • automatically updated release notes for mega-20211105

Ton Huisman (64):

  • [P104] New plugin: MAX7219 dot matrix display
  • [P104] Include plugin in Display builds
  • [P104] Fixed zone initialization and brightness setup
  • [P104] Code improvements
  • [Helpers] Add helper getFormItemIntCustomArgName(int)
  • [P104] Code improvements and optimizations
  • [P104] Implement Clock and Date content, clear on plugin exit
  • [P104] Use compiletime defines where appropriate
  • [P104] Get settings defaults right
  • [P104] Update MD_Parola library
  • [P104] Implement PLUGIN_WRITE commands, add fonts, many improvements
  • [P104] Fix issue with MD_Parola update
  • [P104] Revert addition to MD_Parola made earlier
  • [P104] Implement Repeat delay, add settxt command, edit active settings, update source doc, some source reorg.
  • [P104] Format source
  • [P104] Try to make build fit in ESP8266 display configuration
  • [P104] Try to make build fit in ESP8266 display configuration
  • [P104] Try to make build fit in ESP8266 display configuration
  • [P104] Try to make build fit in ESP8266 display configuration
  • [P104] Try to make build fit in ESP8266 display configuration
  • [P104] Added time/date configuration options
  • [P104] Adjust Custom-sample.h
  • [P104] Add Bar-graph support and bar/setbar commands
  • [P104] Add update command, bugfixes and improvements
  • [P104] Implement 'direction' and 'barType' options for Bar-graph, many bugfixes
  • [P104] Re-enble commands for 'display' build, many bugfixes
  • [P104] Add Actions column, add Zone order, many bugfixes and improvements
  • [P104] Bugfixes and minor improvements
  • [P104] Bugfixes and improvements
  • [P104] Allow up to 255 modules per zone.
  • [P104] Limit settxt and setbar commands to max. input length
  • [P104] Add 'p', comma and dash to num. double height font, some UI improvements
  • [P104] Add documentation for Max7219 Dot matrix display
  • [P104] Small optimizations, resolve some typos, documentation improvements
  • [P104] Documentation - Add font overviews
  • [P104] Bugfixes, add Text reverse option, update documentation
  • [P104] Small improvements, check modules count on save
  • [P104] Suggested small code optimizations
  • [P104] Reformatted source (uncrustify needed an update)
  • [P104] Fix compilation error after merge
  • [P104] Code optimizations
  • [P104] Bugfixes, optimizations and phase 1 of improvements
  • [P104] Reworked saving and loading settings resolving stack issues
  • [P104] Updates to documentation
  • [Build] Apply LIMIT_BUILD_SIZE for ESP8266 Display build to fit in more plugins
  • [P104] Reduce flashcounter on save, use LIMIT_BUILD_SIZE to fit in more features
  • [P104] Simplify SPI pin display, small formatting changes (uncrustify)
  • [P104] Add missing slash in numeric doubleheight font
  • [P104] Update and improve documentation
  • [P104] Code improvements and small optimizations
  • [P104] Code improvements as suggested in reviews (nullptr checks, unneeded array, destructor, comparison)
  • [P104] Minor improvements, memory handling
  • [P104] Add Inverted option (dark on light), incl. docs
  • [P073] Add 7output command
  • [P073] Store via commands changes settings but not save them yet
  • [P073] Reformat source (uncrustify and some manual adjustments)
  • [Build] Re-enable IR plugins in custom_IR builds
  • [Build] Enable IR plugins in MAX ESP32 builds
  • [Build] Enable Blynk controller in MAX ESP32 builds
  • [Docs] IR plugins are not in normal builds (for a long time)
  • [Docs] IR plugins are not in normal builds (for a long time)
  • [Docs] IR plugins are not in normal builds (for a long time)
  • [Docs] IR plugins are not in normal builds (for a long time)
  • [P119][P120] Register plugin IDs for ITG3205 and ADXL345

jimmys01 (2):

  • [IR] Update IR library to the latest build
  • Fix String ambiguous conversions in the lib

mega-20211005

05 Oct 13:54
Compare
Choose a tag to compare

Release mega-20211005

Changes in mega-20211005 (since mega-20210802):

Boris Krivonog (5):

  • Added support for operating and compressor frequency.
  • Fixed json output.
  • Fixed link to source, removed links to obsoleted urls, added simple changelog ...
  • Make AC status additional info configurable.
  • Make sure ESPeasy serial can be allocated if P093 data struct was allocated (embed it).

Max Prokhorov (1):

  • [Build] Revert to platformio/toolchain-xtensa for the esp8266

Michael Schröder (1):

  • P051 (AM2320) is TESTING not NORMAL

Plebs (3):

  • Fixed #3736
  • Updated plugin documentation
  • patch for Safe Button and FHEM (#3739)

TD-er (93):

  • [ESP32-S2] Add experimental support for ESP32-S2
  • [ESP32-S2] Further make ESP32-S2 compile (no WiFi yet)
  • [ESP32-S2] Add reset reasons
  • [I2C] Add recovery to an I2C bus that hangs.
  • [Cleanup] Uncrustify C014 Homie
  • [Cleanup] C014 Log entries using F()
  • [C014] Cleanup calls to CPlugin_014_sendMQTTdevice not using F()
  • [C014] Cleanup calls to CPlugin_014_sendMQTTnode not using F()
  • [ESP32-S2] Make it compile against esp32-2.0.0-pre
  • [ESP32-S2] Add missing includes
  • [ESP32-S2] Changed struct sizes for esp32-2.0.0-pre
  • [ESP32-S2] Compute LogStruct size for new String size
  • [ESP32-S2] Add GPIO definitions for ESP32-S2
  • ESPEasySerial to 2.0.6 to support ESP32-S2
  • [PIO] Force ESPEasySerial to update to @ 2.0.6
  • [ESP32-S2] Fix build warnings + set ESPEasySerial lib to 2.0.6 for ESP32
  • [ESP32-S2] Add touch pins to ESP32Touch plugin + check valid GPIO I2C
  • [ESP32-S2] Use proper WiFi event ids for IDF > 3
  • [Cleanup] Check for validGpio using new function
  • [Cleanup] Include ESPEasyLimits.h where MAX_GPIO is used
  • [TaskValueSet] Allow TaskValueSet on non-Dummy tasks (setting)
  • [Hostname] Make generated hostname RFC952 compliant (#3723)
  • [Cleanup] Use Arduino isDigit and isAlphaNumeric functions
  • [Docs] Document "Allow TaskValueSet on all plugins" checkbox
  • [Formula] Use correct nr of decimals in formula (#3721)
  • [Formula] Allow using standard conversions and task values in formula
  • [Formula] Add more documentation for formulas + examples
  • [docs] Fix wrong topic length in docs.
  • [Cleanup] Replace single character flash strings
  • Fix setting month + century bit RTC lib
  • Add 'client' to http.begin call
  • [Cache Controller] Allow to save sample time in local time
  • [RTC lib] Makecentury bit unambiguous in C++ terms
  • [Cache Controller] Update dump.htm to not check for valid timestamp
  • [docs] Update Cache Controller docs to mention different time exports
  • [Scheduler] Convert defines into SchedulerTimerType_e enum class
  • [MQTT] Fix duplicate call task PLUGIN_READ at MQTT connect
  • [Uncrustify] Scheduler.cpp/.h
  • [Scheduler] Rename SchedulerTimerType_e to what it is calling
  • [NTP] Use random interval for NTP sync interval
  • [docs] Add documentation on on the time wander info
  • [docs] Describe all fields on the sysinfo page.
  • [Web Login] Fix file access with password set (#3759 )
  • [Web UI] Fix handling rules switching
  • [Web UI] Do not POST rules parameters to save memory
  • [Dashboard] Do not check for loggedIn() on dashboard.esp
  • Accidentally removed extra check in isLoggedIn()
  • Fix missing include in ConfigPage.cpp
  • [I2C] Use 8 bit for I2C address selection
  • [Build] Add -fno-strict-aliasing as build flag make builds more stable
  • [Cleanup] Replace reinterpret_cast + fix compiler warning.
  • [Casts] Change C-style (uint8_t*) casts into reinterpret_cast
  • [Casts] Change C-style casts (int) and (float) into static_casts
  • [Docs] Update README.md about newer build sets
  • [Cleanup] Change some short strings to just a char.
  • Add custom_ESP8266_2M256 PlatformIO build env
  • [DMX512] Fix memory leak when exiting P054 DMX512 task
  • [ESP32 ETH] Fix not getting DNS from DHCP at boot
  • [ESP32] Switch to PlatformIO ESP32 core 3.3.2
  • [ESP32-S2] Switch platform packages for ESP32s2 to improve build success
  • [ESP32-s2] Suppress SDK info/debug logs on Serial0
  • [ESP32-s2] Fix crash when scanning I2C bus
  • [WiFi] Only set WiFi initialised when connected & got IP
  • [WiFi] Clear IP config on disconnect
  • [WiFi] Only set WiFi initialised when connected & got IP
  • [WiFi] Only check WiFi connection timeouts if they are started.
  • [WiFi] Try connect to hidden SSID without explicit BSSID + channel
  • [ESP32] Force SDK log level to NONE
  • [ESP32] Allow to compile using staging branch ESP32
  • [Cleanup] Prevent float to double promotion
  • [P013 sr04] Hangs on HI in state mode when NO_ECHO
  • [Cleanup] Uncrustify _P013_HCSR04.ino
  • [Blynk] Add ESP32 support for Blynk
  • [Blynk] ESPEasy patched files Blynk lib 1.0.1
  • [Blynk] Update to library v 1.0.1
  • [Docs] Add note to rename the CSS file to esp.css
  • [ESP32-S2] Use latest ESP32 core 2.0.0 + IDF4.4 + I2C fix
  • [ESP32-S2] Mark ESP32-s2 and ESP32-c3 as ESPEasy platforms
  • [PSRAM] Add preliminary support for PSRAM
  • [ESP32 IDF4.x] Fix build issue with ESP32 IDF 4.x
  • [P109 ThermOLED] Fix array bound error
  • Fix build error on limited build size builds
  • [Cleanup] Clean up of double includes + pio.ini description
  • [NeoPixel] Update to latest Adafruit Neopixel library
  • [Docs] Add some description of ESP82xx/ESP32/ESP32-S2
  • [I2C] Fix switching low/high clock + fix PCF8563 ext. RTC
  • [Cleanup] Get rid of global dummyString
  • [I2C] Make clearing hung I2C bus optional
  • [I2C] Do not run I2C tasks when bus is in error.
  • [I2C] Clarify error on I2C scan
  • [I2C] Only perform reset I2C bus during scan when enabled by user
  • [I2C] Document the new feature to clear a stuck I2C bus.
  • automatically updated release notes for mega-20211005

Ton Huisman (95):

  • [P065] Add mode and repeat commands From a request in the forum - mode,<0..3> to set playback mode: 0=Repeat, 1=Folder repeat, 2=Single repeat, 3=Random - repeat,<0/1> enable/disable repeat play 0=Off, 1=On
  • [P065] Uncrustify and some minor source adjustments
  • [P065] Reviewer corrections
  • [P065] Minor optimization
  • [P065] Add documentation (partly migrated from the wiki)
  • [P065] Add commands to command reference
  • [P065] Add commands to command reference (cleanup)
  • [P016] Correct hex value conversions to unsigned
  • [P016] Revert a few invalid comments
  • [P016] Small optimizations
  • [P016] Apply suggestions and some more optimizations
  • [P016] Add type in logging, more optimizations
  • [P016] hexToUL doesn't seem to work with a char array
  • [P016] Fixed zero termination of char array
  • [P016] Update changelog
  • [StringConverter] Fix hexToUL to accept 0x prefix
  • [P016] Add support for 64 bit IR codes, incl. settings conversion, update settings UI
  • [P016] Small code optimizations
  • [P016] Update library enum definition
  • [P016] Disable debug log for BUILD_NO_DEBUG and some cleanup
  • [P016] Revert BUILD_NO_DEBUG dependency
  • [P016] Updated documentation
  • [P016] Match UI with documentation :-)
  • [P016] Update logging for memory analysis
  • [Markup] Introduce delay(0) during addSelector_options for longer option lists
  • [P016] Refactor using vectors instead of arrays, load/save settings in chunks
  • [P016] Refactored settings conversion into constructor and other improvements
  • [P016] Reformatted source (uncrustify)
  • [P105] Move AHT10 plugin from PlayGround
  • [P105] Check for other I2C devices and show warning on device settings
  • [P105] Complete the documentation
  • [P105] Update Custom-sample.h plugin comment
  • [P105] Add AHT10 to I2C scanner
  • [P105] Replaced code by the 'other' AHT plugin from Playground, updated documentation, some other doc. fixes
  • [P105] Code improvements, based on feedback
  • [P105] Update I2C Scanner to include AHT20/AHT21
  • [P105] Small code improvement
  • [P008] Add 'Alternative decoding' option
  • [P008] Format code using Uncrustify
  • [P008] Format code minor improvement
  • [I2C Scanner] Show available device(s) for detected addresses
  • [I2C Scanner] Fix typo (swapped lines)
  • [P105] Small improvements
  • [P007] Add easier I2C Address and port selection options
  • [P007] Correct off-by-1 error for Port setting
  • [P019] PCF8574 Add easier I2C Address and port selection options
  • [P007] Add documentation
  • [P019] Add documentation
  • [P019] Avoid unneeded flash-string
  • [P007] Avoid unneeded flash-string
  • [I2C Scanner] Reworked to minimize use of Strings
  • [P103] Moved I2C address setting to designed plugin event
  • [P109] Moved I2C address setting to designed plugin event, cleanup to use macros where appropriate
  • [I2C Scanner] Restore leaving most of feature out of OTA builds
  • [P009] MCP23017 Add easier I2C Address and port selection options
  • [P009] Add documentation
  • [I2C Scanner] Show proper message if no I2C pins configured
  • [P009] Correct off-by-1 error for Port setting (copy/paste error)
  • [I2C Scanner] Adjust errormessage, refactor checks into isI2CEnabled()
  • [P103] Remove unsupported devices from I2C selection list
  • [P103] Fix silly typo :-(
  • [P108] DDS238 Fix 2-complement values (#3662)
  • [IRremoteESP8266] Update library to 2.7.19 (from 2.7.13)
  • [P016] Fix memory allocation issues
  • [IRremoteESP8266] Remove unneeded library files
  • [P016] Remove unneeded #define, update change history
  • [P108] Code improvements
  • [I2C Scanner] Move refactored check into Settings struct
  • [P065] Adjust documentation on mode command not always working as advertised
  • [I2C Scanner] Also check I2C Low Speed (is used by scanner)
  • [P007] PCF8591 Allow multiple output values in task
  • [P007] Updated documentation
  • [P009] Code optimizations, remove duplicate
  • [RTClib] (Bugfix) Write month correctly to DS3231 (#3749)
  • [P105] Fix I2Cscanner merge issue
  • [P033] Dummy device - make Interval optional
  • [P033] Remove default Interval
  • [P033] Migrate documentation from Wiki and update
  • [P008] Reverted previous...
Read more

mega-20210802

02 Aug 14:44
Compare
Choose a tag to compare

Release mega-20210802

Changes in mega-20210802 (since mega-20210503):

Christoph Kaiser (15):

  • [P039] added support for RTD sensors to plugin P039; updated SPI handling of all sensors to optimize ROM usage
  • [P039] place form selectors in separated scopes
  • [P039] corrected first review findings
  • [P039] further corrections rfom revews and initial documentation for P039 plugin
  • [P039] fixing multiple typos in P039.rst file
  • [P039] fixing multiple typos in P039.rst file
  • [P039] added taskname and taskVarName to the log entries in INFO log file
  • [P039] smallervfixes of diagnostic handling for thermocouples; added TODOs to not forget design changes
  • [P039] migrated RTD functionality to use of TIMER API and state machine
  • [P039] resolved review findings from TD-er, fixed static fault flag with data structure
  • [P039] resolve issues with MAX6675 + MAX31855 and latest updates
  • [P039] fixed typos and typecast issues, corrected MAX 31856 access
  • [P039] fixed recent findings and added automated reload for device family and type selector in plugin parameters
  • [P039] corrected log length reserve values and reworked fault logging
  • [P039] enhanced logfile formatting,; update of documentation; enhanced Voltage Modes for MAX 31856

Joerg Heinemann (8):

  • Add _P112_AS7265x.ino
  • Add _P112_AS7265x
  • Add SparkFun AS7265X library
  • Change MeasurementMode
  • Giving up - Running into a loop without sensor readings
  • Handle Measurement Status
  • Reduce plugin READ time
  • Improved settings options

KimPanda4 (8):

  • P003 New enhanced version 2.2 (PULSE Modes)
  • introduce taskIndex_t instead of byte for taskID
  • Updated P003 docu
  • correction of reference in P003 command docu
  • avoided nested switch, added overdue statistics
  • Requested changes from today in P003
  • Review corrections re. logging, commands, memspace
  • Enhancd docu of commands. Mention TaskName option.

Lars Volker (1):

  • Fix small typos in heatpumpir documentation (P088)

Maxim Prokhorov (5):

  • ci: allow builds to fail
  • ci: release single binaries .zip, merge all available build artifacts
  • ci: try to ignore build workflow when releasing
  • ci: bump python version for actions
  • ci: build documentation for push & pr

Paul Berry (8):

  • added prometheus exporter on /metrics path
  • added prometheus exporter on /metrics path
  • fix for building esp32 firmware from directory with space in name
  • fixes from PR
  • more PR fixes
  • Added prometheus documentation
  • Added ifdef, updated image name as per PR comments
  • removed unused string definition

Peter Kretz (40):

  • Nextion available for ESP32
  • Personal upload settings
  • Name Changed from ORP EZO to EZO ORP Configuration ofEZO pH now error tolerant. if you misconfigure a temperature correction, a temperature of 20° will be taken. More documentation about temperature correction for EZO pH as Note. Bug fix for pH calibration: if you stored a calibration for pH of e.g. 9.18 he restored 9 and you have to change it manually, now the value will be restored correctly
  • now without monitor_filters = time
  • now with Nextion Plugin P075
  • com port settings
  • colorize raus
  • WebServerPort duplicate thrown away
  • further merging
  • further merging
  • now fits to new changes
  • [Atlas EZO]: Unified Plugin for pH, ORP and EC Sensors from Atlas via I2C
  • Removed upload speed
  • Added use of html functions
  • removed speed
  • Removed speed
  • Fixed 0 terminated strings and substring issue
  • ZEROTERMINATE, safe_strncpy , an 0 character handling as requested by review
  • dtostrf
  • my settings
  • configuration stuff
  • rework in calibration --> streamline and reuse of duplicated code - show # of calibration points - possibility to clear calibration
  • Probe Type for EC could be configurated, improvement of displaying calibration status and some minor improvements
  • Debuggin Prupose Removed name = K now
  • Update _P103_Atlas_EZO_pH_ORP_EC.ino
  • empty line removed
  • upload speed
  • Update Custom-sample.h
  • CUSTOM_EMERGENCY_FALLBACK_START_AP
  • Custom Sample
  • platformio
  • Removed build error for Build error for ESP32 builds: byte board_type = UNKNOWN;
  • Update platformio_esp32_envs.ini
  • Update Custom-sample.h
  • Update platformio_esp32_envs.ini
  • Update platformio_esp82xx_envs.ini
  • [Atlas EZO EC pH ORP] added device name to I2C address scan, reorganized plugin in Custom build
  • Commented Atlas EZO Plugin in Custom sample
  • VCC flag removed
  • Poolmeter

TD-er (196):

  • [Playground] Move P168_ThermoOLED.ino to main repo
  • Rename P107_ThermoOLED to P109
  • [Controllers] Optimize memory usage by using std::move
  • [Controller] Do not keep unitMessageCount as member when not needed
  • Add move assignment to EventStruct
  • [Events] Make sure events are not copied unless absolutely needed
  • [Controllers] Implement move constructor to guarantee no copy is made
  • [MQTT] Fix MQTT controller may not connect when re-enabled after a while
  • [Memory] getMaxFreeBlock() should return valid value on ESP32
  • [Network] Properly switch between ETH and WiFi
  • [WiFi] Fix small issues showing WiFi state & abort WiFi connection process
  • [WiFi] Show WiFi STA MAC in sysinfo when eth is active
  • [Network] Allow fallback to WiFi when Ethernet not connected at boot
  • [Oopsie] Need to hide in other commits, deny this ever was committed!
  • [Cleanup] Remove unneeded std::move and copy/assignment constructors
  • [Controller Queue] Remove unneeded constructors using =default and =delete
  • Plugin 115 MAX1704x I2C, Sparkfun Fuel Gauge Sensor
  • Add library to lib dir + PIO environments
  • [P115] Restructure code + allow for multiple instances
  • [MAX1704x] Add documentation
  • [Build] Revert splitting lib_deps and lib_ignore to multi-line
  • [P115] Fix missing #ifdef + register library in PIO
  • [Locking] Add mutex to access map structures (#3623)
  • [Docs] Fix some small documentation issues.
  • [P115] Clean up documentation
  • [MAX1704x] Add changerate for MAX17048/MAX17049
  • Added MAX1704x comment line to Custom-sample.h
  • MS5611 (GY-63) unrealistic values for <20C (#3626)
  • [MAX1704x] Fix crash with device not yet initialised
  • [Boot Cause] Make boot cause more clear + add %bootcause% for rules
  • [Linux Build] Add some checks to prevent wiping ALL data on PC
  • [Linux Build] Cleanup + document build script + add options
  • [Linux Build] No longer use before_deploy from build_ESPeasy.sh
  • [ESP32 RTC] Add RTC memory usage like on the ESP8266
  • [Cache controller] Make Cache controller work on ESP32
  • Disable left over RTC_STRUCT_DEBUG flag
  • [P115] Cleanup code & add 4th variable name
  • [P115] Fix nullptr de-reference crash
  • [P115] Constrain threshold value to 1...32 & copy charge rate value
  • [P115] Add work-around as detect of sensor not seems to work.
  • [Git Build] Fix Git Build description on root page
  • [LoRaWAN TTN] Fix controller not setting SF or FP & add ADR (#3630)
  • [P115] Remove comment
  • [P012 LCD] Fix use of USES_P012_POLISH_CHARS define
  • [Cleanup] Move setup() from ESPEasy.ino to .h/.cpp file
  • [Cleanup] Move ESPEasy loop() and backgroundtasks() to .h/.cpp
  • [Cleanup] Uncrustify ESPEasy_loop(), _setup() and backgroundtasks()
  • Fix missing include on SysInfoPage.cpp
  • [Cleanup] Missing include in C013
  • [Cleanup] Fix return value of gpio_mode_range_helper (real bug)
  • [Cleanup] Uncrustify Commands/GPIO.cpp
  • [Cleanup] Missing include in P016
  • [Cleanup] Remove SI1145 from standard custom build, to make it fit
  • [WiFi] Allow for unprocessed WiFi events to timeout
  • [WiFi] Change unprocessed event timeout to 10 sec.
  • [P012 LCD] Add custom defined Polish characters (#2669)
  • [P012 LCD] Fix compile ambiguity & comment unused letter definitions
  • [P012 LCD] Remove Polish "Wait..." print statement
  • [WiFi AP] Add flag to prevent starting WiFi AP.
  • Fix build errors + reword label to "Do Not Start AP"
  • [Build] Fix build issues since ESPEasy.ino split
  • [Build] Fix build issues Nxxx & P001-P080
  • [Build] Fix build issues other files.
  • [MQTT] Check MQTT status before sending
  • [PubSubClient] Apply fixes related to crashes on connect to broker
  • [MQTT] Fix MQTT controller not (re)connecting
  • [WiFi] Fix issue where WiFi could not scan to reconnect
  • [WiFi] Load known credentials right after loading settings
  • [Cleanup] Fix warnings of some uninitialised variables.
  • [Docs] Document %iswifi% system environment variable
  • [Domoticz MQTT] Move JSON serialize/deserialize to helper .h/.cpp
  • [Cleanup] Reduce build size handle internal commands macros
  • [GPIO] Split duplicate code into shared function to reduce build size
  • [Rules] Remove unused parameter & change event parameter to const
  • [WiFi] Remove unneeded log connection status
  • [Cleanup] Remove code duplication to reduce build size
  • [Cleanup] Stream JSON from PROGMEM LabelType::Enum array to reduce size
  • [Cleanup] Do not include DNS server in minimal OTA builds to reduce size
  • [Cleanup] Reduce build size by keeping flash strings as flash string
  • [Cleanup] Optimise streaming JSON
  • [Cleanup] Add FlashStringHelper function wrappers to reduce build size
  • [Cleanup] Add missing F() macro where applicable
  • [Serial log] Small optimization to reduce build size + process logs
  • [Cleanup] Add small optimisations to reduce build size
  • [Cleanup] Change return type of static get string functions to flash string
  • [Cleanup] Reduce build size of parseStandardConversions function
  • [Cleanup] Reduce build size using flash strings in selectors
  • [Cleanup] Fix build error due to missing change in commit.
  • [Cleanup] Change return type of some commands to FlashString
  • [Cleanup] Remove unneeded String() wrappers
  • [Cleanup] Remove "new rules" from any build
  • [Cleanup] Domoticz MQTT, generate own JSON, not using ArduinoJSON lib
  • [Cleanup] Serialize JSON not using ArduinoJSON to reduce build size
  • [Cleanup] Use EMPTY_STRING instead of ...
Read more

mega-20210503

03 May 09:29
Compare
Choose a tag to compare

Changes in release mega-20210503 (since mega-20210223)

Release date: Monday 3 May 2021 10:58:06 CEST

Ament Martin (9):

      Patch to use the AP-Mode as daily driver
      Allow optional usage of Sensor without WIFI avaiable. When set you can use the Sensor in AP-Mode without beeing forced to /setup.
      First Version of ApDontForceSetup. Grouping Webserversettings in Advanced
      Typo fixed
      Missed a setting
      Patch to use the AP-Mode as daily driver
      Fixed missing setup for 404. And added some docu
      ResetAdvanced to branch-mega and implement Option  at ConfigPage
      Added missing setting

Bartłomiej Zimoń (4):

      add requested client event #3584
      [P20_Ser2Net] add task index to sendevent function
      Update _P020_Ser2Net.ino
      Update _P020_Ser2Net.ino

GravityRZ (1):

      Update GPIO.rst

Henri de Jong (3):

      Possible sagemcom fix
      Always max message size
      Don't create buffer bigger than maximum

Joerg Heinemann (2):

      Initial documentation for P050_TCS34725
      Initial documentation for P050_TCS34725

Maxim Prokhorov (13):

      Github actions instead of Travis
      make sure to fetch the tag message
      see if these work
      once again
      and again
      try wildcard
      fetch into local ref
      fix order
      order
      files
      more files
      more more
      build everything

Peter Kretz (1):

      Fix: [CUSTOM_EMERGENCY_FALLBACK_RESET_CREDENTIALS]

Plebs (18):

      wip for new expander commands
      wip new mcp commands
      WIP
      WIP
      WIP
      WIP
      WIP
      wip
      WIP
      WIP
      small changes
      fixing Travis
      code optimizations
      Moved PLUGIN_REQUEST to core
      Update GPIO.cpp
      added documentation
      Added documentation for [PLUGIN#MCP#PINRANGE#x-y]
      fixed typo

TD-er (106):

      Fix merge issues SendStatusOnlyIfNeeded
      [P020 Ser2Net] Serial port selection on ESP32
      Add MAX31856 support to P039_ThermoCouple
      [Docs] Fix some documentation inconsistencies
      [P020 Ser2Net] Restore serialsend command & add ser2netclientsend
      [Controller Queue] Add flag to allow messages to expire
      [Controller Queue] Add deduplicate check in controller queue
      [Controller Settings] Fix merge conflict with ESPEasy-NOW PR
      [Controller Queue] Fix initialization of expire timeout + improve dedup
      [ESP32] Handle more WiFi events (e.g. STA_LOST_IP)
      [WiFi] Process Station event Auth Changed
      [Controller] Debug log on remove duplicate queued message
      [GPIO] Fix warning of unused variable
      [Build] Remove HWL8012 from "energy" build
      [Energy build] Add P093 Mitsubishi Heat Pump
      [Cleanup] Remove ICACHE_RAM_ATTR on wifi event function
      [Build] LittleFS can only be built on 'beta' builds
      [Build] No longer ignore RN2xx3 library on Custom IR builds
      [Cleanup] Reduce IRAM usage in Dallas bit read/write code
      [Build] Fix normal_beta_ESP8266_16M_LittleFS build
      [Cleanup] Remove unneeded ICACHE_RAM_ATTR on DHCP timeout callback
      [Build] Remove P076 HWL8012 from "testing" builds due to build size
      [Build] Disable test_ESP8266_4M1M_VCC_MDNS_SD as it does not fit in IRAM
      [Build] Set normal_IRext_no_rx_ESP8266_4M2M to LIMIT_BUILD_SIZE
      [GPS] Fix running out of memory when no GPS data is received.
      Fix higher load introduced recently by variable WiFi TX power
      [GPS] Fix running out of memory when no GPS data is received.
      Fix higher load introduced recently by variable WiFi TX power
      [Scheduler] No need to call backgroundtasks() twice in the same loop
      [Build] Make sure PLUGIN_USES_SERIAL is defined for USES_P020
      [Build] Make test_ESP8266_4M1M build again
      [testing build] Remove 2 more "energy" plugins from "testing" build
      [WiFi] Make sure to reset WiFi if RSSI = +31
      [ESP32] Update to PIO espressif32@3.1.0
      [ESP32 ETH] Fix set config IPs to 0.0.0.0 when using DHCP + cleanup code
      [1M builds] Init config.dat file to 36k size
      [WiFi] Set max TX power always if forced in settings
      [WebPage] Allow for basic web page layout changes in custom build
      [WebPage] Add CSS styling to WiFi bar chart SVG
      [Custom.h] Add DEFAULT_SSID2 & DEFAULT_KEY2
      [WebPage] Allow to hide help buttons
      [WiFi] Fix unit not reconnecting to WiFi
      Fix build error in WebServer/404.cpp
      [Ethernet] Proper handling of network events + revert to WiFi
      [ESP32] Set to PIO espressif32@3.2.0 (#3564)
      [Deployment cconfig] Allow for deployment SSID and emergency fallback
      [Custom Build] Allow web UI customization in custom builds
      [WiFi Setup] Make WiFi setup more intuitive
      [WiFi Setup] Store WiFi scan results in WiFi_AP_CandidatesList
      [WiFi setup] Fix layout setup page
      [Webserver] Allow serving static files from SPIFFS when not logged in
      [WiFi] Reset WiFi if it changes channel without disconnecting
      [WiF] Prevent WiFi resets when not all events are processed.
      [WebServer] Do not alias index.htm and index.html to handle_root()
      [WiFi] Fix clear credentials on emergency fallback SSID
      [WiFi Setup] Add clear WiFi credentials button (for deployment)
      [WiFi Setup] Add "Include hidden SSID" as "advanced" setting bottom page
      [WiFi Setup] Increase click area for selecting scan result
      [Sysinfo] Show network services state on root- and setup page
      [WiFi Setup] Only scan on WiFi setup page if needed to prevent disconnect
      [WiFi] Decrease number of scans when AP is used, to make setup stable
      [WiFi Setup] Implement captive portal to automatically sign in
      [WiFi] Add periodical rescan option + reuse recent scans for reconnect
      [Setup page] Add rescan button to setup page
      [Build] Fix build issues when not using Custom.h
      [Docs] Document new added WiFi settings
      Fix Precision issues and initialisation of members in rules
      [WiFi] Feed SW watchdog timer on WiFi related actions that may take time
      [Custom build] Allow DEFAULT_WIFI_INCLUDE_HIDDEN_SSID in Custom.h
      [WiFi] Fix issue where WiFi does not reconnect after disconnect
      [Custom Build] Allow to embed custom CSS
      [Network] Disconnect WiFi when switching to Ethernet
      [WiFi] Allow faster reconnect on lost connection
      [ESPEasy-NOW] Reduce load when not connected to WiFi
      [WiFi] Fix merge issue
      [ESP32 ETH] Add default definition for wESP32 and WT32-ETH01
      [WiFi Setup] Hide password on Setup page ("*****")
      [Customize Build] Allow to disable Node List columns on root page
      [P020 Ser2Net] Re-apply connected event (#3587)
      [CUL Reader] Append timestamp to received messages
      [P039_Thermocouple] Uncrustify
      [P039 ThermoCouple] Cleanup code + allow multiple instances
      [VL53L0X] Include library description used by PIO
      [lib/VL53L0x] Move lib files to lib/VL53L0X/src dir
      [lib/VL53L1X] Include missing files from SparkFun_VL53L1X library
      [PIO build] Use full VL53L0X & VL53L1X names of the libraries in PIO
      [WebUI] Only redirect (used for captive portal) via AP or on clean setup
      [Low Memory] Add some checks on success of reserving memory
      [Low memory] Move strings when possible instead of copy them
      [UDP timeouts] Add timeout on DNS resolve + reset softWDT on UDP connect
      [Setup Page] Fix typo
      [WiFi] Actively purge expired WiFi scan results to free RAM
      [Root page] Allow again sending HTTP commands to reboot
      [CUL reader] Reduce memory usage on log + web stats
      [Memory Usage] Check success memory allocation string type value events
      [CUL Reader] Fix sending received message + timestamp
      Change delay(1) into delay(0) to reduce load
      [WiFi] Fix not able to reconnect if unit immediately disconnects
      [WiFi] Add copy constructor to WiFi_AP_Candidate class
      Fix PLUGIN_WRITE for P020 Set2Net
      [P020_Ser2Net] Fix sendConnectedEvent
      [BME680] Fix elevation compensation + add 2 conversion commands
      [ESP32] Revert back to Espressif32 PIO v 2.1.0 due to serial issues
      [TTN] Add decoders for plugins 102-113 + TTNv3 decoder (#3611)
      [TTNv3] Add selector for TTN stack version
      [TTN] Include all 6 values for P102 PZEM004Tv3

Ton Huisman (70):

      [Merge] Remove (again)
      [TaskValueSet(AndRun)] Use TASKname and/or VARname instead of TASKnr/VARnr
      [TaskValueSet(AndRun)] Minor documentation fixes
      [Task* commands] Add support for TASKname/VARname in addition to TASKnr/VARnr + documentation
      [Documentation] Add TaskValueSetAndRun
      [Task* commands] Fix a few silly typos
      [Task* commands] Some code cleanup
      [Task* commands] Code cleanup and some corrections
      [P110] Move P133 VL53L0X from PluginPlayground to main repository
      [P111] MFRC522 RFID reader moved from PluginPlayground
      [P111] Initialization corrections
      [P110] Add to Custom-sample.h
      [ESP32 MAX] Configuration for ESP32 with 16MB Flash
      [ESP32 MAX] Include in travis build
      [ESP32 MAX] Extend configurations with 2MB and 4MB SPIFFS, 4MB default
      [ESP32 MAX] Enable SD-card support (and fix compilation errors)
      [ESP32 MAX] Add configuration with 1MB SPIFFS
      [ESP32 MAX] Mixed up partitions fixed
      [ESP32 MAX] Switch to LittleFS, only 16M2M and 16M8M configs + ETH
      [ESP32 MAX] Fix build issue, case-sensitive filename
      [EPS32 MAX] Extend logging during configuration save
      ...
Read more

Release mega-20210223

23 Feb 11:54
Compare
Choose a tag to compare
Release mega-20210223 Pre-release
Pre-release

Major changes in WiFi.
See documentation:

Changes in mega-20210223 (since mega-20210114):

Henri de Jong (1):

      Increase buffer size

TD-er (44):

      Use max seen P1 message length to allocate buffer
      [cleanup] Mark "Bitwise:" log as debug log
      [ESP32 PIO] Update to espressif32@2.1.0
      [WiFi] Try to use the strongest known SSID after a scan. (#3463)
      [Build] Fix custom IR build #3469
      [WiFi] Simplify credentials manager
      [WiFi] Fix setup procedure
      [WiFi] Reduce TX power to 17.5 dBm and tune timings + fix mDNS start
      [mDNS ESP32] Fix build issue ESP32 (does not have MDNS.close())
      [WiFi] Allow to limit TX power and make TX power dynamic
      [WiFi] Cleanup code + add settings transition for new parameters
      [WiFi] Make sending at max TX power optional
      [Pulse] Pulse Counter P003 enhancement
      [WiFi] Introduce 2 seconds delay at boot before starting WiFi
      [WiFi] Set sleep mode after switching wifi mode
      [WiFi] Fix build issues on ESP32 (different sleep mode function)
      [WiFi] Change log level of TX power to debug
      [Rules] Fix bug in time parsing (leading 0)
      [Rules] Make parsing numerical a bit more robust
      [Rules] Fix complex time matching
      [Time] Fix tm_mon starting at 0 and tm_year at 1900
      [Time] Cleanup time calculation code
      Rename default variable names in P084 VEML6070 UV
      [Cron] Fix cron resolution + value updates
      Move to UserVar struct to have universal conversion of task variable types
      [P003 Pulse] Revert changes (See #3500)
      Revert "[Rules] Make parsing numerical a bit more robust"
      [PIO] Update to espressif8266@2.6.3
      [PWM] Set PHASE_LOCKED_WAVEFORM for new esp8266/Arduino core
      [WiFi] Fix crash when trying to reconnect while low on memory
      [PIO] Only update tmp files when changed to reduce build time
      safe_strncpy should not crash on FlashStringHelper strings
      [WiFi] Fix WiFi AP candidate from RTC causing crash
      [WiFi] Fix crash when deleting element from empty list
      [WD reboot] Change yield() into delay(0) for network connections
      [Cleanup] Uncrustify Networking.cpp
      [ESPEasy p2p] Add check on buffer allocation  received UDP data
      [MQTT] PubSubClient checks when callback + publish happen simultaneous
      [MQTT] Fix rejecting QoS=0 messages with 0 or 1 byte length
      [ESPEasy p2p] Fix WD reboots due to not initialising array
      [Cleanup] Explicit init UserVar with 0.0f
      [WiFi] Fix bogus RTC settings loaded to connect to WiFi
      [WiFi] Allow spaces in SSID and pass phrase
      automatically updated release notes for mega-20210223

Ton Huisman (26):

      [P050] Additional output settings - Add Color Temperature DN40 calculation - Add Lux calculation - Add Clear output option - Add Normalized RGB calculation
      [P050] Add Normalized sRGB calculation
      [P050] Apply suggested patches to the Adafruit library
      [P050] Minor calculation adjustment, added to TESTING build
      [P050] Adjusted Normalization calculation, added R/G/B Calibration factors
      [P073] Improve display of periods in 7dtext Add 7ddt command (dual temnperatures on Max7219 display)
      [P073] Periods in 7dtext also for TM1637 display
      [P050] Removed unneeded output selection option
      [P037] Options for hide degrees symbol, right align temperature
      [P073] Options currently only applicable for MAX7219
      [P050] Added 3x3 matrix calibration, added opt. event for all values, adjusted device settings
      [P050] Fix missing include
      [P050] Add extra transformation options, fixed a typo
      [P050] Rename Calibration to Transformation, added optional events for RGB values
      [P017] Add options for tag reset, delay and reset event
      [P017] Added documentation explaining the new settings
      [P008] Fix typo in minimal reset timer check
      [P073] Bugfix for 7ddt command being leftshifted by 1
      [P073] Add fonts Siekoo/dSEG7, scrolling text and 7dbin command
      [P073] Optimizations and bugfixes, extra text scroll option
      [P073] Initialization optimizations
      [P073] Optimizations and minor code cleanup
      [Documentation] Update copyright year to 2021
      [P073] Clear scroll text when setting 7dbin data
      [P073] Add documentation
      [P073] Fixed TM1637 mapping bug, moved log to DEBUG level, some source cleanup

sakinit (1):

      Clear error by reading the error register loglevel independent

stefan (4):

      P003 Pulse Microseconds
      P003 µSec backward compatibility
      P003 use micros64()
      P003 use getMicros64() function

Release mega-20210114

14 Jan 22:56
Compare
Choose a tag to compare
Release mega-20210114 Pre-release
Pre-release

Major changes:

  • Added math functions to be used in rules, like log(...), sin(...), etc. See Rules - Math Functions
  • Added logic functions to be used in rules, like bitset, toBin, XOR, AND, OR, etc. See Rules - Logic Functions
  • Removed limit on nr of variables to use for [var#1] and [int#1].
  • Add support for using HEX (0x prefix) and binary (0b prefix) in rules for (unsigned) integer numbers.
  • Fix unparsed elements in MQTT publish topics for status updates from internal commands
  • Increase accuracy of internal formula handling and variables (now using double instead of float)

Changes in mega-20210114 (since mega-20201227):

TD-er (63):

      [Floats] Use proper compare functions to compare float values
      [PVS-Studio] Add braces to some defines to make them more predictable
      [PVS-Studio] Simple hints from PVS-Studio applied
      Fix merge issue as Misc.ino was moved
      Small optimization changing char arrays to char
      Fix merge issues
      Fix missing include for CacheControllerPages
      [Rules] Add operators to convert integer values
      [Docs] Document the effects of external hosted CSS/JS files
      Add ABS function
      [Rules] Add trigonometric functions
      [Rules] Use bitwise operators only on unsigned ints
      Fix build warning
      [Rules] Change order parameters bitwrite
      [Rules] Increase accuracy in Calculate and variables from float to double
      Include P090 CCS811 in the builds again
      Increase accuracy in rules computation by using more decimals
      [Rules] Improve calculation resolution and compares.
      [Build] Reduce build size of OTA builds including new rules operators
      [Build] Move PMSx003 to 'normal' builds
      [Cleanup] Wrap <div> markup in a separate function
      [Cleanup] Reduce build size by replacing addHtml(String(....)) to addHtmlInt
      Restore accidentally removed "Note:" prefix for notes
      [Rules] Parse hex numbers when prefixed with 0x (uint only)
      [Cleanup] Remove String construction with = "";
      [Rules] Allow HEX values in formula, rules, etc.
      [Rules] Change '!' + '=' into '<' + '>' to avoid conflict with '^'
      [Rules] Disable math functions for now to make them more intuitive
      [Serial] Only parse commands from serial when no task uses Serial0
      [PIO] Fix building 'beta' builds toolchain update
      Fix build  issue after merging other PRs
      [Rules] Add support for binary numbers with 0b prefix
      [Rules] Remove limit of nr. of variables
      [Rules] Improve readability of Rules Calculate function
      [Rules] Wrap rules calculation functions in a struct + cleanup
      [Rules] Fix out of bound crash with calculate ending with '=' + cleanup
      [Rules] Add preliminary support for math functions like sqrt, sin, etc.
      [Cleanup] Change typo trimTrailingZeros
      [Rules] Add missing functions (sin/cos etc)
      [Rules] Fix typo on limited size builds
      [Rules] Fix order of parsing "arc" functions
      [Rules] use parseString on string operation commands
      [Rules] Add some basic math functions + documentation
      [MQTT] Fix status update over MQTT for internal commands
      [MQTT] Also strip %valname% in topic if task index is invalid
      [MQTT] Small optimizations in parsing publish topics
      [Rules] Add option to each task to combine all values in a single event
      [MQTT] Fix remove of '//' in topic
      [Rules] Add hint about changed event when combining all event values
      [Cleanup] Uncrustify changed files of this PR
      [Cleanup] Fix issues compile caused by uncrustify
      [Minimal OTA] Make minimal OTA build fit again
      Fix build issue on ESP32
      Accidentally removed C013 from the minimal OTA build
      [JSON] Fix a bug in generated JSON, not wrapping '00' as a string
      [Build] Reduce build size for minimal OTA builds
      [Logs] Format task values in logs with set nr of decimals
      [Cleanup] Fix MDNS builds on ESP32 and reduce minimal OTA build size
      [ESP32] Fix build issue due to missing include
      [Build] ESP32 factory bin files are 64k larger so don't reject those
      [Build] Rename test_ESP32_4M316k_lolin_d32_pro to match build script checks
      [ESP32] Increase DEVICES_MAX for ESP32 builds (> 85 plugins in build)
      automatically updated release notes for mega-20210114

Ton Huisman (13):

      [P023] Fix merge conflict
      [Commands] Improvements, refactoring and added feature of [<TaskNumber>]. prefix
      [Docs] Updated for [<TaskNumber>]. prefix
      [Checks] Don't allow numeric (float) device name
      [TaskName] Define is no longer available
      [P090] Re-enable plugin for TESTING  build
      [P008] Wiegand add options for Tag removal
      [P073] Display a zero-prefix for temperatures between 0.9 and -0.9
      [Commands] Add global `[<TaskName>].` prefix for all PLUGIN_WRITE commands
      [Commands] Remove local taskname-prefix impl., exclude P022
      [Commands] Remove requirement for [ and ] on <TaskName>. prefix
      [Commands] Improve documentation on [<TaskName>]. prefixing
      [Commands] Add extra safeguard check for DeviceIndex