Commit Graph

18294 Commits

Author SHA1 Message Date
s-hadinger 6d3aedcafe
Berry SK6812_GRBW crash (#19166) 2023-07-22 21:51:37 +02:00
Theo Arends 421c95a51b Update change logs 2023-07-22 14:55:20 +02:00
Vincent de Groot bc41500d9c
MAX17043 sensor integration (#18788)
* 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
2023-07-22 13:33:47 +02:00
Theo Arends 973ce106e7 Fix compilation (#19134) 2023-07-22 11:28:23 +02:00
Theo Arends c7a22f175b Update changelogs 2023-07-21 14:55:06 +02:00
Theo Arends b149443691 Fix default battery level
- Fix default battery level (#19160)
- Bump version to v13.0.0.3
2023-07-21 14:35:22 +02:00
s-hadinger 2cc0964a5f Solidified Code updated 2023-07-20 19:28:05 +00:00
s-hadinger 758b0237b4
Matter latency improvement for single attribute reads and single commands (#19158) 2023-07-20 21:26:55 +02:00
stefanbode d1a4296867
New DEEPSLEEP topic for HA + Battery Level % support (#19134)
* 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
2023-07-20 09:51:08 +02:00
s-hadinger 3da5124348
Berry add AES CCM decrypting in a single call to avoid any object allocation (#19153) 2023-07-19 21:15:08 +02:00
s-hadinger 2a3690b866
Berry `tasmota.loglevel()` and `tasmota.rtc_utc()` for faster performance (#19152) 2023-07-19 20:58:50 +02:00
s-hadinger 91f15d228b
Zigbee DIYRuZ_Geiger (#19151) 2023-07-19 20:41:49 +02:00
s-hadinger 0b59cda02a
Berry add metrics for memory allocation/deallocation/reallocation (#19150) 2023-07-19 20:41:41 +02:00
sfromis 6382c2806c
More user-friendly defaults for DisplayMode and DisplayDimmer (#19138)
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%.
2023-07-18 08:26:51 +02:00
s-hadinger 410a6b99d9
Berry update grammar (#19129) 2023-07-16 15:32:59 +02:00
s-hadinger 00249ac3eb
Fix typo 2023-07-16 15:05:41 +02:00
s-hadinger f4ff0010af
Berry fix syntax highlighting for escaped chars (#19126) 2023-07-16 11:15:33 +02:00
s-hadinger 315fe36727
Berry check arguments for `range()` (#19124) 2023-07-15 23:25:51 +02:00
s-hadinger ca8ec6a006
Berry updated syntax highlighting plugin for VSCode (#19123) 2023-07-15 22:43:38 +02:00
s-hadinger 0c0ca82198
Update Berry windows exe to latest (#19121) 2023-07-15 19:20:59 +02:00
s-hadinger 46e17061b2
Berry extend `range(lower, upper, incr)` to arbitrary increment (#19120) 2023-07-15 19:09:52 +02:00
s-hadinger af27d65a8a
Sync with Berry upstream (#19119) 2023-07-15 18:11:04 +02:00
s-hadinger ada754c582
Berry add `energy.update_total()` to call `EnergyUpdateTotal()` from energy driver (#19117) 2023-07-15 17:06:10 +02:00
stefanbode ebca2f0a07
Zero-Cross Dimmer fixes (#19109)
* Fix Zero-Cross flickering on Savedata

* Fix reboot on DIMMER usage with Zero-Cross

* Fix Flickering on dimmer 0
2023-07-14 09:10:20 +02:00
Theo Arends 9638beacec Fix possible buffer overflow 2023-07-12 12:45:02 +02:00
Theo Arends 5b6a25a7a0 Fix driver config backup and restore
Fix driver config backup and restore (#18295)
2023-07-12 10:52:58 +02:00
Theo Arends 889e6ea54d Fix driver config restore 2023-07-11 16:12:04 +02:00
s-hadinger 8c31acd376
Berry minor fixes from upstream (#19091) 2023-07-11 08:21:09 +02:00
Theo Arends cefd42c820 Update changelogs 2023-07-10 18:18:42 +02:00
Theo Arends 0937a6b82c Merge branch 'development' of https://github.com/arendst/Tasmota into development 2023-07-10 18:14:34 +02:00
Theo Arends 258976c014 Verify correct functionality 2023-07-10 18:14:23 +02:00
s-hadinger 7404b8ddbb
Berry `_class` can be used in `static var` initialization code (#19088) 2023-07-10 17:50:04 +02:00
Theo Arends 43bc81010f Configuration file save and restore .xdrvsetXXX
Configuration file save and restore now backup and restore ``.xdrvsetXXX`` files too (#18295)
2023-07-10 16:03:32 +02:00
btsimonh b1cc87d24f
File UI changes (#19014)
* 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.
2023-07-10 10:27:20 +02:00
s-hadinger fcfc3ecb37
Matter fix session not being removed from memory (#19081)
* Matter fix session not being removed from memory

* Fix
2023-07-09 19:36:36 +02:00
sfromis b7c9182c14
Update decode-status.py to synchronize SetOption154/155 (#19078)
I noticed that the translation for SetOption154/155 bits did not match tasmota_types.h:
https://github.com/arendst/Tasmota/blob/development/tasmota/include/tasmota_types.h#L190-L191
2023-07-09 14:03:18 +02:00
Theo Arends c0160f2b5b Update changelogs 2023-07-09 10:43:39 +02:00
s-hadinger 8d161d04f7
Matter add mini-profiler (#19075) 2023-07-08 18:58:44 +02:00
Theo Arends 05d589f2d7 Set ESP32-C3 max supported ADC channels to 5 2023-07-08 18:04:13 +02:00
Theo Arends ac4c4505a5 Bump version v13.0.0.2
Update changelogs
2023-07-08 17:37:12 +02:00
Theo Arends f726c904ab Enable ESP32 shutter driver
Enable ESP32 shutter driver (#18295)
2023-07-08 17:21:06 +02:00
s-hadinger 0502c15ce3
Matter increase logs when storing sessions (#19073) 2023-07-08 15:05:03 +02:00
s-hadinger 7afc4865e1
Matter improve latency for remote commands (#19072) 2023-07-08 12:00:23 +02:00
s-hadinger a0c4d914e8
Matter fix bug when saving Force Static endpoints (#19071) 2023-07-08 11:25:33 +02:00
s-hadinger 2ecb697a3f
Berry added `getgbl` performance counter to `debug.counters()` (#19070)
* Berry add `getgbl` counter

* Berry added `getgbl` performance counter to `debug.counters()`
2023-07-08 11:25:25 +02:00
gemu d9d9ca2651
fix modbus-tcp, add U32,U64 etc (#19063) 2023-07-07 19:50:51 +02:00
stefanbode 8ce7cb4ccd
Enhance ZC-Dimmer for falling and leading edge dimmer (#19054)
* Update tasmota_types.h

* Update xdrv_68_zerocrossDimmer.ino
2023-07-07 19:50:36 +02:00
s-hadinger 5c9c4e6dad
Matter increase logs in save_fabrics (#19060) 2023-07-06 22:15:37 +02:00
s-hadinger d79c4a7cc6
ESP32 LVGL library from v8.3.7 to v8.3.8 (no functional change) (#19058)
* ESP32 LVGL library from v8.3.7 to v8.3.8 (no functional change)

* Update changelog
2023-07-06 22:03:05 +02:00
s-hadinger 57c4825ccd
`BrRestart` now supports web handlers to work after Berry restart (#19057) 2023-07-06 21:37:46 +02:00