Commit Graph

1010 Commits

Author SHA1 Message Date
s-hadinger 46e17061b2
Berry extend `range(lower, upper, incr)` to arbitrary increment (#19120) 2023-07-15 19:09:52 +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
Theo Arends cefd42c820 Update changelogs 2023-07-10 18:18:42 +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
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 ac4c4505a5 Bump version v13.0.0.2
Update changelogs
2023-07-08 17:37:12 +02:00
s-hadinger 7afc4865e1
Matter improve latency for remote commands (#19072) 2023-07-08 12:00:23 +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
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
Theo Arends 67a62ef3c8 Update changelogs 2023-07-05 11:00:10 +02:00
s-hadinger 492759567a
Partition Wizard is now able to convert to safeboot from Shelly partition layout (#19034) 2023-07-05 09:55:17 +02:00
Theo Arends 41de111429 Update change logs 2023-07-03 21:27:47 +02:00
s-hadinger cc55cf0bb1
Revert "Berry `var` allowed in with walrus operator `:=` (#19018)" (#19019)
This reverts commit 8f06552eee.
2023-07-03 14:10:05 +02:00
s-hadinger 8f06552eee
Berry `var` allowed in with walrus operator `:=` (#19018)
* Berry `var` allowed in with walrus operator `:=`

* fix regression
2023-07-03 12:28:41 +02:00
s-hadinger d72f3b9978
Command ``BrRestart`` to restart the Berry VM (experimental) (#19003)
* Command ``BrRestart`` to restart the Berry VM (experimental)

* Add web button for Berry Restart
2023-07-02 21:52:01 +02:00
s-hadinger 52392a2b48
Matter improve responsiveness (#19002) 2023-06-29 22:12:56 +02:00
Theo Arends 465ae023ab Update change logs 2023-06-29 14:10:49 +02:00
s-hadinger c303c80add
Update CHANGELOG.md
Add support for SGP41 TVOC/NOx Sensor
2023-06-29 09:07:58 +02:00
s-hadinger 34456e6193
Berry `import strict` now detects useless expr without side effects (#18997) 2023-06-29 09:04:16 +02:00
s-hadinger 952811b4eb
Matter add option to disable bridge mode (#18992) 2023-06-28 14:49:47 +02:00
Theo Arends 504b51a9b4 Add command ``Delay -1``
Add command ``Delay -1`` to wait until next second (#18984)
2023-06-28 11:53:23 +02:00
Theo Arends a542122eb1 Update CHANGELOG.md 2023-06-28 10:52:45 +02:00
s-hadinger 1e19e13c6f
Matter support for temperature in Fahrenheit (`SetOption8 1`) (#18987) 2023-06-27 23:16:40 +02:00
s-hadinger b9588e6192
Berry `bool( [] )` and `bool( {} )` now evaluate as `false` (#18986) 2023-06-27 22:07:13 +02:00
s-hadinger 9cf3d16065
Berry various fixes for Walrus Operator (#18982) 2023-06-27 14:32:08 +02:00
Theo Arends d9a66547aa Bump version v13.0.0.1 2023-06-26 11:12:31 +02:00
s-hadinger 339c1cedb7
Zigbee firmware for Sonoff-ZB-Pro v20230507 (#18968) 2023-06-25 21:24:08 +02:00
s-hadinger 30a65edd7a
Berry Walrus operator ':=' (#18963) 2023-06-25 17:30:42 +02:00
s-hadinger 89a815f196
Matter display the remote Device Name instead of IP address (#18960) 2023-06-25 10:52:51 +02:00
s-hadinger 0ac5d0945b
Berry add option to remove source file name and save flash space (#18948) 2023-06-23 23:14:51 +02:00
s-hadinger 85f357096a
Berry added f-strings as an alternative to string formatting (#18937) 2023-06-22 22:50:05 +02:00
s-hadinger 1a460926f6
Update CHANGELOG.md 2023-06-21 14:22:41 +02:00
Norbert Richter 1f5c1baeae
Fix NeoPool NPFiltration switch result (#18871) (#18908) 2023-06-19 22:53:51 +02:00
s-hadinger 1e745807e4
Berry fixed parser error with upvals in closures (#18902) 2023-06-18 20:21:08 +02:00
s-hadinger 4a3b6457ca
Matter add friendly-name (NodeLabel) to each endpoint (#18897) 2023-06-18 18:45:47 +02:00
s-hadinger 3fc932d38a
Berry `string.format()` now automatically converts type according to format (#18890) 2023-06-16 20:38:53 +02:00
s-hadinger 28861821a6
Zigbee fixed regression with SetOption101 (#18884) 2023-06-14 22:46:18 +02:00
s-hadinger bd6aff77f7
Matter add support for Contact Sensor (#18882) 2023-06-14 20:36:17 +02:00
Jason2866 bbd6fa7202
core 2.0.10 2023-06-14 14:45:54 +02:00
s-hadinger badf064ab4
Matter fix local Occupancy sensor (#18857)
* Matter fix local Occupancy sensor

* Fix also OnOff
2023-06-11 23:10:26 +02:00
s-hadinger a014f5495b
Matter redesigned UI (#18855) 2023-06-11 19:10:12 +02:00
s-hadinger 31b93f8d48
Matter add controller's Vendor Name to logs and UI (#18794) 2023-06-04 23:05:52 +02:00
s-hadinger 844caf51f9
Fixed HASPmota event when value is non-integer (fixes #18229) (#18791) 2023-06-04 20:06:04 +02:00
s-hadinger e66439cb50
Matter ability to add or remove endpoint in bridge mode (code only) (#18790) 2023-06-04 19:35:36 +02:00
s-hadinger 6fdfdb8475
Matter Bridge mode always on (#18785) 2023-06-03 19:01:36 +02:00
Theo Arends 51286f2275 Update changelogs 2023-06-02 14:24:46 +02:00
s-hadinger f8df9e5f00
Berry `webclient.url_encode()` is now a static class method, no change required to existing code (#18775) 2023-06-02 13:29:57 +02:00
Theo Arends 4e7475dbd4 Bump version v12.5.0.4 2023-06-02 10:25:02 +02:00
s-hadinger 82895c53e3
Berry add `set_lsb_justified(bool)` to `AudioOutputI2S` (#18774) 2023-06-02 09:58:39 +02:00
s-hadinger b9d855ef79
Berry RS256 crypto algorithm (RSASSA-MCKS1_v1-5 with SHA256) used for JWT (#18763) 2023-06-01 10:02:23 +02:00
Ludovic BOUÉ 596482284c
Update CHANGELOG.md (#18748)
Replace Border Router by bridge
2023-05-29 23:12:55 +02:00
s-hadinger 83e47fa4a8
Matter support for Occupancy via Switch (experimental) (#18742) 2023-05-29 19:24:06 +02:00
s-hadinger 3f094c9be1
Display descriptor for ST7735 128x160 display (#18741) 2023-05-29 18:50:03 +02:00
s-hadinger fe570a1b26
Matter Border Router for ESP8266 (experimental) (#18734) 2023-05-29 10:40:24 +02:00
Theo Arends 10f9c20078 Fix ESP32 SPI initialization for MFRC522
Fix ESP32 SPI initialization for MFRC522 (#18711)
2023-05-23 14:34:47 +02:00
s-hadinger c1ec35a086
Matter fix fabric provisioning from CASE session for iOS 16.5 (#18709) 2023-05-22 20:46:20 +02:00
Theo Arends 80afc8793f AdafruitFingerprint library from v2.0.4 to v2.1.0
AdafruitFingerprint library from v2.0.4 to v2.1.0 (#18163)
2023-05-22 11:48:03 +02:00
Theo Arends 22abc8ad99 Fix ESP32 InfluxDb initial connection delays
Fix ESP32 InfluxDb initial connection delays using HTTPClient (#18015)
2023-05-21 16:21:43 +02:00
Theo Arends ae518424bc Add IPv4 DNS lookup to influxdb
- Add IPv4 DNS lookup to influxdb (#18015)
- Add response to influxdb send
2023-05-21 15:34:36 +02:00
s-hadinger 043ea2986b
Berry `tasmota.wifi()` would wrongly report wifi as up (#18687)
* Berry `tasmota.wifi()` would wrongly report wifi as up

* Fix ESP8266 compile

* Fix display of IP in wifiman

* Improve wifiman IP handling for IPv6
2023-05-18 11:23:09 +02:00
s-hadinger 2b76e8e668
HASPmota `meta` attribute and improved `berry_run` (#18685) 2023-05-17 21:40:05 +02:00
Theo Arends 57f85ae478 Optimize dynamic WiFi power 2023-05-17 10:45:00 +02:00
Theo Arends 4e5c62ce33 Update changelogs 2023-05-17 09:53:42 +02:00
Theo Arends 0385204ca7 Add command ``WifiPower 0``
Add command ``WifiPower 0`` to enable dynamic wifi power based on RSSI by @TD-er (#15443)
2023-05-16 18:55:55 +02:00
Theo Arends f40a63b5be Update changelogs 2023-05-16 14:05:16 +02:00
s-hadinger 81d7785f66
LED PWM ac_dimmer curve was wrongly applied instead of Gamma (#18666) 2023-05-15 22:51:14 +02:00
s-hadinger 98bfc172c1
Zigbee support for air sensors (#18665)
* Zigbee support for air sensors

* ppm
2023-05-15 22:04:13 +02:00
Theo Arends f1a9a0b45b Add support for PCA9557
Add support for PCA9557 8-bit I/O expander (#18632)
2023-05-14 15:08:09 +02:00
Theo Arends 86979646ff Energy power delta report delayed
Energy power delta report delayed by two seconds allowing hardware to stabilize (#17751)
2023-05-11 18:10:52 +02:00
s-hadinger 4cd1136f4c
Berry fixed a rare condition when a GC causes a memory corruption (#18614) 2023-05-08 21:59:32 +02:00
s-hadinger ae6d435aaf
autoconf extract `display.ini` to file system (#18604) 2023-05-07 22:58:27 +02:00
Jason2866 c42f959520
Framework esp32 2023.05.00 with Tasmota Core 2.0.9 (#18602)
* Platform 2023.05.00 with Tasmota Core 2.0.9
2023-05-07 21:12:33 +02:00
s-hadinger 519ea557c7
Berry `re` (regex) add `match2` and optional offset (#18596) 2023-05-07 16:18:34 +02:00
Theo Arends e9d1e8c725 Change command FileUpload binary index 2023-05-06 18:09:11 +02:00
s-hadinger 8b2539a35a
Partition_Manager.tapp fixed (#18588) 2023-05-06 12:18:12 +02:00
Theo Arends d7b6d72e19 Add support for GM861
- Add support for GM861 1D and 2D bar code reader (#18399)
- Bump version to v12.5.0.2
2023-05-05 16:50:19 +02:00
s-hadinger 069278f966
Berry add `tcpclientasync` class for non-blocking TCP client (#18584) 2023-05-05 15:13:22 +02:00
stefanbode 07a9f33ae7
Update CHANGELOG.md (#18581)
Added my latest changes
2023-05-05 09:18:23 +02:00
s-hadinger c26ec44407
Matter POC for remote Relay (#18575) 2023-05-03 23:03:01 +02:00
s-hadinger fe1bc615f0
ESP32 LVGL library from v8.3.6 to v8.3.7 (no functional change) (#18573)
* ESP32 LVGL library from v8.3.7 to v8.3.7 (no functional change)

* Fix version
2023-05-03 21:18:26 +02:00
s-hadinger 0cbe2fc587
Matter support for Shutters with Tilt (#18569) 2023-05-03 18:30:34 +02:00
Theo Arends cda2bf157d Add support for TC74
Add support for TC74 temperature sensor by Michael Loftis (#18042)
2023-05-01 16:26:07 +02:00
Theo Arends 4c685967e6 Update changelogs 2023-04-26 14:10:11 +02:00
s-hadinger c8318248bb
Matter add support for Shutters (without Tilt) (#18509) 2023-04-25 23:30:23 +02:00
Theo Arends 074831437f Update changelogs 2023-04-25 15:43:41 +02:00
s-hadinger fba15dea71
Matter add UI to change endpoints configuration (#18498) 2023-04-24 23:01:02 +02:00
Theo Arends 844db4bc54 Update changelogs 2023-04-21 14:57:59 +02:00
s-hadinger 3c57755bb7
Berry fix rules for string comparisons (#18464) 2023-04-21 08:59:49 +02:00
Jason2866 11a43ea99b
Tasmota Core 208 (#18460)
* Tasmota Core 2.0.8
* Fix Linker errors
2023-04-20 20:01:35 +02:00
Theo Arends 9f77cfd890 Fix single pin latching relay power on state
Fix single pin latching relay power on state (#18386)
2023-04-19 16:17:04 +02:00
s-hadinger a85412fce2
Matter allow `Matter#Initialized` rule once the device is configured (#18451) 2023-04-18 22:27:27 +02:00
Theo Arends fb98d8954a Update changelogs 2023-04-18 17:23:37 +02:00
Theo Arends 6f6c43a724 Add command ``SetOption152 0/1``
Add command ``SetOption152 0/1`` to select two (default) or one pin bistable relay control (#18386)
2023-04-18 17:16:29 +02:00
Theo Arends 2684141722 Fix ESP8266 Energy Export Active
Fix ESP8266 Energy Export Active no update regression from v12.3.1.3
2023-04-18 15:34:19 +02:00
Theo Arends c5e09ef76d Update changelogs 2023-04-18 13:37:55 +02:00
s-hadinger 4bac940a40
Matter add sensors: Humidity, Pressure, Illuminance; optimize memory (#18441) 2023-04-17 21:49:12 +02:00
Theo Arends 05f6bcf211 Bump v12.5.0.1 2023-04-17 10:10:55 +02:00
Theo Arends 8139c0756d Update changelogs 2023-04-17 09:56:56 +02:00
s-hadinger 82e94108d4
Matter automatically exposes all detected Temperature sensors (#18430)
* Matter automatically exposes all detected Temperature sensors

* Read sensors every 30 seconds

* Fix sensor numbering
2023-04-16 22:09:09 +02:00
s-hadinger de45a7af26
Berry add `searchall()` and `matchall()` to `re` module and pre-compiled patterns (#18429) 2023-04-16 17:43:49 +02:00
Theo Arends d95d56f3e4 Prep v12.5 2023-04-16 12:22:00 +02:00
s-hadinger 0feba56d8e
Berry `instrospect.name()` to get names of functions, modules and classes (#18422) 2023-04-15 19:34:31 +02:00
s-hadinger 21c3812826
Matter reduce logging (#18420) 2023-04-15 18:33:29 +02:00
Theo Arends c2a6dd81e8 Fix ESP32 energy monitoring set StartTotalTime
Fix ESP32 energy monitoring set StartTotalTime regression from v12.3.1.5 (#18385)
2023-04-14 17:42:31 +02:00
Theo Arends e07efd625f Add support for GDK101 gamma radiation sensor by Petr Novacek (#18390) 2023-04-14 16:50:54 +02:00
s-hadinger 6007f2d970
Berry `webserver.html_escape()` reusing the internal HTML escaping function (#18381) 2023-04-10 19:16:01 +02:00
s-hadinger 822c6e702e
ESP32 LVGL library from v8.3.5 to v8.3.6 (no functional change) (#18342)
* ESP32 LVGL library from v8.3.5 to v8.3.6 (no functional change)

* Add changelog
2023-04-05 22:46:36 +02:00
Theo Arends 9993061c1a Update changelogs 2023-04-04 11:45:18 +02:00
Theo Arends 96e5f0dd38 Version bump v12.4.0.5
- Add Matter support for Light and Relays on ESP32 by Stephan Hadinger (#18320)
2023-04-03 10:06:03 +02:00
s-hadinger 1c72afbc1a
Matter support for Light and Relays (#18320) 2023-04-02 21:52:47 +02:00
Theo Arends b321fab868 Refactor PCF8574 driver 2023-03-27 15:42:40 +02:00
Theo Arends 5bb624ad09 Add command ``SwitchMode0``
Add command ``SwitchMode0`` to show or set all SwitchModes
2023-03-25 11:29:49 +01:00
Theo Arends eaeae1c0b7 Update changelogs 2023-03-22 13:39:46 +01:00
Theo Arends 6aab3d4c5e Bump version v12.4.0.4
- Add Matter support simple Relay on Apple Homekit by Stephan Hadinger (#18239)
- Bump version v12.4.0.4
2023-03-22 10:39:59 +01:00
s-hadinger 487ec87e4f
Matter support simple Relay on Apple Homekit (#18239) 2023-03-21 23:23:18 +01:00
s-hadinger d6ed4adcf6
Berry add `mdns.remove_service()` (#18238) 2023-03-21 22:34:10 +01:00
s-hadinger a36edadc0f
Berry fix `tasmota.get_power(index)` (#18237) 2023-03-21 22:30:50 +01:00
Theo Arends 34ee7c67d8 Update changelogs
- Add support for PMSA003I Air Quality Sensor by Jean-Pierre Deschamps (#18214)
- Add support for DingTian virtual switch/button/relay (#18223)
2023-03-20 10:21:16 +01:00
Theo Arends 54a2688cbf Bump v12.4.0.3
- Bump v12.4.0.3
- Refactor energy monitoring reducing stack usage and solve inherent exceptions and watchdogs (#18164)
2023-03-17 21:05:51 +01:00
Theo Arends bda32739a8 Support for reset settings on filesystem 2023-03-13 15:41:21 +01:00
s-hadinger 0bc48d16c2
Berry add `web_get_arg` event to drivers when `FUNC_WEB_GET_ARG` event is processed (#18175) 2023-03-12 19:01:08 +01:00
s-hadinger 83812f158b
``UrlFetch`` now follows redirects (#18173) 2023-03-12 18:48:12 +01:00
Theo Arends 76cea0c002 Fix Sonoff SC regression from yesterday
Update changelogs.
2023-03-12 11:11:57 +01:00
s-hadinger 34bf941cd2
Berry add `webclient` `collect_headers()` and `set_headers` (#18166) 2023-03-11 21:46:08 +01:00
s-hadinger 4aa9aebae3
Berry add `wc.set_follow_redirects(bool)` (#18165) 2023-03-11 19:48:39 +01:00
Theo Arends 8a3546e5c4 Fix ESP32 energy period
Fix ESP32 energy period shows kWh value instead of Wh regression from v12.3.1.5 (#15856)
2023-03-11 17:01:43 +01:00
Theo Arends 37d98bb52b Update changelogs 2023-03-11 14:29:33 +01:00
s-hadinger d7d23c7b9a
Zigbee send Tuya 'magic spell' to unlock devices when pairing (#18144) 2023-03-09 21:34:32 +01:00
s-hadinger 215838db1b
ESP32 LVGL library from v8.3.3 to v8.3.5 (no functional change) (#18128) 2023-03-06 20:04:02 +01:00
s-hadinger 6bd73fc883
Refactored Berry rule engine and support for arrays (#18121) 2023-03-05 21:50:32 +01:00
Barbudor 0dc39e0470
Tariff command variant to force tariff - take 2 (#18112)
* tariff command variant to force tariff

* move to Settings + add esp8266

* added tariff-forced to changelog
2023-03-04 21:58:03 +01:00
Theo Arends 6f44003cb5 Fix PZEM stabilize period on larger configs
Fix PZEM stabilize period on larger configs (#18103)
2023-03-04 11:56:54 +01:00
Theo Arends 747ebae670 Add support for multiple PCF8574 as switch/button/relay 2023-03-03 17:40:27 +01:00
Theo Arends 2e5501e9ab Add support for multiple MCP23008 as switch/button/relay 2023-03-03 10:44:35 +01:00
Theo Arends c6f3fb7a86 Update changelogs 2023-03-03 10:32:19 +01:00
Theo Arends 453f0abad1 Revert "Update changelogs"
This reverts commit d07d4b06c9.
2023-03-03 10:31:31 +01:00
Theo Arends d07d4b06c9 Update changelogs
- Add MCP23008 virtual switch/button/relay support
2023-03-03 10:28:22 +01:00
Theo Arends dcc46cb4d5 Bump version v12.4.0.2 2023-03-01 17:09:51 +01:00
Theo Arends 159d1ae312 Breaking change Shelly Pro 4PM
- Add support for multiple MCP23017/MCP23S17 as switch/button/relay
- Breaking change Shelly Pro 4PM using standard MCP23xxx driver
2023-03-01 16:52:34 +01:00
Theo Arends 63408f3a7d Add NTP time request from gateway (#17984) 2023-03-01 10:58:02 +01:00
Theo Arends 9f30836854 Add support for multiple MCP23017 as switch/button/relay 2023-03-01 10:12:47 +01:00
Theo Arends 30504f090c update changelogs 2023-02-25 17:55:07 +01:00
Theo Arends 29ae903f67 Fixed EnergyTotal divided twice
Fixed EnergyTotal divided twice during minimal upgrade step regression from v12.3.1.3 (#18024)
2023-02-24 16:15:02 +01:00
Theo Arends dca1b5bcff Refactor ADE7953 for ESP8266 2023-02-22 10:30:47 +01:00
Theo Arends 2827bdec22 Update changelogs 2023-02-21 17:19:25 +01:00
Jason2866 47da60f280
ESP32 Framework (Core) v2.0.7 2023-02-21 13:27:03 +01:00
Theo Arends 89ccfe910e Fix undocumented support
Fix undocumented support for non-sequential buttons and switches (#17967)
2023-02-18 14:30:40 +01:00