Commit Graph

9142 Commits

Author SHA1 Message Date
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 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
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
Samir El Benna ce443771d9
Patch gc9a01 (#21145)
* Fixed wrong colors view

* Added display.ini for M5Stack Dial

* Added touch FT3267 support (seen as FT5206 from tasmota) and fixed touch rotation

* Updated to use Universal Touch Driver instead of deprecated dedicated ones.
2024-04-11 21:06:26 +02:00
Samir El Benna 7072c3a0ef
Completed display.ini for M5Stack Dial (#21144)
* Fixed wrong colors view

* Added display.ini for M5Stack Dial

* Added touch FT3267 support (seen as FT5206 from tasmota) and fixed touch rotation
2024-04-11 15:37:06 +02:00
gemu 7984b7513c
support for centered pictures (#21140) 2024-04-11 15:36:37 +02:00
gemu d5ee89677b
scriptsize cmd (#21139) 2024-04-11 15:36:27 +02:00
Theo Arends e98ce29fea Fix SGP4 domoticz air quality (#18880) 2024-04-11 15:35:00 +02:00
Theo Arends 1b5fdb5c57 update changelogs 2024-04-11 14:07:25 +02:00
s-hadinger 39ad5a41bb
Core3 ethernet simplify ipv6 (#21141) 2024-04-10 23:12:20 +02:00
Samir El Benna 5f6ac60d6b
Patch gc9a01 (#21137)
* Fixed wrong colors view

* Added display.ini for M5Stack Dial
2024-04-10 16:48:55 +02:00
Christian Baars 1721de0b76
use new API for check of USB cable connection (#21135) 2024-04-10 11:31:18 +02:00
Theo Arends 54e4aba750 Add LoRaWan MAC response 2024-04-09 14:06:38 +02:00
Theo Arends 56fcd0e634 Relax system load when not using SR04 2024-04-09 10:20:03 +02:00
Julio Vilmar Gesser 670164f4d0
fixed backward compatibility for multiple SR04 (#21128) 2024-04-09 09:56:31 +02:00
Theo Arends d678666ef0 Fix MQTT heatindex calculation 2024-04-08 14:58:31 +02:00
Theo Arends 9cacf2f609 Fix Power off due to overtemp and/ot overload 2024-04-08 12:03:11 +02:00
s-hadinger 541f3630a1
Wifi provide Mac Address on Core3 (#21117) 2024-04-07 10:55:53 +02:00
Jason2866 8a06984947
Shrink safeboot size for non ESP32 MCU (#21115)
* Ethernet in safeboot only for ESP32
2024-04-06 18:27:57 +02:00
stefanbode b9a0ae98df
Bugfix: power0 if power_lock is used (#21102)
* Bug Fix: power_lock with Power0 command

Power0 changed power regardless of the new lock state of power. New implementation respect the LOCK also on global change

* simplify

* readded the all_on filter to power_lock change

readded the all_on to ensure new defined relays always start with power off ass intended.
2024-04-06 17:21:54 +02:00
Theo Arends 02f6e05289 Fixed M5Core2 LoRa868 module receive exception 2024-04-06 15:04:05 +02:00
s-hadinger 2128dfbade
Refactored Wifi for ESP32 to allow for Core3 (#21106)
* Refactored Wifi for ESP32 to allow for Core3

* Fix case in include

* Grrr

* Fix compilation

* Fix Ethernet IPv6

* Fix wrong hostname due to mac address unknown at start
2024-04-05 23:44:21 +02:00
gemu 8a8888a273
fix for core3 (#21104) 2024-04-05 22:42:32 +02:00
Norbert Richter 9207aa2e10
Fix NeoPool hydrolysis unit for Hidrolife, Bionet and Generic device (#21098) 2024-04-05 11:07:30 +02:00
s-hadinger 07a2df1b74
Berry add `flash.current_ota` (#21097) 2024-04-04 19:14:33 +02:00
Theo Arends ed7909f23f Removed unused `#define MQTT_DATA_STRING` support 2024-04-04 17:03:08 +02:00
Theo Arends db92a843fc Change Wifi 5 to Wifi 6 2024-04-04 14:59:32 +02:00
gemu ad3782bed1
google charts memory leak (#21093) 2024-04-04 10:18:57 +02:00
Theo Arends 6558414e2b Add PowerLock to status
- Change Power format in status to bitmap
2024-04-03 15:02:11 +02:00
Theo Arends 7c36029ec2 Add command ``Wifi 5`` to enable 11ax on ESP32 Core3 2024-04-03 14:36:52 +02:00
Theo Arends fe89774fe0 Bump version v13.4.0.4
- Add command ``PowerLock`` to disable power control of selected outputs (#21081)
2024-04-03 11:47:38 +02:00
Theo Arends 52344d2cc7 Fix JSON output (#21084) 2024-04-02 16:49:24 +02:00
Theo Arends 1ebdbfd6a4 Allow Domoticz unsubsctibe using command ``DzIdx0 0`` (#21019) 2024-04-01 13:56:40 +02:00
Barbudor 0422b25e31
Change format of KNX Energy to match specifications (#21074)
* take 1

* refactor knx enhancement

* round on energy + auto show temp/hum sensors
2024-03-31 21:15:53 +02:00
Julio Vilmar Gesser 60666fa1c5
Added support to multiple SR04 (#20975)
* added support to multiple SR04

* Reduced MAX # of SR04 to 3 as ESP32 has only 3 serial uarts
2024-03-31 15:12:29 +02:00
Theo Arends b15a0e2f1f Add support for Domoticz non-persistent ``DzIdx5`` to ``DzIdx32`` (#21019) 2024-03-31 14:33:27 +02:00
gemu e336913b32
fix multidisplay mode (#21067) 2024-03-31 08:16:15 +02:00
Theo Arends 71e666462c Prep RN2XX3 support 2024-03-30 16:42:57 +01:00
Theo Arends caed27645e Consolidate Lora memory usage 2024-03-30 15:02:20 +01:00
Theo Arends 6ccb3ae290 Move Lora variables from fixed to heap 2024-03-29 17:56:06 +01:00
Theo Arends 7774ce5ad8 Update TXPowerBasedOnRssi() 2024-03-29 14:30:31 +01:00
Theo Arends 4b44d2fa32 Change ESP32 WiFi phy modes 11n and 11ax represented as HT20, HT40 and HE20 (#19350) 2024-03-29 13:04:44 +01:00
Theo Arends 0814acb8dc Fix Lora ESP32S3 compile warning 2024-03-28 18:20:13 +01:00
Theo Arends bd3c7d8ddf Fix LoRaWan joining 2024-03-28 17:51:09 +01:00
Theo Arends 894e46cb5a Refactor lorawan 2024-03-28 17:15:45 +01:00
Theo Arends 7c52906a2e Fix ESP8266 Lora SX1262 exceptions 2024-03-27 23:03:10 +01:00
bovirus 1abc4a6c30
Update Italian language (#21052) 2024-03-27 17:44:41 +01:00
gemu b50d613360
display ini to utouch (#21029) 2024-03-27 12:12:59 +01:00
s-hadinger 6ad2c4c945
LVGL simplify configuration (#21043) 2024-03-26 23:16:16 +01:00
Theo Arends 03cf7dc460 Fix ESP32 LoRaWanBridge OTAA 2024-03-26 17:02:44 +01:00
Jason2866 48aa621975
enable additionally `USE_UNIVERSAL_TOUCH` (#21038)
dedicated driver are still enabled. To be disabled when transition to UTouch is finished
2024-03-26 16:34:43 +01:00
Pabasara Perera 2fff690af3
Azure iothub direct method support (#21013)
* feature: azure iot hub direct method support

* null terminator

* Remove vulnerability

---------

Co-authored-by: s-hadinger <49731213+s-hadinger@users.noreply.github.com>
2024-03-25 22:11:36 +01:00
s-hadinger 10465ce941
Added GPIO for SPI for Universal Touch Screen (#21025)
* Added GPIO for SPI for Universal Touch Screen

* Rename GPIOs

* Fix indentation

* Add parsing of I2C Reset and IRQ GPIOs
2024-03-25 22:04:50 +01:00
Theo Arends 36cbca9004 Add updated user config 2024-03-23 15:21:16 +01:00
Theo Arends f10218a257 Add support for LoRaWanBridge 2024-03-23 15:20:22 +01:00
gemu 31adf74634
fix linker error (#21017) 2024-03-23 10:05:56 +01:00
s-hadinger a34f5496a1
Fix HASPmota demo and robotocondensed fonts (#21014) 2024-03-22 16:55:22 +01:00
gemu aad917d060
Email32 more debug (#21010)
* more debug on esp32 mail

* Update xdrv_01_2_webserver_esp32_mail.ino
2024-03-22 08:09:16 +01:00
s-hadinger 3c70e63af8
LVGL library from v9.0.0 to v9.1.0 (#21008) 2024-03-21 18:47:41 +01:00
gemu a38e88422f
fix google char memory leak (#20995) 2024-03-21 15:11:40 +01:00
Theo Arends c18ed34685 Fix Lora watchdog
- Update file JSON settings demo
2024-03-20 18:18:31 +01:00
Christian Baars 46fae91e10
fix BTHome, prep BLE5 (#20989) 2024-03-20 11:22:35 +01:00
s-hadinger 9c34707401
Zigbee added for attributes of type `uint48` used by energy monitoring (#20992) 2024-03-19 22:21:10 +01:00
Theo Arends f18bbae23a Bump version v13.4.0.3 2024-03-18 11:11:12 +01:00
Frank Werner 70bce974b2
Add MCP23S08 support (#20971) 2024-03-18 10:18:14 +01:00
s-hadinger 130c3f83f1
LVGL add helper functions (#20968) 2024-03-16 23:50:03 +01:00
bovirus 899e637bda
Update Italian language (#20956) 2024-03-16 12:12:32 +01:00
fb-pilot 73a52945c2
Add files via upload (#20959) 2024-03-16 12:12:18 +01:00
gemu ca17be0e0b
fix regression (#20962) 2024-03-16 12:11:48 +01:00
Marcus Better 1a462c986c
[tuyamcu_v2] Fix suppressed dimmer updates from MQTT (#20950)
The driver tried to avoid loops when state updates from the MCU (eg
from physical button press) could be reflected back by Tasmota and
trigger another MCU command, followed by a state update. It did this
by tracking the source of the command in the last_source and
last_command_source variables, suppressing the command if either of
those was SRC_SWITCH.

However this logic is faulty: Since there are two last_source
variables to check, a command might reset one of them, but the other
would still suppress the update. As it turns out, MQTT commands would
only set last_source but not last_command_source. As a result, any
dimmer changes via MQTT would be dropped by the driver and not applied
to the MCU.

Switch functionality (on/off) was still working because those do not
rely on last_command_source, only last_source.

This change removes the loop detection logic altogether for dimmer
updates. This should be safe, because the driver already has the
latest dimmer value in its shadow state, and will not try to re-apply
a current value, thus breaking the loop.

This patch has been tested with several CE-WF500D dimmers which had
this problem.
2024-03-14 17:42:52 +01:00
Theo Arends cc8614da9c Add command ``RfTimeout`` to Sonoff RFBridge (#20937) 2024-03-14 17:21:09 +01:00
Theo Arends 5ab7ebee9d Fix compilations 2024-03-14 16:40:22 +01:00
fb-pilot f7ae60a9e4
expand xsns_100_ina3221 to optionaly calculate the charge and / or Energy per chanel (#20915)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Update en_GB.h

* Update xsns_100_ina3221.ino

* Add files via upload

* Add files via upload

I hope I have all details now changed ;-))

* Add files via upload

I still found a little detail to beutify ;-)
2024-03-12 08:12:22 +01:00
s-hadinger 8b7cd2de44
HASPmota moved to a distinct library `lv_haspmota` (#20929) 2024-03-11 22:31:44 +01:00
gemu 190493c747
fix regression from last commit (#20923) 2024-03-11 08:22:10 +01:00
s-hadinger 79d02e772c
HASPmota cleanup (#20920) 2024-03-10 23:03:40 +01:00
s-hadinger 9e8bd2156b
HASPmota add generic setter and getters for style attributes (#20919) 2024-03-10 22:54:55 +01:00
s-hadinger 268fad6d0d
LVGL remove `textarea` and `spinbox` from binaries (#20916) 2024-03-10 20:52:16 +01:00
s-hadinger 8ff9fffa0a
HASPmota use endswith (#20914) 2024-03-10 19:14:23 +01:00
Jason2866 2cc87b086b
latest Arduinon 3.0.0. needs HWCDC (#20905) 2024-03-10 15:20:43 +01:00
Theo Arends 14f976b8a4 Update xdrv_122_file_json_settings_demo.ino 2024-03-10 12:13:13 +01:00
Theo Arends 8231a0429c Fix JSON Settings save 2024-03-10 12:04:57 +01:00
s-hadinger 3429ebd359
LVGL fix montserrat-10 and icons-10 (#20901) 2024-03-09 22:09:41 +01:00
s-hadinger 16afaf3c59
LVGL improved readability of montserrat-10 (#20900) 2024-03-09 21:15:30 +01:00
s-hadinger 93e27654e6
HASPmota improve arc and img (#20894) 2024-03-09 09:21:37 +01:00
gemu 99f4774e14
core3 fixes (#20895) 2024-03-09 09:19:04 +01:00
s-hadinger 9b2720c64d
HASPmota fix widgets line, btnmatrix, qrcode, bar, checkbox (#20881) 2024-03-06 09:20:04 +01:00
s-hadinger 804ee37098
Haspmota optim fonts (#20880)
* LVGL optimize fonts and add icons

* changelog
2024-03-05 23:09:53 +01:00
Marcus Better 47ae5bc9c8
[tuyamcu_v2] Send updates unconditionally (#20868)
Remove the logic that inhibits the sending of updates to the MCU until
the DP's state has been observed at least once in a status report from
the MCU. This logic was intended to ensure that a DP is not updated
with its current value, which reportedly crashes some very broken
devices.

However, other devices like the Feit DIM/WIFI dimmers do not reliably
report DPs that haven't been changed. So the required status report
would never arrive, resulting in the inability to control these
devices remotely, at least until their state had been changed by a
manual button press, something that is not always practical as it
requires physical device access and needs to be done after every
restart.

Removing this logic allows Tasmota to control the device state.
2024-03-04 13:23:12 +01:00
Marcus Better bb790efefd
[Tuya v2] Remove unused variable (#20869) 2024-03-04 13:22:35 +01:00
Marcus Better ee6863ffd9
Heartbeat every 15s as documented (#20867) 2024-03-04 13:21:41 +01:00
s-hadinger d4720d9378
LVGL remove embedded typicons font (#20872) 2024-03-04 13:04:11 +01:00
Theo Arends 24372207de Update changelogs
- Elevate some messages
2024-03-04 11:58:46 +01:00
Ryan Castellucci 10fff01c80
add failsafe for compiled in tls fingerprints (#20865) 2024-03-04 08:52:47 +01:00
s-hadinger 29a8f82421
HASPmota set Tasmota logo (#20860) 2024-03-03 22:06:59 +01:00
s-hadinger 9759cca4f4
HASPmota support for led (#20857) 2024-03-03 18:39:40 +01:00
s-hadinger 174caf2251
HASPmota fix chart range (#20856) 2024-03-03 17:48:12 +01:00
Theo Arends 9c4dfd28ef Add command `LoRaCommand` 2024-03-03 16:55:02 +01:00
s-hadinger 27ccf0490b
HASPmota support for spangroup (styled text) (#20852) 2024-03-03 10:53:21 +01:00
Theo Arends d394eef7c8 Fix LoRa binary send 2024-03-01 18:07:10 +01:00
Theo Arends 715ca102c7 update changelogs 2024-03-01 16:52:28 +01:00
s-hadinger 54b1a94379
Drop support for old (insecure) fingerprint format (#20842) 2024-03-01 12:24:48 +01:00
Theo Arends 9bb8d6e1ff Add hard fought spaces around image name 2024-03-01 10:15:37 +01:00
Theo Arends adfbf6508a Remove CAD from SX127X to fix intermittent reception 2024-02-29 17:23:37 +01:00
Theo Arends ce419cce81 Add LoRa to ESP8266 2024-02-29 17:12:08 +01:00
Theo Arends 89aa392a46 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2024-02-29 13:36:10 +01:00
Theo Arends daa24af6f6 Bump version to v13.4.0.2 2024-02-29 13:36:08 +01:00
Norbert Richter 9026b95f45
Prevent shutter MQTT broadcast with activated ShutterLock (#20827) 2024-02-29 13:16:33 +01:00
Theo Arends 3bbc33f554 Add support for Github SED inserted SHA_SHORT 2024-02-29 13:03:41 +01:00
s-hadinger a2bb0afea2
IR support data larger than 64 bits (#20831) 2024-02-28 22:42:29 +01:00
Theo Arends 24b59376bb Fix LoRa Config 2024-02-27 17:09:50 +01:00
Theo Arends 77cba87994 Update changelogs 2024-02-27 14:16:13 +01:00
s-hadinger a4397b26b8
HASPmota PSRAM memory leak (#20818) 2024-02-26 23:46:07 +01:00
Bastian Urschel bf91af0c07
add support for ams5915 and ams6915 temerature and pressure sensors (#20814)
* add support for ams5915 and ams6915 temerature and pressure sensors

* improved function namings

* optimized detection of sensor

* set verbosity level to debug

* minor code cleanings

* added seconds-counter to minimize i2c bus load, minor code cleanups

* add meas_valid in sensor struct to differentiate between sensor present (at tasmota boot) and measurement valid (if sensor was reattached) at runtime

* removed global struct and sensor_present, introduced dynamic memory allocation if sensor is present at startup, minor code changes

* fixes missing initialisation of variable

* corrected the amount of used memory if compiled with AMSX915 support

* Update my_user_config.h

disable AMSx915 by default

---------

Co-authored-by: baschdello <urschelb@rhrk.uni-kl.de>
Co-authored-by: Bastian <bastianurschel@gmail.com>
2024-02-26 23:04:25 +01:00
Theo Arends 8f1cb3431f Fix LoRa SX1262 user GPIO selection 2024-02-26 22:25:59 +01:00
Theo Arends d61c96a485 Add command LoRaConfig 2024-02-26 17:31:24 +01:00
s-hadinger 55be1866ad
Berry add explicit error log when memory allocation fails (#20807) 2024-02-25 21:17:08 +01:00