Commit Graph

1163 Commits

Author SHA1 Message Date
s-hadinger 39ad5a41bb
Core3 ethernet simplify ipv6 (#21141) 2024-04-10 23:12:20 +02:00
Theo Arends 54e4aba750 Add LoRaWan MAC response 2024-04-09 14:06:38 +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
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
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
gemu ad3782bed1
google charts memory leak (#21093) 2024-04-04 10:18:57 +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
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 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 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
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
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 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
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
s-hadinger 9c34707401
Zigbee added for attributes of type `uint48` used by energy monitoring (#20992) 2024-03-19 22:21:10 +01:00
Frank Werner 70bce974b2
Add MCP23S08 support (#20971) 2024-03-18 10:18:14 +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
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
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
gemu 99f4774e14
core3 fixes (#20895) 2024-03-09 09:19: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
Theo Arends 9c4dfd28ef Add command `LoRaCommand` 2024-03-03 16:55:02 +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
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
Norbert Richter 9026b95f45
Prevent shutter MQTT broadcast with activated ShutterLock (#20827) 2024-02-29 13:16:33 +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 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
Theo Arends 389bf124bf Update comments 2024-02-25 17:58:38 +01:00
Theo Arends c9c1eee302 Add SX127x lora support 2024-02-25 17:03:46 +01:00
Theo Arends b218f6bff1 Allow lora on ESP8266 2024-02-25 14:29:56 +01:00
Theo Arends 9aff378ef8 Update LoRaSend 2024-02-24 18:25:40 +01:00
stefanbode ae01d4ccd5
Support for 3 pulse relay shutters OPEN/CLOSE/STOP (#20758)
* new option on dedicated STOP relay.

* added new stoprelay shutter

* fix

* new option stoprelay

* fix
2024-02-23 22:54:39 +01:00
Theo Arends 90b3f0f62b Add LoRa demo using LilyGo T3S3 on 868MHz (#17790) 2024-02-23 18:25:13 +01:00
SteWers 5f07afab1b
[EQ3-TRV] Fix label `Valve Position` (#20757) 2024-02-19 11:29:14 +01:00
Theo Arends fb003e006e Add Show calculated heat index if temperature and humidity is available with ``#define USE_HEAT_INDEX`` (#4771) 2024-02-18 18:00:41 +01:00
Felipe Martínez d77cf7d2f0
Support LWT messages when using TASMESH (#20392)
* Send LWTs when nodes come online and offline

* Use string macro

* Add a TASMESH_HEARTBEAT config

* Add flags to config file

* Fix missing break in case

* Rename heartbeat feature define

* Comment out tasmesh settings

* Detect online peers on all packets, not just heartbeats
2024-02-18 15:28:00 +01:00
stefanbode c7894181b7
fix issue on inverted shutters with commands comming with shutterposition (#20752)
* fix INVERTED bug

fix shutterposition xxx commands do not work on inverted shutter

* fix INVERTED bug

* fix INVERTED bug

shutterposition UP/DOWN/... commands did not work as expected on inverted shutter
2024-02-18 12:36:03 +01:00
Theo Arends 1abaf146b5 Fix ESP32 PWM activity on unconfigured PWM GPIOs (#20732) 2024-02-17 15:19:12 +01:00
Theo Arends 0faef8e4dd Fix PWM channels after restart (#20732) 2024-02-16 18:57:03 +01:00
Fulvio Spelta c93d6676b9
Fix SetOption158 publish/suppress ModbusReceived MQTT messages (#20733)
Fixed a bug that let some mqtt messages be published anyway
2024-02-16 15:06:11 +01:00
s-hadinger a51b08b36c
typicons font to LVGL and HASPmota (#20742) 2024-02-16 12:42:11 +01:00
Theo Arends 4cb53fef06 Fix ethernet config chk 2024-02-14 17:01:31 +01:00
Theo Arends 080cdb4f0d Add core3 ethernet support on SPI for all ESP32 models 2024-02-14 16:19:51 +01:00
Theo Arends 00ea2a78d6 Revert "add json value for rules (#20718)"
This reverts commit 04cd8950a3.
2024-02-14 09:20:56 +01:00
Theo Arends 9aa5a6d7fb Fix compilation 2024-02-13 14:54:35 +01:00
Barbudor 04cd8950a3
add json value for rules (#20718) 2024-02-13 13:52:48 +01:00
Theo Arends 71ae3fb231 Prep release v13.4 2024-02-13 12:15:38 +01:00
Theo Arends 88f1e3593a Fix GPIO Viewer 2024-02-13 10:15:12 +01:00
s-hadinger 710ed2e42c
Berry option to invert serial (#20707) 2024-02-11 17:27:40 +01:00
Theo Arends 523a28c39f Fix Touch logging 2024-02-09 17:54:47 +01:00
Theo Arends 4e7e256892 Add ESP32 Core3 support for SPI ethernet on DM9051, W5500 and KSZ8851 2024-02-08 16:45:28 +01:00
Theo Arends 2f0b1e8edd Update example code 2024-02-08 14:42:58 +01:00
Christian Baars b02de6de6f
add BLE.info() (#20682) 2024-02-08 11:31:48 +01:00
Theo Arends 715914bdd0 Add internal support for persistent JSON settings using single file 2024-02-07 22:55:39 +01:00
Fulvio Spelta ab8676d865
SetOption158 publish/suppress ModbusReceived MQTT messages (#20678) 2024-02-07 15:57:09 +01:00
Theo Arends b31ff75f3c Revert "Add support for JSON settings file"
This reverts commit 9471a29ad9.
2024-02-07 14:25:38 +01:00
Theo Arends 9471a29ad9 Add support for JSON settings file 2024-02-07 13:10:26 +01:00
Theo Arends f88a8a6765 Add berry divider 2024-02-05 15:59:37 +01:00
s-hadinger ff6be70ce1
LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota (#20659)
* LVGL library updated to v9.0.0, some small breaking changes in C, none in HASPmota

* fix compilation

* Move lvgl_berry to LVGL_assets
2024-02-05 12:07:41 +01:00
Theo Arends 4bdf1aafb5 Update xdrv_121_gpioviewer.ino 2024-02-04 16:49:35 +01:00
Theo Arends dec230c19f Update xdrv_121_gpioviewer.ino 2024-02-04 16:31:17 +01:00
Theo Arends 0f0a125cdb Update comments GPIOViewer 2024-02-04 16:19:59 +01:00
Theo Arends d29b3b2871 Tune GPIO Viewer 2024-02-04 12:52:50 +01:00
Theo Arends 92b8bb3c9b Update changelogs 2024-02-03 17:23:07 +01:00
SteWers 55259aa8c5
[Energy] Fix frequency handling (#20626)
* [Energy] Prepare MQTT subscribe

- Prepare energy driver for using MQTT subscribe
- Fix handling of frequency

* MQTT in xnrg

* Revert MQTT
2024-02-03 12:37:57 +01:00
Mark Fickett 58816aa9a2
Lower the minimum temperature to 10C (50F) and make it pick up user-defined values. (#20628) 2024-02-03 12:34:24 +01:00
Christian Baars c24c0a53c0
fix compilation with newer Arduino framework (#20641) 2024-02-02 11:09:43 +01:00
Theo Arends bfd44d06f9 Refactor GPIO Viewer 2024-01-29 17:16:38 +01:00
Theo Arends e15e131ca2 Update xdrv_121_gpioviewer.ino 2024-01-28 18:32:34 +01:00
Theo Arends 886b453e69 Fix ESP8266 eFuseMac result 2024-01-28 17:34:15 +01:00
Theo Arends af9d4cadd8 GPIO Viewer update from 1.0.7 to 1.5.0 2024-01-27 23:58:00 +01:00
gemu 04bb28bc20
fix email32 file system (#20603)
* fix file system

* fix email attachments

* Update MB_FS.h
2024-01-27 09:06:41 +01:00
Theo Arends cce5204177 Refactored rules USE_EXPRESSION and SUPPORT_IF_STATEMENT replacing LinkedList with arrays and enabled by default 2024-01-24 14:33:55 +01:00
Theo Arends a74200d40d Refactored rules USE_EXPRESSION and SUPPORT_IF_STATEMENT replacing LinkedList with arrays 2024-01-23 23:52:18 +01:00
Theo Arends c6355e02fb Better bailout 2024-01-23 18:23:04 +01:00
Theo Arends dca33c10a3 Fix subscribe same topic, multiple events
And even smaller by unstringifying
2024-01-23 18:17:42 +01:00
Theo Arends a9a3f5638c Fix subscribe rule handling 2024-01-23 12:32:12 +01:00
gemu 780940d5d0
Utouch update (#20561)
* toched return int16

* add XPT and more opcodes

* add guesture

* increase code buffer
2024-01-22 18:21:40 +01:00
Theo Arends 10885fe60d Refactored rules ``Subscribe`` using LList allowing full message size and enabled by default 2024-01-22 16:57:59 +01:00
Theo Arends 1ffbbc914d Refactor backlog from LinkedList to TasmotaLList 2024-01-21 22:07:49 +01:00
s-hadinger de91133414
Zigbee ``ZbEmulation`` to selectively exclude some devices from Hue/Alexa emulation (#20552) 2024-01-21 11:42:04 +01:00
SteWers 76a7ab5131
[Energy] Decoupled `FREQUENCY` and `Energy->type_dc` (#20549) 2024-01-21 11:37:04 +01:00
Theo Arends 9608b7513a Refactor backlog by removing some str copies 2024-01-20 22:45:24 +01:00
stefanbode 8223777e4f
Improve init behavior (#20548)
Ensure filesystem init is executed after so80 1. The shutter command will check for proper init and if not done will do it.
2024-01-20 17:29:50 +01:00
Theo Arends 05014d48cf Refactor backlog from String to char 2024-01-20 17:18:03 +01:00
s-hadinger 1eb1025c18
Berry/Zigbee auto `import zigbee` (#20543) 2024-01-19 13:28:12 +01:00
s-hadinger 860f3857d5
Berry/Zigbee add web hook per device for customized status display (#20542) 2024-01-19 08:24:17 +01:00
s-hadinger 30c3165b6f
Audio for Core3, MP3Stream and Shine (#20540) 2024-01-18 23:35:53 +01:00
Theo Arends c9d0106007 Removed max number of 30 backlog entries 2024-01-18 16:32:28 +01:00
Theo Arends db70d9c8cb Fix GPIOViewer exception 3 2024-01-18 15:55:59 +01:00
gemu 9ccc3f8fda
Universal touch driver (#20492)
* add universal touch

* add universal touch

* add universal touch

* add universal touch

* Update xdrv_10_scripter.ino

* utouch add word address support (gt911)

* optimizations

* add simple resistive touch
2024-01-18 10:23:21 +01:00
Theo Arends f28c9b6ea9 Slicing GUI information 2024-01-17 18:17:46 +01:00
stefanbode c705c8f89c
Fixed DIV/0 (#20524) 2024-01-17 10:03:42 +01:00
Theo Arends c15ad066d0 Sync shutter drivers 2024-01-16 16:40:57 +01:00
SteWers 0ac559bf7f
[Shutter] Fix html table syntax (#20519)
* [Shutter] Fix html table syntax

The html code for the slider was placed in a `<table>` but not fenced with `<tr>` / `<td>` tags. So the browser placed it "randomly" outside of the table.

* [Shutter] revert date
2024-01-16 16:35:19 +01:00
SteWers 0cd3d3b003
[WebUI] Fix first line seperator (#20518)
The separator (request) flag has to be cleared before starting the output of sensors/drivers to ignore previous outputs. So there will no seperator in front of the list. This only appeared, when `WebTime` is off.
2024-01-16 16:14:40 +01:00
s-hadinger 9045a7da83
IP stack compatible with new Core3 IPv6 implementation (#20509)
* IP stack compatible with new Core3 IPv6 implementation

* Fix compilation

* Forece CI
2024-01-15 21:05:40 +01:00
SteWers 4f436cdf73
Remove first separator (#20507) 2024-01-15 18:58:14 +01:00
SteWers ab2439f6c8
Modify shutter driver for GUI sensor separators (#20506) 2024-01-15 18:24:15 +01:00
SteWers f2800dd770
Modify drivers for GUI sensor separators (#20504) 2024-01-15 16:53:34 +01:00
Theo Arends 637fac5ae8 Add GUI sensor separators (#20495) 2024-01-15 15:36:59 +01:00
Theo Arends ee4bf86e6a Fix compilation when USE_ADC is not defined (#20498) 2024-01-15 10:34:14 +01:00
SteWers f14ee6415b
[EQ3-TRV] View some values in WebUI (#20487)
* [EQ3-TRV] View some values in WebUI

- View some values in WebUI
- code cleanup

* [EQ3-TRV] Remove lines
2024-01-14 17:39:15 +01:00
Christian Baars be54104676
add remote_addr and _port to info() (#20485) 2024-01-14 11:31:04 +01:00
Theo Arends 25cadcbbdc Prefer using default GPIOViewer board repository 2024-01-13 22:13:27 +01:00
Theo Arends 1854b9a069 Free some more bytes from GPIOViewer 2024-01-13 16:11:40 +01:00
Theo Arends 9fc47b7d90 Tune GPIOViewer 2024-01-13 15:16:34 +01:00
s-hadinger c1f3561a3e
Fix random crash in Zigbee main page (#20481) 2024-01-12 22:34:42 +01:00
Theo Arends 61f6c26b03 Fix GPIO Viewer single instance 2024-01-12 16:54:24 +01:00
Theo Arends 3e3bfccb58 Bump version v13.3.0.3 2024-01-12 12:17:31 +01:00
Benjamin Nestler a13e83e1e6
FIX: Reset the 'upload_error' variable after web file upload error (#20340)
* FIX: Reset the 'upload_error' variable after signaling the error to enable the next upload action.

* ADD: Introduce HandleUploadUFSDone() to display information messages for uploaded files in UFS and handle errors.
ADD: Include '?fsz=' web-argument (filesize) in the upload button click function.
2024-01-12 10:08:05 +01:00
SteWers b69cc802db
[MI BLE] added support for LYWSD02MMC (#20381)
* [MI BLE] added support for LYWSD02MMC

- initial support for MI LYWSD02MMC
- code rework

* Update CHANGELOG.md

* Update CHANGELOG.md

* [MI BLE] add Mi32Time / bugfixes

* [MI BLE] plain read, debug enhanced

* [MI BLE] add LYWSD02MMC battery

* [MI BLE] improved debug log, code cleanup

* [MI BLE] improved debug log, code optimize
2024-01-12 10:06:55 +01:00
gemu fa6d18a505
fix memory leak in >w x (#20473) 2024-01-12 10:04:19 +01:00
s-hadinger 20c54a3647
Fix compilation of Zigbee for Core3 (#20464) 2024-01-11 10:02:12 +01:00
Theo Arends 20c70d578e Remove padding between tool buttons 2024-01-10 17:17:56 +01:00
Theo Arends f30f3f8016 Add user control over GPIOViewer sampling interval 2024-01-10 15:51:19 +01:00
Theo Arends c2d6bbf2c1 Code admin 2024-01-10 11:13:19 +01:00