* fix shutterfrequency change on mutiple channels
* LEDC channel management for stepper shutter
LEDC channels dynamically assigned to ensure up to 16 shutters can be defined. Number of simultaneous moving shutters is limited by number of LEDC channels.
* bugfix >=
ESP32 ADC has variables errors, but calibrations values are put in eFuses at factory test.
analogReadMilliVolts() from api correct the ADC reading with tata values.
Since now the value are mV and not ADC numbers, the fast solution is to revert it back to ADC numbers:
divide by Vcc => ANALOG_V33*1000 and multiply by ANALOG_RANGE
Other way is to modify all sensor cases to account for the different unit.
* [WebUI] WiFi Information
Structured and more infos on WebUI Information page
* [WebUI] WiFi Info multiple lines
Divide one long line into multiple short lines
* Add new setting windmeter_measure_intvl and update speed computation
* Ensure windmeter_measure_intvl is not below 1
* Keep same settings order in response messages and add better comments
* Add files via upload
Added ENS16x library enabling read-out of ENS160 and ENS161 sensor component (follow-up of CCS811 and iAQcore)
Added ENS210 library to read out ENS210 temperature & humidity sensor
* Add files via upload
Add air quality sensor readout for ENS160 and ENS161 checking two possible I2C addresses (follow up sensor for CCS811 and iAQcore)
Add temperature and humidity sensor readout checking two possible I2C addresses
* Update BUILDS.md
Add USE_ENS16x and USE_ENS210
* Update decode-status.py
Add USE_ENS16x and ENS210
* Update I2CDEVICES.md
Add USE_ENS16x and USE_ENS210
* Update my_user_config.h
Add USE_ENS16x and USE_ENS210
* Update support_features.ino
Add USE_ENS16x and USE_ENS210
* Update tasmota_configurations.h
Add USE_ENS16x and ENS210
* Update tasmota_configurations_ESP32.h
Add USE_ENS16x and USE_ENS210
* Update xsns_111_ens16x.ino
Corrected I2X number
* Update xsns_112_ens210.ino
Corrected I2C number
* Disable USE_ENS16x and USE_ENS210 by default
* Added code size information
* cut down in libs
* optimize tasmota side
* fix ens16x web display
* final fix on alternate addresses
* update code & RAM usage
---------
Co-authored-by: Barbudor <barbudor@barbudor.net>
* Improvement in shuttersetup
- reduce call of energy to 10x a sec.
- stop detection more rigid to avoid wrong messages
- more accurate calculation of duration
* fix energy hickup on autosetup
* fix: don't reset the device when coming out of deep sleep
* fix: move debug log message to inside the device validation
* Update xsns_110_max17043.ino
* add: update global battery percentage when max17043 reports new value
* `Sendmail` upgraded to ESP-Mail-Client v3.4.9 from v1.2.0, using BearSSL instead of MbedTLS
* Fix compilation on ESP8266
* Fix compilation
* fix compilation
* Added a passive mode in sen5x sensor for parasitic installations. This skips reset & initialization of sensor on startup and reduces the polling to every 10 seconds to not interfere with and confuse the other I2C master on the bus, e.g. Ike* Vindstyrka.
* Removed obsolete updateCount. Cleanup.
* Add new webcam driver over latest dev. To use the old one, define USE_WEBCAM_LAGACY
* enable build without RTSP.
check pin_pwdn before using it n 0x105!!!
* more fixes around pwdn. Make wcresolution -1 set the resoltuion setting to 'disbale cam' value (15).
* fix task stop - wait for debug to leave-> prevents guru. pin task to core 0.
* split motion from other code. Add USE_WEBCAM_MOTION to control inclusion of motion code (big hit). Change from using USE_WEBCAM_LEGACY to USE_WEBCAM_V2
* logging minimisation - behind WEBCAM_DEV_DEBUG
* [DS18x20] Enhance use of aliases
`defineDS18x20_USE_ID_AS_NAME`:
Always show part of the address, even for one sensor
`#define DS18x20_USE_ID_ALIAS`:
The command `DS18Alias` can now be use with alphanumeric aliases, which replace the sensor name
* [DS18x20] change to calloc()
* add: update DEBUG_THERMOSTAT to only control the virtual switch
Also, debug output is still generated but end user can control this debug level 3
* add: debug output of main controller parameters when thermostat enabled
Also, add units for debug outputs added to make them more intelligible
* Update xdrv_39_thermostat.ino
* add: debug message when sensor is detected as not alive
fix: display thermostat number in debug messages
* add: log message prefix string for thermostat
* Update xdrv_39_thermostat.ino
fix: typos in comments
add: debug messages
* add: debug prefix for thermostat
* add: debug prefix added to output lines
* fix: comment typos and small grammatical changes for clarity
* add: debug prefix 'THE' added to debug output
* add: display PID status and key info on web output
* fix: remove extraneous comments that included unused code fragments
* add: local sensor handling improvements
add: define a local sensor name
add: define the local sensor measurement parameter
add: limit sensor not seen error message to every 60 seconds to avoid flooding the logs
add: include interval since which sensor data was last updated
fix: properly update the maximum interval time so missing sensor data is properly alerted
* Update xdrv_49_pid.ino
* add: update DEBUG_THERMOSTAT to only control the virtual switch
Also, debug output is still generated but end user can control this debug level 3
* add: debug output of main controller parameters when thermostat enabled
Also, add units for debug outputs added to make them more intelligible
* Update xdrv_39_thermostat.ino
* add: debug message when sensor is detected as not alive
fix: display thermostat number in debug messages
* add: log message prefix string for thermostat
* Update xdrv_39_thermostat.ino
fix: typos in comments
add: debug messages
* add: debug prefix for thermostat
* add: debug prefix added to output lines
* fix: comment typos and small grammatical changes for clarity
* add: debug prefix 'THE' added to debug output
* skip stop on hold if grouptopic
If shutterbutton is defined with a grouptopic send on HOLD, there is no stop on releasing the button. All shutters will move to defined position
* do not stop on hold release if group submitt
If mqtt broadcast is defined on hold then release the hold button will not anymore stop the local shutter. All shutter will move to defined position
* Restart MAX17043 from the scratch
* revert change
* Changed battery capacity in charge (capacity is the Ah value of the battery, this degrades over time when battery ages)
* merge
* Changing xsns_109 to 110
* fix nr
* removed old xsns109
* Update I2CDEVICES.md
* clean-up usage of Interface
* New LWT on deepsleep
To allow better integration into HA LWT topic will report details of sleep status:
16:54:04.388 MQT: hm/tele/ESP_3284D1/LWT =
{"Sleep":{"Time":"2023-07-17T16:55:03","Sleep":1689612844,"Wakeup":1689612903}}
* Revert LWT back to non JSON
Send DeelSleep on LWT
Send Deepsleep parameters on topic DeepSleep
* Setting default for batteryLevel
* Enable BatteryPercentSet
Changing the battery level e.g. by rule
* Added Battery % to status message
* added battery_level_percent
* Added battery % support in STATE message
* Enable setting battery level
101 is reserved for power-plug. No battery Level reported
* Setting default for battery Level
101 is reserved for power plug
0..100 normal battery values
* Revert back LWT to Offline
Removed "DeepSleep" LWT status until further decision is made. Current implementation is technical sufficient for HA to detect a battery powered device
* Added discovery message after deepsleep change
* Added discovery for battery and deepsleep
Changing default for DisplayMode from 1 to 0. Users are getting confused by the display doing something they did not ask for (and not being aware of DisplayMode). This got worse with LVGL/HASPmota displays becoming common, with users having much less reason to dive into the old DisplayXxxxx commands. And it may even be hard to see that it is even a display of time/date causing the display to flicker.
Changing default for DisplayDimmer from 10% to 50%. The low brightness of 10% is not always easy to see, especially in daylight. 50% is generally better, while not going "full blast" with 100%.
* Remove recursion into folders on Manage Files. May be enabled with UFILESYS_RECURSEFOLDERS_GUI. On Edit of a file, Save and Magane btuttons return to the folder containgint the file being edited. On delete file, UI returns to the folder that the deleted file was in.
* Make newfile put in in the current folder, and return to current folder on save of manage button.
* Add folderOnly and FileOnly functions to reduce code duplication.
Enable folder delete.
Enable folder listing to be aborted (x in browser)
Disbale ESP32 Download Task. Needs attention.
Allow folder create from newfile name.