Commit Graph

470 Commits

Author SHA1 Message Date
Theo Arends 3bb9d4854f Update change log 2021-10-08 11:04:07 +02:00
Stephan Hadinger ee0678774b Changed Memory display on ESP32 to not include IRAM (i.e. less by 40-50KB) 2021-10-07 18:37:58 +02:00
Stephan Hadinger 5ae88c4f97 Files starting with underscore in file system are no more hidden 2021-10-03 16:39:43 +02:00
Theo Arends 14951ba2b6 Add support for BL0942 energy monitor (#13259) 2021-10-03 14:10:11 +02:00
s-hadinger 6878bf9fbf
Berry add module ``import persist`` (#13264)
* Berry add module ``import persist``

* Call `persist.save()` before restart
2021-10-03 11:54:29 +02:00
Theo Arends c4bb190e82 Add split total energy 2021-10-02 18:29:05 +02:00
Theo Arends 1232933337 Update changelog 2021-10-02 15:36:01 +02:00
Stephan Hadinger 98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Theo Arends 9b35c54ed1 Revert "Add support for split energy totals"
This reverts commit d3fc03d398.
2021-09-29 14:53:23 +02:00
Theo Arends d3fc03d398 Add support for split energy totals
Add command ``SetOption129 1`` to enable split total energy results (#13030)
2021-09-29 12:08:03 +02:00
Theo Arends 2e06937b6f Bump version 9.5.0.9 2021-09-27 14:36:19 +02:00
Stephan Hadinger e5be88ad15 Berry print stack trace when exception, more detailed with line numbers if `#define USE_BERRY_DEBUG` 2021-09-27 13:39:12 +02:00
Stephan Hadinger 509daa24dc Berry revamped ``energy`` module to expose all C variables to Berry (read/write) 2021-09-24 18:05:16 +02:00
Theo Arends 7c71c3bdd8 Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>``
Add command ``WebQuery <url> GET|POST|PUT|PATCH [<headers>] <body>`` to extent HTTP requests (#13209)
2021-09-24 11:34:44 +02:00
Theo Arends 5eb8f78046 Add support for Sensirion SCD40/SCD41 CO2 sensor
Add support for Sensirion SCD40/SCD41 CO2 sensor (#13139)
2021-09-23 14:47:43 +02:00
Theo Arends 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
Theo Arends e89eb985bb Add support for BL0939 energy monitor
Add support for BL0939 energy monitor as used in ESP32 based Sonoff Dual R3 V2 Pow (#13195)
2021-09-22 12:45:56 +02:00
Arnold fc7dd13293
Add SCD40/SCD41 support 2021-09-20 21:54:13 +02:00
Jason2866 e4d3dedd8c
Webcam 2021-09-17 14:43:48 +02:00
Jason2866 4bd919fc80
Core 1.0.7.4 for ESP32 2021-09-17 12:39:53 +02:00
s-hadinger f9e1ab1c90
Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123) (#13135)
* Minimum PWM Frequency lowered to 2Hz on ESP32 (#13123)

* Forgot main file
2021-09-15 11:10:48 +02:00
s-hadinger f4dadc625b
``DisplayDimmer`` has now range 0..100 instead of 0..15 (#13132)
* ``DisplayDimmer`` has now resolution of 8 bits instead of 4, and uses Gamma for LED

* Fix changelog
2021-09-14 22:40:26 +02:00
Stephan Hadinger 55202aa7f5 Berry support for Serial 2021-09-14 22:07:20 +02:00
Stephan Hadinger 8ee3bae70d Support for ESP32/ESP32S2 DAC gpio via Berry 2021-09-13 13:44:39 +02:00
Jason2866 e65391cbe4
core 2 uses Universal Display driver 2021-09-12 19:21:40 +02:00
Stephan Hadinger bc5f346926 Crash recorder ``Status 12`` for ESP32/ESP32S2/ESP32C3, supporting Esp-idf 3.3/4.4 2021-09-12 12:24:09 +02:00
Stephan Hadinger b58958b8c6 ESP32 add GPIO 6/7/8/11 to template and remove GPIO 28-31 (remapping so backwards compatible) 2021-09-05 19:43:53 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
Stephan Hadinger 3d5c68b850 Berry class ``webclient`` for HTTP/HTTPS requests 2021-09-02 21:58:08 +02:00
Theo Arends c9761665e3 Fixed OpenTherm invalid JSON (#13028) 2021-09-02 10:56:20 +02:00
Theo Arends 1c4bca8a8c Add command ``WebGetConfig <url>``
Add command ``WebGetConfig <url>`` if ``#define USE_WEBGETCONFIG`` is enabled to restore/init configuration from external webserver (#13034)
2021-09-02 10:46:29 +02:00
Theo Arends 328041ad0e Update changelogs 2021-09-02 10:09:23 +02:00
Stephan Hadinger a2fdeff9c5 Fixed crash when PSRAM is absent and ``BOARD_HAS_PSRAM`` set 2021-09-01 22:48:02 +02:00
Theo Arends c26adde183 Bump version to v9.5.0.8 2021-09-01 11:34:19 +02:00
Theo Arends feab616277 Fix Sonoff L1 (lite) smoother color transitions 2021-09-01 11:14:30 +02:00
Theo Arends 6ddb14bc6a Add Command ``SetOption2 1``
Add Command ``SetOption2 1`` to enable display of global temperature/humidity/pressure info to JSON sensor message
2021-09-01 09:42:10 +02:00
Theo Arends 6e3c239e25 Update change logs 2021-09-01 09:11:14 +02:00
s-hadinger 6cf6efbdc9
Merge pull request #13016 from s-hadinger/ir_2_7_20
IRremoteESP8266 library from v2.7.19 to v2.7.20
2021-08-30 21:34:46 +02:00
Stephan Hadinger 066029cd97 IRremoteESP8266 library from v2.7.19 to v2.7.20 2021-08-30 21:08:41 +02:00
Stephan Hadinger 06037b10a5 Berry support for Curve 25519 EC crypto 2021-08-30 21:01:06 +02:00
Theo Arends e45dbc66e0 Fix Shelly Dimmer 2 Energy usage
Fix Shelly Dimmer 2 Energy usage (#12815)
2021-08-30 18:03:24 +02:00
Theo Arends e2e90cc18a Add commands ``SwitchMode 17`` and ``SwitchMode 18``
Add commands ``SwitchMode 17`` PushHoldMultiDelay and ``SwitchMode 18`` PushHoldMultiDelayInverted adding delayed single press event (#12973)
2021-08-26 16:36:04 +02:00
Theo Arends 454d4601b4 Add support for IKEA VINDRIKTNING
Add support for IKEA VINDRIKTNING particle concentration sensor (#12976)
2021-08-26 11:16:28 +02:00
Theo Arends d4f444a85a Add support for Hydreon RG-15 Solid State Rain sensor
Add support for Hydreon RG-15 Solid State Rain sensor (#12974)
2021-08-25 17:25:11 +02:00
Theo Arends a4e36d8224 Add command ``Subscribe2 ...``
Add command ``Subscribe2 ...`` to subscribe to a MQTT topic without appended "/#" (#12858)
2021-08-25 16:40:03 +02:00
Theo Arends a6310780ee Fix Sonoff L1 Lite MusicSync mode
Fix unable to disable MusicSync mode on Sonoff L1 Lite regression from 9.3.0 (#12930)
2021-08-25 15:24:55 +02:00
Theo Arends 6e2a3f5d60 Fix Hass and Tasmota discovery
Fix Hass and Tasmota discovery prefix topic notifications (#12972)
2021-08-25 09:41:07 +02:00
Theo Arends 04cd9a3c33 Update changelogs 2021-08-24 20:58:17 +02:00
Stephan Hadinger 0e1a5a0a79 Berry support for vararg 2021-08-23 19:47:37 +02:00
Theo Arends 74b24298bd Fix Shelly 2.5 negative power values on relay 1 regression from 9.5.0.5
Fix Shelly 2.5 negative power values on relay 1 regression from 9.5.0.5 (#12943)
2021-08-23 16:18:21 +02:00
Theo Arends 5eb1ab0ab4 Fix WDT reset on shutters with stepper motors during deceleration (#12849) 2021-08-22 16:09:56 +02:00
Theo Arends 7de0257d1b Fix issue id 2021-08-22 13:45:15 +02:00
Theo Arends 107d247a6a Add support for IEM3155 Wattmeter (#12950) 2021-08-22 11:51:24 +02:00
Theo Arends 43642e0b8a Turn HTTP API (command ``SetOption128 1``) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Stephan Hadinger 307f140a81 Fixed PWM5 on ESP32C3 2021-08-17 17:10:48 +02:00
Stephan Hadinger 63bbf46d7f Berry now compiling in ``strict`` mode to catch more bugs 2021-08-16 20:46:09 +02:00
Theo Arends cb955762a6 Version bump to v9.5.0.6
Version bump to monitor possible HTTP issues releated to ``SetOption128``
2021-08-16 10:32:25 +02:00
Theo Arends 15312f8829 Add disabling web referer check default blocking HTTP web commands
Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)
2021-08-15 13:15:33 +02:00
Theo Arends 7380f85d8d Revert "Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828)"
This reverts commit 996aaf26cc.
2021-08-15 13:04:57 +02:00
Theo Arends 996aaf26cc Add command ``SetOption128 1`` disabling web referer check default blocking HTTP web commands (#12828) 2021-08-15 12:59:21 +02:00
Theo Arends 3c964504b6 Revert "Show power status in state message always with power index number like ``POWER1``"
This reverts commit 59a13644b9.
2021-08-14 17:40:03 +02:00
Theo Arends 59a13644b9 Show power status in state message always with power index number like ``POWER1``
Add state information to influxdb
2021-08-14 17:35:31 +02:00
Theo Arends c4075655aa Initial support for influxdb using ``#define USE_INFLUXDB`` and several ``Ifx`` commands 2021-08-12 22:33:02 +02:00
Theo Arends 668e260481 Fix negative power values for ADE7953 based devices like Shelly EM (#12874) 2021-08-12 20:38:31 +02:00
Theo Arends e6cb80def3 Update changelog 2021-08-09 12:08:20 +02:00
Theo Arends 229a8cb270
Merge branch 'development' into promchg1 2021-08-09 11:57:01 +02:00
Theo Arends 633fd4fbd5 Update changelog 2021-08-09 11:55:12 +02:00
Michael Hanselmann 7afc19473d Describe recent changes to Prometheus metrics in changelog
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-08-08 17:22:05 +02:00
Theo Arends 4f3af0de55 Update changelog 2021-08-08 17:13:04 +02:00
Theo Arends 621a0eff11 Relax NTP poll if no ntpserver can be resolved by DNS (#12838) 2021-08-08 15:22:44 +02:00
Theo Arends b89e17c7f6 Change Mi Desk Pro template and remove the need for dedicated name 2021-08-05 09:43:08 +02:00
Theo Arends 0025a1485b Add support for (Yeelight) Mi Desk Pro using binary tasmota32solo1.bin and template named "Mi Desk Pro" 2021-08-04 14:30:13 +02:00
Theo Arends 45c4e57a03 Make Sonoff L1 MusicSync persistent (#12008) 2021-08-03 14:12:38 +02:00
Theo Arends 4f47fc8527 Fix Neopool communication error (#12813) 2021-08-02 11:05:02 +02:00
Theo Arends ba5b386678 Bump version to 9.5.0.5 2021-08-01 17:57:13 +02:00
Theo Arends c3a1ba8de2 Initial wifi range extender (#12784) 2021-08-01 17:48:19 +02:00
Stephan Hadinger d789846ff5 Update changelog 2021-07-30 17:40:09 +02:00
Theo Arends 65b7034b0c Support for second DNS server 2021-07-29 16:57:04 +02:00
Theo Arends 215ec4388f Force a rebuild 2021-07-28 17:35:08 +02:00
s-hadinger 37d350d9e1
LVGL new widget ``lv_wifi_bars`` (#12752)
* LVGL new widget ``lv_wifi_bars``

* Remove old code
2021-07-25 19:23:58 +02:00
Stephan Hadinger 21c3ac6727 Berry add ``tasmota.wifi()`` and ``tasmota.eth()`` 2021-07-25 12:50:58 +02:00
s-hadinger 392d580a97
Berry add module ``introspect`` (#12728)
* Berry add module ``introspect``

* Rename `members`
2021-07-22 22:36:18 +02:00
Theo Arends 3d37712b27 Change message ``Upload buffer miscompare`` into ``Not enough space`` 2021-07-22 15:14:58 +02:00
Theo Arends cd228d2f84 Fix ESP32-Solo OTA upgrade 2021-07-21 13:26:32 +02:00
Theo Arends 520612b67c Fix discovery fails when using ``%hostname%`` in a topic (#12710) 2021-07-21 11:41:31 +02:00
Theo Arends acd9ea1661 Update changelog 2021-07-20 22:02:59 +02:00
Stephan Hadinger 84e58739a0 Berry add support for I2S audio mp3 playback 2021-07-20 21:05:10 +02:00
Stephan Hadinger 1682582bea Disable PSRAM on unsupported hardware
Either ESP32 rev1/2 that needs special fixes
`-DHAS_PSRAM_FIX -mfix-esp32-psram-cache-issue -lc-psram-workaround -lm-psram-workaround`
or ESP32-PICO-V3-02 that requires esp-idf 4.4
2021-07-18 19:43:33 +02:00
Theo Arends 4173340c6a Add support for CAN bus and Freedom Won Battery Management System by Marius Bezuidenhout (#12651) 2021-07-17 15:16:48 +02:00
Theo Arends 6cd9a7d899 Add command ``SetSensor1..127 0|1`` to globally disable individual sensor driver 2021-07-14 14:20:50 +02:00
Theo Arends 0282943d46 ESP32 internal sensor driver id moved from 87 to 127 2021-07-14 11:24:36 +02:00
Theo Arends 5abadbf221 Fix ESP32 do not use chip temperature sensor as global temperature if external temperature sensor is used (#12630) 2021-07-13 16:44:28 +02:00
Theo Arends 499134e1bc Release of Tasmota WebInstaller 2021-07-13 11:40:13 +02:00
Stephan Hadinger 52181f0822 IRremoteESP8266 library from v2.7.18 to v2.7.19 2021-07-06 12:21:23 +02:00
Theo Arends d44fc80cd3 Fix exception 28 when unable to send MQTT message
Fix exception 28 when unable to send MQTT message and a topic name without a slash '/' (#12555)
2021-07-06 11:28:33 +02:00
Theo Arends 60fabf65a7 Fix regression ESP8266 setting hostname 2021-07-05 17:11:03 +02:00
Theo Arends 512d912b77 Change setting hostname to fixing ArduinoESP32 core 2.0.0 2021-07-05 14:50:33 +02:00
Stephan Hadinger 1c15552210 Command ``SetOption127 1`` to force Wifi in no-sleep mode even if ``Sleep 0`` is not enabled 2021-07-05 13:43:41 +02:00
Theo Arends 377b34409f Changed ESP32 Ethernet Phy Type information to IDF v3+ 2021-07-04 14:53:58 +02:00
Theo Arends 9203d6d4b3 Update changelog 2021-07-04 12:14:16 +02:00
Theo Arends 16f6f26aba Add initial support for Tasmota Mesh
Add initial support for Tasmota Mesh (TasMesh) providing node/broker communication using ESP-NOW (#11939)
2021-07-02 14:08:06 +02:00
Theo Arends c9a8cc7169 Bump version 9.5.0.2 2021-07-01 15:38:28 +02:00
Theo Arends 94992f0597 Revert changes DHT11 timing 2021-06-27 14:20:00 +02:00
Theo Arends 464ab2cb6b Add support for AM2320 Temperature and Humidity Sensor by Lars Wessels (#12485) 2021-06-27 13:53:19 +02:00
Theo Arends 83518a9c38 Update timing DHT11, AM2301 (DHT21, DHT22, AM2302, AM2321), SI7021 (#12488) 2021-06-27 13:25:26 +02:00
Theo Arends d1805246f9 Enable UFILESYS, GUI_TRASH_FILE and GUI_EDIT_FILE for any device compiled with more than 1M flash size 2021-06-27 11:36:05 +02:00
Theo Arends ef508c629f Fixed Telegram response decoding stopped working after 20210621
Fixed Telegram response decoding stopped working after 20210621 and exception on long result message (#12451)
2021-06-24 18:29:12 +02:00
Stephan Hadinger ee2b6d7f74 Add Esp32 Partition Manager as a Berry component 2021-06-23 22:02:44 +02:00
Theo Arends 540574fe49 Fix NO VALID JSON regression from may 4th
Fix NO VALID JSON regression from may 4th (#12440)
2021-06-22 16:54:47 +02:00
Theo Arends 409c828bb7 Update changelog 2021-06-21 14:46:30 +02:00
Stephan Hadinger 28da131932 Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
Theo Arends 0d18174bd9 Fix DDS238-2 wrong reactive power value (#12283) 2021-06-20 11:36:34 +02:00
Theo Arends 99d303c191 Fix ESP32 Webcam add boundary marker before sending mjpeg image (#12376) 2021-06-19 16:40:32 +02:00
Theo Arends 37d6548fd2 Speed up initial GUI console refresh 2021-06-19 15:22:17 +02:00
Theo Arends a87ff67010 Force ESP32 defines Force ESP32 defines USE_UFILESYS, GUI_TRASH_FILE and #define GUI_EDIT_FILE 2021-06-17 17:29:44 +02:00
Theo Arends e0faa0399a Bump version 9.5.0.1 2021-06-17 11:30:44 +02:00
Theo Arends bd87afeabf Add command ``MqttWifiTimeout 100..20000``
Add command ``MqttWifiTimeout 100..20000`` to control MQTT Wi-Fi connection timeout default set to 200 mS (#12222)
2021-06-15 10:15:36 +02:00
Theo Arends dd311aeb22 Prep release 9.5.0 2021-06-14 11:54:52 +02:00
Theo Arends 74cebfe15d Prep release 9.5.0 2021-06-14 11:28:48 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 99a8c3d06a Allocate ESP8266 log buffer in iram heap space if available 2021-06-11 16:02:49 +02:00
Stephan Hadinger 1c5bcd6dad I2C extended MPU6886 to also support MPU9250 (found in Legacy M5Stack Fire) 2021-06-11 13:27:34 +02:00
Theo Arends 49b5ae71ca Change command ``Modules`` layout of JSON message changed to single line 2021-06-09 10:14:39 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends d9e1eaa780 Change command ``Gpio`` layout of JSON message changed to single line 2021-06-08 18:46:39 +02:00
Theo Arends 912eedd76d Change command ``Timers`` layout of JSON message changed to single line 2021-06-06 18:16:46 +02:00
Theo Arends 25f4070da2 Add command ``Status0`` providing all status in one line 2021-06-02 18:13:05 +02:00
Theo Arends 36d5fc3851 Update changelog 2021-05-30 11:32:39 +02:00
Stephan Hadinger 1dc58957c3 IRremoteESP8266 library from v2.7.16 to v2.7.18 2021-05-29 14:48:27 +02:00
Stephan Hadinger c1f82141b9 Support for BM8563 RTC chip (I2C) found in M5Stack Core2 and M5StickC 2021-05-26 21:47:07 +02:00
Theo Arends ea83c8acd1 Update changelog 2021-05-15 10:56:07 +02:00
Stephan Hadinger cf5b7b4a41 LVGL add support for TrueType fonts via FreeType library 2021-05-12 11:16:10 +02:00
Theo Arends 38ab8c4826 Add compile time rules and commands
- Add defines ``USER_RULE1``, ``USER_RULE2`` and ``USER_RULE3`` to store rules at compile time
- Add define ``USER_BACKLOG`` to store commands at compile time to be executed at firmware load or when executing command ``reset``
2021-05-02 17:57:03 +02:00
Stephan Hadinger ae4de426d0 Add Zigbee firmware 6.7.9 for Sonoff ZBBridge 2021-04-30 22:14:00 +02:00
Stephan Hadinger 6c03d93496 Add firmware for Tube's Zigbee EFR32 EZSP 6.7.9 2021-04-30 21:53:04 +02:00
Theo Arends 86ec4af6c5 Make Telegram command ``TmState`` persistent
Make Telegram command ``TmState`` persistent (#11965)
2021-04-30 15:42:57 +02:00
Theo Arends 89b922675d Add backward compatibility to Template CMND fieldpair using | as command separator
Add backward compatibility to Template CMND fieldpair using | as command separator (#11788)
2021-04-29 17:00:04 +02:00
Theo Arends 06667d98fa Add ESP32 pulldown switches ``Switch_d``
Add ESP32 pulldown switches ``Switch_d`` (#10814)
2021-04-27 11:36:10 +02:00
Theo Arends 74156c9965 Add support for MQTT using Azure IoT Hub
Add support for MQTT using Azure IoT Hub by Kevin Saye (#11906)
2021-04-27 11:23:17 +02:00
Theo Arends 01390c2ca6 Add ESP32 pulldown buttons ``Button_d`` and ``Button_id``
Add ESP32 pulldown buttons ``Button_d`` and ``Button_id`` (#10814)
2021-04-26 13:56:44 +02:00
Theo Arends 1ace2d2292 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 17:22:38 +02:00
Theo Arends 2bf681dbe2 Revert "Add initial support for optional for template specific commands"
This reverts commit b44c16d861.
2021-04-25 17:03:11 +02:00
Theo Arends b44c16d861 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 16:51:18 +02:00
Theo Arends 674509a56e Fix teleperiod rule handling regression
Fix teleperiod rule handling regression from v9.3.1.2 (#11851)
2021-04-23 10:59:33 +02:00
Theo Arends 147440fd99 Add command ``Wifi 0/1`` for ESP8266
Add command ``Wifi 0/1`` for ESP8266 to turn wifi Off and On. When wifi is Off it is always returned On after a restart except for a wake-up from deepsleep (#11839)
2021-04-22 18:10:26 +02:00
Theo Arends 2398056fa5 Update changelog and version to 9.4.0.1 2021-04-22 15:55:13 +02:00
Theo Arends 2fc3b93e9d Change command ``Power`` should not reset pulsetime
Change command ``Power`` should not reset pulsetime (#11805)
2021-04-22 15:03:56 +02:00
Theo Arends 46edb12c75 Release 9.4.0 2021-04-21 16:57:39 +02:00
Theo Arends 3d30ab6f2b Prep release 9.4 2021-04-21 11:28:59 +02:00
Stephan Hadinger 4395a19fe6 Add ``Input`` GPIO type with no default action, to be read via Berry 2021-04-21 10:05:10 +02:00