Merge branch 'mega' into feature/P065-add-mode-and-repeat-commands

This commit is contained in:
TD-er
2021-05-03 00:35:03 +02:00
committed by GitHub
23 changed files with 675 additions and 158 deletions
+92 -15
View File
@@ -1,6 +1,6 @@
|Latest Nightly | Build Status | Downloads | Docs | Patreon | Ko-Fi | PayPal |
|-------|-------|-------|-------|-------|-------|-------|
| [![GitHub version](https://img.shields.io/github/release/letscontrolit/ESPEasy/all.svg)](https://github.com/letscontrolit/ESPEasy/releases/latest) | [![Build Status](https://travis-ci.org/letscontrolit/ESPEasy.svg?branch=mega)](https://travis-ci.org/letscontrolit/ESPEasy) | [![Downloads](https://img.shields.io/github/downloads/letscontrolit/ESPEasy/total.svg)](https://github.com/letscontrolit/ESPEasy/releases) | [![Documentation Status](https://readthedocs.org/projects/espeasy/badge/?version=latest)](https://espeasy.readthedocs.io/en/latest/?badge=latest) | [![donate](https://img.shields.io/badge/donate-Patreon-blue.svg)](https://www.patreon.com/GrovkillenTDer) | [![donate](https://img.shields.io/badge/donate-KoFi-blue.svg)](https://ko-fi.com/grovkillentder) | [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.me/espeasy) |
| [![GitHub version](https://img.shields.io/github/release/letscontrolit/ESPEasy/all.svg)](https://github.com/letscontrolit/ESPEasy/releases/latest) | ![Build status](https://github.com/letscontrolit/ESPEasy/actions/workflows/build.yml/badge.svg) | [![Downloads](https://img.shields.io/github/downloads/letscontrolit/ESPEasy/total.svg)](https://github.com/letscontrolit/ESPEasy/releases) | [![Documentation Status](https://readthedocs.org/projects/espeasy/badge/?version=latest)](https://espeasy.readthedocs.io/en/latest/?badge=latest) | [![donate](https://img.shields.io/badge/donate-Patreon-blue.svg)](https://www.patreon.com/GrovkillenTDer) | [![donate](https://img.shields.io/badge/donate-KoFi-blue.svg)](https://ko-fi.com/grovkillentder) | [![donate](https://img.shields.io/badge/donate-PayPal-blue.svg)](https://www.paypal.me/espeasy) |
For ways to *support* us, see [this announcement on the forum](https://www.letscontrolit.com/forum/viewtopic.php?f=14&t=5787), or have a look at the [Patreon](https://www.patreon.com/GrovkillenTDer), [Ko-Fi](https://ko-fi.com/grovkillentder) or [PayPal](https://www.paypal.me/espeasy) links above.
@@ -16,25 +16,102 @@ Introduction and wiki: https://www.letscontrolit.com/wiki/index.php/ESPEasy#Intr
Check here to learn how to use this branch and help us improving ESPEasy: http://www.letscontrolit.com/wiki/index.php/ESPEasy#Source_code_development
## Automated binary releases
## Binary releases
Every night our build-bot will build a new binary release: https://github.com/letscontrolit/ESPEasy/releases
On demand, controlled by the repo owner, our build-bot will build a new binary release: https://github.com/letscontrolit/ESPEasy/releases
The releases are named something like 'mega-20190225' (last number is the build date)
The releases are named something like 'mega-20210501' (last number is the build date)
Depending on your needs, we release different types of files:
Firmware name | Hardware | Included plugins |
----------------------------------------------|-------------------------|-----------------------------|
ESPEasy_mega-20190225_normal_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable + Test + Development |
ESPEasy_mega-20190225_normal_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8266_4M.bin | ESP8266 with 4MB flash | Stable + Test + Development |
ESPEasy_mega-20190225_normal_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable |
ESPEasy_mega-20190225_test_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable + Test |
ESPEasy_mega-20190225_dev_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable + Test + Development |
The name is built up from a few key parts:
ESPEasy_mega\__[releasedate]_\__[build-type]_\__[opt-arduino-library]_\__[hardware-type]_\__[flash-size]__[filesystem-size]_\__[opt-build-features]_.bin
_[build-type]_ can be any of:
Build type | Description | included plugins |
------------|-------------------------------------------|--------------------------------|
custom | Custom predefined set/Defined in Custom.h | Specific |
normal | Standard plugins | Stable |
test_A | Normal + test set A | Stable + Testing base + set A |
test_B | Normal + test set B | Stable + Testing base + set B |
test_C | Normal + test set C | Stable + Testing base + set C |
test_D | Normal + test set D | Stable + Testing base + set D |
max | All available plugins | All available |
energy | All plugins related to energy measurement | Stable + Energy measurement |
display | All plugins related to displays | Stable + Displays |
hard | hardware specific builds | Minimal |
minimal | minimal plugins for specific use-cases | Switch and Controller |
spec_* | specialized technical builds | Not intended for regular use |
IRext | Infra-red hardware specific | Sending and receiving IR cmd |
_[opt-arduino-library]_ (optional) can be any of:
Arduino library | Description |
----------------|------------------------------------|
alt_wifi | Alternative WiFi configuration |
beta | Arduino Beta release |
sdk3 | Arduino SDK v.3 |
core_274 | Arduino Core 2.7.4 release |
core_274_sdk3 | Arduino Core 2.7.4 SDK v.3 release |
_[hardware-type]_ cn be any of:
Hardware type | Description |
-----------------|---------------------------------------------|
ESP8266 | Espressif ESP8266 generic boards |
ESP8285 | Espressif ESP8285 generic boards 1MB Flash |
WROOM02 | Espressif ESP8266 WRoom02 boards |
ESP32 | Espressif ESP32 generic boards |
ESP32-wrover-kit | Espressif ESP32 wrover-kit boards |
SONOFF | Sonoff hardware specific |
other_POW | Switch with power measurement |
Shelly_1 | Shelly 1 switch |
Shelly_PLUG_S | Shelly plug S switch with power measurement |
Ventus | Ventus W266 weather station |
LCtech | LC-tech serial switch |
_[flash-size]_ can be any of:
Flash size | Description |
-----------|-----------------------------|
1M | 1 MB with 128 kB filesystem |
2M | 2 MB with 128 kB filesystem |
2M256 | 2 MB with 256 kB filesystem |
4M1M | 4 MB with 1 MB filesystem |
4M2M | 4 MB with 2 MB filesystem |
16M | 16 MB with 14 MB filesystem |
4M316k | 4 MB with 316 kB filesystem |
16M1M | 16 MB with 1 MB filesystem |
16M2M | 16 MB with 2 MB filesystem |
16M8M | 16 MB with 8 MB filesystem |
_[opt-build-features]_ can be any of:
Build features | Description |
----------------|--------------------------------------------------------------------------|
LittleFS | Use LittleFS instead of SPIFFS filesystem (SPIFFS is unstable \> 2 MB) |
VCC | Analog input configured to measure VCC voltage |
OTA | Arduino OTA (Over The Air) update feature enabled |
Domoticz | Only Domoticz controllers (HTTP+MQTT) and plugins included |
FHEM_HA | Only FHEM/OpenHAB/Home Assistant (MQTT) controllers and plugins included |
lolin_d32_pro | Specific Lolin hardware options enabled |
ETH | Ethernet interface enabled (ESP32 only) |
Some example firmware names:
Firmware name | Hardware | Included plugins |
---------------------------------------------------|-------------------------|-------------------------------|
ESPEasy_mega-20210501_normal_ESP8266_1M.bin | ESP8266 with 1MB flash | Stable |
ESPEasy_mega-20210501_normal_ESP8285_1M.bin | ESP8285 with 1MB flash | Stable |
ESPEasy_mega-20210501_normal_ESP8266_4M1M.bin | ESP8266 with 4MB flash | Stable |
ESPEasy_mega-20210501_test_A_ESP8266_4M1M.bin | ESP8266 with 4MB flash | Stable + Testing base + set A |
ESPEasy_mega-20210501_normal_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable |
ESPEasy_mega-20210501_test_A_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable + Testing base + set A |
ESPEasy_mega-20210501_test_B_ESP32_4M316k.bin | ESP32 with 4MB flash | Stable + Testing base + set B |
ESPEasy_mega-20210501_max_ESP32_16M1M.bin | ESP32 with 16MB flash | All available plugins |
ESPEasy_mega-20210501_max_ESP32_16M8M_LittleFS.bin | ESP32 with 16MB flash | All available plugins |
To see what plugins are included in which testing set, you can find that on the [ESPEasy Plugin overview page](https://espeasy.readthedocs.io/en/latest/Plugin/_Plugin.html)
## Documentation & more info
+1 -1
View File
@@ -87,7 +87,7 @@ Locate the file ``platform.txt`` in the esp8266 platform directory of ArduinoIDE
The exact location depends on the installation, usually in a directory below the main application called ``hardware/esp8266.com/``.
In the same directory add an (untraced) file called ``platform.local.txt`` with the following lines:
In the same directory add an (untracked) file called ``platform.local.txt`` with the following lines:
.. code-block:: none
+11 -4
View File
@@ -80,6 +80,7 @@ Optional:
* All Autocomplete (by Atishay Jain)
* Excel Viewer (by GrapeCity)
* esbonio - An extension for editing sphinx projects (by Swyddfa)
* Markdown All in One (by Yu Zhang)
Uncrustify
@@ -115,6 +116,7 @@ An environment entry has several tasks, like:
* Upload
* Monitor
* Upload and Monitor
* Clean
* ... many more.
Some of these options only are available when you have registered with PlatformIO and some are only for paid subscriptions.
@@ -124,26 +126,31 @@ The environment definitions all have at least the used micro controller in the n
For example:
* ..._ESP8266_4M -> ESP8266 has external flash, which can vary in size from 512 kB to 16 MB.
* ..._ESP8266_4Mnn -> ESP8266 has external flash, which can vary in size from 512 kB to 16 MB, with nn configured as filesystem.
* ..._ESP8285_1M -> ESP8285 has the flash internal, so is always 1 MB.
* ..._ESP32_4M316k -> ESP32 with 4 MB flash and a 1.8 MB partition for the sketch. (316k SPIFFS)
* ..._ESP32_16M2M -> ESP32 with 16 MB flash and a 4 MB partition for the sketch. (2MB LittleFS)
Make a custom build using PlatformIO
------------------------------------
The easiest is to go for the environment "env:custom_ESP8266_4M" and unfold that one.
The easiest is to go for the environment "custom_ESP8266_4M1M" and unfold that one.
Then select "Build" to see if it will start building.
If that's working, you can open the file "pre_extra_script.py" and add or remove the plugins and controllers you need.
That Python file is used in the "env:custom_ESP8266_4M" to define what should be embedded and what not.
If that's working, you can open the file "pre_custom_esp8266.py" and add or remove the plugins and controllers you need.
That Python file is used in the "env:custom_ESP8266_4M1M" (or any "custom" build environment) to define what should be embedded and what not.
For example to have only the controller "C014", you can remove "CONTROLLER_SET_ALL", and just add "USES_C014",
The same for the plugins you need.
The file is built in the ".pio/build/...." directory right under the main repository directory (the one with the platformio.ini in it)
Instead of modifying "pre_custom_esp8266.py" (or "pre_custom_esp32.py" for that matter), one can also copy "src/Custom-sample.h" to "src/Custom.h" and make the desired changed in this file. This file is excluded from Github, so can be adjusted to your own requirements. When the Custom.h file is there (mind the uppercase C!), it will be used by the build scripts instead of the defaults set by "pre_custom_esp8266.py" (or "pre_custom_esp32.py").
All builds will be made in a directory with the same name as the environment used.
Once the build is successful, the .bin file(s) and .bin.gz file (where applicable) are copied to the ``build_output/bin`` folder.
Upload to ESP
+43 -13
View File
@@ -23,8 +23,8 @@ Below a list of the most important directories and files used in this project.
* ``static/`` Static files we use in ESPEasy, like CSS/JS/ICO files.
* ``test/`` Test scripts to be used in the continous integration process.
* ``tools/`` Tools to help build ESPeasy.
* ``tools/pio/pre_custom_esp32.py`` Python helper script for building custom ESP32 binary
* ``tools/pio/pre_extra_script.py`` Python helper script for building custom ESP8266 binary
* ``tools/pio/pre_custom_esp32.py`` Python helper script for building custom ESP32 binary.
* ``tools/pio/pre_custom_esp8266.py`` Python helper script for building custom ESP8266 binary.
* ``venv/`` Directory to store the used Python Virtual Environment. (Ignored by Git)
* ``platformio.ini`` Configuration file for PlatformIO to define various build setups.
* ``uncrustify.cfg`` Configuration file for Uncrustify, to format source code using some uniform formatting rules.
@@ -50,9 +50,15 @@ The header and source files are organized in a few directories in ``src/src/``.
* ``Commands`` Functions to process commands.
* ``ControllerQueue`` Mainly macro definitions for the queue system used by controllers.
* ``CustomBuild`` Header files for defining the ESPEasy project defaults and enabled plugins.
* ``DataStructs`` Data structures used in ESPEasy. Note that some of them are stored in settings files, so take care when changing them.
* ``DataTypes`` Definitions for data types used.
* ``ESPEasyCore`` Core functionality of ESPEasy, managing controllers, plugins, networking, rules, etc.
* ``Globals`` Declaration of global variables. Declare them using ``extern`` in .h files and construct them in .cpp files or else you may end up with several instances of the same object with the same name.
* ``Helpers`` Shared helper classes and functions.
* ``PluginStructs`` Data and code structs per plugin, to lower memory footprint split into separated source files.
* ``Static`` C++ encoded version of objects which have to be included in the binary. N.B. JS and CSS files are minified.
* ``WebServer`` Sources for web handling remote command processing and UI.
The Arduino based .ino files are still in the ``src/`` directory. (and some .h files, which are not yet moved)
@@ -79,7 +85,7 @@ We have 2 main build platforms:
For these platforms we also have a lot of different build setups.
The filename is quite descriptive:
ESP_Easy_mega-<date>_<buildType>_<chip>_<memorySize>.bin
ESP_Easy_mega-<date>_<buildType>_<chip>_<memorySize>_<build-options>.bin
Build Type
----------
@@ -87,15 +93,15 @@ Build Type
Build type can be: (differ in included plugins)
* normal => Only Stable plugins and controllers
* test => Stable + Testing
* dev => Stable + Testing + Development
* test => Stable + Testing (split into multiple sets, A/B/C/D)
* max => All available plugins
There is also a number of special builds:
* normal_IR => "Normal" + IR receiver/transmitter plugins and library
* hard_xxxxx => Special builds for some off-the-shelf hardware.
* minimal_ESP82xx_1M_OTA => Minimum number of plugins and a limited set of controllers included to be able to perform a 2-step OTA on 1 MB flash nodes.
* normal_core_xxx => "Normal" using core xxx (e.g. 2.6.3)
* normal_core_xxx => "Normal" using core xxx (e.g. 2.7.4)
* normal_beta => "Normal" using the staged (beta) branch of the esp8266/Arduino repository.
ESP Chip Type
@@ -111,7 +117,25 @@ Memory Size and Partitioning
* ``1M`` 1 MB flash modules (e.g. almost all Sonoff modules)
* ``2M`` 2 MB flash modules (e.g. Shelly1/WROOM02)
* ``4M`` 4 MB flash modules (e.g. NodeMCU/ESP32)
* ``16M`` 16 MB flash modules (e.g. Wemos D1 mini pro)
* ``16M`` 16 MB flash modules (e.g. Wemos D1 mini pro) (has 14 MB LittleFS filesystem, as SPIFFS is unstable > 2 MB)
* ``4M1M`` 4 MB flash modules with 1 MB filesystem (usually SPIFFS)
* ``4M2M`` 4 MB flash modules with 2 MB filesystem (usually SPIFFS)
* ``4M316k`` 4 MB flash modules using 1.8 MB sketch size, with 316 kB filesystem (usually SPIFFS) (for ESP32)
* ``16M1M`` 16 MB flash modules using 4MB sketch size, with 1 MB filesystem (usually SPIFFS) (ESP32 only a.t.m.)
* ``16M2M`` 16 MB flash modules using 4MB sketch size, with 2 MB filesystem (LittleFS) (ESP32 only a.t.m.)
* ``16M8M`` 16 MB flash modules using 4MB sketch size, with 8 MB filesystem (LittleFS) (ESP32 only a.t.m.)
Optional build options
----------------------
* ``LittleFS`` Use LittleFS instead of SPIFFS filesystem (SPIFFS is unstable > 2 MB)
* ``VCC`` Analog input configured to measure VCC voltage
* ``OTA`` Arduino OTA (Over The Air) update feature enabled
* ``Domoticz`` Only Domoticz controllers (HTTP+MQTT) and plugins included
* ``FHEM_HA`` Only FHEM/OpenHAB/Home Assistant (MQTT) controllers and plugins included
* ``lolin_d32_pro`` Specific Lolin hardware options enabled
* ``ETH`` Ethernet interface enabled (ESP32 only)
Please note that the performance of 14MB SPIFFS (16M flash modules) is really slow.
All file access takes a lot longer and since the settings are also read from flash, the entire node will perform slower.
@@ -150,16 +174,22 @@ This also means we still need to update the 2-step updater to support .bin.gz fi
ESP32 builds
------------
There are 3 builds for ESP32:
There are several builds for ESP32:
* ``normal_ESP32_4M316k`` Build using the "stable" set of plugins for ESP32
* ``normal_ESP32_4M316k_ETH`` Build using the "stable" set of plugins for ESP32, with support for an on-board Ethernet controller
* ``custom_ESP32_4M316k`` Build template using either the plugin set defined in ``Custom.h`` or ``tools/pio/pre_custom_esp32.py``
* ``test_ESP32_4M316k`` Build using the "testing" set of plugins for ESP32
* ``test_ESP32-wrover-kit_4M316k`` A build for ESP32 including build flags for the official WRover test kit.
* ``test_A_ESP32_4M316k`` Build using the "testing" set "A" of plugins for ESP32
* ``test_B_ESP32_4M316k`` Build using the "testing" set "B" of plugins for ESP32
* ``test_C_ESP32_4M316k`` Build using the "testing" set "C" of plugins for ESP32
* ``test_D_ESP32_4M316k`` Build using the "testing" set "D" of plugins for ESP32
* ``test_A_ESP32-wrover-kit_4M316k`` A build for ESP32 including build flags for the official WRover test kit.
* ``max_ESP32_16M8M_LittleFS`` Build using all available plugins and controllers for ESP32 with 16 MB flash (some lolin_d32_pro boards)
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build:
Since ESP32 does have its flash partitioned in several blocks, we have 2 bin files of each ESP32 build, f.e.:
* ``test_ESP32_4M316k.bin`` Use for OTA upgrades.
* ``test_ESP32_4M316k-factory.bin`` Use on clean nodes as initial inistall.
* ``test_D_ESP32_4M316k.bin`` Use for OTA upgrades.
* ``test_D_ESP32_4M316k-factory.bin`` Use on clean nodes as initial inistall.
The binary with ``-factory`` in the name must be flashed on a new node, via the serial interface of the board.
This flash must be started at address 0.
+8 -4
View File
@@ -11,16 +11,20 @@ the core operating system. You can use as many plugins as you available tasks.
List of official plugins
========================
There's three different released versions of ESP Easy:
There are different released versions of ESP Easy:
:green:`NORMAL` is the stable release, you can consider these plugins reliable and you can use these in production.
:yellow:`TESTING` is the release with new plugins that have not yet been fully tested and proven stable.
:yellow:`TESTING` (split into A/B/C/D sets) with new plugins that have not yet been fully tested and proven stable. Because of space limitations, this is split into 4 sets. When only TESTING is mentioned, the plugin is available in all TESTING builds.
:red:`DEVELOPMENT` is used for plugins that are still being developed and are not considered stable at all.
.. comment :red:`DEVELOPMENT` is used for plugins that are still being developed and are not considered stable at all.
:yellow:`ENERGY` :yellow:`DISPLAY` are specialized builds holding all Energy- and Display- related plugins.
:yellow:`MAX` is the build that has all plugins that are available in the ESPEasy repository. Only available for ESP32 16MB Flash units.
.. csv-table::
:header: "Plugin name", "Plugin status", "Plugin number"
:header: "Plugin name", "Build set", "Plugin number"
:widths: 10, 8, 5
":ref:`P000_page`","|P000_status|","P000 (core)"
@@ -28,7 +28,7 @@
.. |P012_type| replace:: :cyan:`Display`
.. |P012_typename| replace:: :cyan:`Display - LCD2004`
.. |P012_porttype| replace:: `.`
.. |P012_status| replace:: :green:`NORMAL`
.. |P012_status| replace:: :green:`DISPLAY, NORMAL`
.. |P012_github| replace:: P012_LCD.ino
.. _P012_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P012_LCD.ino
.. |P012_usedby| replace:: `.`
@@ -41,7 +41,7 @@
.. |P023_type| replace:: :cyan:`Display`
.. |P023_typename| replace:: :cyan:`Display - OLED SSD1306`
.. |P023_porttype| replace:: `.`
.. |P023_status| replace:: :green:`NORMAL`
.. |P023_status| replace:: :green:`DISPLAY, NORMAL`
.. |P023_github| replace:: P023_OLED.ino
.. _P023_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P023_OLED.ino
.. |P023_usedby| replace:: `.`
@@ -67,7 +67,7 @@
.. |P025_type| replace:: :cyan:`Analog input`
.. |P025_typename| replace:: :cyan:`Analog input - ADS1115`
.. |P025_porttype| replace:: `.`
.. |P025_status| replace:: :green:`NORMAL`
.. |P025_status| replace:: :green:`ENERGY, NORMAL`
.. |P025_github| replace:: P025_ADS1115.ino
.. _P025_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P025_ADS1115.ino
.. |P025_usedby| replace:: `.`
@@ -93,7 +93,7 @@
.. |P027_type| replace:: :cyan:`Energy (DC)`
.. |P027_typename| replace:: :cyan:`Energy (DC) - INA219`
.. |P027_porttype| replace:: `.`
.. |P027_status| replace:: :green:`NORMAL`
.. |P027_status| replace:: :green:`ENERGY, NORMAL`
.. |P027_github| replace:: P027_INA219.ino
.. _P027_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P027_INA219.ino
.. |P027_usedby| replace:: `.`
@@ -80,7 +80,7 @@
.. |P036_type| replace:: :cyan:`Display`
.. |P036_typename| replace:: :cyan:`Display - OLED SSD1306/SH1106 Framed`
.. |P036_porttype| replace:: `.`
.. |P036_status| replace:: :green:`NORMAL`
.. |P036_status| replace:: :green:`DISPLAY, NORMAL`
.. |P036_github| replace:: P036_FrameOLED.ino
.. _P036_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P036_FrameOLED.ino
.. |P036_usedby| replace:: `.`
@@ -106,7 +106,7 @@
.. |P038_type| replace:: :cyan:`Output`
.. |P038_typename| replace:: :cyan:`Output - NeoPixel (Basic)`
.. |P038_porttype| replace:: `.`
.. |P038_status| replace:: :green:`NORMAL`
.. |P038_status| replace:: :green:`DISPLAY, NORMAL`
.. |P038_github| replace:: P038_NeoPixel.ino
.. _P038_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P038_NeoPixel.ino
.. |P038_usedby| replace:: `.`
@@ -15,7 +15,7 @@
.. |P041_type| replace:: :cyan:`Output`
.. |P041_typename| replace:: :cyan:`Output - NeoPixel (Word Clock)`
.. |P041_porttype| replace:: `.`
.. |P041_status| replace:: :green:`NORMAL`
.. |P041_status| replace:: :green:`DISPLAY, NORMAL`
.. |P041_github| replace:: P041_NeoClock.ino
.. _P041_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P041_NeoClock.ino
.. |P041_usedby| replace:: `.`
@@ -28,7 +28,7 @@
.. |P042_type| replace:: :cyan:`Output`
.. |P042_typename| replace:: :cyan:`Output - NeoPixel (Candle)`
.. |P042_porttype| replace:: `.`
.. |P042_status| replace:: :green:`NORMAL`
.. |P042_status| replace:: :green:`DISPLAY, NORMAL`
.. |P042_github| replace:: P042_Candle.ino
.. _P042_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P042_Candle.ino
.. |P042_usedby| replace:: `.`
@@ -93,7 +93,7 @@
.. |P057_type| replace:: :cyan:`Display`
.. |P057_typename| replace:: :cyan:`Display - HT16K33`
.. |P057_porttype| replace:: `.`
.. |P057_status| replace:: :yellow:`TESTING`
.. |P057_status| replace:: :yellow:`DISPLAY, TESTING`
.. |P057_github| replace:: P057_HT16K33_LED.ino
.. _P057_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P057_HT16K33_LED.ino
.. |P057_usedby| replace:: `.`
@@ -54,7 +54,7 @@
.. |P064_type| replace:: :cyan:`Gesture`
.. |P064_typename| replace:: :cyan:`Gesture - APDS9960`
.. |P064_porttype| replace:: `.`
.. |P064_status| replace:: :red:`DEVELOPMENT`
.. |P064_status| replace:: :yellow:`TESTING`
.. |P064_github| replace:: P064_APDS9960.ino
.. _P064_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P064_APDS9960.ino
.. |P064_usedby| replace:: `.`
@@ -93,7 +93,7 @@
.. |P067_type| replace:: :cyan:`Weight`
.. |P067_typename| replace:: :cyan:`Weight - HX711 Load Cell`
.. |P067_porttype| replace:: `.`
.. |P067_status| replace:: :yellow:`TESTING`
.. |P067_status| replace:: :yellow:`TESTING A`
.. |P067_github| replace:: P067_HX711_Load_Cell.ino
.. _P067_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P067_HX711_Load_Cell.ino
.. |P067_usedby| replace:: `.`
@@ -106,7 +106,7 @@
.. |P068_type| replace:: :cyan:`Environment`
.. |P068_typename| replace:: :cyan:`Environment - SHT30/31/35`
.. |P068_porttype| replace:: `.`
.. |P068_status| replace:: :yellow:`TESTING`
.. |P068_status| replace:: :yellow:`TESTING A`
.. |P068_github| replace:: P068_SHT3x.ino
.. _P068_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P068_SHT3x.ino
.. |P068_usedby| replace:: `.`
@@ -119,7 +119,7 @@
.. |P069_type| replace:: :cyan:`Environment`
.. |P069_typename| replace:: :cyan:`Environment - LM75A`
.. |P069_porttype| replace:: `.`
.. |P069_status| replace:: :yellow:`TESTING`
.. |P069_status| replace:: :yellow:`TESTING B`
.. |P069_github| replace:: P069_LM75A.ino
.. _P069_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P069_LM75A.ino
.. |P069_usedby| replace:: `.`
@@ -3,7 +3,7 @@
.. |P070_type| replace:: :cyan:`Output`
.. |P070_typename| replace:: :cyan:`Output - NeoPixel Ring Clock`
.. |P070_porttype| replace:: `.`
.. |P070_status| replace:: :yellow:`TESTING`
.. |P070_status| replace:: :yellow:`DISPLAY, TESTING A`
.. |P070_github| replace:: P070_NeoPixel_Clock.ino
.. _P070_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P070_NeoPixel_Clock.ino
.. |P070_usedby| replace:: `.`
@@ -16,7 +16,7 @@
.. |P071_type| replace:: :cyan:`Communication`
.. |P071_typename| replace:: :cyan:`Communication - Kamstrup Multical 401`
.. |P071_porttype| replace:: `Serial`
.. |P071_status| replace:: :yellow:`TESTING`
.. |P071_status| replace:: :yellow:`TESTING A`
.. |P071_github| replace:: P071_Kamstrup401.ino
.. _P071_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P071_Kamstrup401.ino
.. |P071_usedby| replace:: `.`
@@ -29,7 +29,7 @@
.. |P072_type| replace:: :cyan:`Environment`
.. |P072_typename| replace:: :cyan:`Environment - HDC1080 (I2C)`
.. |P072_porttype| replace:: `.`
.. |P072_status| replace:: :yellow:`TESTING`
.. |P072_status| replace:: :yellow:`TESTING A`
.. |P072_github| replace:: P072_HDC1080.ino
.. _P072_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P072_HDC1080.ino
.. |P072_usedby| replace:: `.`
@@ -55,7 +55,7 @@
.. |P074_type| replace:: :cyan:`Light/Lux`
.. |P074_typename| replace:: :cyan:`Light/Lux - TSL2591`
.. |P074_porttype| replace:: `Serial`
.. |P074_status| replace:: :yellow:`TESTING`
.. |P074_status| replace:: :yellow:`TESTING A`
.. |P074_github| replace:: P074_TSL2591.ino
.. _P074_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P074_TSL2591.ino
.. |P074_usedby| replace:: `.`
@@ -68,7 +68,7 @@
.. |P075_type| replace:: :cyan:`Display`
.. |P075_typename| replace:: :cyan:`Display - Nextion`
.. |P075_porttype| replace:: `.`
.. |P075_status| replace:: :yellow:`TESTING`
.. |P075_status| replace:: :yellow:`DISPLAY, TESTING`
.. |P075_github| replace:: P075_Nextion.ino
.. _P075_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P075_Nextion.ino
.. |P075_usedby| replace:: `.`
@@ -81,7 +81,7 @@
.. |P076_type| replace:: :cyan:`Energy (AC)`
.. |P076_typename| replace:: :cyan:`Energy (AC) - HLW8012/BL0937`
.. |P076_porttype| replace:: `.`
.. |P076_status| replace:: :yellow:`TESTING`
.. |P076_status| replace:: :yellow:`ENERGY`
.. |P076_github| replace:: P076_HLW8012.ino
.. _P076_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P076_HLW8012.ino
.. |P076_usedby| replace:: Sonoff POW (r1), Huafan SS, KMC 70011, Aplic WDP303075, SK03 Outdoor, BlitzWolf SHP, Teckin, Teckin US, Gosund SP1 v23
@@ -94,7 +94,7 @@
.. |P077_type| replace:: :cyan:`Energy (AC)`
.. |P077_typename| replace:: :cyan:`Energy (AC) - CSE7766`
.. |P077_porttype| replace:: `.`
.. |P077_status| replace:: :yellow:`TESTING`
.. |P077_status| replace:: :yellow:`ENERGY`
.. |P077_github| replace:: P077_CSE7766.ino
.. _P077_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P077_CSE7766.ino
.. |P077_usedby| replace:: `.`
@@ -107,7 +107,7 @@
.. |P078_type| replace:: :cyan:`Energy (AC)`
.. |P078_typename| replace:: :cyan:`Energy (AC) - Eastron SDM120C/220T/230/630`
.. |P078_porttype| replace:: `Serial`
.. |P078_status| replace:: :yellow:`TESTING`
.. |P078_status| replace:: :yellow:`ENERGY`
.. |P078_github| replace:: P078_Eastron.ino
.. _P078_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P078_Eastron.ino
.. |P078_usedby| replace:: `.`
@@ -2,7 +2,7 @@
.. |P080_type| replace:: :cyan:`Switch input`
.. |P080_typename| replace:: :cyan:`Switch input - iButton`
.. |P080_porttype| replace:: `.`
.. |P080_status| replace:: :yellow:`TESTING`
.. |P080_status| replace:: :yellow:`TESTING A`
.. |P080_github| replace:: P080_DallasIButton.ino
.. _P080_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P080_DallasIButton.ino
.. |P080_usedby| replace:: `.`
@@ -41,7 +41,7 @@
.. |P083_type| replace:: :cyan:`Gasses`
.. |P083_typename| replace:: :cyan:`Gasses - SGP30`
.. |P083_porttype| replace:: `.`
.. |P083_status| replace:: :yellow:`TESTING`
.. |P083_status| replace:: :yellow:`TESTING A`
.. |P083_github| replace:: P083_SGP30.ino
.. _P083_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P083_SGP30.ino
.. |P083_usedby| replace:: `.`
@@ -54,7 +54,7 @@
.. |P084_type| replace:: :cyan:`UV`
.. |P084_typename| replace:: :cyan:`UV - VEML6070`
.. |P084_porttype| replace:: `.`
.. |P084_status| replace:: :yellow:`TESTING`
.. |P084_status| replace:: :yellow:`TESTING A`
.. |P084_github| replace:: P084_VEML6070.ino
.. _P084_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P084_VEML6070.ino
.. |P084_usedby| replace:: `.`
@@ -67,7 +67,7 @@
.. |P085_type| replace:: :cyan:`Energy (DC)`
.. |P085_typename| replace:: :cyan:`Energy (DC) - AcuDC243`
.. |P085_porttype| replace:: `Serial`
.. |P085_status| replace:: :yellow:`TESTING`
.. |P085_status| replace:: :yellow:`ENERGY, TESTING C`
.. |P085_github| replace:: P085_AcuDC243.ino
.. _P085_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P085_AcuDC243.ino
.. |P085_usedby| replace:: `.`
@@ -80,7 +80,7 @@
.. |P086_type| replace:: :cyan:`Generic`
.. |P086_typename| replace:: :cyan:`Generic - Homie receiver`
.. |P086_porttype| replace:: `.`
.. |P086_status| replace:: :yellow:`TESTING`
.. |P086_status| replace:: :yellow:`TESTING A`
.. |P086_github| replace:: P086_Homie.ino
.. _P086_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P086_Homie.ino
.. |P086_usedby| replace:: `.`
@@ -93,7 +93,7 @@
.. |P087_type| replace:: :cyan:`Communication`
.. |P087_typename| replace:: :cyan:`Communication - SerialProxy`
.. |P087_porttype| replace:: `Serial`
.. |P087_status| replace:: :yellow:`TESTING`
.. |P087_status| replace:: :yellow:`TESTING C`
.. |P087_github| replace:: P087_SerialProxy.ino
.. _P087_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P087_SerialProxy.ino
.. |P087_usedby| replace:: `.`
@@ -2,7 +2,7 @@
.. |P090_type| replace:: :cyan:`Gases`
.. |P090_typename| replace:: :cyan:`Gases - CCS811 TVOC/eCO2`
.. |P090_porttype| replace:: `.`
.. |P090_status| replace:: :yellow:`TESTING`
.. |P090_status| replace:: :yellow:`TESTING A`
.. |P090_github| replace:: P090_CCS811.ino
.. _P090_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P090_CCS811.ino
.. |P090_usedby| replace:: `.`
@@ -14,7 +14,7 @@
.. |P091_name| replace:: :cyan:`Serial MCU controlled switch`
.. |P091_type| replace:: :cyan:`Gases`
.. |P091_typename| replace:: :cyan:`Switch input - Serial MCU controlled switch`
.. |P091_status| replace:: :yellow:`TESTING`
.. |P091_status| replace:: :yellow:`TESTING C`
.. |P091_github| replace:: P091_SerSwitch.ino
.. _P091_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P091_SerSwitch.ino
.. |P091_usedby| replace:: `.`
@@ -26,7 +26,7 @@
.. |P092_name| replace:: :cyan:`DL-Bus (Technische Alternative)`
.. |P092_type| replace:: :cyan:`Heating`
.. |P092_typename| replace:: :cyan:`Heating - DL-Bus (Technische Alternative)`
.. |P092_status| replace:: :yellow:`TESTING`
.. |P092_status| replace:: :yellow:`TESTING C`
.. |P092_github| replace:: P092_DLbus.ino
.. _P092_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P092_DLbus.ino
.. |P092_usedby| replace:: `.`
@@ -38,7 +38,7 @@
.. |P093_name| replace:: :cyan:`Mitsubishi Heat Pump`
.. |P093_type| replace:: :cyan:`Energy (Heat)`
.. |P093_typename| replace:: :cyan:`Energy (Heat) - Mitsubishi Heat Pump`
.. |P093_status| replace:: :yellow:`TESTING`
.. |P093_status| replace:: :yellow:`ENERGY, TESTING D`
.. |P093_github| replace:: P093_MitsubishiAC.ino
.. _P093_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P093_MitsubishiAC.ino
.. |P093_usedby| replace:: `.`
@@ -50,7 +50,7 @@
.. |P094_name| replace:: :cyan:`Communication - CUL Reader`
.. |P094_type| replace:: :cyan:`Communication`
.. |P094_typename| replace:: :cyan:`CUL Reader`
.. |P094_status| replace:: :yellow:`TESTING`
.. |P094_status| replace:: :yellow:`TESTING D`
.. |P094_github| replace:: P094_CULReader.ino
.. _P094_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P094_CULReader.ino
.. |P094_usedby| replace:: `.`
@@ -63,7 +63,7 @@
.. |P095_type| replace:: :cyan:`Display`
.. |P095_typename| replace:: :cyan:`Display - TFT 2.4 inches ILI9341`
.. |P095_porttype| replace:: `.`
.. |P095_status| replace:: :yellow:`TESTING`
.. |P095_status| replace:: :yellow:`DISPLAY, TESTING`
.. |P095_github| replace:: _P095_ILI9341.ino
.. _P095_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P095_ILI9341.ino
.. |P095_usedby| replace:: `.`
@@ -76,7 +76,7 @@
.. |P097_type| replace:: :cyan:`Internal`
.. |P097_typename| replace:: :cyan:`Internal - Touch ESP32`
.. |P097_porttype| replace:: `.`
.. |P097_status| replace:: :yellow:`TESTING`
.. |P097_status| replace:: :yellow:`TESTING A`
.. |P097_github| replace:: _P097_Esp32Touch.ino
.. _P097_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P097_Esp32Touch.ino
.. |P097_usedby| replace:: `.`
@@ -89,7 +89,7 @@
.. |P099_type| replace:: :cyan:`Touch`
.. |P099_typename| replace:: :cyan:`Touch - XPT2046 touchscreen on TFT display`
.. |P099_porttype| replace:: `SPI`
.. |P099_status| replace:: :yellow:`TESTING`
.. |P099_status| replace:: :yellow:`DISPLAY`
.. |P099_github| replace:: _P099_XPT2046Touch.ino
.. _P099_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P099_XPT2046Touch.ino
.. |P099_usedby| replace:: `.`
@@ -2,7 +2,7 @@
.. |P100_type| replace:: :cyan:`Generic`
.. |P100_typename| replace:: :cyan:`Pulse Counter - DS2423`
.. |P100_porttype| replace:: `.`
.. |P100_status| replace:: :yellow:`TESTING`
.. |P100_status| replace:: :yellow:`TESTING B`
.. |P100_github| replace:: P100_CCS811.ino
.. _P100_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P100_DS2423_counter.ino
.. |P100_usedby| replace:: `.`
@@ -15,7 +15,7 @@
.. |P101_type| replace:: :cyan:`Communication`
.. |P101_typename| replace:: :cyan:`Communication - Wake On LAN`
.. |P101_porttype| replace:: `.`
.. |P101_status| replace:: :yellow:`TESTING`
.. |P101_status| replace:: :yellow:`TESTING B`
.. |P101_github| replace:: P101_WakeOnLan.ino
.. _P101_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P101_WakeOnLan.ino
.. |P101_usedby| replace:: `.`
@@ -28,7 +28,7 @@
.. |P102_type| replace:: :cyan:`Energy (AC)`
.. |P102_typename| replace:: :cyan:`Energy (AC) - PZEM-004Tv30-Multiple`
.. |P102_porttype| replace:: `.`
.. |P102_status| replace:: :yellow:`TESTING`
.. |P102_status| replace:: :yellow:`ENERGY`
.. |P102_github| replace:: P102_PZEM004Tv3.ino
.. _P102_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P102_PZEM004Tv3.ino
.. |P102_usedby| replace:: `.`
@@ -41,7 +41,7 @@
.. |P103_type| replace:: :cyan:`Environment`
.. |P103_typename| replace:: :cyan:`Environment - Atlas Scientific EZO pH`
.. |P103_porttype| replace:: `.`
.. |P103_status| replace:: :yellow:`TESTING`
.. |P103_status| replace:: :yellow:`MAX`
.. |P103_github| replace:: P103_Atlas_EZO_pH.ino
.. _P103_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P103_Atlas_EZO_pH.ino
.. |P103_usedby| replace:: `.`
@@ -55,7 +55,7 @@
.. |P104_type| replace:: :cyan:`Environment`
.. |P104_typename| replace:: :cyan:`Environment - Atlas Scientific EC EZO`
.. |P104_porttype| replace:: `.`
.. |P104_status| replace:: :yellow:`TESTING`
.. |P104_status| replace:: :yellow:`MAX`
.. |P104_github| replace:: P104_Atlas_EZO_EC.ino
.. _P104_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P104_Atlas_EZO_EC.ino
.. |P104_usedby| replace:: `.`
@@ -70,7 +70,7 @@
.. |P105_type| replace:: :cyan:`Environment`
.. |P105_typename| replace:: :cyan:`Environment - Atlas Scientific EZO ORP`
.. |P105_porttype| replace:: `.`
.. |P105_status| replace:: :yellow:`TESTING`
.. |P105_status| replace:: :yellow:`MAX`
.. |P105_github| replace:: P105_Atlas_EZO_ORP.ino
.. _P105_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P105_Atlas_EZO_ORP.ino
.. |P105_usedby| replace:: `.`
@@ -85,7 +85,7 @@
.. |P106_type| replace:: :cyan:`Environment`
.. |P106_typename| replace:: :cyan:`Environment - BME680`
.. |P106_porttype| replace:: `.`
.. |P106_status| replace:: :yellow:`TESTING`
.. |P106_status| replace:: :yellow:`TESTING B`
.. |P106_github| replace:: P106_BME680.ino
.. _P106_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P106_BME680.ino
.. |P106_usedby| replace:: `.`
@@ -98,7 +98,7 @@
.. |P107_type| replace:: :cyan:`UV`
.. |P107_typename| replace:: :cyan:`UV - SI1145`
.. |P107_porttype| replace:: `.`
.. |P107_status| replace:: :yellow:`TESTING`
.. |P107_status| replace:: :yellow:`TESTING B`
.. |P107_github| replace:: P107_Si1145.ino
.. _P107_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P107_Si1145.ino
.. |P107_usedby| replace:: `.`
@@ -111,7 +111,7 @@
.. |P108_type| replace:: :cyan:`Energy (AC)`
.. |P108_typename| replace:: :cyan:`Energy (AC) - DDS238-x`
.. |P108_porttype| replace:: `.`
.. |P108_status| replace:: :yellow:`TESTING`
.. |P108_status| replace:: :yellow:`ENERGY, TESTING B`
.. |P108_github| replace:: P108_DDS238.ino
.. _P108_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P108_DDS238.ino
.. |P108_usedby| replace:: `.`
@@ -2,7 +2,7 @@
.. |P110_type| replace:: :cyan:`Distance`
.. |P110_typename| replace:: :cyan:`Distance - VL53L0X (200cm)`
.. |P110_porttype| replace:: `.`
.. |P110_status| replace:: :yellow:`TESTING`
.. |P110_status| replace:: :yellow:`TESTING B`
.. |P110_github| replace:: P110_VL53L0X.ino
.. _P110_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P110_VL53L0X.ino
.. |P110_usedby| replace:: `.`
@@ -15,7 +15,7 @@
.. |P111_type| replace:: :cyan:`RFID`
.. |P111_typename| replace:: :cyan:`RFID - MFRC522`
.. |P111_porttype| replace:: `.`
.. |P111_status| replace:: :yellow:`TESTING`
.. |P111_status| replace:: :yellow:`TESTING C`
.. |P111_github| replace:: P111_RC522_RFID.ino
.. _P111_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P111_RC522_RFID.ino
.. |P111_usedby| replace:: `.`
@@ -28,7 +28,7 @@
.. |P113_type| replace:: :cyan:`Distance`
.. |P113_typename| replace:: :cyan:`Distance - VL53L1X (400cm)`
.. |P113_porttype| replace:: `.`
.. |P113_status| replace:: :yellow:`TESTING`
.. |P113_status| replace:: :yellow:`TESTING B`
.. |P113_github| replace:: P113_VL53L1X.ino
.. _P113_github: https://github.com/letscontrolit/ESPEasy/blob/mega/src/_P113_VL53L1X.ino
.. |P113_usedby| replace:: `.`
-1
View File
@@ -22,7 +22,6 @@ extra_configs =
default_envs = custom_ESP8266_4M1M, custom_ESP32_4M316k
; default_envs = custom_ESP8266_4M1M
;default_envs = dev_ESP8266_4M1M
;default_envs = normal_ESP8266_4M1M
;default_envs = test_beta_ESP8266_4M1M
; ..etc
+155 -14
View File
@@ -53,7 +53,7 @@ board = esp32dev
extra_scripts = ${esp32_common.extra_scripts}
[env:test_ESP32_4M316k]
[env:test_A_ESP32_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
@@ -62,8 +62,35 @@ build_flags = ${esp32_common.build_flags}
board = esp32dev
extra_scripts = ${esp32_common.extra_scripts}
[env:test_B_ESP32_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_B_ESP32
board = esp32dev
extra_scripts = ${esp32_common.extra_scripts}
[env:test_ESP32-wrover-kit_4M316k]
[env:test_C_ESP32_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_C_ESP32
board = esp32dev
extra_scripts = ${esp32_common.extra_scripts}
[env:test_D_ESP32_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_D_ESP32
board = esp32dev
extra_scripts = ${esp32_common.extra_scripts}
[env:test_A_ESP32-wrover-kit_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
@@ -75,18 +102,102 @@ debug_tool = ftdi
debug_extra_cmds = break Misc.ino:3011
extra_scripts = ${esp32_common.extra_scripts}
[env:test_ESP32_4M316k_lolin_d32_pro]
[env:test_B_ESP32-wrover-kit_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_B_ESP32
board = esp-wrover-kit
upload_protocol = ftdi
debug_tool = ftdi
debug_extra_cmds = break Misc.ino:3011
extra_scripts = ${esp32_common.extra_scripts}
[env:test_C_ESP32-wrover-kit_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_C_ESP32
board = esp-wrover-kit
upload_protocol = ftdi
debug_tool = ftdi
debug_extra_cmds = break Misc.ino:3011
extra_scripts = ${esp32_common.extra_scripts}
[env:test_D_ESP32-wrover-kit_4M316k]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_D_ESP32
board = esp-wrover-kit
upload_protocol = ftdi
debug_tool = ftdi
debug_extra_cmds = break Misc.ino:3011
extra_scripts = ${esp32_common.extra_scripts}
[env:test_A_ESP32_4M316k_lolin_d32_pro]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
-DFEATURE_ARDUINO_OTA
; -DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_ESP32
; -DUSES_P096
board = lolin_d32_pro
extra_scripts = ${esp32_common.extra_scripts}
[env:test_B_ESP32_4M316k_lolin_d32_pro]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
; -DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_B_ESP32
-DUSES_P096
board = lolin_d32_pro
extra_scripts = ${esp32_common.extra_scripts}
[env:test_ESP32_IRExt_4M316k]
extends = env:test_ESP32_4M316k
[env:test_C_ESP32_4M316k_lolin_d32_pro]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
; -DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_C_ESP32
; -DUSES_P096
board = lolin_d32_pro
extra_scripts = ${esp32_common.extra_scripts}
[env:test_D_ESP32_4M316k_lolin_d32_pro]
extends = esp32_common
platform = ${esp32_common.platform}
build_flags = ${esp32_common.build_flags}
; -DFEATURE_ARDUINO_OTA
-DPLUGIN_SET_TEST_D_ESP32
-DUSES_P096
board = lolin_d32_pro
extra_scripts = ${esp32_common.extra_scripts}
[env:test_A_ESP32_IRExt_4M316k]
extends = env:test_A_ESP32_4M316k
lib_ignore = AS_BH1750, ESP8266WiFi, ESP8266Ping, ESP8266WebServer, ESP8266HTTPUpdateServer, ESP8266mDNS, ESPEasy_ESP8266Ping, ESP32_ping
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_NORMAL_IRext
[env:test_B_ESP32_IRExt_4M316k]
extends = env:test_B_ESP32_4M316k
lib_ignore = AS_BH1750, ESP8266WiFi, ESP8266Ping, ESP8266WebServer, ESP8266HTTPUpdateServer, ESP8266mDNS, ESPEasy_ESP8266Ping, ESP32_ping
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_NORMAL_IRext
[env:test_C_ESP32_IRExt_4M316k]
extends = env:test_C_ESP32_4M316k
lib_ignore = AS_BH1750, ESP8266WiFi, ESP8266Ping, ESP8266WebServer, ESP8266HTTPUpdateServer, ESP8266mDNS, ESPEasy_ESP8266Ping, ESP32_ping
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_NORMAL_IRext
[env:test_D_ESP32_IRExt_4M316k]
extends = env:test_D_ESP32_4M316k
lib_ignore = AS_BH1750, ESP8266WiFi, ESP8266Ping, ESP8266WebServer, ESP8266HTTPUpdateServer, ESP8266mDNS, ESPEasy_ESP8266Ping, ESP32_ping
build_flags = ${esp32_common.build_flags}
-DPLUGIN_BUILD_NORMAL_IRext
@@ -123,16 +234,46 @@ extends = env:normal_ESP32_4M316k
platform = ${env:normal_ESP32_4M316k.platform}
build_flags = ${env:normal_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_ESP32_4M316k_ETH]
extends = env:test_ESP32_4M316k
platform = ${env:test_ESP32_4M316k.platform}
build_flags = ${env:test_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_A_ESP32_4M316k_ETH]
extends = env:test_A_ESP32_4M316k
platform = ${env:test_A_ESP32_4M316k.platform}
build_flags = ${env:test_A_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_B_ESP32_4M316k_ETH]
extends = env:test_B_ESP32_4M316k
platform = ${env:test_B_ESP32_4M316k.platform}
build_flags = ${env:test_B_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_C_ESP32_4M316k_ETH]
extends = env:test_C_ESP32_4M316k
platform = ${env:test_C_ESP32_4M316k.platform}
build_flags = ${env:test_C_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_D_ESP32_4M316k_ETH]
extends = env:test_D_ESP32_4M316k
platform = ${env:test_D_ESP32_4M316k.platform}
build_flags = ${env:test_D_ESP32_4M316k.build_flags} -DHAS_ETHERNET
[env:test_ESP32-wrover-kit_4M316k_ETH]
extends = env:test_ESP32-wrover-kit_4M316k
platform = ${env:test_ESP32-wrover-kit_4M316k.platform}
build_flags = ${env:test_ESP32-wrover-kit_4M316k.build_flags} -DHAS_ETHERNET
[env:test_A_ESP32-wrover-kit_4M316k_ETH]
extends = env:test_A_ESP32-wrover-kit_4M316k
platform = ${env:test_A_ESP32-wrover-kit_4M316k.platform}
build_flags = ${env:test_A_ESP32-wrover-kit_4M316k.build_flags} -DHAS_ETHERNET
[env:test_B_ESP32-wrover-kit_4M316k_ETH]
extends = env:test_B_ESP32-wrover-kit_4M316k
platform = ${env:test_B_ESP32-wrover-kit_4M316k.platform}
build_flags = ${env:test_B_ESP32-wrover-kit_4M316k.build_flags} -DHAS_ETHERNET
[env:test_C_ESP32-wrover-kit_4M316k_ETH]
extends = env:test_C_ESP32-wrover-kit_4M316k
platform = ${env:test_C_ESP32-wrover-kit_4M316k.platform}
build_flags = ${env:test_C_ESP32-wrover-kit_4M316k.build_flags} -DHAS_ETHERNET
[env:test_D_ESP32-wrover-kit_4M316k_ETH]
extends = env:test_D_ESP32-wrover-kit_4M316k
platform = ${env:test_D_ESP32-wrover-kit_4M316k.platform}
build_flags = ${env:test_D_ESP32-wrover-kit_4M316k.build_flags} -DHAS_ETHERNET
; A Lolin D32 PRO with 16MB Flash, allowing 4MB sketch size, and file storage using the default (SPIFFS) filesystem
-18
View File
@@ -108,24 +108,6 @@ build_flags = ${beta_platform.build_flags} -DPLUGIN_BUILD_TESTING
lib_ignore = ${beta_platform.lib_ignore}
;;; DEV **************************************************************
; additional plugins (and dependend code) that is in development ;
; (probably broken or incomplete) ;
; *********************************************************************
[dev]
platform = ${regular_platform.platform}
platform_packages = ${regular_platform.platform_packages}
build_flags = ${regular_platform.build_flags} -DPLUGIN_BUILD_DEV
lib_ignore = ${regular_platform.lib_ignore}
[dev_alt_wifi]
platform = ${regular_platform_alt_wifi.platform}
platform_packages = ${regular_platform_alt_wifi.platform_packages}
build_flags = ${regular_platform_alt_wifi.build_flags} -DPLUGIN_BUILD_DEV
lib_ignore = ${regular_platform_alt_wifi.lib_ignore}
;;; IR ***********************************************************
; IR builds ;
; *********************************************************************
+140 -17
View File
@@ -388,16 +388,40 @@ build_flags = ${normal_ir_extended_no_rx.build_flags}
; Includes "normal" + "testing" plugins ;
; *********************************************************************
[env:test_ESP8266_4M1M]
[env:test_A_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
[env:test_B_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_TESTING_B
[env:test_C_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_TESTING_C
[env:test_D_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DPLUGIN_BUILD_TESTING_D
; TEST: 4096k version + FEATURE_ADC_VCC ----------
[env:test_ESP8266_4M1M_VCC]
[env:test_A_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
@@ -405,7 +429,34 @@ build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
[env:test_alt_wifi_ESP8266_4M1M_VCC]
[env:test_B_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_B
[env:test_C_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_C
[env:test_D_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing.platform}
platform_packages = ${testing.platform_packages}
build_flags = ${testing.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_D
[env:test_A_alt_wifi_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing_alt_wifi.platform}
platform_packages = ${testing_alt_wifi.platform_packages}
@@ -413,6 +464,34 @@ build_flags = ${testing_alt_wifi.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
[env:test_B_alt_wifi_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing_alt_wifi.platform}
platform_packages = ${testing_alt_wifi.platform_packages}
build_flags = ${testing_alt_wifi.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_B
[env:test_C_alt_wifi_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing_alt_wifi.platform}
platform_packages = ${testing_alt_wifi.platform_packages}
build_flags = ${testing_alt_wifi.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_C
[env:test_D_alt_wifi_ESP8266_4M1M_VCC]
extends = esp8266_4M1M
platform = ${testing_alt_wifi.platform}
platform_packages = ${testing_alt_wifi.platform_packages}
build_flags = ${testing_alt_wifi.build_flags}
${esp8266_4M1M.build_flags}
-DFEATURE_ADC_VCC=true
-DPLUGIN_BUILD_TESTING_D
; TEST: 4096k version + FEATURE_ADC_VCC + FEATURE_MDNS + FEATURE_SD ----------
; Disabled for now as it does not fit in IRAM and with VCC_SD it does not fit in max. build size
;[env:test_ESP8266_4M1M_VCC_MDNS_SD]
@@ -428,7 +507,7 @@ build_flags = ${testing_alt_wifi.build_flags}
;lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR, LittleFS(esp8266)
[env:test_beta_ESP8266_4M1M]
[env:test_A_beta_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
@@ -436,9 +515,36 @@ build_flags = ${testing_beta.build_flags}
${esp8266_4M1M.build_flags}
-DLIMIT_BUILD_SIZE
[env:test_B_beta_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_4M1M.build_flags}
-DLIMIT_BUILD_SIZE
-DPLUGIN_BUILD_TESTING_B
[env:test_C_beta_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_4M1M.build_flags}
-DLIMIT_BUILD_SIZE
-DPLUGIN_BUILD_TESTING_C
[env:test_D_beta_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_4M1M.build_flags}
-DLIMIT_BUILD_SIZE
-DPLUGIN_BUILD_TESTING_D
; Test: 16M version -- LittleFS --------------
; LittleFS is determined by using "LittleFS" in the pio env name
[env:test_beta_ESP8266_16M_LittleFS]
[env:test_A_beta_ESP8266_16M_LittleFS]
extends = esp8266_16M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
@@ -447,24 +553,41 @@ build_flags = ${testing_beta.build_flags}
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
[env:test_B_beta_ESP8266_16M_LittleFS]
extends = esp8266_16M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_16M.build_flags}
-DPLUGIN_BUILD_TESTING_B
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
[env:test_C_beta_ESP8266_16M_LittleFS]
extends = esp8266_16M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_16M.build_flags}
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
-DPLUGIN_BUILD_TESTING_C
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
[env:test_D_beta_ESP8266_16M_LittleFS]
extends = esp8266_16M
platform = ${testing_beta.platform}
platform_packages = ${testing_beta.platform_packages}
build_flags = ${testing_beta.build_flags}
${esp8266_16M.build_flags}
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22y
-DPLUGIN_BUILD_TESTING_D
lib_ignore = ESP32_ping, ESP32WebServer, ServoESP32, ESP32HTTPUpdateServer, IRremoteESP8266, HeatpumpIR
;;; DEV **************************************************************
; additional plugins (and dependend code) that is in development ;
; (probably broken or incomplete) ;
; *********************************************************************
; DEV : 4096k version ----------------------------
[env:dev_ESP8266_4M1M]
extends = esp8266_4M1M
platform = ${dev.platform}
platform_packages = ${dev.platform_packages}
build_flags = ${dev.build_flags}
${esp8266_4M1M.build_flags}
;;; Collection builds ************************************************
; Collection of similar plugins for a specific use case ;
+173 -24
View File
@@ -226,9 +226,40 @@ To create/register a plugin, you have to :
#endif
#ifdef PLUGIN_BUILD_TESTING
#define PLUGIN_SET_TESTING
#define CONTROLLER_SET_TESTING
#define NOTIFIER_SET_TESTING
#if !defined(PLUGIN_BUILD_TESTING_B) && !defined(PLUGIN_BUILD_TESTING_C) && !defined(PLUGIN_BUILD_TESTING_D)
#define PLUGIN_DESCR "TEST_A"
#define PLUGIN_SET_TESTING_A
#endif
#define PLUGIN_SET_TESTING
#define CONTROLLER_SET_TESTING
#define NOTIFIER_SET_TESTING
#define PLUGIN_BUILD_NORMAL // add stable
#endif
#ifdef PLUGIN_BUILD_TESTING_B
#define PLUGIN_DESCR "TEST_B"
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_B
#define CONTROLLER_SET_TESTING
#define NOTIFIER_SET_TESTING
#define PLUGIN_BUILD_NORMAL // add stable
#endif
#ifdef PLUGIN_BUILD_TESTING_C
#define PLUGIN_DESCR "TEST_C"
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_C
#define CONTROLLER_SET_TESTING
#define NOTIFIER_SET_TESTING
#define PLUGIN_BUILD_NORMAL // add stable
#endif
#ifdef PLUGIN_BUILD_TESTING_D
#define PLUGIN_DESCR "TEST_D"
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_D
#define CONTROLLER_SET_TESTING
#define NOTIFIER_SET_TESTING
#define PLUGIN_BUILD_NORMAL // add stable
#endif
@@ -570,7 +601,10 @@ To create/register a plugin, you have to :
#endif
#ifdef PLUGIN_SET_TEST_ESP32
#define PLUGIN_DESCR "TEST ESP32"
#if !defined(PLUGIN_SET_TEST_B_ESP32) && !defined(PLUGIN_SET_TEST_C_ESP32) && !defined(PLUGIN_SET_TEST_D_ESP32)
#define PLUGIN_DESCR "TEST_A ESP32"
#define PLUGIN_SET_TESTING_A
#endif
#ifndef ESP32
#define ESP32
#endif
@@ -588,6 +622,66 @@ To create/register a plugin, you have to :
// TODO : Check compatibility of plugins for ESP32 board.
#endif
#ifdef PLUGIN_SET_TEST_B_ESP32
#define PLUGIN_DESCR "TEST_B ESP32"
#ifndef ESP32
#define ESP32
#endif
#ifdef ESP8266
#undef ESP8266
#endif
// #define PLUGIN_SET_ONLY_SWITCH
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_B
#define CONTROLLER_SET_STABLE
#define NOTIFIER_SET_STABLE
#define PLUGIN_SET_STABLE // add stable
// See also PLUGIN_SET_TEST_ESP32 section at end,
// where incompatible plugins will be disabled.
// TODO : Check compatibility of plugins for ESP32 board.
#endif
#ifdef PLUGIN_SET_TEST_C_ESP32
#define PLUGIN_DESCR "TEST_C ESP32"
#ifndef ESP32
#define ESP32
#endif
#ifdef ESP8266
#undef ESP8266
#endif
// #define PLUGIN_SET_ONLY_SWITCH
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_C
#define CONTROLLER_SET_STABLE
#define NOTIFIER_SET_STABLE
#define PLUGIN_SET_STABLE // add stable
// See also PLUGIN_SET_TEST_ESP32 section at end,
// where incompatible plugins will be disabled.
// TODO : Check compatibility of plugins for ESP32 board.
#endif
#ifdef PLUGIN_SET_TEST_D_ESP32
#define PLUGIN_DESCR "TEST_D ESP32"
#ifndef ESP32
#define ESP32
#endif
#ifdef ESP8266
#undef ESP8266
#endif
// #define PLUGIN_SET_ONLY_SWITCH
#define PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING_D
#define CONTROLLER_SET_STABLE
#define NOTIFIER_SET_STABLE
#define PLUGIN_SET_STABLE // add stable
// See also PLUGIN_SET_TEST_ESP32 section at end,
// where incompatible plugins will be disabled.
// TODO : Check compatibility of plugins for ESP32 board.
#endif
#ifdef PLUGIN_BUILD_MAX_ESP32
#define PLUGIN_DESCR "MAX ESP32"
#ifndef ESP32
@@ -715,6 +809,18 @@ To create/register a plugin, you have to :
#ifdef PLUGIN_SET_TESTING
#undef PLUGIN_SET_TESTING
#endif
#ifdef PLUGIN_SET_TESTING_A
#undef PLUGIN_SET_TESTING_A
#endif
#ifdef PLUGIN_SET_TESTING_B
#undef PLUGIN_SET_TESTING_B
#endif
#ifdef PLUGIN_SET_TESTING_C
#undef PLUGIN_SET_TESTING_C
#endif
#ifdef PLUGIN_SET_TESTING_D
#undef PLUGIN_SET_TESTING_D
#endif
#ifdef PLUGIN_SET_EXPERIMENTAL
#undef PLUGIN_SET_EXPERIMENTAL
#endif
@@ -754,6 +860,9 @@ To create/register a plugin, you have to :
#ifndef PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING
#endif
// #ifndef PLUGIN_SET_TESTING_A
// #define PLUGIN_SET_TESTING_A
// #endif
#ifndef PLUGIN_SET_EXPERIMENTAL
#define PLUGIN_SET_EXPERIMENTAL
#endif
@@ -793,6 +902,18 @@ To create/register a plugin, you have to :
#ifndef PLUGIN_SET_TESTING
#define PLUGIN_SET_TESTING
#endif
#ifndef PLUGIN_SET_TESTING_A
#define PLUGIN_SET_TESTING_A
#endif
#ifndef PLUGIN_SET_TESTING_B
#define PLUGIN_SET_TESTING_B
#endif
#ifndef PLUGIN_SET_TESTING_C
#define PLUGIN_SET_TESTING_C
#endif
#ifndef PLUGIN_SET_TESTING_D
#define PLUGIN_SET_TESTING_D
#endif
// #ifndef PLUGIN_SET_EXPERIMENTAL
// #define PLUGIN_SET_EXPERIMENTAL
// #endif
@@ -915,7 +1036,6 @@ To create/register a plugin, you have to :
#define USES_P050 // TCS34725
#define USES_P051 // AM2320
#define USES_P054 // DMX512
#define USES_P055 // Chiming
#define USES_P057 // HT16K33_LED
@@ -928,45 +1048,68 @@ To create/register a plugin, you have to :
#define USES_P064 // APDS9960
#define USES_P065 // DRF0299
#define USES_P066 // VEML6040
#define USES_P075 // Nextion
//#define USES_P076 // HWL8012 in POW r1
// Needs CSE7766 Energy sensor, via Serial RXD 4800 baud 8E1 (GPIO1), TXD (GPIO3)
//#define USES_P077 // CSE7766 in POW R2
//#define USES_P078 // Eastron Modbus Energy meters
#define USES_P081 // Cron
#define USES_P082 // GPS
#define USES_P089 // Ping
#endif
#ifdef PLUGIN_SET_TESTING_A
#define USES_P067 // HX711_Load_Cell
#define USES_P068 // SHT3x
#define USES_P069 // LM75A
#define USES_P070 // NeoPixel_Clock
#define USES_P071 // Kamstrup401
#define USES_P072 // HDC1080
#define USES_P074 // TSL2561
#define USES_P075 // Nextion
//#define USES_P076 // HWL8012 in POW r1
// Needs CSE7766 Energy sensor, via Serial RXD 4800 baud 8E1 (GPIO1), TXD (GPIO3)
//#define USES_P077 // CSE7766 in POW R2
#define USES_P078 // Eastron Modbus Energy meters
#define USES_P080 // iButton Sensor DS1990A
#define USES_P081 // Cron
#define USES_P082 // GPS
#define USES_P083 // SGP30
#define USES_P084 // VEML6070
//#define USES_P085 // AcuDC24x
#define USES_P086 // Receiving values according Homie convention. Works together with C014 Homie controller
//#define USES_P087 // Serial Proxy
#define USES_P089 // Ping
#define USES_P090 // CCS811 TVOC/eCO2 Sensor
#define USES_P091 // SerSwitch
#define USES_P092 // DL-Bus
#define USES_P093 // Mitsubishi Heat Pump
//#define USES_P094 // CUL Reader
//#define USES_P095 // TFT ILI9341
//#define USES_P096 // eInk (Needs lib_deps = Adafruit GFX Library, LOLIN_EPD )
#define USES_P097 // Touch (ESP32)
//#define USES_P099 // XPT2046 Touchscreen
#endif
#ifdef PLUGIN_SET_TESTING_B
#define USES_P069 // LM75A
#define USES_P100 // Pulse Counter - DS2423
#define USES_P101 // Wake On Lan
#define USES_P106 // BME680
#define USES_P107 // SI1145 UV index
//#define USES_P108 // DDS238-x ZN MODBUS energy meter (was P224 in the Playground)
// #define USES_P110 // VL53L0X Time of Flight sensor
// #define USES_P111 // RC522 RFID reader
// #define USES_P113 // VL53L1X ToF
#define USES_P108 // DDS238-x ZN MODBUS energy meter (was P224 in the Playground)
#define USES_P110 // VL53L0X Time of Flight sensor
#define USES_P113 // VL53L1X ToF
#endif
#ifdef PLUGIN_SET_TESTING_C
#define USES_P085 // AcuDC24x
#define USES_P087 // Serial Proxy
#define USES_P091 // SerSwitch
#define USES_P092 // DL-Bus
#define USES_P111 // RC522 RFID reader
#endif
#ifdef PLUGIN_SET_TESTING_D
#define USES_P093 // Mitsubishi Heat Pump
#define USES_P094 // CUL Reader
#define USES_P114 // VEML6075 UVA/UVB sensor
#endif
@@ -1384,6 +1527,12 @@ To create/register a plugin, you have to :
#ifdef USES_C003
#undef USES_C003
#endif
#ifdef USES_C016
#undef USES_C016 // Cache controller
#endif
#ifdef FEATURE_SD
#undef FEATURE_SD // Unlikely on 1M units
#endif
#ifndef LIMIT_BUILD_SIZE
#define LIMIT_BUILD_SIZE
#endif
+4
View File
@@ -3,6 +3,10 @@
#include "../WebServer/common.h"
#ifdef FEATURE_SD
#include <SD.h>
#endif
#ifdef WEBSERVER_NEW_UI
+1
View File
@@ -44,6 +44,7 @@ def copy_to_build_output(sourcedir, variant, file_suffix):
if ".bin" in file_suffix:
file_size = os.path.getsize(full_in_file)
if file_size > get_max_bin_size(variant, file_suffix):
print("\u001b[31m file size:\u001b[0m {} > {}".format(file_size, get_max_bin_size(variant, file_suffix)))
out_file = "{}reject{}{}".format(OUTPUT_DIR, os.path.sep, in_file)
if not os.path.isdir("{}{}".format(OUTPUT_DIR, "reject")):
os.mkdir("{}{}".format(OUTPUT_DIR, "reject"))