Skip to content

Commit a182bdb

Browse files
authored
Merge branch 'mega' into feature/MQTT_TLS
2 parents 01dbaa6 + f341188 commit a182bdb

12 files changed

+671
-171
lines changed

dist/Release_notes.txt

+175
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,178 @@
1+
-------------------------------------------------
2+
Changes in release mega-20230409 (since mega-20230306)
3+
-------------------------------------------------
4+
5+
Release date: zo 9 apr 2023 17:42:52 CEST
6+
7+
TD-er (28):
8+
[Cleanup] Reduce bin size on minimal builds.
9+
[ETH] Fix connect to LAN with internal clock
10+
[Build] Fix missing network medium options
11+
[WiFi] Fix slow WiFi (re)connect
12+
[WiFi] Fix connect from RTC
13+
[Eth] Fix restoring cached DNS IPs
14+
[Provisioning] Fix setting allowed file types to download via rules
15+
[Provisioning] Fix cache and mDNS updates after provisioning
16+
[Provisioning] Only allow downloading firmware update from set host
17+
[Cache Reader] Add option to delete files after upload
18+
[Rules] Fix parsing "Clock#Time=All,**:00" (#4568)
19+
Sonoff Soil moistrure sensor MS-01 #4503
20+
Disable I2C dev check HDC1080 #4571
21+
[ADS1115] Fix channel results mixed #4570
22+
Rename HDC1080 to HDC10xx #4578
23+
[Rules] Use variables in clock events
24+
[ESP32 WiFi] Enable selecting 802.11g mode on ESP32 #4572
25+
[ADS1115] Show analog port on Devices page
26+
[ADS1115] Fix build issue on ESP8266
27+
[ADS1115] Add option to output in Volt using set gain.
28+
[ADS1115] Update docs
29+
[Build] Fix merge issue
30+
Fix using wrong index from string array in sysinfo and SenseAir plugin
31+
[PluginStats] Fix "highest peak" for negative values
32+
[WiFi] Fix really slow reconnect on ESP32 (#4572)
33+
[WiFi] Add auto WiFi (re)Connect and delay options
34+
[WiFi] Force restart WiFi if auto reconnect is enabled
35+
[WiFi] Document new Advanced options auto reconnect and extra wait
36+
37+
Ton Huisman (113):
38+
[P137] Add AXP192 Powermanagement controller
39+
[P137] Include used library
40+
[P137] Enable code only for ESP32
41+
[P137] Add some missing Get Config values, small improvements
42+
[Build] Define ESP_LOGD(...) macro, not available on ESP8266 platform
43+
[P137] Available for ESP8266 too
44+
[P137] Remove [TESTING] tag, enable for ESP8266, minor code improvements
45+
[Build] Define ESP_LOGD(...) macro, not available on ESP8266 platform
46+
[Build] Change ESP_LOGD(...) macro, remove accidentally committed file
47+
[P137] Restored ESP32 limitation as the Linux build can't handle the workaround
48+
[P137] Activate in all Collection builds too
49+
[P137] Add controller to ENERGY builds and Custom-sample.h
50+
[P137] Add documentation
51+
[P137] Fix flash-string ==
52+
[UI] Add `disabled` feature for numeric input fields
53+
[Tasks] Add Priority task feature for initializing plugins early, with documentation
54+
[Lib] Pull AXP192 library local, and implement missing features, exclude from ESP8266 builds
55+
[P137] Implement Priority task feature, add more hardware options, add predefined configurations
56+
[P137] Update documentation
57+
[Boards] Add PSRAM option for 16M8M to improve stability
58+
[Build] Add AXP192 to lib_ignore for IR ESP8266 builds
59+
[Lib] AXP192 remove some unused variables
60+
[Build] Add AXP192 to lib_ignore for normal_beta 16M ESP8266 build
61+
[P137] Adjusted default device settings (turn off led and tft backlight for M5Core2)
62+
[P137] Revert previously added PSRAM option for 16M8M builds
63+
[Build] Remove suggestion that P138 will be a Priority task plugin
64+
[P137] Add commands to codeMirror for Rules syntax highlighting, some typos fixed
65+
[DOCS] Extend development guide
66+
[DOCS] Add Using external libraries chapter, small corrections
67+
[DOCS] Use %eventvalue1% in Rules examples where possible, other improvements and additions
68+
[P008] Add get config values, update documentation
69+
[P008] Handle initialization issue for unconfigured GPIO pins
70+
[I2C] Disable I2C GPIO pin configuration if an I2C Priority task is enabled, updated docs
71+
[P137] Reorder Device Configuration for output configuration change, enable PluginStats, update documentation
72+
[Hardware] Add warning to disconnect ETH PoE during USB Serial use
73+
[UI] Darker background color for disabled input fields
74+
[UI] Darker background color for disabled input fields, update embedded css
75+
[P137] Exclude some more unneeded code if FEATURE_PLUGIN_PRIORITY not set
76+
[P137] Add config for LilyGO T-Beam, improved disabled-port UI, update documentation
77+
[P013] Add setting for trigger-width
78+
[Libs] Update `NewPing` library, add sanity check for `triggerWidth` argument
79+
[P013] Reduce variable use, make State mode interval event optional
80+
[P013] Update documentation with added setting
81+
[P013] Update documentation with 'hidden' setting for Mode=State
82+
[Lib] NewPing limit max trigger-width to 20 usec (wide enough)
83+
[P013] Reduce plugin size (disable added features and log for 1M builds)
84+
[P013] Update documentation with adjusted 20 usec setting
85+
[P008] Reduce plugin size, minor optimizations
86+
[P137] Add I2C config blocked note to documentation
87+
[Docs] Correct some plugin status labels
88+
[P013] Add Combined mode, as started in #3157
89+
[PriorityTask] Fix argument validation
90+
[P137] Add support for PLUGIN_I2C_GET_ADDRESS
91+
[P137] Fix merge issue
92+
[P137] Fix merge issue
93+
[P013] Update changelog explaining why not using latest NewPing library version
94+
[P013] Allow Interval = 0, inhibit setting for suppressing State-events on Interval
95+
[P013] Update and cleanup documentation
96+
[P118] Change command to `itho` from `state` (deprecated, not removed)
97+
[P118] Update documentation for 'itho' command
98+
[P145] Fix documentation processor warning
99+
[Docs] Add some missing includes on Commands overview page
100+
[Displays] Don't trim spaces from text to display
101+
[Docs] Correct some plugin labels to display separately
102+
[Parameters] add `parseStringKeepCaseNoTrim` and `parseStringToEndKeepCaseNoTrim` and implement where useful
103+
[P145] Fix compiler warning (nested comments)
104+
[Build] Add KEEP_RTTTL build-flag and apply to some builds
105+
[P065] Add Serial configuration to enable use on ESP32
106+
[P065] Update documentation
107+
[Serial] Show I2CSerial as last option, format sources
108+
[ESPEasySerial] Remote I2CSerial completely when disabled, format source
109+
[Serial] Hide I2CSerial completely when disabled
110+
[Serial] Update documentation
111+
[P065] Set initial config also for ESP8266, increase initial volume to 50%
112+
[P137] Implement GetCommandCode() for commands and getvalues to reduce bin-size
113+
[P021] Add Invert Output option
114+
[P021] Update documentation
115+
[P089] Change command-handling making taskname optional
116+
[P089] Add documentation
117+
[C014] [Homie MQTT] replace DummyValueSet by TaskValueSet (bugfix)
118+
[C014] Minor corrections
119+
[Build] Update Arduino framework 2.0.7 (testing)
120+
[P089] Show Hostname value on Devices overview page (GPIO column)
121+
[P014] Disable I2C check to correct HTU21D read
122+
[StringConverter] Add parseHexTextString()
123+
[P020] Add command `serialsendmix`
124+
[StringConverter] Improvements to parseHexTextString()
125+
[P087] Add command `serialproxy_writemix` using `parseHexTextString()`
126+
[P087] Format source suing Uncrustify
127+
[P144] Disable additional debug logging
128+
[Build] Add [C011] to `Climate` build
129+
[P109] Add documentation for ThermoOLED plugin
130+
[StringConverter] Add parseHexTextData() to handle 0x00
131+
[P020] Use parseHextTextData() to handle 0x00 in data
132+
[P087] Use parseHexTextData() instead of parseHexTextString()
133+
[P087] Code improvements
134+
[Docs] Add reference to Youtube video for Git tools and Python installation
135+
[Docs] Cancel/remove hardly used Github feature
136+
[P087] Add documentation
137+
[P073] Fix documenation typo
138+
[P073] Correct `7dbin` command for TM1637 and fix scroll feature (bugfix)
139+
[P073] Wrap some methods for conditional compilation
140+
[P073] Option to suppress leading zeros on day/hour, fix scroll enable/disable
141+
[P073] Fix documenation typo
142+
[P073] Update documentation
143+
[Docs] Minor correction, remove reference to non-existing paragraph.
144+
[P073] Fix displaying periods for `7dtext` on 6-digit TM1736
145+
[Build] Add [P077] to Shelly_PLUG_S build environment
146+
[P047] Add support for BelFlE Soil moisture sensor I2C
147+
[P047] Add validation on I2C address inputs
148+
[P047] Add documentation
149+
[WiFi] APmodeEnabled event not generated when logging is disabled #4593
150+
[P047] Correct typo BelFlE to BeFlE
151+
152+
chromoxdor (1):
153+
[P027] Change the default averaging to 128samples
154+
155+
flashmark (13):
156+
Introduce P240 Vindriktning
157+
Add P240_Vindriktning experimental
158+
P240 Vindrikning, conditional debug messages
159+
P240_Vindriktning small bugfixes
160+
renamed: src/_P240_Vindriktning.ino -> src/_P144_Vindriktning.ino Renamed global variables to keep them unique
161+
P144 rework
162+
P144 Vindrikning rework
163+
P144 Vindriktning minor rework
164+
P144 Vindriktning Review rework
165+
P144 Vindriktning Optimize time critical code
166+
Reworked with separate P144_data_struct
167+
Rework after review
168+
Merge define_plugin_sets.h
169+
170+
stefan (3):
171+
[HTTP] Increase timeout on send
172+
[HTTP] Increase timeouts and smaller fixes
173+
Excluded debug output
174+
175+
1176
-------------------------------------------------
2177
Changes in release mega-20230306 (since mega-20230304)
3178
-------------------------------------------------

docs/source/Plugin/P047.rst

+70-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. include:: ../Plugin/_plugin_substitutions_p04x.repl
1+
.. include:: ../Plugin/_plugin_substitutions_p04x.repl
22
.. _P047_page:
33

44
|P047_typename|
@@ -24,7 +24,75 @@ Used libraries: |P047_usedlibraries|
2424
Supported hardware
2525
------------------
2626

27-
|P047_usedby|
27+
* Catnip electronics/miceuz:
28+
29+
Where to buy: `Miceuz on Tindie.com <https://www.tindie.com/products/miceuz/i2c-soil-moisture-sensor/>`_
30+
31+
Arduino library: `Miceuz on Github.com <https://github.com/Miceuz/i2c-moisture-sensor>`_ (only used for inspiration)
32+
33+
.. image:: P047_CatnipMiceuzSensor.png
34+
35+
* BeFlE:
36+
37+
Where to buy: `BeFlE on Amazon.de <https://www.amazon.de/BeFlE-kapazitiver-Bodenfeuchtesensor-SoMoSe-v1-1/dp/B091D6HNM6/ref=sr_1_3?keywords=somose+v2.2&qid=1679243526&sprefix=SoMoSe%2Caps%2C82&sr=8-3>`_
38+
39+
Arduino library: `BeFlE on Github.com <https://github.com/BeFlE/SoMoSe>`_ (only used for inspiration)
40+
41+
.. image:: P047_BeFlESensor.png
42+
43+
Configuration
44+
-------------
45+
46+
.. image:: P047_DeviceConfiguration.png
47+
48+
* **Name** A unique name should be entered here.
49+
50+
* **Enabled** The device can be disabled or enabled. When not enabled the device should not use any resources.
51+
52+
I2C Options
53+
^^^^^^^^^^^^
54+
55+
The available settings here depend on the build used. At least the **Force Slow I2C speed** option is available, but selections for the I2C Multiplexer can also be shown. For details see the :ref:`Hardware_page`
56+
57+
* **I2C Address (Hex)**: The address the device is using. The default I2C address is prefilled, and can be configured to use a different address, see below. As this can be any valid I2C address in range: 0x01..0x7F, it has to be typed here, using a hexadecimal value.
58+
59+
Device Settings
60+
^^^^^^^^^^^^^^^^
61+
62+
* **Sensor model**: Select the model of the used sensor. When changing the selection the page will be reloaded to adjust the content of the screen.
63+
64+
.. image:: P047_SensorModelOptions.png
65+
66+
* *Catnip electronics/miceuz (default)*: The originally supported soil moisture sensor, that supports temperature, moisture and light measurement, has a sleep-mode, and can report a version number, to optionally validate if the sensor is supported.
67+
68+
* *BeFlE*: An I2C soil moisture sensor that supports temperature and moisture measurement. There is no sleep mode or version check available.
69+
70+
When selecting the BeFlE sensor, only these **Device Settings** will be available:
71+
72+
.. image:: P047_SensorModelBeFlE.png
73+
74+
* **Send sensor to sleep**: When not actively reading the sensor, the device can be set to sleep-mode, to conserve some power. (Catnip sensor only).
75+
76+
* **Check sensor version**: To validate if the sensor is of the correct mode, the version can be validated. (Catnip sensor only).
77+
78+
* **Change sensor address**: To use multiple sensors connected to a single ESP unit, a sensor can be configured to use a different I2C address. To change that address, this checkbox has to be enabled, and a different I2C address should be entered in the **Change I2C Address to (Hex)** field in hexadecimal format, range: 0x01..0x7F.
79+
80+
* **Change I2C Addr. to (Hex)**: The new address to be used by the sensor. The change will be applied the next time the task is enabled. The **I2C Address (Hex)** field, above, will be updated with the new value. After the change is applied, **the tasks Settings have to be saved once more to save the new address** as the address to use.
81+
82+
Data Acquisition
83+
^^^^^^^^^^^^^^^^
84+
85+
The Data Acquisition, Send to Controller and Interval settings are standard available configuration items. Send to Controller only when one or more Controllers are configured.
86+
87+
**Interval** By default, Interval will be set to 60 sec. The minimum value allowed is 1 sec. but each read is taking at least 2 seconds, so selecting a value below 3 seonds might cause intermittent read failures or invalid values.
88+
89+
Values
90+
^^^^^^
91+
92+
The measured values are available in ``Temperature``, ``Moisture`` and ``Light``. A formula can be set to recalculate. The number of decimals is by default set to 2, and can be set to 0 for ``Moisture``, as no decimals are provided from the measurement.
93+
94+
NB: The BeFlE sensor doesn't support a Light value, so that won't be available if that **Sensor model** is selected.
95+
2896

2997
.. Commands available
3098
.. ^^^^^^^^^^^^^^^^^^
58.1 KB
Loading
89.7 KB
Loading
51.1 KB
Loading
10.1 KB
Loading
9.08 KB
Loading

0 commit comments

Comments
 (0)