Commit Graph

18506 Commits

Author SHA1 Message Date
s-hadinger 1a91dc441b
Berry improve tasmota.scale_uint() (#19197) 2023-07-26 22:31:22 +02:00
s-hadinger 9f16f09f29
Berry `mqtt.publish` now distinguishes between `string` and `bytes` (#19196) 2023-07-26 19:54:14 +02:00
Theo Arends 0a664b3613 Update changelogs 2023-07-25 11:50:46 +02:00
Jason2866 3b9ae4c553
Core 2.0.11 (#19181) 2023-07-24 18:06:16 +02:00
Theo Arends 978a21240c Update changelogs 2023-07-24 15:30:48 +02:00
Theo Arends 0ddcea9905 Add alternative for PCA9685
Add alternative for PCA9685 as define PCA9685_V2 (#18805)
2023-07-24 15:11:20 +02:00
Theo Arends 17cf73595f Refactor MAX17043 driver
Refactor MAX17043 driver optional enable library (default off providing smaller footprint (-250 bytes)
2023-07-24 14:28:57 +02:00
Theo Arends f626539c18 Refactor MAX17043 driver 2023-07-24 12:29:43 +02:00
Jason2866 c5be85f443
Update de_DE.h 2023-07-23 14:13:23 +02:00
gemu 994c105bda
fix empty line problem (#19171) 2023-07-23 11:55:01 +02:00
Vincent de Groot 547169c57d
changing reference to xsns109 (#19170) 2023-07-23 11:30:44 +02:00
bovirus 31c3555d4d
Update italian language (#19169) 2023-07-23 09:39:17 +02:00
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