Commit Graph

9482 Commits

Author SHA1 Message Date
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
Theo Arends 65588b8126 Increase upper limits user entry for energy drivers (#16059) 2024-06-30 17:26:39 +02:00
Theo Arends 33062dc839 Refactor energy drivers 2024-06-30 16:58:37 +02:00
s-hadinger 8d2d121b6d
Berry `FUNC_ANY_KEY` event calling `any_key()` (#21708) 2024-06-29 22:12:34 +02:00
Theo Arends 8a0493b659 Cleanup esp32 energy 2024-06-28 18:04:50 +02:00
Theo Arends 8364eca708 Refactor esp32 energy margins entry 2024-06-28 17:51:05 +02:00
Theo Arends 271446fd66 Remove obsolete SafePower commands 2024-06-28 14:38:08 +02:00
Theo Arends 96a45a6dde Refactor ESP32 energy 2024-06-28 11:12:28 +02:00
Theo Arends 621f6f59e1 Fix default power windows 2024-06-27 17:07:08 +02:00
Theo Arends 178d42c286 Change ESP32 support for energy margin checks, like ``MaxPower2`` per phase (#21695)
- Add ESP32 support for power and energy limit checks, like ``MaxEnergy2`` per phase (#21695)
- Bump version v14.1.0.3
2024-06-27 16:50:45 +02:00
s-hadinger 97017017a4
Matter full support of events (#21698) 2024-06-27 00:03:34 +02:00
Theo Arends bf1dace55d Add ESP32 USE_FLOG support (experimental) 2024-06-25 22:52:15 +02:00
Theo Arends af1fa724af Fix non-webserver compilation 2024-06-25 16:36:28 +02:00
Jason2866 0bddfad14e
No Ethernet support for the C2 (#21691)
* No Ethernet for the C2

* Post process: Disable always Ethernet for C2

* better check for Ethernet available

* typo

* excluse c2 with `ifndef`
2024-06-25 15:13:16 +02:00
Jason2866 aa39e000f7
add C2 as target for BLE (#21685) 2024-06-23 21:44:56 +02:00
Theo Arends ddf762b7cc Refactor GPS driver 2024-06-23 17:38:54 +02:00
Roland Praml f3dcbdcea9
FIX: Allow use of UART0 with enabled USB_CDC_CONSOLE (#21496)
Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
2024-06-22 14:17:05 +02:00
gemu aa380ea190
fix tcp server (#21660) 2024-06-21 16:35:20 +02:00
stefanbode d18925897a
MQTT fix on inverted shutter (#21663)
* MQTT fix on inverted shutter

* MQTT fix on inverted shutter
2024-06-21 16:35:05 +02:00
Christian Baars d15b88f746
improve parser (#21648) 2024-06-16 20:54:59 +02:00
Norbert Richter 2ce513f50c
NeoPool make compiler setting available by user_config_override.h (#21645) 2024-06-16 17:07:51 +02:00
Theo Arends d3f8afed29 Fix GPS_VELOCITY (#18035) 2024-06-15 16:52:42 +02:00
bovirus 9499211d7d
Upload Italian language (#21641) 2024-06-15 15:49:06 +02:00
Jason2866 711e283925
allow define wifi credentials in pio (#21640) 2024-06-15 15:48:24 +02:00
Theo Arends 94aded8d5c Update changelogs 2024-06-15 13:59:17 +02:00
bovirus 342ba2bd44
Update Italian language (#21635) 2024-06-15 11:11:42 +02:00
Theo Arends 0c49262d54 Update changelogs 2024-06-14 22:40:27 +02:00
Theo Arends 75c47b6948 Extend command ``SetOption147 1`` to disable publish of IRReceived MQTT messages (#21574) 2024-06-14 11:23:03 +02:00
gemu cbff86695f
replace vars in descriptor + line (#21622) 2024-06-14 10:14:44 +02:00
Norbert Richter 95f6032d86
Change NeoPool using temperature as only frequently changing value for NPTeleperiod (#21628) 2024-06-14 10:14:13 +02:00
Jason2866 4fbe3590be
add TM1638 switches to display build (#21617) 2024-06-12 20:23:43 +02:00
Theo Arends 7bde0b89d1 Fix QMP6988 2024-06-12 10:50:29 +02:00
Theo Arends 87148ae0c1 Change SerialBridge command ``SSerialSend9`` replaced by ``SSerialMode``
- Bump version v14.1.0.2
2024-06-11 17:27:39 +02:00
Jason2866 7e8bcd896a
include `SD_MMC.h` only when supported (#21611) 2024-06-11 13:25:47 +02:00
Theo Arends 4858ec0aef Allow receive or send using SerialBridge 2024-06-11 12:41:19 +02:00
Theo Arends ae9d2a2c85 Refactor display modes1 to 4 2024-06-11 11:07:30 +02:00
Theo Arends 0471ba24c1 Add support for QMP6988 temperature and pressure sensor 2024-06-10 16:05:25 +02:00
Christian Baars aa217e13b9
refactoring, bugfixes, generic device scanning (#21603) 2024-06-10 10:50:50 +02:00
stefanbode ae499eb73a
MQTT is not reporting the correct LastChange (#21605)
I assume this is just missing. I got some side effects on shutters where on MQTT commands the source is still the LAST one before the MQTT
2024-06-10 10:42:02 +02:00
Theo Arends bdc15960ad Refactor display show sensors 2024-06-09 16:25:04 +02:00
Theo Arends ea5c9bc9b6 Fix DisplayMode MQTT (Un)Subscribe without restart 2024-06-09 13:46:54 +02:00
Theo Arends 8cfa6f28ea Fix restart on wifimanager timeout 2024-06-09 10:40:01 +02:00
Jason2866 c556c06413
remove dead code (#21595) 2024-06-09 10:25:32 +02:00
Theo Arends 1e33b45ea8 Add partial DisplayText features to modes1 to 5 2024-06-08 17:22:19 +02:00
Theo Arends ff961df336 Change display timing splash screen with display modes 1 to 5 2024-06-08 15:33:44 +02:00
s-hadinger 8479da0afb
Remove obsolete comment in my_user_config.h 2024-06-07 13:04:44 +02:00
Theo Arends 9350f68ac5 Replace optional MQTT_TELE_RETAIN to Energy Margins message by ``SensorRetain`` 2024-06-07 11:48:52 +02:00
Marius Bezuidenhout f68e2285e8
Fixed incorrect output size clamping (#21568) 2024-06-06 09:39:23 +02:00
Jason2866 f3fa9dfd9b
Update M5stack_core2_display.ini 2024-06-05 12:53:13 +02:00
Jason2866 89b4376e31
uTouch for m5core2 2024-06-04 17:03:05 +02:00
Jason2866 7ae86d336b
add uTouch settings 2024-06-04 16:45:08 +02:00
Theo Arends dcc7021384 Remove GPIO_I2S_BCLK_IN, GPIO_I2S_WS_IN 2024-06-04 14:19:11 +02:00
s-hadinger 01f9097acb
Add default value for `SetOption151` (#21560) 2024-06-03 22:53:13 +02:00
Theo Arends 243411916b Bump v14.1.0.1 2024-06-03 14:50:59 +02:00
Theo Arends c1feaffa80 Merge branch 'development' into prerelease-14.1.0 2024-06-03 13:51:54 +02:00
Christian Baars 7b678ba2c8
forgotten safety check (#21549) 2024-06-03 12:09:38 +02:00
blenk92 2d33a77ba5
Support Levoit Core200s (WIP, Feedback requested) (#21502)
* Support Levoit Core 200S

Add berry script to support Levoit Core 200S (and possibly other too
since levoit offers multiple similar devices)

* Core200S: fix comments
2024-06-03 09:50:28 +02:00
Theo Arends 132b98f0c2 Change GPIOViewer from v1.5.3 to v1.5.4 (No functional change) 2024-06-02 12:03:28 +02:00
Theo Arends 2a2e853ff2 Merge branch 'development' into prerelease-14.1.0 2024-06-02 11:28:36 +02:00
Andreas Doppelhofer 0249f66066
SML: Allow larger offset when using x to ignore bytes (#21535)
* Allow larger offset when using x to ignore bytes

STW Klagenfurt sends 355 bytes, and the interesting values starts somewhere at position 304. Therefor we need to set a larger uint range to allow more than 255 bytes to ignore.

* Update xsns_53_sml.ino

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-06-02 11:18:35 +02:00
Theo Arends 8c4388bf47 Fix M5AtomS3 display descriptions 2024-05-31 15:37:23 +02:00
s-hadinger 0bd5f6b27a
Remove deprecated code from drivers, `USE_TTGO_WATCH` and `USE_M5STACK_CORE2` (#21533) 2024-05-31 08:58:11 +02:00
Roland Praml 4d9e9198b5
SML: FastExit for binary SML parsing (#21497)
* SML: FastExit for binary SML parsing

* moved the fast-exit in the SML-shift-in

* Using constants for flags

---------

Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
2024-05-30 14:18:26 +02:00
Theo Arends f5ed2e0845 Fix oops 2024-05-30 10:54:32 +02:00
Theo Arends 2771827c15 Changed TCP bridge increased baudrate selection (#21528)
- Bump v14.0.0.4
2024-05-30 10:50:12 +02:00
Theo Arends b61ea17ce1 Bump version v14.0.0.3 2024-05-29 17:17:53 +02:00
Theo Arends 2347f37269 Revert "Fix ESP32 slow response when using UDP as in emulation (#21470)"
This reverts commit f132663dfe.
2024-05-29 16:45:16 +02:00
Theo Arends 7c98e0d303 Revert "Another few victims of core3 UDP"
This reverts commit 27c35befdf.
2024-05-29 16:45:04 +02:00
Theo Arends adcc50ac6e Revert "Fix network flushes"
This reverts commit b88ec44d15.
2024-05-29 16:44:50 +02:00
Theo Arends b88ec44d15 Fix network flushes 2024-05-29 14:09:54 +02:00
Theo Arends 27c35befdf Another few victims of core3 UDP 2024-05-29 11:57:29 +02:00
Theo Arends f132663dfe Fix ESP32 slow response when using UDP as in emulation (#21470) 2024-05-29 11:46:55 +02:00
Theo Arends bc6faa733c Refactor Telegram 2024-05-28 17:47:35 +02:00
Christian Baars a4dbc57448
multiple fixes (#21511) 2024-05-28 10:59:57 +02:00
Theo Arends 7b478f718c Update changelogs 2024-05-27 22:47:08 +02:00
s-hadinger bb40642225
Fix Telegram TLS fingerprint, remove CA validation (#21514) 2024-05-27 22:31:27 +02:00
s-hadinger 0a2990de59
Update Telegram CA (Go Daddy Root Certificate Authority - G2) (#21510) 2024-05-27 18:21:05 +02:00
Theo Arends 1e42b5d131 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-05-27 15:46:27 +02:00
Theo Arends 5085a8bbbb Bump version v14.0.0.2 2024-05-27 15:46:15 +02:00
Jason2866 2aa8787884
disable ESP32 WDT (#21509) 2024-05-27 15:40:16 +02:00
Theo Arends 0fe893b01d Fix unsupported %.2f (#21508) 2024-05-27 15:37:15 +02:00
Christian Baars 33f491a8e6
scan wifi asynchronously (#21498) 2024-05-27 15:17:09 +02:00
Roland Praml e07b0e42b3
SML: Fix compile error when median-filter is disabled (#21495)
Co-authored-by: Roland Praml <roland@DESKTOP-MKLGCJR>
2024-05-27 13:11:54 +02:00
btsimonh a78169b43a
Webcamshutdown - use FUNC_ABOUT_TO_RESTART (#21462)
* use FUNC_ABOUT_TO_RESTART for webcam shutdown in webcamv2

* fix an annoying compile warning - lengths are pre-checked to fit anyway.
2024-05-25 19:51:46 +02:00
s-hadinger 25a2a46917
Matter auto-fix IPv6 link-local zone id when network reconnects (#21494) 2024-05-25 19:51:00 +02:00
s-hadinger 0d3e888147
Berry change internal storage of parent class for methods (#21490)
* Berry change internal storage of parent class for methods

* Fix compilation of zigbee

* Patch solidify for berry_custom
2024-05-24 22:32:37 +02:00
btsimonh 3e0b70af10
Ufs serve fix - makes it work better on esp32cam (ai thinker style) (#21486)
* Add yield() in file listing, so watchdog does not trigger with very large folders

* update UFSServe function to be like download function.
This removes the use of server.streamFile, and provides a much more reliable download.
Make UFSServe always use this function, regardless of auth requirement.  (i.e. no use of the original in the original class, as it still uses streaming.)
Note that UFSServe is enab;ed with #define UFILESYS_STATIC_SERVING
2024-05-24 22:02:09 +02:00
Christian Baars e5521bb763
Build system: allow easy solidification of external Berry (#21430)
* custom solidification

* solidify-from-url

* forgot folders

---------

Co-authored-by: Radio Loge <radiologe@MacBook-Pro-von-Radio.local>
2024-05-24 20:57:43 +02:00
Christian Baars 1ca91a8170
Berry webserver: allow to content_send bytes (#21479) 2024-05-24 20:55:56 +02:00
Christian Baars 01bd6ec52a
apll not supported on all SOCs (#21483) 2024-05-24 15:55:24 +02:00
Theo Arends a9e7426cff Changed support W5500 SPI ethernet using four SPI GPIOs only without IRQ and RESET 2024-05-23 15:16:05 +02:00
btsimonh 522f6c5e00
fail UFSServe if Webserver is null. (#21467) 2024-05-22 16:26:26 +02:00
Theo Arends a14aad93cb Revert "Fix `SendMail` watchdog restart during reconnect to SMTP server (#21454)"
This reverts commit 784bc3ea5f.
2024-05-22 15:19:14 +02:00
Theo Arends 784bc3ea5f Fix `SendMail` watchdog restart during reconnect to SMTP server (#21454) 2024-05-22 15:18:38 +02:00
Christian Baars da4fab66c1
more consistent usage of variables, really use apll rx setting (#21459) 2024-05-21 17:43:43 +02:00
Theo Arends 3b4035b3e2 Add FUNC_ABOUT_TO_RESTART (#21460) 2024-05-21 17:28:02 +02:00
Theo Arends 73350da88c Even better fix 2024-05-21 17:14:47 +02:00
Theo Arends 140e4791aa nicer solution skipping loracommand header 2024-05-21 17:10:19 +02:00
Theo Arends 08afd40823 Remove command header 2024-05-21 16:48:14 +02:00
Theo Arends 00a389bbb2 Add default LoRaCommand disable reception (#17790) 2024-05-21 16:18:46 +02:00
Theo Arends a4c7add8df Prep ESP32 SPI bus 2 support 2024-05-21 15:58:16 +02:00
Theo Arends 2e51860464 Fix GUI auto-decimal (#21445) 2024-05-21 14:27:02 +02:00
Theo Arends 7824378755 Update changelogs 2024-05-21 10:22:29 +02:00
btsimonh 2eccc96c62
Ble 32 fixscanning (#21451)
* restore scanend callback

* fix ble scanning time from 20ms to 20s

* fix connection timeout.
Use ->getLastError() to find out why we did not connect.

* add #define to remove hack if not required in the future.
2024-05-20 20:56:55 +02:00
s-hadinger 7253e83a04
Fixed Zigbee crash when removing `ZbName` (#21449) 2024-05-20 16:51:35 +02:00
Christian Baars e7f69ebc5f
bugfix: webradio crash with invalid url (#21446) 2024-05-20 09:12:14 +02:00
bovirus 62af6f3a7c
Update Italian language (#21437)
* Update Italian language

* Update Italian language (2)

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2024-05-20 09:11:48 +02:00
Christian Baars 7f7bcd0ab6
small refactoring, more robust handling of commands (#21439) 2024-05-19 17:12:54 +02:00
Theo Arends 009aa8d481 Prep ASR650X LoRaWan node 2024-05-19 12:09:33 +02:00
Christian Baars 0e5b2a86b8
i2s audio ,some improvements (#21433) 2024-05-18 22:15:59 +02:00
Barbudor 285a6f3532
knx dimmer and colour (#21434) 2024-05-18 22:15:46 +02:00
Barbudor 60a42f015e
Add command WebRun (as WebQuery extension) (#21364)
* tasmota-1m32

* ready

* add code usage

* clean

* remove also that

* remove WebQueryWithFunction in favor of default value
2024-05-18 22:15:16 +02:00
Theo Arends 33b0c1d5c2 Update changelogs 2024-05-18 12:29:51 +02:00
s-hadinger 27c731c7b6
Avoid connection errors when switching to safeboot to upload OTA firmware (#21428) 2024-05-17 20:40:17 +02:00
Theo Arends 0d225839da On universal display remove default backlight power if a PWM channel is used for backlight 2024-05-17 14:08:34 +02:00
Theo Arends 2ddbc7c7fa Fix watchdog restart or freeze if ``displaytext`` is more than 128 characters (#21401) 2024-05-17 12:47:14 +02:00
s-hadinger b9bd558abe
Enabled watchdog for ESP32 and variants (#21422)
* Enabled watchdog for ESP32 and variants

* Ensure compilation for sageboot

* Fix compilation

* Fix compilation for RISCV
2024-05-16 21:19:34 +02:00
Theo Arends 6ba59385d4 Fix Domoticz re-subscribe on MQTT reconnect. Regression from v13.4.0.3 (#21281) 2024-05-16 14:43:30 +02:00
s-hadinger 85a9eda143
Revert "Enabled watchdog for ESP32 and variants (#21414)" (#21417)
This reverts commit e4ea62cc0d.
2024-05-15 22:52:49 +02:00
s-hadinger ec6448b353
Drop support of old insecure fingerprint algorithm (deprecated since v8.4.0) (#21416) 2024-05-15 22:30:10 +02:00
s-hadinger e4ea62cc0d
Enabled watchdog for ESP32 and variants (#21414) 2024-05-15 19:13:45 +02:00
Theo Arends ac06195907 Remove non IDF5 code 2024-05-15 16:45:42 +02:00
Theo Arends 1d7f3e8f07 Fix compile warning (#21411) 2024-05-15 15:54:18 +02:00
Theo Arends 9105b56ffd Bump v14.0.0.1 2024-05-14 16:45:58 +02:00
Theo Arends ba2ad90384 Merge branch 'development' into prerelease-14.0.0 2024-05-14 11:07:06 +02:00
Theo Arends f9ca7d4821 Update changelogs 2024-05-14 10:59:23 +02:00
s-hadinger 4cda2d7dc2
Berry `Leds` uses native WS2812 driver by default (#21406) 2024-05-13 22:21:58 +02:00
s-hadinger 2865630309
Prepare for ESP32 WDT (#21383)
* Prepare for ESP32 WDT

* make `sleep()` reset WDT
2024-05-12 21:12:08 +02:00
s-hadinger 15a5ef30c4
Fixed Berry `gpio.dac_voltage()` (#21403) 2024-05-12 21:11:14 +02:00
Theo Arends 103860f394 Merge branch 'development' into prerelease-14.0.0 2024-05-10 10:47:33 +02:00
Barbudor 466dcae840
Quick Fix: KNX loose config on restart (#21378)
* quick fix

* revert to ascillato test
2024-05-10 10:46:40 +02:00
Theo Arends 4111b7883b Merge branch 'development' into prerelease-14.0.0 2024-05-10 10:44:54 +02:00
Theo Arends 3e8ca44681 Attempt to fix TasMesh (#21395) 2024-05-10 10:34:58 +02:00
Theo Arends c7a5cd58f4 Fix a compile error 2024-05-10 10:18:46 +02:00
Theo Arends 178b11196a Fix default compile 2024-05-09 14:34:25 +02:00
Theo Arends 141a4086b3 Revert "ESP8266 removed SPI check for valid SPI Chip Select (#21393)"
This reverts commit 584329a6c0.
2024-05-09 14:11:57 +02:00
Theo Arends 584329a6c0 ESP8266 removed SPI check for valid SPI Chip Select (#21393) 2024-05-09 13:52:07 +02:00
Theo Arends 45d3124602 Merge branch 'development' into prerelease-14.0.0 2024-05-08 13:27:08 +02:00
gemu 61814e79fe
fix jpeg compile core3 (#21387) 2024-05-08 13:21:14 +02:00
chefpro 1d626225de
Add display.ini file for esp32-1732S019 development board which is based on esp32s3 (#21384)
Co-authored-by: Peter Rustler <peter@rustlerit.de>
2024-05-08 09:18:51 +02:00
Theo Arends a3fb17b4f1 Merge branch 'development' into prerelease-14.0.0 2024-05-07 17:15:16 +02:00
Theo Arends 9314032f69 Fix safeboot logging flood 2024-05-07 11:05:54 +02:00
fb-pilot 2f59523416
beautified code xsns 33 qmc5883l (#21312)
* Add files via upload

* Add files via upload

beautified code

* Update xsns_33_qmc5883l.ino

date removed

* Add files via upload

adapt defaults for bf-xsns_33_qmc5883l

* Update tasmota/my_user_config.h

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>

---------

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>
2024-05-07 10:06:57 +02:00
Christian Baars 08f9b37b99
Berry add gpio.set_freq() (#21375) 2024-05-07 09:36:39 +02:00
Theo Arends 983694cc2b Merge branch 'development' into prerelease-14.0.0 2024-05-06 17:39:08 +02:00
Theo Arends 21c7f4c81b Minor changes 2024-05-06 17:36:39 +02:00
Theo Arends c5e122f922 Add GPIOViewer pin mode support 2024-05-06 17:20:52 +02:00
fb-pilot 0d6baa00e4
add options for INA3221 driver (#21310)
* Add files via upload

* Add files via upload

* Add files via upload

* Delete tasmota/xsns_100_ina3221.ino

---------

Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2024-05-06 11:42:31 +02:00
Theo Arends 133cc25bdb Merge branch 'development' into prerelease-14.0.0 2024-05-06 10:52:57 +02:00
Anton Gladky dd161dc732
Replace Let’s Encrypt R3 by ISRG Root X1 one. (#21352)
According to the blog post [1] new intermediate certificates
will be deployed. Thus R3 certificate, used now will not allow
to setup a secure connection.

This root certificate is valid till 2035/06
2024-05-05 21:19:16 +02:00
s-hadinger e6e15a214f
Seriallog set to `SERIAL_LOG_LEVEL` at boot (#21363)
* Seriallog set to `SERIAL_LOG_LEVEL` at boot

* Ensure seriallog has at least LOG_LEVEL_INFO at boot
2024-05-05 21:08:24 +02:00
David Gwynne cced3d1d93
let berry drivers provide "after_teleperiod" handlers (#21351)
this is useful if you want to periodically report the state of something
handled separately to the sensors output.
2024-05-05 19:42:27 +02:00
Theo Arends c41f18a9b6 Fix calloc allignment 2024-05-05 18:26:21 +02:00
Theo Arends 53073b374d Fix initial default settings 2024-05-05 18:21:03 +02:00
s-hadinger 3d0532ce8c
Fixed void unwanted OTA upgrade when safeboot starts for the first time (#21360) 2024-05-05 18:03:32 +02:00
Marius Bezuidenhout 73b0ec2c1d
Fix xsns_87_mcp2515 (#21331)
* Fixed mcp2515 not getting initialised and correctly setting configured CS pin

* Changed MCP2515_BMS_FREEDWON to MCP2515_BMS_SMA as SMA is better known.
2024-05-05 16:02:44 +02:00
Theo Arends a3e57d6479 Add Support for compile time hostname with `#define WIFI_DEFAULT_HOSTNAME` (#21236) 2024-05-05 15:37:03 +02:00
s-hadinger c4e847d288
Fix crash in WebUI 2024-05-05 11:28:28 +02:00
Christian Baars ca5a2d322d
fix Tensorflow driver for IDF5.x (#21348) 2024-05-04 19:59:47 +02:00
Jason2866 1e63c8924e
use "minimal" instead of "safeboot" (#21346) 2024-05-04 15:34:11 +02:00
s-hadinger 599526a90c
``Publish3`` to send binary data encoded as Hex, disabled in safeboot (#21345) 2024-05-04 15:26:07 +02:00
Jason2866 3be5f630e1
fix s2cdc serial console (#21344) 2024-05-04 15:14:51 +02:00
Marius Bezuidenhout 545cc27ca8
Fixed HexToBytes function. Added Publish3 command. (#21329) 2024-05-04 14:42:35 +02:00
Christian Baars fffb43fa79
fix conflicting log_level definitions (#21337) 2024-05-03 23:25:41 +02:00
Jason2866 1d7498d0b8
remove serial bridge from safeboot (#21334)
* remove serial bridge from safeboot
* Enable SPI in ESP32 safeboot
2024-05-03 15:31:48 +02:00
Jason2866 9168f7b198
More shrink of safeboot (#21333)
* remove crash recorder from safeboot

* small refactor

* safeboot more shrink
2024-05-03 15:01:31 +02:00
Jason2866 9b8cd42e5f
remove crash recorder from safeboot (#21332)
* remove crash recorder from safeboot

* small refactor
2024-05-03 14:47:14 +02:00
s-hadinger 041540c80c
Changed internal macro `APP_SLEEP` to `TASMOTA_SLEEP` to specify default sleep in ms (#21324) 2024-05-03 09:03:45 +02:00
s-hadinger 18bdf07903
Reduced safeboot size by 2.9KB (#21322)
* Reduced safeboot size by 2.9KB

* remove leftover
2024-05-02 23:09:56 +02:00
s-hadinger 24c8f65cb5
Compilation of Ethernet when SPI drivers are disabled (#21321) 2024-05-02 22:07:37 +02:00
s-hadinger d08bf78e24
Zigbee startup event triggered after plugins are loaded (#21320) 2024-05-02 21:54:44 +02:00
s-hadinger f7e285ab11
Fixed `EthType` for Core3 (#21317) 2024-05-02 14:46:28 +02:00
Christian Baars 08c3416255
Berry example: wave file recorder (#21315) 2024-05-02 13:36:28 +02:00
Jason2866 fb78c3a796
Fix PIO Inspect
Solo1 framework does not support PSRAM
2024-05-02 13:31:34 +02:00
Jason2866 117cee9e6e
Update esp32 platform to 2024.04.14 (#21299)
* use new HWCDC Arduino code
2024-04-30 17:58:30 +02:00
Christian Baars 5b5fdb0afe
WIP: make I2S bridge compile with Core 3, untested on hardware (#21301)
* make I2S bridge compile with Core 3, untested on hardware

* typo USE_I2S_BRIDGE

* rm Core 2 version
2024-04-28 22:09:09 +02:00
legchenkov ecf7d444c6
Add Support for AHT30 Temperature and Humidity Sensor (#19922)
* Update xsns_63_aht1x.ino

Support for AHT30 added. Fixed command for loading factory calibrated data and reset command, added needed delay after read command and increased measurement period to reduce heating of sensor.

* Update xsns_63_aht1x.ino

* Update xsns_63_aht1x.ino

The reset command is aligned with the AHT10/20/30 datasheet.

* Update ru_RU.h

Translated Dew Point to russian Точка росы for sensors

* Delete tasmota/language/ru_RU.h

Will go to separate PR

* Add files via upload

* Update ru_RU.h

Partial translation update

* Add files via upload
2024-04-28 21:34:36 +02:00
Jason2866 852ce100db
add USE_I2S_ALL (#21298)
Co-authored-by: Staars <baars@klinikum-brandenburg.de>
2024-04-28 18:09:43 +02:00
Christian Baars b3c075c666
I2S changes for Core 3 (#21291)
* i2s fixes and refactoring

* DMA setting added, more refactoring
2024-04-27 20:50:03 +02:00
s-hadinger 5cc5e5ef45
HASPmota demo of Renaissance Watch for 480x480 displays (#21290)
* HASPmota demo of Renaissance Watch for 480x480 displays

* Put arrow in front of date
2024-04-27 19:05:24 +02:00
s-hadinger bf01e5bb70
Fix async HMDI CEC (#21287) 2024-04-27 18:22:50 +02:00
sfromis 311a9f18e6
Wrong feature bit for USE_SPL06_007 (#21286)
Obvious "typo" in setting the feature bit for this recently added sensor. Already mentioned in https://github.com/arendst/Tasmota/pull/21185#issuecomment-2071122611
2024-04-27 16:30:57 +02:00
bovirus 4aa2da3eb2
Update Italian language (#21283) 2024-04-26 16:52:35 +02:00
fb-pilot e2a08d5d01
Add files via upload (#21262)
fix display multiple devices and add more options
2024-04-26 16:52:06 +02:00
Jason2866 41970f7d62
Disable psram check to avoid "blinking" of GPIO 16/17 at startup (#21282)
* add `DISABLE_PSRAMCHECK`

* remove code before IDF 5

* add no psram env
2024-04-25 20:19:20 +02:00
Jason2866 eef4ff389f
Delete IDF 4.4 based i2s code (#21188)
* Delete tasmota/tasmota_xdrv_driver/xdrv_42_2_i2s_mp3stream.ino

* Delete tasmota/tasmota_xdrv_driver/xdrv_42_0_i2s_audio.ino

* Delete tasmota/tasmota_xdrv_driver/xdrv_42_1_i2s_mp3mic.ino
2024-04-25 13:41:47 +02:00
s-hadinger 1e64eaddf3
Berry `webserver.content_close()` (#21276) 2024-04-25 12:50:43 +02:00
s-hadinger 466652549a
Fix faulty printing of IPv4 2024-04-25 11:23:27 +02:00
s-hadinger 2a35f325b8
Put back wifi IPv6 workaround (#21274) 2024-04-25 10:28:42 +02:00
s-hadinger 469492a41a
Berry `web_add_handler` called before `Webserver` is initialized (#21272) 2024-04-25 09:08:24 +02:00
s-hadinger 582ca598f0
HDMI CEC synchronously sends messages (#21270) 2024-04-24 20:06:13 +02:00
s-hadinger 91dd120aa9
TCP Tx En GPIO type (#21269) 2024-04-24 19:53:01 +02:00
Norbert Richter 5a8d713d77
NeoPool prevent possible multiple bus requests (#21267)
* Update NeoPool register desc

* NeoPool prevent possible multiple bus requests
2024-04-24 17:44:26 +02:00
s-hadinger b9cd7bf04a
Add ESP32S3-4848S040 display.ini (#21259) 2024-04-23 22:12:27 +02:00
s-hadinger 546ed9d409
Add uTouch to WT32_SC01 display.ini (#21258) 2024-04-23 22:05:00 +02:00
s-hadinger 595b7f750d
LVGL fix memory allocation of flush buffers (#21256) 2024-04-23 20:11:01 +02:00
s-hadinger 157e1afb29
LVGL disabled vector graphics (#21242) 2024-04-22 09:18:26 +02:00
s-hadinger 5ecd45e2da
Berry avoid crash when Berry is disabled after bootloop (#21235) 2024-04-21 10:03:55 +02:00
s-hadinger c4431eb6fe
Fixed IPv6 support in safeboot (#21233) 2024-04-20 22:15:54 +02:00
s-hadinger fe34b5df3d
HASPmota `align` attribute and expand PNG cache (#21228) 2024-04-20 14:23:31 +02:00
Jason2866 76970ddca9
restore config as it was before switch to core 3.0.0 2024-04-18 16:53:11 +02:00
Theo Arends 0f19dcdff8 Bump version v13.4.1.2
- ESP32-C3 OTA binary name from `tasmota32c3cdc.bin` to `tasmota32c3.bin` with USB HWCDC and fallback to serial (#21212)
- ESP32-C6 OTA binary name from `tasmota32c6cdc.bin` to `tasmota32c6.bin` with USB HWCDC and fallback to serial (#21212)
- ESP32-S3 OTA binary name from `tasmota32s3cdc.bin` to `tasmota32s3.bin` with USB HWCDC and fallback to serial (#21212)
2024-04-18 14:01:27 +02:00
Theo Arends 7e14db4091 Add support for SPL06_007 pressure and temperature sensor (#21185) 2024-04-18 11:47:16 +02:00
Theo Arends 9b5df76860 Add Domoticz safeguards 2024-04-18 11:21:35 +02:00
Rai 13cbf26b87
Adds support for SPL06_007 Temperature & Pressure I2C (+10k2 code) (#21185)
* Adds support for SPL06_007 (+10k2 code)

* removes not so used methods.

Removes -2kb

* change doubles to floats

* fixes a name

* change sns idx to 25
2024-04-18 11:20:02 +02:00
s-hadinger 042eecc378
HASPmota `dropdown_list` and fixes (#21208) 2024-04-17 21:43:12 +02:00
Theo Arends e6d9d826ac Clean up code 2024-04-17 21:40:45 +02:00
Theo Arends b6b74ecb96 Fix regression on SendKey() (#21187) 2024-04-17 17:30:25 +02:00
Theo Arends 0bb1fcbc00 Change comments 2024-04-17 15:58:20 +02:00
Theo Arends e4936f6c5f Fix ethernet 2024-04-17 15:34:14 +02:00
Theo Arends e95c940345 Change ESP32 Ethernet Phy Type number for ETH_PHY_DM9051 from 4 to 10 (#21204) 2024-04-17 15:10:45 +02:00
Jason2866 1d04c000e2
Re enable Ethernet in safeboot for ESP32 (#21199)
by using the Arduino Solo1 framework. The framework has a smaller flash usage
2024-04-16 12:08:53 +02:00
s-hadinger 87f5fbd5fd
safeboot: don't publish sensor valies (#21193) 2024-04-15 22:20:28 +02:00
s-hadinger d9895a0fcb
SSD1351, ST7789 drivers replaced with uDisplay (#21184) 2024-04-15 19:52:57 +02:00
Theo Arends ecf2504edf Fix invalid rule handling 2024-04-15 17:25:11 +02:00
Theo Arends cb0e2938e5 Start clean-up code 2024-04-15 15:12:17 +02:00
Theo Arends 1fe18cf7b6 Fix Core3 ESP32S2 compile 2024-04-15 13:00:09 +02:00
Theo Arends d957c97c1e Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-04-15 12:26:52 +02:00
Theo Arends 6c5dee9556 Bump version to v13.4.1.1
- Changed ESP32 Framework (Arduino Core) from v2.0.15 to v3.0.0 (#21180)
2024-04-15 12:26:48 +02:00
Jason2866 87ed42318a
Temp fix for too big ESP32 Safeboot firmwares 2024-04-15 12:24:31 +02:00
Jason2866 951fba99b1
Breaking: ESP32 Core 3.0.0 only support (#21180)
* Core 3.0.0 only

* rm Arduino30 settings

* rm lib ignore `NimBLE-Arduino`

* rm obsolete or duplicate env entrys
2024-04-15 11:39:48 +02:00
s-hadinger a006e5fc53
SSH1106 driver replaced with uDisplay (#21183) 2024-04-15 10:57:14 +02:00
Jason2866 6492596a10
Fix BLE compile with core 3.0.0 (#21182)
* Delete lib/libesp32_div/NimBLE-Arduino directory
* rm obsolete ignores
2024-04-15 10:24:06 +02:00
s-hadinger 0b4cddff72
SSD1331 driver replaced with uDisplay (#21177) 2024-04-14 18:06:17 +02:00
s-hadinger 05f4011491
SSD1306 driver replaced with uDisplay (#21176) 2024-04-14 16:46:58 +02:00
s-hadinger ff43dc29b2
ILI9341 driver replaced with uDisplay (#21169) 2024-04-14 10:26:37 +02:00
Jason2866 a111c0ae8f
Use UDisplay and UTouch drivers ony (#21163) 2024-04-13 12:02:23 +02:00
s-hadinger 5f7584efe4
Fade out on CCT bulb with `SO92 1` (#21159) 2024-04-12 19:53:37 +02:00
Theo Arends 5cb3ea2114 Update changelogs 2024-04-12 16:01:00 +02:00
Jason2866 d3ab3ced1e
remove touch driver (#21146)
only UTouch is active
2024-04-11 21:16:22 +02:00