Theo Arends
652b9cef87
Fix PZEM continue energy monitoring when one phase fails ( #21968 )
2024-08-15 17:32:11 +02:00
stefanbode
6d2647fd5f
fix potential overflow on uptime 2nd try ( #21966 )
...
* fix potential overflow
* fix potential overflow
* fix overflow on millis()
* fix overflow on millis()
* Update xdrv_27_shutter.ino
---------
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-08-15 14:28:10 +02:00
Theo Arends
1b24378da5
Free 500 code bytes on ADC/ESP8266
2024-08-15 12:52:12 +02:00
stefanbode
851f11dcdd
fix potential overflow on uptime ( #21965 )
...
* fix potential overflow
* fix potential overflow
* fix potential overflow
* fix potential overflow
2024-08-15 10:08:54 +02:00
Theo Arends
30cffa1acc
Bump version v14.2.0.1
2024-08-14 15:13:00 +02:00
Theo Arends
102428f768
Needed too
2024-08-13 15:13:04 +02:00
Theo Arends
b93e6cee7b
Change GUI name of Analog<x> to ADC<x>
2024-08-13 15:11:51 +02:00
Theo Arends
ff46745252
Fix ADC conversion to v14.1.0.4
2024-08-13 13:57:58 +02:00
Theo Arends
8f75684cd7
Add Rule and Scripter xdrv sensor polling
2024-08-13 12:28:09 +02:00
Theo Arends
5bac2a2331
Revert "Add Rule and Scripter xdrv sensor polling"
...
This reverts commit cc2ea328d5
.
2024-08-11 19:29:10 +02:00
Theo Arends
cc2ea328d5
Add Rule and Scripter xdrv sensor polling
2024-08-11 17:47:01 +02:00
Theo Arends
d3f6d7d844
Sync ESP8266 energydriver with ESP32
2024-08-10 17:15:05 +02:00
Theo Arends
85da678132
Fix ADC bad energy jumps
2024-08-10 17:01:14 +02:00
Theo Arends
bcd1a9c986
Fix ADC multiple GPIO parameter storage
2024-08-09 16:11:30 +02:00
f-reiling
de59b036d0
improved read access for SDM630 ( #21897 )
...
* improved read access for SDM630
read access improved by reading several registers in one cycle -> higher update rate
* fixed compiler warning
* fix review finding
* added SDM630_HIGH_UPDATE_RATE to select new implementation
2024-08-09 09:23:52 +02:00
Norbert Richter
663fc88373
Update NeoPool comments ( #21920 )
2024-08-07 16:09:53 +02:00
sfromis
77669f7e20
Update my_user_config.h ( #21921 )
...
Adding SetOption references for a few `#define`, to make the relation clear, and in the common searchable format like `[SetOption147]`. Also added that since some time now, this option covers both `SSerialReceived` and `IrReceived`.
2024-08-07 16:08:52 +02:00
Theo Arends
040ffb33e0
Fix restore ADC energytoday on power cycle
2024-08-06 18:07:26 +02:00
s-hadinger
f88a635d5d
Zigbee loads device data early before MCU startup ( #21917 )
2024-08-06 12:43:15 +02:00
Theo Arends
4f035d18f6
Fix invalid ADC energy reset
2024-08-04 18:06:24 +02:00
Theo Arends
3473c3c1b0
Fix scientific notation for 1234.5 ( #21131 )
2024-08-04 17:42:15 +02:00
Theo Arends
bdec6aed67
Update xsns_02_analog.ino
2024-08-04 16:37:36 +02:00
Theo Arends
469f12abbc
Add ADC support for Shelly Plus RGBW PM
2024-08-04 16:35:02 +02:00
Theo Arends
82add09bf9
Fix Core 3.0.4 baudrate detection
2024-08-04 16:11:13 +02:00
Theo Arends
f6c3064890
Fix ADC migration
2024-08-03 18:03:41 +02:00
Theo Arends
c7faff7ac6
Refactored Analog driver to better support multiple channels
...
- Add command ``AdcGpio<gpio> <parameters>`` to better support ADC configuration
2024-08-03 17:52:47 +02:00
Fabrizio Amodio
73357b6cfd
prevent spike on power ON on BioPDU ( #21892 )
2024-08-03 10:10:11 +02:00
s-hadinger
3c884118ed
Berry `zigbee.started()` ( #21895 )
2024-08-02 19:42:11 +02:00
s-hadinger
6b98a320b1
Berry `zigbee.find()` ( #21889 )
2024-08-02 15:43:31 +02:00
s-hadinger
010ca34622
Berry `energy` module support for 8 phases and move to pseudo-arrays ( #21887 )
...
* Berry `energy` module support for 8 phases and move to pseudo-arrays
* add size()
2024-08-01 22:37:37 +02:00
s-hadinger
a3ed99e549
Change Energy `power_history` arrays to prepare for Berry mapping ( #21876 )
2024-07-31 14:27:34 +02:00
gemu
ba596993a0
fix sd mmc free space display ( #21869 )
...
* fix sd mmc free space display
* Update xdrv_50_filesystem.ino
2024-07-30 22:24:31 +02:00
Jan-David Förster
4101ad7303
xsns_14_sht3x.ino - data types adjusted, code size reduced ( #21868 )
...
* code size, data type improvements
* Change temp calculation to int
2024-07-30 22:23:53 +02:00
s-hadinger
0c52b40f49
Adjust Matter code size
2024-07-29 09:43:05 +02:00
Theo Arends
a98399367b
Fix analog reset adcparam 1
2024-07-28 18:58:06 +02:00
Theo Arends
88293d7414
Analog GPIO changes
...
- Analog GPIO ``ADC Input`` with ``AdcParam<x> 1,<start_range>,<end_range>,<margin>,1`` provide direct light control
- Analog GPIO ``ADC Voltage`` with ``AdcParam<x> 11,<start_range>,<end_range>,<lowest_voltage>,<highest_voltage>`` provide energy monitoring with dc voltage
- Analog GPIO ``ADC Current`` with ``AdcParam<x> 12,<start_range>,<end_range>,<lowest_current>,<highest_current>`` provide energy monitoring with dc voltage
2024-07-28 18:52:38 +02:00
Theo Arends
87ec0cce21
Revert "Analog GPIO extensions"
...
This reverts commit 7c1cf6a81f
.
2024-07-28 18:47:13 +02:00
Theo Arends
7c1cf6a81f
Analog GPIO extensions
...
- Analog GPIO ``ADC Input`` with ``AdcParam<x> 1,<start_range>,<end_range>,1`` provide direct light control
- Analog GPIO ``ADC Voltage`` with ``AdcParam<x> 11,<start_range>,<end_range>,<lowest_voltage>,<highest_voltage>`` provide energy monitoring with dc voltage
- Analog GPIO ``ADC Current`` with ``AdcParam<x> 12,<start_range>,<end_range>,<lowest_current>,<highest_current>`` provide energy monitoring with dc voltage
2024-07-28 18:33:43 +02:00
SteWers
068e8e6cbe
Update de_DE.h ( #21857 )
2024-07-28 14:24:47 +02:00
Theo Arends
a4e592c776
Refactor analog
...
- Change from double to float where possible
- Fix Voltage/Current energy calculation
2024-07-28 14:15:35 +02:00
bovirus
a9651e1bf1
Update Italian language ( #21856 )
2024-07-28 09:19:21 +02:00
Theo Arends
d7c6474104
Add Analog Voltage and Current
2024-07-27 17:11:25 +02:00
Norbert Richter
5abff54bc6
Add NeoPool `NPSetOption<x>` command ( #21850 )
2024-07-27 11:41:06 +02:00
Tarvi Pillessaar
a95e52b375
Neopool relay state detection and reporting fixes ( #21841 )
...
* Neopool: remove space in MQTT relay state response
* Neopool: fix detecting some relay states
2024-07-27 11:39:43 +02:00
Theo Arends
d4a63f791e
Fix SPI busses
2024-07-26 14:29:51 +02:00
Theo Arends
e02615827b
Fix compilation without SPI
2024-07-26 13:50:15 +02:00
Theo Arends
4cf741e6eb
Update xsns_02_analog.ino
2024-07-26 11:02:27 +02:00
Theo Arends
9af25c73d6
Refactor ADC MQ_SAMPLES saving code and RAM
2024-07-26 11:01:09 +02:00
s-hadinger
55cb473e13
Berry `webserver_async` ( #21836 )
...
* Berry `webserver_async`
* Shrink size and include only when USE_BERRY_DEBUG
2024-07-26 09:32:12 +02:00
Theo Arends
2f33f8e5a8
Fix Non-ESP32 Analog read resolution
2024-07-25 18:04:01 +02:00
s-hadinger
b62b2d0d93
Matter support for split lights (`SetOption68 1` and `SetOption37 128`) ( #21834 )
2024-07-24 10:20:25 +02:00
Theo Arends
895fbb2e8a
Add optional USE_SONOFF_IFAN_CONFIG
2024-07-23 15:35:45 +02:00
Theo Arends
401d7b9b41
Fix StrCaseStr_P()
2024-07-23 14:28:36 +02:00
s-hadinger
e085cfd3ab
Berry fix `light.get` for separate RGB/CT ( #21818 )
2024-07-22 20:38:14 +02:00
Theo Arends
f42e44a69d
Support for Sonoff iFan04-H using template ( #16402 )
...
- Bump version v14.1.0.4
2024-07-22 15:35:20 +02:00
gemu
58485dec2a
fix resistive Touch xpt for 2 spi busses ( #21814 )
...
* fix xpt touch for 2 spi busses
* support for 2 utouch spi busses
* Update support.ino
2024-07-22 13:58:50 +02:00
Jan-David Förster
9878a96c0b
Update SHT3X driver to bring it into line with other sensors, e.g., HYT..., and avoid unnecessary I²C reads ( #21816 )
...
* Avoid unnecessary I²C reads, bring code in line with other sensors.
* Update xsns_14_sht3x.ino
fix copyright again
2024-07-22 13:58:17 +02:00
s-hadinger
8c9040919d
FIx typo in Parition_Wizard and re-generate tapp file ( #21813 )
2024-07-21 22:58:28 +02:00
Theo Arends
990a0e4257
Add Propagating upload to ESP8266 minimal
2024-07-21 15:22:15 +02:00
Theo Arends
e2fdf18625
Fix CalVer to SemVer updates
2024-07-21 12:23:10 +02:00
bovirus
ebed3ded37
Update Italian language ( #21792 )
2024-07-18 08:28:43 +02:00
Theo Arends
a0893c9aae
Add EPD update frame ( #21788 )
2024-07-17 17:52:30 +02:00
Theo Arends
105d18b9b6
Fix universal display slow response
2024-07-17 17:13:24 +02:00
Theo Arends
a448f538aa
Revert "Fix universal display slow response"
...
This reverts commit 98a5bc95a9
.
2024-07-17 16:22:34 +02:00
Theo Arends
98a5bc95a9
Fix universal display slow response
2024-07-17 16:20:28 +02:00
Theo Arends
b23a2f2304
Bump GPIOViewer version to v1.5.5
2024-07-17 14:28:50 +02:00
Theo Arends
85bff67d9b
Add support for Wooliis Hall Effect Coulometer or Battery capacity monitor ( #21732 )
2024-07-17 14:14:44 +02:00
lmelette
9c8f3826b2
Added support for Wooliis LCD Coulometer/Battery Monitor ( #21732 )
...
* Added support for Wooliis LCD Coulometer/Battery Monitor
* Adjusted code structures and data types for Wooliis sensor
---------
Co-authored-by: Luca Melette <luca@positive.security>
2024-07-17 12:25:44 +02:00
Theo Arends
69f1ea5627
Move StateText fro MQTT to commands ( #21782 )
2024-07-16 15:16:18 +02:00
Christian Baars
6673fb906b
prevent crash with unconfigured audio ( #21775 )
2024-07-14 21:00:24 +02:00
Theo Arends
e9fdbea091
Unify display/touch init messages
2024-07-14 15:18:01 +02:00
Theo Arends
8f6a0b15c3
Update changelogs
2024-07-14 13:54:09 +02:00
Theo Arends
a18be12b77
Fix universal display software spi regression from yesterday
2024-07-14 10:01:34 +02:00
Jason2866
3d34097275
final i2s fix ( #21770 )
2024-07-13 18:11:33 +02:00
Theo Arends
36329827fc
Refactor universal display driver
2024-07-13 14:58:24 +02:00
Theo Arends
279d9e5824
Add I2C display name during startup in universal display driver
2024-07-12 16:36:04 +02:00
Theo Arends
f68ac4377a
Fix udisplay positional replacements ( #21121 )
2024-07-12 14:57:27 +02:00
Christian Baars
13330eb085
Berry: add int8 quantisation to Tensorflow lite driver ( #21763 )
...
* add input quantization, minor fixes
* prevent divideByZero
2024-07-11 23:05:47 +02:00
Theo Arends
23de275dbe
Fix POWCT default calibration
2024-07-11 20:51:53 +02:00
Jan-David Förster
27083e3664
Bugfix: multiple SHT4x sensors at the same bus, support for SHT40-CD1B ( #21755 )
...
* fixes multiple SHT3X sensor type bug
Important when multiple sensors are present at the same bus. Prior to this fix, multiple SHT3X sensor were detected, but not SHTC3 and SHT4X!
* Update xsns_14_sht3x.ino
Extends I²C address range to include SHT40-CD1B sensors with address 0x46.
* Update I2CDEVICES.md
* Show bus when multiple sensors at different busses
* Make bus number less intrusive
Only show bus number if two sensors or more are active at more than one bus.
* variable renamed
* cleanup
* fix typo
* fix another typo
* Harmonization and saving code size for ESP8266
Harmonization with xsns_09_bmp driver, saving code size for ESP8266
* fix string for webserver
* Display address only if more than one sensor present.
2024-07-10 18:55:51 +02:00
timehlers
a3048a0b25
add support for 4.2 inch epaper display from WeAct Studio (partial up… ( #21717 )
...
* add support for 4.2 inch epaper display from WeAct Studio (partial update)
* make ep_mode=3 decision more clear, reinserted an mistakenly removed comment
---------
Co-authored-by: timehlers <>
2024-07-08 17:25:06 +02:00
Theo Arends
105a08dd20
Skip MQTT response if command is prefixed with underscore ( #21740 )
2024-07-08 16:57:21 +02:00
Theo Arends
09b2670c45
Add command ``Backlog3`` to execute commands without response but rule processing ( #21740 )
2024-07-08 15:53:15 +02:00
Christian Baars
7cb8a3f968
Berry: add cam module, img class ( #21743 )
...
* cam module, img class
2024-07-07 19:50:33 +02:00
Theo Arends
fee5251bd4
Fix universal display power regression ( #21726 )
2024-07-05 15:30:31 +02:00
Theo Arends
04a6d5513b
Prep serial IDF 5.2 support
2024-07-04 16:04:59 +02:00
Norbert Richter
843dd17aec
NeoPool add data validation and statistics ( #21721 )
...
Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-07-04 09:28:01 +02:00
s-hadinger
243df3f2cf
`FUNC_BUTTON_PRESSED` now contains `press_counter` encoded in `XdrvMailbox.command_code` ( #21724 )
2024-07-03 22:13:50 +02:00
Jason2866
b1422ff6b5
make Tasmota compatible for Arduino espressif32 based on IDF 5.2.2 ( #21723 )
...
Co-authored-by: Christian Baars <Baars@gmx.de>
2024-07-03 20:27:18 +02:00
Theo Arends
59fc68026b
Add Support for Sonoff POWCT Ring ( #21131 )
2024-07-03 16:31:43 +02:00
Theo Arends
9b537d81e0
Fix energy maxpower retry count ( #21695 )
2024-07-03 13:52:01 +02:00
Theo Arends
ac011132ee
Fix ESP8266 MaxPower edge case
2024-07-03 11:07:59 +02:00
Theo Arends
1fd8de6762
Update energy structure
2024-07-02 18:47:55 +02:00
Theo Arends
640aabe1b3
Fix ESP32 MaxPowerHold edge case ( #21695 )
2024-07-02 18:07:53 +02:00
Theo Arends
0b54d49181
Refactor TM1621 driver
2024-07-02 17:21:48 +02:00
Theo Arends
0e6e4e8949
Prep support Sonoff Pow CT
2024-07-02 11:38:55 +02:00
Theo Arends
344fdf94f7
Update changelogs
2024-07-02 10:19:59 +02:00
Theo Arends
c8e29dafc6
Changed ESP32 TM1621 number overflow from "9999" to "12E3" ( #21131 )
2024-07-01 12:31:02 +02:00
s-hadinger
2cc785bf20
Berry `FUNC_BUTTON_MULTI_PRESSED` event and make `FUNC_BUTTON_PRESSED` called only on state changes and once per second ( #21711 )
2024-06-30 21:00:14 +02:00
s-hadinger
6842b53425
Berry `FUNC_BUTTON_MULTI_PRESSED` event and make `FUNC_BUTTON_PRESSED` called only on state changes ( #21709 )
2024-06-30 19:14:32 +02:00