Commit Graph

6270 Commits

Author SHA1 Message Date
Marius Bezuidenhout a436fc5e5f
Merge branch 'arendst:development' into feature/can-bus 2021-11-06 08:14:21 +02:00
Stephan Hadinger 2da2e37abc EZSP32 idf4.4 2021-11-05 23:21:09 +01:00
Stephan Hadinger 0c144fb748 Berry optimize GPIO constants 2021-11-05 19:25:50 +01:00
Stephan Hadinger 753a61b431 EZSP32 prevent crash on IDF4.4 2021-11-05 18:20:18 +01:00
Jason2866 e9e0e7a467 remove c3 serial workaround 2021-11-05 12:47:32 +01:00
Theo Arends f22ec011b4
Merge pull request #13572 from stefanbode/patch-2
Add ability to discover shutters on relay 9++
2021-11-05 09:51:25 +01:00
Theo Arends 0b9221844e
Merge pull request #13565 from barbudor/pr_add_tcpbridgeconfig
Add command TCPConfig to TCPBridge
2021-11-05 09:48:41 +01:00
stefanbode 6a5937f488
Update xdrv_12_discovery.ino
Removed reference to MAX_SHUTTER_RELAY
2021-11-05 09:17:07 +01:00
stefanbode 205931d18e
Update tasmota.h
Removed obsolete number of shutter relays
2021-11-05 09:06:22 +01:00
stefanbode 540f6178da
Update xdrv_12_home_assistant.ino
Fix problem on ESP32 and enhanced i2c GPIO boards with more than 8 relays and shutter defined on relay 9++
2021-11-05 09:02:42 +01:00
Stephan Hadinger 765013cda9 Berry avoid crash when I2C is not configured 2021-11-04 20:21:59 +01:00
s-hadinger 739376a72d
Merge pull request #13569 from s-hadinger/berry_rule_multi
Berry support for multiple rules with same prefix
2021-11-04 20:20:23 +01:00
s-hadinger 14165e8d92
Merge pull request #13568 from s-hadinger/lvgl_screen_bg
LVGL set screen background to black
2021-11-04 20:20:13 +01:00
s-hadinger dda96c84a8
Merge pull request #13567 from s-hadinger/berry_virtual_displaydimmer
Support for DisplayDimmer for Core2 with Berry drivers
2021-11-04 19:45:42 +01:00
Stephan Hadinger 26d2f9821e Berry support for multiple rules with same prefix 2021-11-04 19:34:22 +01:00
Stephan Hadinger 1f2a5a913b LVGL set screen background to black 2021-11-04 19:31:43 +01:00
Stephan Hadinger 3cfae4ccce Support for DisplayDimmer for Core2 with Berry drivers 2021-11-04 19:29:06 +01:00
Theo Arends aa79f73aa9 Remove TWDT remnants 2021-11-04 17:41:03 +01:00
Barbudor 79f5c1285f add command tcpbridgeconfig 2021-11-04 17:14:34 +01:00
Theo Arends 128f7723d1 Enable MQTT retain (sigh)
Enable MQTT retain (sigh) (#12494)
2021-11-04 17:01:05 +01:00
Stephan Hadinger e45f25f59a Berry support for unishox compression 2021-11-04 08:17:42 +01:00
Giedrius Koksta 888f5b2f36 add index number to all thermostat responses 2021-11-03 23:15:14 +02:00
Jason2866 e20fd9a8ec
Update de_DE.h 2021-11-03 16:43:49 +01:00
bovirus 05b2045d88
Update Italian language 2021-11-03 12:18:38 +01:00
Theo Arends 5243b17a1a Add 1 second heartbeat GPIO 2021-11-03 11:58:05 +01:00
Theo Arends 77e0ed68e9
Merge pull request #13544 from Jason2866/facedetect
Disable Face Detection for Webcam with Core 2.0.x
2021-11-03 10:52:03 +01:00
Theo Arends eedaef0928 Fix profiling compile time warnings 2021-11-03 10:42:30 +01:00
kruzer 42267c2bd9 Working effects of gradual highligting based on scheme 13, bitwise rotation settings, fade effect 2021-11-03 00:03:06 +01:00
Jason2866 61c381be94
Update xdrv_81_esp32_webcam.ino 2021-11-02 17:00:22 +01:00
Theo Arends 776ed8a65c Hide MCP230xx power changes 2021-11-02 16:36:36 +01:00
Theo Arends 903c5c1de7 Refactor BM8563 driver 2021-11-02 14:54:32 +01:00
kruzer bf8a8c621e added config variable StepPixels 2021-11-01 12:31:08 +01:00
Jason2866 e87ec95a42
Disabled with core 2.0.x
since it is generating compile errors with
2021-10-31 20:32:00 +01:00
Jason2866 a3d912e0ae
revert disable 2021-10-31 19:31:14 +01:00
Jason2866 876111585d
Disabled with core 2.0.x
since it is generating compile errors with
2021-10-31 19:26:28 +01:00
Theo Arends dba1f32c82 Fix ESP32 core 2.x I2C device detection speed 2021-10-31 15:13:28 +01:00
Theo Arends 58935bf708 Fix ESP32 Core 2.x HTU detection speed 2021-10-31 14:27:34 +01:00
Theo Arends 8db8383d59 Generic fix for ESP32 I2C 2021-10-31 14:03:58 +01:00
Theo Arends 818f86809b Fix ESP32 core 2.0.1rc1 I2C stability
Fix ESP32 core 2.0.1rc1 I2C stability by performing new function wire.end() cleaning up SHT driver initiated GPIO changes. This solves HTU driver issue.
2021-10-31 12:58:28 +01:00
Theo Arends 25026b5923 Fix ESP8266 exception when using profiling 2021-10-31 11:57:06 +01:00
Milenko Mitrovic 7ec0c417b3 Added support for Mi Scale V1 2021-10-30 11:19:44 +02:00
Theo Arends 45fcd8ac83 Add optional profiling 2021-10-29 18:49:29 +02:00
Theo Arends c11083c306
Merge pull request #13508 from Noschvie/patch-9
Change comment for field voltage and frequency
2021-10-29 11:52:44 +02:00
Norbert 5fc7c6f796
Change comment for field voltage and frequency 2021-10-29 08:51:21 +02:00
Lenbok 628c00f090 Reflect PVVX firmware reed switch status
The first bit of the flag field reflects reed switch status so this
device can additionally be used to monitor the status of a door.
2021-10-29 19:43:10 +13:00
Stoyan Dimitrov 375bfb9eec Update Bulgarian translation 2021-10-28 20:20:00 +03:00
Theo Arends ab6b2d1321
Merge pull request #13497 from Baton34/development
Update Russian language file.
2021-10-28 17:12:52 +02:00
Theo Arends f8843acbde Fix ESP core 2.0.0 I2C exception 2021-10-28 15:57:24 +02:00
Baton34 e4c91fc247
Update ru_RU.h 2021-10-28 15:45:40 +03:00
Baton34 5860f44206
Update ru_RU.h 2021-10-28 15:39:00 +03:00
Theo Arends 4c65de2561 Fix OTA watchdog caused by TWDTLoop() 2021-10-27 16:22:50 +02:00
Charles c753baccd2 Show GPIO config on EnergyConfig command 2021-10-27 13:56:22 +02:00
Theo Arends 74c1df8fdb
Merge pull request #13487 from Noschvie/patch-7
Fixed comment in xnrg_08_sdm120.ino
2021-10-27 09:20:07 +02:00
Theo Arends ce81b6a9fd
Merge pull request #13480 from s-hadinger/TWDT_10s
Increase TWDT to 10s
2021-10-27 09:19:18 +02:00
Norbert ca267623d9
Fixed comment in xnrg_08_sdm120.ino
The comment for SDM120_SPEED is fixed.
2021-10-27 08:51:52 +02:00
s-hadinger 6158032723
Berry add stack increase observability (#13482)
* Berry add stack increase observability

* Berry stack increase in bytes
2021-10-26 23:13:16 +02:00
Stephan Hadinger 39e764a6e4 Increase TWDT to 10s 2021-10-26 22:04:07 +02:00
Stephan Hadinger cb27f53816 LVGL OpenHASP alpha 4 2021-10-26 21:58:21 +02:00
mikep1998 406a1882c9
Merge branch 'arendst:development' into development 2021-10-26 10:12:11 -07:00
mikep1998 67a7e28b78 WIFI connection retry
Allow #define to change wifi connection timeout.
2021-10-26 10:11:21 -07:00
gemu2015 800b4061ae fix compression error message 2021-10-26 08:03:30 +02:00
Stephan Hadinger 07e848cd30 LVGL OpenHASP alpha 3 2021-10-25 22:20:48 +02:00
Stephan Hadinger e047260158 LVGL add roboto condensed 2021-10-23 16:13:00 +02:00
Stephan Hadinger 6fa5aec939 LVGL OpenHASP alpha2 2021-10-23 15:08:33 +02:00
Theo Arends 36e51ff4bb
Merge pull request #13441 from gemu2015/sml_fix
fix sml compile error SML_MAX_VARS missing
2021-10-23 14:36:01 +02:00
Charles 5c7e1657ed use setOption103 2021-10-23 14:08:40 +02:00
gemu2015 41639d46c2 fix sml compile error SML_MAX_VARS missing 2021-10-23 08:07:51 +02:00
Theo Arends 2d4e5a86c9 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-10-21 18:35:28 +02:00
Theo Arends b65e0fb21e Fix compile error 2021-10-21 18:35:25 +02:00
Theo Arends af85cbedb1
Merge pull request #13411 from s-hadinger/twdt_to_tasmota
Move TWDT watchdog from esp-idf to Tasmota
2021-10-21 16:59:39 +02:00
Theo Arends 071971edaa Fix initial reset RTC memory based variables
Fix initial reset RTC memory based variables like EnergyToday and EnergyTotal
2021-10-21 16:24:41 +02:00
Theo Arends 9e612dcb8b
Merge branch 'development' into twdt_to_tasmota 2021-10-21 15:59:54 +02:00
Barbudor 38c9942c2c file editor no-wrap 2021-10-20 22:49:50 +02:00
Stephan Hadinger 06b4dba98a Bump to version 10.0.0.1 2021-10-20 20:40:26 +02:00
Stephan Hadinger 9f7a52633a Berry add module ``python_compat`` to be closer to Python syntax 2021-10-20 19:04:18 +02:00
Stephan Hadinger 3d3d634070 Berry support for tele rules 2021-10-19 22:38:54 +02:00
Stephan Hadinger 24afc50375 Berry add access to Settings 2021-10-19 21:47:48 +02:00
Stephan Hadinger b8b1e0ca5f Berry sleep global 2021-10-19 21:13:52 +02:00
Stephan Hadinger f4dc0090b0 Move TWDT watchdog from esp-idf to Tasmota 2021-10-19 21:00:48 +02:00
Stephan Hadinger 0fa343c447 Berry add a watchdog 2021-10-19 20:14:31 +02:00
blakadder bb0551de9a
fix comment to reflect actual driver name 2021-10-19 12:08:54 +02:00
Theo Arends 08cf51ae5a Bump version to 10.0.0.0 2021-10-19 10:56:08 +02:00
gemu2015 7a01c70e7c force hide files on sdc 2021-10-19 08:08:55 +02:00
Theo Arends 097a556e99 Fix ESP32 invalid initial NVM config count 2021-10-18 15:41:37 +02:00
Stephan Hadinger f3c11c6951 Berry return last message in tasmota.cmd() 2021-10-18 11:24:11 +02:00
bkcsfi de554466cc
fix typo in comment
comment didn't match code, I updated the comment to match
2021-10-17 15:25:55 -04:00
Adrian Scillato 8605ad3cb8
Merge pull request #13381 from ascillato/patch-1
Update Spanish Translation
2021-10-16 15:31:26 -03:00
Adrian Scillato 5fe5507659
Merge pull request #13383 from ascillato/patch-3
Update BR Portuguese Translation
2021-10-16 15:31:18 -03:00
Adrian Scillato 490d801028
Update BR Portuguese Translation 2021-10-16 14:52:50 -03:00
Adrian Scillato a34d55e93d
Update PT Portuguese Translation 2021-10-16 14:51:23 -03:00
Adrian Scillato 008a389a9c
Update Spanish Translation 2021-10-16 14:48:17 -03:00
Theo Arends 0f33fa3293 Update nl_NL.h 2021-10-16 15:13:09 +02:00
Theo Arends a9c39d3cc0
Merge pull request #13378 from tidabek/development
Update pl_PL.h
2021-10-16 13:41:03 +02:00
Theo Arends 30be35d6ed Fix legacy led support
Fix legacy led support (#13368)
2021-10-16 13:26:38 +02:00
TID aac8ba83c3
Update pl_PL.h
Several language modifications
2021-10-16 12:47:05 +02:00
bovirus d8f89a875b
Update Italian language
@ascillato 

Please check and merge. Thanks.
2021-10-16 10:38:05 +02:00
Stephan Hadinger 560e676be3 LVGL Berry remove constants 2021-10-15 21:26:33 +02:00
Stephan Hadinger 164d14496b LVGL Berry namespace ``lv.*`` added and removed ``lv_*`` constants 2021-10-15 19:34:37 +02:00
Theo Arends 4529b6a5c9 Extend energy dummy driver
Extend energy dummy driver for supporting negative current and/or active power values simulating solar panel energy production
2021-10-15 16:28:16 +02:00
Theo Arends b499a1d1d5 Fix esp32-c3 default OTAurl 2021-10-15 13:11:28 +02:00
Theo Arends 13a8f5772f
Merge pull request #13364 from curzon01/development
Fix neopool filtration speed del
2021-10-14 17:41:27 +02:00
Theo Arends 91715b6d42 Fix ESP32 hang using emergency reset 2021-10-14 17:32:43 +02:00
Norbert Richter ef1e3591ca
Fix neopool filtration speed del 2021-10-14 17:27:43 +02:00
Theo Arends eb901cfe3c Fix valid negative energy totals (#13363)
Fix valid negative energy totals (#13363)
2021-10-14 16:21:35 +02:00
Norbert Richter feb31055fd
Add NeoPool power module register description 2021-10-14 13:38:25 +02:00
Norbert Richter 474db121ee
Add NeoPool hydro module info description 2021-10-14 13:37:28 +02:00
Norbert Richter 9d947b2516
Fix NeoPool filtration pump config 2021-10-14 13:37:28 +02:00
Stephan Hadinger 8837ad6ff1 Berry stability fix 2021-10-14 09:15:19 +02:00
Jason2866 653c3a2dd4
Update de_DE.h 2021-10-12 11:46:23 +02:00
Stephan Hadinger a5897faa1b Fix merge conflict 2021-10-12 11:00:56 +02:00
Stephan Hadinger 72083d34a7 Reset GPIO16/17 on ESP32 only for non-pico 2021-10-12 10:58:06 +02:00
Theo Arends c940f932c8 Fix neopool compilation 2021-10-12 10:54:12 +02:00
Theo Arends c010a4b9de
Merge pull request #13343 from curzon01/dev-neopool
Add NeoPool cell runtime, rw error repetition, register desc
2021-10-12 10:44:41 +02:00
Adrian Scillato 9da6f22fc8
Merge pull request #13341 from ascillato/patch-5
Update Version of FR translation File
2021-10-11 20:37:16 -03:00
Adrian Scillato 0592a96d1b
Merge pull request #13339 from ascillato/patch-3
Update Portuguese PT Translation
2021-10-11 19:44:11 -03:00
Adrian Scillato bb9f408a3d
Merge pull request #13340 from ascillato/patch-4
Update Version of IT Translation File
2021-10-11 19:44:01 -03:00
Adrian Scillato 805b199255
Update Version of FR translation File 2021-10-11 19:42:04 -03:00
Adrian Scillato 3cbaae895d
Update Version of IT Translation File 2021-10-11 19:41:20 -03:00
Adrian Scillato 2aa6deecd1
Update Portuguese PT Translation 2021-10-11 19:38:50 -03:00
Adrian Scillato 31aa4d1ae6
Update Portuguese BR Translation 2021-10-11 19:37:36 -03:00
Adrian Scillato d358988cd5
Update Spanish Translation 2021-10-11 19:16:55 -03:00
s-hadinger c03884837c
Revert "ESP32 restore GPIO16/17 if no PSRAM was found" 2021-10-11 22:33:45 +02:00
Theo Arends 6914dba807
Merge pull request #13335 from s-hadinger/esp32_nopsram
ESP32 restore GPIO16/17 if no PSRAM was found
2021-10-11 19:57:35 +02:00
s-hadinger ab75da02e8
Merge pull request #13334 from s-hadinger/berry_safe_map_iter
Berry safer rule management
2021-10-11 19:36:58 +02:00
Stephan Hadinger d527b9042e ESP32 restore GPIO16/17 if no PSRAM was found 2021-10-11 19:36:39 +02:00
Stephan Hadinger 48410e9536 Berry safer rule management 2021-10-11 19:10:37 +02:00
Norbert Richter f580d46c9b
Add NeoPool cell runtime 2021-10-11 17:03:28 +02:00
Norbert Richter dd2f001791
Add boost register desc 2021-10-11 16:29:05 +02:00
Norbert Richter 476d6013a7
Add read/write repeat on error
Add cmnd NPOnError
2021-10-11 15:41:49 +02:00
Paul C Diem b9ab9737f8 Back to highest numbered relay for default count, Only send event message if not group message 2021-10-11 08:39:49 -05:00
bovirus 17c24af0b3
Italian language update 2021-10-11 13:39:57 +02:00
Paul C Diem 90536d9939 Use key count for SO88 default group count, minimize at 1 2021-10-10 17:16:35 -05:00
Marius Bezuidenhout 923056b1bc
Merge branch 'arendst:development' into feature/can-bus 2021-10-10 14:55:27 +02:00
Theo Arends d510cfe261 Revert fix ESP32 temperature jump on some devices
Revert fix ESP32 temperature jump on some devices. It appears the device makes other non regular jumps too.
2021-10-10 11:22:53 +02:00
Paul C Diem fdc37ad276 PWM_DIMMER: fix light fade stop, use dimmer_step 2021-10-09 10:42:32 -05:00
Theo Arends 89751c4d86 Fix ESP32 temperature jump on some devices
Fix ESP32 temperature jump on some devices like Sonoff DualR3
2021-10-08 15:33:13 +02:00
Theo Arends a466c5abf3 Add support for HM330X
Add support for HM330X SeedStudio Grove Particule sensor (#13250)
2021-10-08 13:59:11 +02:00
Theo Arends eaeacbfa93 Fix negative heap fragmentation 2021-10-08 11:52:50 +02:00
Theo Arends 0d435d2ccf
Merge pull request #13294 from s-hadinger/fix_ram_display
Changed Memory display on ESP32 to not include IRAM (i.e. less by 40-50KB)
2021-10-08 10:52:23 +02:00
Stephan Hadinger fba096500e Berry fix heap size control in high memory pressure 2021-10-07 19:03:34 +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
Theo Arends 0f3a6297c6 Skip logging for unwanted log data
Skip logging for unwanted log data decreasing heap fragmentation (#13251)
2021-10-07 15:39:04 +02:00
Jason2866 365996f633
Fix compile 2021-10-04 21:28:46 +02:00
Stephan Hadinger ddb1eb7fea Berry and LVGL fixes 2021-10-04 19:15:27 +02:00
Theo Arends 69f4fa932e Remove logging causing heap degradation (#13251) 2021-10-04 17:57:03 +02:00
Theo Arends 019ccae4d0 Add SO130 1 to show heap with logging timestamp 2021-10-04 17:12:42 +02:00
Theo Arends e03aa46607
Merge pull request #13269 from barbudor/show_hidden_files_pr
Add 'show hidden files' checkbox in fileman
2021-10-04 15:02:54 +02:00
Theo Arends 47a85d975a
Merge pull request #13271 from gemu2015/udisp_fix
fix rotate
2021-10-04 14:57:38 +02:00
Stephan Hadinger 22daee620a Fix ctypes for energy and lvgl 2021-10-04 13:42:09 +02:00
gemu2015 01ec66b7b6 fix rotate 2021-10-04 13:04:48 +02:00
Barbudor 0e777193fc add 'show hidden files' checkbox in fileman 2021-10-03 20:11:14 +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 388b3d5f54 Refactor BL09xx driver 2021-10-03 16:32:58 +02:00
Theo Arends 20038aac18 Add influxdb to some ESP32 binaries
Useful for heap measurements over time
2021-10-03 15:21:25 +02:00
Theo Arends 14951ba2b6 Add support for BL0942 energy monitor (#13259) 2021-10-03 14:10:11 +02:00
Theo Arends 0643c2bafb Revert latest BL09xx changes as it fails BL0940 2021-10-03 13:28:06 +02:00
Theo Arends ec412c9b5d
Merge pull request #13259 from barbudor/bl0942_pr
Add support for BL0942 to xnrg_14_bl09xx.ino
2021-10-03 13:17:35 +02:00
Stephan Hadinger 1d5b9fb8ed Fix compilation 2021-10-03 12:24:31 +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
s-hadinger 54359e5aa7
Merge pull request #13263 from s-hadinger/berry_dac_fix
Berry fix DAC
2021-10-03 10:42:14 +02:00
Stephan Hadinger d833418802 Berry fix DAC 2021-10-03 10:08:21 +02:00
Barbudor df7810a6f8 add support for BL0942 to xnrg_14_bl09xx.ino 2021-10-02 20:00:18 +02:00
Theo Arends 5d6bf997f5
Merge pull request #13258 from barbudor/trim_rule_trigger
Trim pre/post spaces on rule trigger
2021-10-02 18:51:08 +02:00
Theo Arends c4bb190e82 Add split total energy 2021-10-02 18:29:05 +02:00
Theo Arends 9002830d7c Fixes 2021-10-02 18:19:39 +02:00
Barbudor 26916f62de Trim pre/pst spaces on rule trigger 2021-10-02 15:46:51 +02:00
Theo Arends 3b5172a5c0 Merge branch 'development' into dev-energy-split 2021-10-02 15:30:05 +02:00
Theo Arends b82f098383 Remove interfering debug information 2021-10-02 14:49:50 +02:00
Theo Arends 5803407209 Revert "Chk if this fixes memory leak (#13251)"
This reverts commit 789c3acf38.
2021-10-02 14:05:52 +02:00
Theo Arends 811152a630 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-10-02 14:04:36 +02:00
Theo Arends 21c0200bd7 Fix ESP32 restart hang when USE_EMERGENCY_RESET is enabled 2021-10-02 14:04:32 +02:00
s-hadinger 6ee08a1bf0
Merge pull request #13257 from s-hadinger/lvgl_fix_init
LVGL fix init display desctriptor
2021-10-02 11:00:40 +02:00
Stephan Hadinger 4eee590a04 LVGL fix init display desctriptor 2021-10-02 10:59:41 +02:00
Stephan Hadinger 319b6e664a Lvgl8 minor cleaning 2021-10-02 10:31:38 +02:00
Stephan Hadinger 98acc6fe2d LVGL updated to v8.0.2 **breaking changes** 2021-10-02 09:33:59 +02:00
Barbudor 6783f91566 prepend OPTH_ to conflicting symbols 2021-10-01 17:57:02 +00:00
Theo Arends 789c3acf38 Chk if this fixes memory leak (#13251) 2021-10-01 17:15:28 +02:00
Theo Arends a45c2ca66b Fix unwanted pre-init functionality toggling non-display relays. 2021-10-01 16:19:23 +02:00
Theo Arends 63f526972c
Merge pull request #13252 from gemu2015/multi_display
fix multi display issues
2021-10-01 16:12:57 +02:00
Stephan Hadinger a21e4a58fc Berry add `tasmota.global` 2021-09-30 19:51:40 +02:00
gemu2015 7e38e75116 fix multi display issues 2021-09-30 19:09:38 +02:00
Adrian Scillato 86e72bbedd
Merge pull request #13235 from ascillato/Allow-KNX-and-Zigbee
Fix Optional Compilation of ZigBee with KNX
2021-09-29 17:11:33 -03:00
Theo Arends 0b944fddba Fix unwanted display interactions
Fix unwanted display interactions when no display is configured
2021-09-29 16:36:33 +02:00
Theo Arends b47e91c8ab Add energy total spilt 2021-09-29 15:33:58 +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
Adrian Scillato e49dfa7296
KNX: Fix Energy Driver dependency 2021-09-28 15:55:38 -03:00
Adrian Scillato e28a3342cb
Allow KNX and Zigbee 2021-09-28 15:53:14 -03:00
Stephan Hadinger 27dbe91a1c Berry fix Energy mapping 2021-09-28 20:03:24 +02:00
Theo Arends 2455d4bfec Prep energy total by phase 2021-09-27 14:31:16 +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
Barbudor 7c8d966206 easier to disable PID_USE_TIMPROP 2021-09-25 17:20:36 +00:00
Theo Arends 1a53f9a757 Default enable EQ3 in ESP32 bluetooth image
Default enable EQ3 in ESP32 bluetooth image (#13103)
2021-09-25 13:47:01 +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 16f9e2bd88
Merge branch 'development' into development+SCD40 2021-09-23 14:42:04 +02:00
gemu2015 038809e5c1 fix graph colors 2021-09-23 09:51:51 +02:00
gemu2015 21cce99467 ws2812 RGBW 2021-09-23 08:18:58 +02:00
gemu2015 db1036e8b9 fix sml obis 2021-09-22 16:40:52 +02:00
Stephan Hadinger 28c65dd0c1 Berry simplification of `ctypes` 2021-09-22 13:54:20 +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
Theo Arends f537534df0 Fix SHP10 legacy support 2021-09-22 11:56:28 +02:00
Barbudor 4cb51c00af typo fix 2021-09-21 18:54:43 +02:00
Barbudor 85e04ab0c2 fix it_IT 2021-09-21 18:43:40 +02:00
Barbudor 65989d2552 bl09xx driver for both bl0939 and bl0940 2021-09-21 18:25:52 +02:00
Theo Arends 4087f15aa8 Rename xnrg_x0_dummy.ino 2021-09-21 14:37:45 +02:00
Arnold 6a3dd401dc
SCD40 disabled by default in sensors image 2021-09-20 21:31:21 +02:00
Theo Arends 84b7acc059 Refactor USE_AHT2x 2021-09-20 15:30:12 +02:00
Theo Arends e31fbcf283
Merge pull request #13129 from cbcercas/AHT2x
support AHT20 without enabling AHT1x
2021-09-20 15:21:45 +02:00
Theo Arends 2143491b37 Refactor Serial.swap 2021-09-20 14:31:00 +02:00
Theo Arends e0e9b9a98c
Merge pull request #13159 from Jason2866/rm_ha_disco
Remove home assistant discovery
2021-09-20 11:29:51 +02:00
Theo Arends 290d38669e
Merge pull request #13153 from Arnold-n/development+autorunscript
Add PRECONFIGURED_SCRIPT and START_SCRIPT_FROM_BOOT options
2021-09-20 11:27:05 +02:00
Theo Arends 21ac944940
Merge pull request #13077 from ajithvasudevan/max7912_scrolltext_enhancement
Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling
2021-09-20 11:16:59 +02:00
Theo Arends 6959b60dcd
Merge pull request #13103 from btsimonh/EQ3PR
Add driver xdrv_85_BLE_EQ3_TRV
2021-09-20 11:16:04 +02:00
Theo Arends 9173175a2d
Merge pull request #13143 from barbudor/serial_console_swap
Serial.swap if TXD/RXD on GPIO13/15 (ESP8266)
2021-09-20 11:15:08 +02:00
s-hadinger 74bd4cfd53
Berry add `tasmota.get_switch()` (#13173) 2021-09-19 15:52:13 +02:00
Jason2866 3c449cf8e0
Update tasmota_configurations_ESP32.h 2021-09-17 20:26:36 +02:00
Jason2866 f27bcb5103
Merge pull request #13148 from Jason2866/Cam_compile_opti
Webcam build optimization
2021-09-17 14:39:56 +02:00
Jason2866 7231f63129
USE_TASMOTA_DISCOVERY for Webcam 2021-09-17 14:35:13 +02:00
Arnold 0de562567b
Add PRECONFIGURED_SCRIPT and START_SCRIPT_FROM_BOOT options
Change allows to define a PRECONFIGURED_SCRIPT in user_config_override.h
and to start a script from boot by defining START_SCRIPT_FROM_BOOT.
2021-09-16 23:44:54 +02:00
Theo Arends b5367f7743
Merge pull request #13004 from ascillato/Fix_compilation_for_USE_LIGHT
Fix compilation issue when disabling `USE_LIGHT` feature
2021-09-16 20:48:36 +02:00
Jason2866 b02560fd8f
Webcam compile time optimization
* Optimize compile time (1)
2021-09-16 19:24:01 +02:00
Arnold-n 0d7b049509 Correcting SCD40 on ESP32 code size 2021-09-16 09:06:52 +02:00
Arnold-n 7d3df14640 add code size info and enable in ESP32 build 2021-09-16 08:08:50 +02:00
Barbudor 4fa80c1609 Serial.swap if TXD/RXD on GPIO13/15 (ESP8266) 2021-09-15 21:02:24 +02:00
s-hadinger 6b48d9949b
Merge pull request #13142 from s-hadinger/berry_resolifify
Berry update and global resolidify
2021-09-15 20:08:42 +02:00
s-hadinger e8b30eadfe
Force PWM reapply after frequency change (#13141)
* Force PWM reapply after frequency change

* Fix compilation is USE_LIGHT is not defined
2021-09-15 19:54:55 +02:00
Stephan Hadinger 418ebf1e4e Berry update and global resolidify 2021-09-15 19:36:48 +02:00
Arnold-n 8fcf9bea57 resolving conflict with scd30 driver and removing USE_SCD41 to simplify and align with config files 2021-09-15 18:20:44 +02:00
Arnold Niessen a260fa85a3 configuration files updated for SCD40/41 2021-09-15 13:26:39 +02:00
Arnold Niessen 0fea60d8ee Add SCD40/41 support 2021-09-15 12:02:27 +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
stefanbode 147f285035
Implemented new PWM_MIN value for ESP32 and ESP8266
New minimum value for PWM_MIN now in code. Before it was hard coded 100Hz
2021-09-15 10:08:09 +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
Christopher BRAVO CERCAS c7d7e2f4da support AHT20 without enabling AHT1x 2021-09-14 20:45:20 +02:00
s-hadinger 2dcf49ca38
Merge pull request #13125 from s-hadinger/fix_ezsp_esp32
quick fix since this causes a crash on ESP32
2021-09-14 09:28:50 +02:00
Stephan Hadinger 99cfd1dcfc quick fix since this causes a crash on ESP32 2021-09-14 08:58:27 +02:00
Stephan Hadinger 0c879ebe25 Berry solidified AXP192 driver 2021-09-14 08:44:54 +02:00
Jason2866 eb4c0d6229
SHOW_SPLASH and remove redundant code 2021-09-13 15:47:04 +02:00
Stephan Hadinger 7b13bfc404 Fix DAC on ESP32C3 2021-09-13 14:12:41 +02:00
Stephan Hadinger 8ee3bae70d Support for ESP32/ESP32S2 DAC gpio via Berry 2021-09-13 13:44:39 +02:00
Jason2866 d3cc32cdc8
FreeType fonts for core2 2021-09-12 21:17:32 +02:00
s-hadinger eca751fbc3
Merge pull request #13112 from s-hadinger/crashrecorder_remove_warning
Remove warning in crashrecorder
2021-09-12 21:09:55 +02:00
Stephan Hadinger 983d13efa3 Remove warning in crashrecorder 2021-09-12 19:55:15 +02:00
Stephan Hadinger 16b0970a65 Fix Teleinfo for Denky D4 2021-09-12 19:44:01 +02:00
s-hadinger 607f6322d7
Merge pull request #13110 from s-hadinger/berry_light_fix
Berry setlight fix
2021-09-12 19:40:46 +02:00
Stephan Hadinger 3d46daa830 Berry setlight fix 2021-09-12 19:31:47 +02:00
Jason2866 6403dc8fcc touch buttons always needed 2021-09-12 16:40:37 +00:00
Jason2866 3333875308
Fix compile error
when using lvgl driver
2021-09-12 18:19:46 +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
Simon Hailes e1111ca98e Add driver xdrv_85_BLE_EQ3_TRV 2021-09-10 13:56:24 +01:00
Stephan Hadinger b2da0b2ed7 LVGL add lv_clock_icon 2021-09-09 20:32:19 +02:00
Stephan Hadinger 04c0f42981 Improved wifi widgets 2021-09-08 19:40:18 +02:00
Jason2866 d665bf10c1
Merge pull request #13082 from btsimonh/mikeyslinkchange
change link displayed in TAS for MI BLE sensors which need a key to p…
2021-09-07 15:55:32 +02:00
Jason2866 a8f0fcab56
Merge pull request #13080 from btsimonh/BLEc3fixes
use type SemaphoreHandle_t where TasAutoMutex is used to silence new …
2021-09-07 15:55:16 +02:00
Simon Hailes 605f1f2d4b change link displayed in TAS for MI BLE sensors which need a key to point to the new repo https://github.com/tasmota/ble_key_extractor/blob/gh-pages/index.html 2021-09-06 22:23:03 +01:00
Stephan Hadinger 6e1b775f28 LVGL update example to match doc 2021-09-06 23:12:39 +02:00
s-hadinger 749f46a7bc
Merge pull request #13078 from s-hadinger/zigbee_tuya_0102
Add Tuya Window Covering attributes
2021-09-06 23:00:56 +02:00
Simon Hailes 0183376555 use type SemaphoreHandle_t where TasAutoMutex is used to silence new compiler warnings 2021-09-06 18:52:20 +01:00
Ajith Vasudevan 2815211321 Enhanced 7-Segment command DisplayScrollText for indefinite as well as finite scrolling 2021-09-06 19:26:01 +05:30
Stephan Hadinger 8217c1330a Add Tuya Window Covering attributes 2021-09-06 14:45:10 +02:00
stefanbode 5ef1ec5d0d
Update xdrv_27_shutter.ino
#12849 Additional side effect correction
2021-09-05 22:07:50 +02:00
Stephan Hadinger cf23dade9a Forgot flag in ESP32S2/C3 templates 2021-09-05 20:46:12 +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
stefanbode 53ac07baa9
shutter: fixed stepper wrong position #12849 follow up
Position was wrongly calculated on emergency stop
2021-09-05 12:24:54 +02:00
Jason2866 745c709249
core2 too 2021-09-04 15:11:40 +02:00
Jason2866 2b9828ab35
redundant removed
since it is default
2021-09-04 15:10:18 +02:00
Jason2866 e357f3aa75
USE_BERRY_PSRAM as default 2021-09-04 15:07:03 +02:00
Stephan Hadinger 75ec8816f6 Fix LVGO color names 2021-09-04 14:56:09 +02:00
Stephan Hadinger a0693c6ed1 Support for ESP32S2 GPIOs 2021-09-04 14:20:09 +02:00
groth-its 3a6e9d92ea
Add / correct home assistant device classes
Add missing and correct existing home assistant device classes that are currently available in home assistant releases for auto discovery.
2021-09-04 01:11:14 +02:00
Stephan Hadinger 5b29c261ca Berry fix for LVGL styles 2021-09-03 18:35:50 +02:00
André_Teixeira_1998 cbc13be1aa
Fixed 2 typos in Portuguese PT language file 2021-09-03 15:21:24 +01:00
stefanbode dd342d0e78
Added new functionality if motor of shutter stops late
I saw on my blind that if I move it in 5% steps it opens much more than it should. The reason is, that the motor runs to long. shuttermotordelay was only able to work with >0 values. Now also <0 is supported for standard shutters.
2021-09-03 12:57:51 +02:00
Theo Arends 0f1ebe8734 Workaround ESP32C3/S2 IDF temperature error message 2021-09-03 11:19:45 +02:00
Stephan Hadinger 9731b3ea53 Moved HttpClient to its own lib 2021-09-03 08:53:42 +02:00
Stephan Hadinger 8a1aca858e Disable TLS client by default 2021-09-03 08:16:08 +02:00
Jason2866 b1d4435e67 Capitilization 2021-09-02 21:32:12 +00:00
Stephan Hadinger 3d5c68b850 Berry class ``webclient`` for HTTP/HTTPS requests 2021-09-02 21:58:08 +02:00
Stephan Hadinger 19d313622a Fix PSRAM compilation for Esp32c3 2021-09-02 20:54:50 +02:00
Theo Arends c47307bd5e Add optional emergency reset
Add optional emergency reset when Rx is connected to Tx at restart
2021-09-02 12:25:53 +02:00
Theo Arends b4bcccba35
Merge pull request #13028 from barbudor/fix_opentherm_json
Fix opentherm json
2021-09-02 10:47:38 +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 4e835a63da
Merge pull request #13034 from barbudor/dev_webconfig
add command WebGetConfig
2021-09-02 10:10:41 +02:00
Stephan Hadinger dcc25cf7e9 Fix compilation for ESP8266 2021-09-01 23:06:39 +02:00
Stephan Hadinger a2fdeff9c5 Fixed crash when PSRAM is absent and ``BOARD_HAS_PSRAM`` set 2021-09-01 22:48:02 +02:00
Barbudor 8d736b160d update logs 2021-09-01 21:37:21 +02:00
Barbudor cc51a37738 add command webgetconfig 2021-09-01 21:30:54 +02:00
Theo Arends 62983899b6 Refactor webinfo 2021-09-01 17:43:04 +02:00
Theo Arends 44c0059a88 Add VINDRIGTNING user compile time control
Add user compile time control over VINDRIGTNING undocumented values
2021-09-01 17:32:25 +02:00
Theo Arends 2b0845a697 Add status comments to MQTT code 2021-09-01 15:41:49 +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 1b5406fdd9
Merge pull request #13007 from Seestern93/DimmerNewState
SwitchMode11 & 12 (Dimmer) new state#10 as delayed single-press
2021-09-01 08:18:01 +02:00
Adrian Scillato 31c8567db3
Add Key to set the default of SO128 2021-08-31 21:25:06 -03:00
Adrian Scillato f0b53cb145
Add Key to set SO128 at compile time 2021-08-31 21:22:05 -03:00
Barbudor 62946c22b0 refactor in single append 2021-08-31 18:01:01 +02:00
Barbudor 8033917a36 fix opentherm json 2021-08-31 17:51:18 +02:00
Theo Arends f77690dd9a Add some comms checks 2021-08-31 17:00:45 +02:00
Theo Arends 1affb8f20c Update release notes 2021-08-31 16:41:19 +02:00
Theo Arends ef4431b8e6 Fix VINDIKTNING PM2.5 measurement
Fix VINDIKTNING PM2.5 measurement (#13012)
2021-08-31 16:28:24 +02:00
bovirus f1c4eb3cfd
Update it_IT.h
Update for Italian language.
Please check and merge.
2021-08-31 11:51:22 +02:00
Stephan Hadinger 547d47e297 Berry strftime 2021-08-30 23:15:27 +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 547791058a Remove redundant code 2021-08-30 11:09:10 +02:00
Theo Arends 3a85922a94 Fix Shelly Dimmer 2 Energy calculation
Fix Shelly Dimmer Energy calculation (#12815)
2021-08-30 10:53:23 +02:00
Seestern93 d24221da00 Adapt action for state 10
Adapt action to execute switch#state=10 as needed.
2021-08-30 00:13:40 +02:00
Seestern93 dbeb82c93e Update tasmota.h
Add enum of new state#10
2021-08-29 23:24:31 +02:00
Seestern93 1d5fd6f20a SwitchState10
Add Switch#State=10 to SwitchMode11&12;
Revert changes done by arendst (Switchmode17&18) as new proposal for integrating POWER_DELAYED into existing switch modes 11 & 12
2021-08-29 23:03:14 +02:00
Seestern93 535900f9f3 Merge remote-tracking branch 'upstream/development' into DimmerNewState 2021-08-29 22:41:34 +02:00
Jason2866 b35072c1e1
Some corrections 2021-08-29 16:58:20 +02:00
Adrian Scillato 5eedf7a690
Disable AC_ZERO_CROSS_DIMMER for Tasmota-Lite 2021-08-28 18:18:53 -03:00
Adrian Scillato 506342a0e1
Disable AC DIMMER for Minimal Firmware 2021-08-28 18:06:02 -03:00
Adrian Scillato d8df7d7f17
Add USE_AC_ZERO_CROSS_DIMMER Key to my_user_config 2021-08-28 17:26:14 -03:00
Adrian Scillato ee27476890
Satisfy requirements for features that require USE_LIGHT 2021-08-28 17:23:25 -03:00
Adrian Scillato 09a7d0b4a5
Fix compilation if undef USE_LIGHT and def USE_HOME_ASSISTANT 2021-08-28 17:20:10 -03:00
Adrian Scillato b6e8712d3b
Moving Key USE_AC_ZERO_CROSS_DIMMER to my_user_config.h 2021-08-28 17:17:52 -03:00
Adrian Scillato 868edc296b
Add requirement for PWM DIMMER 2021-08-28 15:15:22 -03:00
Adrian Scillato c09a23d875
Add requirements for PWM DIMMER and COUNTER 2021-08-28 15:13:52 -03:00
Adrian Scillato 45286b5881
Fix compilation if undef USE_LIGHT and def USE_HOME_ASSISTANT 2021-08-28 15:02:06 -03:00
Theo Arends cf2891f9b9 Add Sonoff L1 MusicSync off when a color change is requested
Add Sonoff L1 MusicSync off when a color change is requested (#12930)
2021-08-27 16:39:18 +02:00
Theo Arends e1db23b7c5 Add Sonoff L1 MusicSync off when a remote button is received
Add Sonoff L1 MusicSync off when a remote button is received (#12930)
2021-08-27 15:50:17 +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 c17b5a6178 Add PMS5003 delayed discovery 2021-08-26 11:50:15 +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 dff83c1dfa
Merge pull request #12974 from wooti/hrg15
Added support for Hydreon RG-15 Rain Sensor
2021-08-25 17:06:30 +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
Wouter Breukink 7ad2975063 Added support for Hydreon RG-15 Rain Sensor 2021-08-25 15:01:14 +01: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
ujp83wi e2ca51454b [#12712 / #12713] Add SetOption129 which changes behavior of SwitchMode11 & 12:
SetOption129 0 (default) triggers the single press event (State#2) at push (for mode 12 it is inverted)
SetOption129 1 triggers the single press event (State#2) at release (for mode 12 it is inverted)
This makes the double-click usable for other things than switching the relay which is switched by single-click
2021-08-25 14:44:17 +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
Stephan Hadinger 5ab0081f47 Berry upgrade to latest changes 2021-08-24 22:44:33 +02:00
Theo Arends 3bae28a9f5
Merge pull request #12960 from Fires04/development
xsns_82_wiegand - fix for zero key if keypad is used in the single ke…
2021-08-24 20:52:19 +02:00
Theo Arends c3b38c0d2c Fix ESP32-C3 compilation (#12961) 2021-08-24 20:48:50 +02:00
David Stein 75d259a77e xsns_82_wiegand - fix for zero key if keypad is used in the single key mode (SetOption124 1) 2021-08-24 15:54:02 +02:00
Theo Arends 308e4a536d
Merge pull request #12942 from Jason2866/C3_BLE
BLE support for ESP32-C3
2021-08-24 08:36:11 +02:00
Stephan Hadinger ce8958c89b Berry preliminary support for OneWire 2021-08-23 20:32:32 +02:00
Stephan Hadinger 0e1a5a0a79 Berry support for vararg 2021-08-23 19:47:37 +02:00
Theo Arends 0f3a74bad2 Final fix for Shelly 2.5 2021-08-23 18:18:11 +02:00
Theo Arends 7d1bcda887 Saving bytes for same result 2021-08-23 17:37:12 +02:00
Theo Arends 8e9960be80 Allow correct negative values on Shelly 2.5 relay1 2021-08-23 17:24:42 +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
Stephan Hadinger db7ee8424e Zigee increase auto-bind range #10399 2021-08-22 22:44:21 +02:00
stefanbode 3f81f939db
Update xdrv_27_shutter.ino
Fixing WDT reset on shutters with stepper motors during deceleration #12849
2021-08-22 15:59:01 +02:00
Jason2866 68e9e3dbc7 NimBLE 1.3.1 2021-08-22 15:52:00 +02:00
Theo Arends eb05c81f06
Update my_user_config.h 2021-08-22 11:47:11 +02:00
Vojtěch Kůrka 35698dbe64 Fix for iem3155 wattmeter - CRC error, Power unit error, Energy total number type mismatch 2021-08-22 11:09:44 +02:00
Theo Arends 43642e0b8a Turn HTTP API (command ``SetOption128 1``) default on for backward compatibility 2021-08-20 15:54:26 +02:00
Theo Arends ae67c5fa57
Merge pull request #12900 from ascillato/WEBUI_HTTP-API-ENABLING
WebUI: Add option for enabling HTTP API
2021-08-20 15:25:23 +02:00
Marius Bezuidenhout 74b199b37f Added Charge and Discharge values to web page and MQTT 2021-08-20 09:58:48 +02:00
Marius Bezuidenhout 7dca876f02
Merge branch 'arendst:development' into feature/can-bus 2021-08-20 09:18:02 +02:00
Stephan Hadinger d3ad13c962 Berry system events for rules 2021-08-19 12:37:19 +02:00
Adrian Scillato b50775bcf9
http referer error message 2021-08-17 13:48:41 -03:00
Adrian Scillato cbab3bdfb0
http referer error message 2021-08-17 13:45:30 -03:00
Adrian Scillato 079cd54088
Moved HTTP Referer Loglevel from 3 to 2 2021-08-17 13:23:49 -03:00
Adrian Scillato 99d09d9b5f
Update zh_TW.h 2021-08-16 19:10:56 -03:00
Adrian Scillato 948c57e5c0
Update zh_CN.h 2021-08-16 19:10:09 -03:00
Adrian Scillato 05bf18900a
Update vi_VN.h 2021-08-16 19:09:46 -03:00
Adrian Scillato 0e48f3f0ab
Update uk_UA.h 2021-08-16 19:09:20 -03:00
Adrian Scillato 209724944a
Update tr_TR.h 2021-08-16 19:08:55 -03:00
Adrian Scillato ed5668dd0b
Update sv_SE.h 2021-08-16 19:08:31 -03:00
Adrian Scillato 8e0d4e1527
Update sk_SK.h 2021-08-16 19:08:06 -03:00
Adrian Scillato 7468b2fa40
Update ru_RU.h 2021-08-16 19:07:46 -03:00
Adrian Scillato 387eb01a72
Update ro_RO.h 2021-08-16 19:07:17 -03:00
Adrian Scillato 07ca6ed820
Update pt_PT.h 2021-08-16 19:06:54 -03:00
Adrian Scillato 7b9adf766b
Update pt_BR.h 2021-08-16 19:06:21 -03:00
Adrian Scillato cf611d83a1
Update pl_PL.h 2021-08-16 19:05:50 -03:00
Adrian Scillato d9560d0f4c
Update nl_NL.h 2021-08-16 19:05:15 -03:00
Adrian Scillato a9e8b764a6
Update ko_KO.h 2021-08-16 19:04:48 -03:00
Adrian Scillato dbe94e149d
Update it_IT.h 2021-08-16 19:03:59 -03:00
Adrian Scillato df580f72e8
Update hu_HU.h 2021-08-16 19:03:04 -03:00
Adrian Scillato 74ef6d5f2a
Update he_HE.h 2021-08-16 19:02:30 -03:00
Adrian Scillato 6440d58a6a
Update fy_NL.h 2021-08-16 19:02:03 -03:00
Adrian Scillato d6b3a7f478
Update fr_FR.h 2021-08-16 19:01:42 -03:00
Adrian Scillato f40bf26299
Update es_ES.h 2021-08-16 19:01:17 -03:00
Adrian Scillato d23e6f96db
Update el_GR.h 2021-08-16 19:00:47 -03:00
Adrian Scillato 2c2e810dae
Update de_DE.h 2021-08-16 19:00:14 -03:00
Adrian Scillato d3b0e47711
Update cs_CZ.h 2021-08-16 18:59:31 -03:00
Adrian Scillato b4dd5ca33b
Update bg_BG.h 2021-08-16 18:58:56 -03:00
Adrian Scillato b531d7d3f2
Update af_AF.h 2021-08-16 18:56:58 -03:00
Adrian Scillato 07bc310660
Update en_GB.h 2021-08-16 18:55:34 -03:00
Adrian Scillato 9a2267a783
Add HTTP API Status to STATUS 5 2021-08-16 18:51:53 -03:00
Adrian Scillato 8b3679a39b
Add SO128 to WebUI (HTTP API ENABLE) 2021-08-16 18:45:24 -03:00
Stephan Hadinger 63bbf46d7f Berry now compiling in ``strict`` mode to catch more bugs 2021-08-16 20:46:09 +02:00
Theo Arends 154928fe58 Add influxdb debug logging control 2021-08-16 17:31:52 +02:00
Stephan Hadinger f6eaa77f28 Auto enabled TLS if port is 443 2021-08-16 14:20:10 +02:00
Theo Arends 1ab2b2c865 Fix influxdb id regression 2021-08-16 11:44:27 +02:00
Theo Arends 0d9678eef6 Refactor trim 2021-08-16 11:11:46 +02:00
Marius Bezuidenhout 98d67d247a Merge branch 'feature/can-bus' of github.com:mbezuidenhout/Tasmota-PetProjects into feature/can-bus 2021-08-16 10:36:07 +02:00
Marius Bezuidenhout db758ae990 Added Charge/Discharge Volt/Amp Limits 2021-08-16 10:35:43 +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 b112c05d9a Refactor access TasmotaGlobal.mqtt_data 2021-08-15 17:26:32 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 4ed6335428 Add referer related debug info 2021-08-15 15:51:29 +02:00
Theo Arends 035fab505e
Merge pull request #12889 from mbezuidenhout/feature/can-bus
Feature/can bus
2021-08-15 14:58:12 +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
Marius Bezuidenhout 56eced2f51 Only send MQTT of data that has been received 2021-08-15 11:44:36 +02:00
Theo Arends 52b8e507e9 Add state information to influxdb 2021-08-14 17:44:37 +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 64c527e3c3 InfluxDb allow all numeric data 2021-08-14 17:03:05 +02:00
Theo Arends 0f39fab3ae Influxdb add support for negative numbers 2021-08-14 16:28:20 +02:00
Theo Arends d0d0d11b15 Move influxdb support from sensor to driver 2021-08-14 15:43:31 +02:00
Theo Arends 05d0507104 Add influxdb power state info 2021-08-13 17:46:06 +02:00
Theo Arends bde66e18c5 Fix influxdb parameter init 2021-08-13 16:35:24 +02:00
Theo Arends 20d88f3d68 Fix mangled first sensor name 2021-08-13 13:55:57 +02:00
Theo Arends cdb35ecade Update feature list 2021-08-12 22:43:53 +02:00
Theo Arends 43ed6e7e0a
Merge pull request #12876 from lmagyar/Typo2
Typo in comment
2021-08-12 22:41:34 +02:00
Theo Arends 0914894e88
Merge pull request #12875 from lmagyar/typo1
Typos causing compilation errors
2021-08-12 22:40:35 +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
Laszlo Magyar 8e0eab7f63 Typo in comment 2021-08-12 21:59:53 +02:00
Laszlo Magyar 4954475512 Typos causing compilation errors
Maybe these are a result of a previous "search and replace" refactoring, causing compilation errors when drivers used with 100..128 key values: invalid conversion from 'bool (*)(uint8_t) {aka bool (*)(unsigned char)}' to 'uint8_t {aka unsigned char}'
2021-08-12 21:59:09 +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
pauloamexio ffdb2a4c1c
Read from ACCMODE register
Read from ACCMODE Register to check if the reactive power and active power are positive and negative (for both channels)
2021-08-12 11:49:06 +01:00
Theo Arends 4503bac78a Prep influxdb support 2021-08-11 18:43:11 +02:00
Paul C Diem c3df8f2704 Set LEDs to max PWM value 2021-08-11 07:32:53 -05:00
Michael Hanselmann 990ae38666 prometheus: Add prefix on all metrics
All Prometheus metrics should have an application prefix
(https://prometheus.io/docs/practices/naming/#metric-names).
Historically a few produced by Tasmota didn't. With this change the
function writing metrics always outputs the prefix.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-08-08 17:21:50 +02:00
Theo Arends 2e9dfdc64b Add some debug info to NTP 2021-08-08 16:08:08 +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
Sillyfrog 2610f0b173 Fix race condition on rapid reconnect 2021-08-08 15:51:30 +10:00
Adrian Scillato 3d58912ef1
Set CORS as an optional feature in Webserver 2021-08-05 12:55:07 -03:00
Adrian Scillato 0b754a95a7
Make CORS to be optional 2021-08-05 12:50:56 -03: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 bd3b08f1e8 Fix panic on Mi Desk rotary use - attempt 3 2021-08-04 17:52:31 +02:00
Theo Arends 907edb3704 Fix panic on Mi Desk rotary use - attempt 2 2021-08-04 17:22:13 +02:00
Theo Arends b7da3ed6db Fix panic on Mi Desk rotary use 2021-08-04 16:41:32 +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 5c775553be Fix core 3.0.2 compile error 2021-08-03 15:37:03 +02:00
Theo Arends 45c4e57a03 Make Sonoff L1 MusicSync persistent (#12008) 2021-08-03 14:12:38 +02:00
Theo Arends 0d2432a15b Fix TCP bridge compile error 2021-08-03 11:51:11 +02:00
Theo Arends f29312415e
Merge pull request #12814 from sillyfrog/range-extender-upstream
Correct #if for compile time error notice in range_extender
2021-08-02 15:23:55 +02:00
Sillyfrog 89ad3f1b2c Correct #if for compile time error notice 2021-08-02 22:08:40 +10:00
Theo Arends 4f47fc8527 Fix Neopool communication error (#12813) 2021-08-02 11:05:02 +02:00
Theo Arends 5edad9d3c9
Merge pull request #12811 from sillyfrog/range-extender-upstream
Minor updates to Range Extender
2021-08-02 10:47:14 +02:00
Norbert Richter 5b2d50613b
Add NPPHres, NPCLRes, NPIonRes description 2021-08-02 09:50:28 +02:00
Norbert Richter 4d861c1752
Fix NeoPool communication error 2021-08-02 09:44:42 +02:00
Norbert Richter 6f3878c9bc
Add neopool cmnd NPPHres, NPCLRes, NPIonRes 2021-08-02 09:44:42 +02:00
Norbert Richter 501bd45c2a
Add pH min to SENSOR result 2021-08-02 09:44:42 +02:00
Norbert Richter ee7364eb0b
Fix cmnd desc 2021-08-02 09:44:42 +02:00
Sillyfrog c326e9303a Config Override RgxState & RgxNAPT, update inline docs 2021-08-02 10:25:32 +10:00
Theo Arends 5dc009b9c5 Oops forgot most changes. 2021-08-01 17:51:54 +02:00
Theo Arends c3a1ba8de2 Initial wifi range extender (#12784) 2021-08-01 17:48:19 +02:00
James Lakin f6bc8b6cd4
Add IP filter to TCPStart command
This is an optional second parameter to enable some very basic security.
2021-08-01 12:26:42 +01:00
Stephan Hadinger 14c4be9d51 ESP8266Audio library from v1.5.0 to v1.9.2 2021-07-30 16:34:50 +02:00
Theo Arends 173b9d8c88 Fix DzSend error message on valid command 2021-07-30 16:10:35 +02:00
Stephan Hadinger cb1fbf2edc Berry support for WAV audio 2021-07-30 13:09:31 +02:00
Stephan Hadinger bbe3babe8b Berry support for AES GCM and raw MQTT send/receive 2021-07-29 19:58:23 +02:00
Theo Arends 65b7034b0c Support for second DNS server 2021-07-29 16:57:04 +02:00
Theo Arends 52b86eafe1 Add restart after multiple failed AP timeouts 2021-07-29 15:10:30 +02:00
Theo Arends ccb8702605 Fix ESP32 PWM buzzer (#12717) 2021-07-28 18:37:21 +02:00
Theo Arends 9813e0f483 Add Tasmota discovery 2021-07-28 12:17:32 +02:00
Stephan Hadinger 52b29625a6 Berry simplidy globals for solidification 2021-07-27 21:39:24 +02:00
Theo Arends 901d4a6a17 Fix discovery compile error when no light is enabled 2021-07-27 15:50:00 +02:00
Theo Arends e2b7cd96e6 Skip not used ESP32 GPIO init 2021-07-26 17:10:08 +02:00
Theo Arends e039edde33 Enforce valid hostname 2021-07-26 15:10:47 +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 5a508fda32
Merge pull request #12733 from s-hadinger/lvgl_signal_bars
LVGL Fix solidified class lv_signal_bars
2021-07-23 17:08:16 +02:00
Stephan Hadinger 8dccf2767e LVGL Fix solidified class lv_signal_bars 2021-07-23 15:22:54 +02:00
Jason2866 923be119a2
No LITTLEFS, always LittleFS 2021-07-23 11:34:14 +02:00
Stephan Hadinger 6cd3e37ed5 Berry LVGL improvements to allow custom widgets 2021-07-22 20:21: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 80d5a143a5
Merge pull request #12718 from hansmi/promfix2
prometheus: Fix typo in comment
2021-07-22 08:33:34 +02:00
Stephan Hadinger 749d30a14f LVGL fixes and examples 2021-07-21 23:17:53 +02:00
Michael Hanselmann 620fbbb9c0 prometheus: Fix typo in comment
The sentinel value is meant to be used for unknown memory values, not
known values of course.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-21 21:10:37 +02:00
Theo Arends 520612b67c Fix discovery fails when using ``%hostname%`` in a topic (#12710) 2021-07-21 11:41:31 +02:00
Stephan Hadinger 0539e8ec32 Berry add tasmota.publish_result 2021-07-20 22:31:22 +02:00
Stephan Hadinger 84e58739a0 Berry add support for I2S audio mp3 playback 2021-07-20 21:05:10 +02:00
Theo Arends f971a76e50
Merge pull request #12692 from hansmi/promfix1
Prometheus: Formatting fixes, utility functions, consistent memory metrics
2021-07-20 09:30:24 +02:00
Theo Arends 153a9a69da
Merge pull request #12690 from Jason2866/New_framework
Updated Arduino ESP32/IDF4.4 framework, LITTLEFS -> LittleFS
2021-07-20 09:21:32 +02:00
Theo Arends e6bf020bc1
Merge pull request #12689 from gemu2015/sml_fix
fix =d mode
2021-07-20 09:20:45 +02:00
Adrian Scillato 2b8d8919cf
Merge pull request #12696 from ascillato/patch-3
Update Portuguese-BR Translation
2021-07-19 15:22:44 -03:00
Adrian Scillato bf5662ecab
Merge pull request #12698 from ascillato/patch-4
LOG: Increase readability of project name and device name
2021-07-19 15:15:40 -03:00
Adrian Scillato 33fd2d62d7
Merge pull request #12697 from ascillato/patch-2
Update Portuguese-PT Translation
2021-07-19 15:02:02 -03:00
Adrian Scillato 6efd233f8f
Merge pull request #12693 from bovirus/patch-1
Update italian language
2021-07-19 14:54:17 -03:00
Adrian Scillato ef885a5d30
Merge pull request #12695 from ascillato/patch-1
Update Spanish Translation
2021-07-19 14:28:30 -03:00
Adrian Scillato c73bb9953a
LOG: Increase readability of project name and device name 2021-07-19 14:24:53 -03:00
Adrian Scillato 81a845d932
Update Portuguese-BR Translation 2021-07-19 14:06:35 -03:00
Adrian Scillato c06dfc428d
Update Portuguese-PT Translation 2021-07-19 14:06:11 -03:00
Adrian Scillato e0000c7f8a
Update DE-Localization File Version 2021-07-19 14:01:42 -03:00
Adrian Scillato 2a9d80bea2
Update IT-Localization File version 2021-07-19 13:59:56 -03:00
Adrian Scillato ea65fa9164
Updated Spanish Translation 2021-07-19 13:57:32 -03:00
Jason2866 353c0b6130
Update de_DE.h 2021-07-19 18:15:14 +02:00
Marius Bezuidenhout 500a6ab6e2 Only respond when required data has been received 2021-07-19 17:52:42 +02:00
bovirus 78a5e7f30f
Update italian language 2021-07-19 17:41:38 +02:00
Michael Hanselmann 718f5fc9ab prometheus: Unify memory metrics
The "memory fragmentation" value named "memory_ratio" was always
truncated to an integer, so in all likelyhood 0. It didn't work anyway
until the incorrect line termination was fixed in an earlier commit.
Neither could the Psram metric be parsed correctly due to the the same
incorrect line termination.

With this change memory usage is reported in line with Prometheus'
upstream recommendations (https://prometheus.io/docs/practices/naming/).
Labels are no longer used to separate distinct dimensions. Total and
free memory as well as the maximum allocation size are reported as
separate metrics where available while labels are used to differenciate
the separate kinds of memory (heap on all, psram on ESP32).

Label values are now also lowercase on ESP32 to match ESP8266.

Metrics should report their base values, not the result of
a calculation. Therefore the already non-working "fragmentation" metric
is dropped. It can easily be calculated in PromQL instead.

The renaming of metrics and label values makes this a breaking change,
especially on ESP32. With the aforementioned formatting errors which
made them unusable that shouldn't be a problem.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:59 +02:00
Michael Hanselmann 1b96833d6a prometheus: Use utility functions to format metrics
Format strings for Prometheus metrics were written manually and the
`# TYPE` lines needed to be kept in sync with actual metrics. As
indicated by the previous commit it wasn't always as consistent as
desired. In addition there was a lot of repetition among the strings
which couldn't be reduced at build time.

With this change utility functions are introduced which eliminate the
need for specifying the same metric name more than once. At the same
time the proper escaping for label values, initially added in commit
16b5f2fe9, is now applied for all labels.

The size of the program shrinks slightly by 212 bytes on ESP8266 in the
"tasmota" configuration with Prometheus enabled and 412 bytes on ESP32
with the "tasmota32" configuration.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:46 +02:00
Michael Hanselmann 7d15e15d8a prometheus: Fix wrong format on ESP32, incorrect names in types
When built for ESP32 the memory fragmentation metric was incorrectly
terminated (likely a typo). The type information for
"tasmota_global_humidity_percentage" didn't include the "_percentage"
and "tasmota_sensors" wsa incorrect too.

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-19 13:35:27 +02:00
gemu2015 f6b527d189 fix =d mode 2021-07-19 09:55:43 +02:00
Jason2866 3ab4a2a3e0
New framework LITTLEFS -> LittleFS 2021-07-18 23:14:10 +02:00
Stephan Hadinger f0f70ce1df Fix compilation for ESP8266 2021-07-18 19:52:50 +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
Stephan Hadinger 1bbf7b826a Mark GPIOs 16 and 17 as read on ESP32, as they are used for PSRAM 2021-07-18 15:00:11 +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 de2e86f022
Merge pull request #12651 from mbezuidenhout/feature/can-bus
Feature/can bus
2021-07-17 14:52:12 +02:00
Theo Arends 8162abd9d3 Fix Tasmesh special case packet size 2021-07-17 14:34:11 +02:00
Theo Arends 3d7c1091a7
Merge pull request #12659 from emontnemery/hass_white_tweak
Improve color light integration with HomeAssistant for so19 1
2021-07-16 13:41:05 +02:00
Stephan Hadinger 9d8626e9ca Fix AXP192 lcd voltage for M5Stack Core2 2021-07-15 22:07:37 +02:00
Erik 978f2e3d5d Use explicit color mode for RGBWW lights 2021-07-15 18:16:59 +02:00
Erik c3d757ca95 Use hs color instead of rgb color 2021-07-15 17:51:40 +02:00
Erik 02de85efa7 Only enable white mode for RGBW lights 2021-07-15 16:16:51 +02:00
Erik 3c6471d5de Improve RGBW light integration with HomeAssistant for so19 1 2021-07-15 16:07:30 +02:00
Theo Arends e357513a49 Fix regression in adcparam restore 2021-07-15 14:28:52 +02:00
Theo Arends d74929c3af Fix regression ESP8266 compilation 2021-07-14 18:28:05 +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
Marius Bezuidenhout 5fec3b0ac7 Moved entries to end of list 2021-07-14 11:54:54 +02:00
Marius Bezuidenhout f52ef2787a
Merge branch 'arendst:development' into feature/can-bus 2021-07-14 11:44:10 +02:00
Marius Bezuidenhout 425eb72305 Changed sensor number to 90 2021-07-14 11:43:26 +02:00
Theo Arends 0851549b10 Add support ESP32-C3 internal temperature sensor 2021-07-14 11:39:59 +02:00
Marius Bezuidenhout 33ae473906
Merge branch 'arendst:development' into feature/can-bus 2021-07-14 11:32:43 +02:00
Theo Arends 0282943d46 ESP32 internal sensor driver id moved from 87 to 127 2021-07-14 11:24:36 +02:00
Marius Bezuidenhout 7bbc858f09
Merge branch 'arendst:development' into feature/can-bus 2021-07-14 11:17:59 +02:00
Theo Arends 7e1565dee6 Move ESP32 temperature sensor to the end of the list 2021-07-14 10:57:05 +02:00
Marius Bezuidenhout 44e8b838cf Added missing translations 2021-07-13 20:18:11 +02:00
Marius Bezuidenhout 8e7a314d29 Merge branch 'feature/can-bus' of github.com:mbezuidenhout/Tasmota-PetProjects into feature/can-bus 2021-07-13 17:11:59 +02:00
Marius Bezuidenhout ef6b79a450
Merge branch 'arendst:development' into feature/can-bus 2021-07-13 17:11:43 +02:00
Marius Bezuidenhout ad8b557bec First working version 2021-07-13 16:49:40 +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 a7297892ab Update T67XX default configs 2021-07-13 12:01:46 +02:00
Theo Arends 499134e1bc Release of Tasmota WebInstaller 2021-07-13 11:40:13 +02:00
Theo Arends 49e68eb473
Merge pull request #12573 from hk2k2/patch-4
Update xsns_35_tx20.ino - Supporting Technoline WS2300-15 Anemometer
2021-07-13 11:22:34 +02:00
Theo Arends f7439ad1c4
Merge pull request #12618 from dizel-by/t67xx
Telaire T67XX CO2 sensor support
2021-07-13 11:20:07 +02:00
Theo Arends 3712aba031
Merge pull request #12624 from hansmi/prometheusdevicename1
Prometheus: Fix typos, improve documentation, expose device name
2021-07-13 11:12:46 +02:00
s-hadinger 76a0635491
LVGL add all callbacks (#12636)
* LVGL add all callbacks

* LVGL allow nil argument for init()

* Final touch
2021-07-12 22:53:31 +02:00
Marius Bezuidenhout f14f86f6fe Receiving SOC, SOH and Product name 2021-07-12 17:47:04 +02:00
Marius Bezuidenhout 024cc0b9b6 Added MCP2515 library and Freedom Won BMS sensor 2021-07-12 12:32:27 +02:00
mikep1998 5a5843b5ab
Until we provide a way to have our own modifiable copy tasmota_lv_conf.h I would like LV_USE_THEME_MONO defined. (#12625)
* Update xdrv_54_lvgl.ino

Fix compile error with LVGL define and without USE_BERRY defined

* Update xdrv_54_lvgl.ino

Fix compile error without Berry define.

* GPIO_XPT2046_CS is not specific to ILI9341

GPIO_XPT2046_CS is not specific to ILI9341 it is also used with ILI9488

* Update tasmota_lv_conf.h
2021-07-11 21:21:04 +02:00
Michael Hanselmann 16b5f2fe92 prometheus: Expose device name as part of device info
The device name can be useful to identify a particular instance in
Prometheus.

Example:

```
tasmota_info{...,devicename="livingroom"} 1
```

Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:50 +02:00
Michael Hanselmann 9e441630f1 prometheus: Add comment with link to exposition format
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:37 +02:00
Michael Hanselmann 56ed94db42 prometheus: Fix typos in comments
Signed-off-by: Michael Hanselmann <public@hansmi.ch>
2021-07-11 20:16:37 +02:00
hk2k2 11ffd24d75
Update tasmota_template.h 2021-07-11 16:46:20 +02:00
hk2k2 a268e11680
Update support_features.ino 2021-07-11 16:44:56 +02:00
hk2k2 ec17bfff05
Merge branch 'arendst:development' into patch-4 2021-07-11 16:41:23 +02:00
mikep1998 c76b336545
Fix compile error with Berry defined. (#12616)
* Update xdrv_54_lvgl.ino

Fix compile error with LVGL define and without USE_BERRY defined

* Update xdrv_54_lvgl.ino

Fix compile error without Berry define.

* GPIO_XPT2046_CS is not specific to ILI9341

GPIO_XPT2046_CS is not specific to ILI9341 it is also used with ILI9488
2021-07-11 09:38:41 +02:00
Alexander Savchenko edd6839e48 Telaire T67XX CO2 sensor support 2021-07-11 02:42:09 +03:00
Adrian Scillato bb8e787947
Initial Wi-Fi Config: Fix Bug with SAVEDATA
In some conditions, if the save button is pressed more than once, or the page is refreshed several times, the Wi-Fi credentials checking routine was disabling SAVEDATA in flash. This Fixs that condition.
2021-07-09 13:27:47 -03:00
Stephan Hadinger da6846207c Moving defines post-config 2021-07-09 12:24:00 +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
mikep1998 9fd3ed597f
Update xdrv_54_lvgl.ino (#12574)
Fix compile error with LVGL define and without USE_BERRY defined
2021-07-06 08:23:38 +02:00
hk2k2 fa8643012d
Update xsns_35_tx20.ino
Extended tx20.ino for supporting Technoline WS2300-15 Anemometer.
This Model is very similar to TX20 - but use a slightly different Datagram.

use it with #ifdef USE_WS2300_WIND_SENSOR -> choose only one of them (TX20 || TX23 || WS2300-15)

Usage is the same as TX20/23, values are proofed with original Weather Station from Technoline.

Sorry for my Code.. was try and error some hours to get it working with the #ifdef stuff..

Documentation Update follows soon..
2021-07-06 00:07:09 +02:00
Adrian Scillato fb9a34ccbd
Merge pull request #12566 from ascillato/Initial_WiFi_Config_Fix_11n
Wi-Fi Initial Setup: Workaround for 11n Only Routers
2021-07-05 17:32:08 -03:00
Theo Arends 60fabf65a7 Fix regression ESP8266 setting hostname 2021-07-05 17:11:03 +02:00
Adrian Scillato fb4aac574e
Wi-Fi Initial Setup: Workaround for 11n Only Routers
Workaround for the hardware limitation of ESP8266. In STA+AP mode it only supports 11b/g. In STA only mode it supports 11b/g/n.
2021-07-05 10:00:10 -03: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 d5585adbb2 Disable wifi modem sleep on ESP32-C3 if possible 2021-07-05 12:32:58 +02:00
s-hadinger d362b494b8
Merge pull request #12561 from s-hadinger/fix_ping
Fix ping on Esp32
2021-07-04 22:23:33 +02:00
Stephan Hadinger dec1dc0c18 Fix ping on Esp32 2021-07-04 22:04:34 +02:00
Theo Arends 377b34409f Changed ESP32 Ethernet Phy Type information to IDF v3+ 2021-07-04 14:53:58 +02:00
Theo Arends e94a253cec Fix AM2320 value reporting (#12552) 2021-07-04 11:39:05 +02:00
Adrian Scillato 2100553085
MQTT UI: Add password length restriction
https://github.com/arendst/Tasmota/issues/12513
2021-07-03 20:19:36 -03:00
Theo Arends 164d0cb083
Merge pull request #12546 from s-hadinger/Ping-esp32c3
Fix compilaion for Esp32c3
2021-07-03 17:55:07 +02:00
Stephan Hadinger 25bdff6658 Fix compilaion for Esp32c3 2021-07-03 17:19:12 +02:00
Stephan Hadinger b8d831baf5 Fix Hue angle encoding for Zigbee 2021-07-03 15:21:57 +02:00
Stephan Hadinger 4e57083f52 Fix compilation 2021-07-03 10:54:14 +02:00
Stephan Hadinger 3e2cd4f67d LVGL ctypes implemented 2021-07-03 10:40:08 +02:00
Theo Arends e7425f5b3b
Merge pull request #12539 from Jason2866/patch-6
Enable Ping and rules features for env not 1M
2021-07-02 17:49:37 +02:00
gemu2015 0552bf8261 some fixes 2021-07-02 17:29:35 +02:00
Jason2866 2b3f516424
Enable use of Rules for Core2 2021-07-02 16:50:37 +02:00
Jason2866 aa1b0d3e0c
Enable Ping and rules features for env not 1M 2021-07-02 16:47:06 +02:00
Theo Arends 1ff2b8abe9 Add optional TasMesh define 2021-07-02 14:12:49 +02:00
Theo Arends 0a04ed0082
Merge pull request #12536 from Jason2866/patch-5
Silence scripter info "universal file system used"
2021-07-02 14:08:37 +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
Jason2866 717771eec6
Silence info universal file system used
because it is default enabled fs
2021-07-02 13:27:50 +02:00
Theo Arends f62f86aeb7 Update support_esp.ino 2021-07-02 10:20:26 +02:00
Theo Arends 8c1605e06c Add comments 2021-07-02 09:46:19 +02:00
Theo Arends 213746f50f Prep MQTT file upload/download for TasMesh 2021-07-01 15:28:18 +02:00
Theo Arends b7519b9c90 Fix ESP32-C3 Settings backup and restore 2021-07-01 15:19:35 +02:00
Theo Arends 4fe8f6bc16
Merge pull request #12518 from ascillato/patch-1
AP Mode: Allow buttons to work as in Normal Mode
2021-07-01 08:51:10 +02:00
gemu2015 e0e49df57c fix mqtt errors 2021-07-01 08:27:47 +02:00
Stephan Hadinger 490412ebdc Berry fix button handlers 2021-06-30 22:36:51 +02:00
Adrian Scillato 757ccaffbc
AP Mode: Allow buttons to work as in Normal Mode 2021-06-30 09:36:15 -03:00
Theo Arends 18cb3da940 Add ESP32-C3 restart season info 2021-06-29 18:15:22 +02:00
Theo Arends 0de0834bb6 Fix ESP32-C3 valid GPIO list 2021-06-29 17:38:46 +02:00
Theo Arends 30c77a28c8 Fix MQTT retain when MI32Option6 is enabled (#12494) 2021-06-29 15:45:48 +02:00
Stephan Hadinger 1a39656ff0 LVGL Prepare last phase custom types 2021-06-29 13:24:11 +02:00
Theo Arends 6b05b62099 Save some bytes 2021-06-29 10:46:56 +02:00
Theo Arends 744b83dae2
Merge pull request #12496 from barbudor/event_json
EVENT support JSON payload
2021-06-29 10:36:18 +02:00
Barbudor 51744bf645 event support JSON payload 2021-06-27 18:58:40 +02:00
Stephan Hadinger 831dc4fb79 TLS Remove obsolete Letsencrypt CA 2021-06-27 15:24:03 +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 cf7da3dab2
Merge pull request #12485 from nightphobos/2287_am2320_support
add optional support for am2320 temperature/humidity sensor
2021-06-27 13:32:55 +02:00
Theo Arends c2026623d0
Update xsns_88_am2320.ino 2021-06-27 13:32:33 +02:00
Theo Arends 7d161ad8c6
Update my_user_config.h 2021-06-27 13:31:12 +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 70a2e98d58
Merge pull request #12488 from amunra68/patch-1
Update xsns_06_dht.ino
2021-06-27 12:43:07 +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
amunra68 5c329713fe
Update xsns_06_dht.ino
the DHT22/AM2301 did not work on Sonoff S20 and NodeMCU (possibly microsecond delay not exact enough??) and gave only "null" values for temperature and humidity.
So I changed the way to determine if a bit is "0" or "1" by measuring the time in microseconds until state changes. If time > 50 usec (in data sheet it should be 80 usec), it is recognized as "1", otherwise (a "0" should be 26-28 usec by specs from data sheet) it is treated as "0". 
Also, the old version omitted the first bit (by waiting the sequence 0 - 1 - 0, I have changed it to the only first "0" 
This change has been tested on Sonoff S20 (on GPIO 3) and on NodeMCU (GPIO 2) on Tasmota version 9.3.1.4 (on version 9.5. it should make no difference) with a DHT22 with included pull-up resistor
2021-06-27 08:45:57 +02:00
Adrian Scillato c0207d04a0
AM2320 fix internal SNS driver number 2021-06-26 15:52:12 -03:00
Alexander d7dae7a7fa add optional support for am2320 temperature/humidity sensor 2021-06-26 19:38:31 +03:00
Theo Arends e02b58a6ed Refactor ShowFreeMem 2021-06-25 17:09:53 +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
Theo Arends 8d2728b94a QuickFix for Telegram (#12451) 2021-06-24 10:14:07 +02:00
Theo Arends 684852b81c
Merge pull request #12464 from curzon01/development
Fix NeoPool compile error on DEBUG_TASMOTA_SENSOR
2021-06-24 09:32:40 +02:00
Stephan Hadinger ee2b6d7f74 Add Esp32 Partition Manager as a Berry component 2021-06-23 22:02:44 +02:00
Norbert Richter 0122f4659e
Fix NeoPool compile error on DEBUG_TASMOTA_SENSOR 2021-06-23 20:09:56 +02:00
Theo Arends 841df72580 Remove redundant code 2021-06-22 17:30:45 +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 096f5606b6 Add ESP-NOW hooks 2021-06-22 14:12:05 +02:00
Stephan Hadinger 32b6f7d4b2 Berry simplify Driver class 2021-06-21 19:44:00 +02:00
Stephan Hadinger 09b6ca0c3a Remove unwanted files 2021-06-21 13:55:27 +02:00
Stephan Hadinger 28da131932 Simplified configuration for ir-full, tasmota-ircustom no more needed 2021-06-21 13:49:56 +02:00
Stephan Hadinger b70c8620b2 Fix compilation when USE_UFILESYS is not defined 2021-06-20 22:04:32 +02:00
Theo Arends 4187cc7818 Remove ProgramFlashSize from ESP32 Gui 2021-06-20 17:20:20 +02:00
Theo Arends 0d18174bd9 Fix DDS238-2 wrong reactive power value (#12283) 2021-06-20 11:36:34 +02:00
Theo Arends 4c97948428
Merge pull request #12416 from s-hadinger/partition_manager_v0
Partition manager v1
2021-06-19 17:13:32 +02:00
Stephan Hadinger e78396f95e Update 2021-06-19 16:41:56 +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
Stephan Hadinger 032ca2f56c Added features 2021-06-19 12:05:54 +02:00
Stephan Hadinger 247db4f360 Add Partition Manager v0 in Berry 2021-06-18 22:50:24 +02:00
Stephan Hadinger 236c17d896 Updated MPUxxx driver 2021-06-18 18:36:32 +02:00
Stephan Hadinger cf81127193 Berry added I2C_Driver class and patches 2021-06-18 18:30:58 +02:00
Theo Arends 6767a9809a Fix GUI console initial update time 2021-06-18 16:47:14 +02:00
Theo Arends 21dc6d020d
Merge pull request #12408 from Jason2866/patch-2
#define USE_WS2812 for lvgl build
2021-06-18 16:44:12 +02:00
Theo Arends e91f4fe883
Merge pull request #12406 from jansenarruda/development
Update pt_BR.h
2021-06-18 16:16:55 +02:00
Jason2866 7895086d5e
#define USE_WS2812 for lvgl build 2021-06-18 16:16:08 +02:00
Jansen Arruda 346f488f8c
Update pt_BR.h
Update labels (Translate new ones and correct some old ones). Adjust to brazilian portuguese
2021-06-18 10:15:49 -03:00
Serge 1aa7331088
Update xsns_05_ds18x20_esp32.ino 2021-06-17 23:50:53 +03:00
Barbudor 2fdfae799f fix RO translation file 2021-06-17 19:41:40 +02:00
Barbudor 8523b50d4e FSMan: add file deletion confirmation 2021-06-17 19:02:58 +02:00
Theo Arends 52d31f2250
Merge pull request #12383 from Jason2866/build_lvgl
add build variant Tasmota32-lvgl (merge after release 9.5!)
2021-06-17 17:44:10 +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 542074ec69
Merge pull request #12384 from s-hadinger/ble_no_exceptions
Remove exceptions from BLE
2021-06-17 09:36:18 +02:00
Theo Arends 87592582c5
Merge pull request #12380 from emontnemery/color2_tweak
Improve behavior of color2 for unlinked RGBW and RGBWW lights
2021-06-17 09:34:13 +02:00
Stephan Hadinger 2c5809bee2 Remove exceptions from BLE 2021-06-16 21:55:45 +02:00
Jason2866 c70990572d
LVGL
* tasmota32-lvgl.bin
2021-06-16 17:45:44 +02:00
Erik f2fd0750d5 Improve behavior of color2 for unlinked RGBW and RGBWW lights 2021-06-16 13:37:33 +02:00
Stephan Hadinger e0b0c1fae1 Fix Berry documentation link 2021-06-16 08:37:28 +02:00
Adrian Scillato 35c0e991b6
Allow Captive Portal to be optional 2021-06-15 20:39:49 -03:00
Stephan Hadinger 7988e68d8b Fix NEO_RGBW 2021-06-15 21:14:01 +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 51def9790f
Merge pull request #12366 from s-hadinger/esp32c3_fix_template
Esp32c3 fix template command and Web UI
2021-06-15 08:16:35 +02:00
Theo Arends f519332411
Merge pull request #12365 from s-hadinger/esp32c3_fix_baudrate
Esp32c3 fix wrong baudrate
2021-06-15 08:16:17 +02:00
Stephan Hadinger b622c53cdd Esp32c3 fix template command and Web UI 2021-06-14 21:32:07 +02:00
Stephan Hadinger 980720b5a0 Esp32c3 fix wrong baudrate 2021-06-14 19:36:21 +02:00
Theo Arends a49cff2ad9 Enable CCLoader in binary tasmota-zigbee 2021-06-14 19:36:07 +02:00
Theo Arends 772b15e9c0 Fix wrong Json with PCF8574 sensor
Fix wrong Json with PCF8574 sensor (#12088)
2021-06-14 14:27:35 +02:00
Theo Arends 358d619a6e Move some defines to my_user_config.h fixing global define usage 2021-06-13 17:37:40 +02:00
Theo Arends 766af2ac99
Merge pull request #12357 from kamiKAC/development
Add Opentherm ot_dhw command (enable disable DHW)
2021-06-13 11:22:20 +02:00
Theo Arends 89d99a7851 Fix compile regression 2021-06-13 11:10:52 +02:00
Theo Arends 58c8841299 Fix TasmotaClient compilation regression 2021-06-13 10:43:10 +02:00
kamiKAC 4d45a167cc Add Opentherm ot_dhw command (enable disable DHW) 2021-06-13 00:35:13 +02:00
Stephan Hadinger 148d2686f9 Berry updated Denky example 2021-06-12 12:48:00 +02:00
Stephan Hadinger 6889232524 Berry improve error handling 2021-06-12 11:12:57 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Stephan Hadinger 5f7cf88c8d Berry rename console prefix to /bc 2021-06-11 17:09:03 +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 8693f5b0a8 Fix ESP32 bootloop regression 2021-06-11 10:04:27 +02:00
s-hadinger b5250c67e4
Merge pull request #12338 from s-hadinger/berry_memory
Added `tasmota.memory()`
2021-06-10 19:08:15 +02:00
Stephan Hadinger ca49b7daf2 Added `tasmota.memory()` 2021-06-10 18:55:06 +02:00
Theo Arends d0cd897ea0 Prep for larger log buffer 2021-06-10 18:06:11 +02:00
Stephan Hadinger 572130e4cb Enable DS18x20 for ESP32C3 2021-06-10 12:27:07 +02:00
Jason2866 e98deea633
Neopixel C3
Latest NeoPixel (09062021) branch master
2021-06-09 20:23:59 +02:00
Theo Arends 446706f16d Prep for larger log buffer 2021-06-09 17:24:28 +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 eaf89e2e71
Merge pull request #12317 from emontnemery/hass_state_value_topic
Use correct template for Home Assistant light
2021-06-08 16:26:48 +02:00
Erik d8d9ac52f5 Use correct template for Home Assistant light 2021-06-08 16:04:20 +02:00
Theo Arends 48ade67215
Merge pull request #12314 from yury-sannikov/ot_force_tset
OpenTherm: Send boiler temperature setpoint when Central Heating flag is set.
2021-06-07 19:20:33 +02:00
Stephan Hadinger 3a5f8869b9 Berry updated `partition` module 2021-06-07 19:07:44 +02:00
Yury Sannikov dbf433f151 Force set boiler setpoint tmp along with CH flag set 2021-06-07 11:31:49 +03:00
s-hadinger 7acb10bb8b
Merge pull request #12311 from s-hadinger/berry_fix_md5_idf4
Berry fix MD5 compilation for idf4
2021-06-06 19:51:49 +02:00
Stephan Hadinger a748e47038 Fix compilation for BM8563 under idf4 2021-06-06 19:36:26 +02:00
Theo Arends b585faf20d fix compile error 2021-06-06 19:33:19 +02:00
Stephan Hadinger 36eb62ab94 Berry fix MD5 compilation for idf4 2021-06-06 19:29:05 +02:00
Stephan Hadinger 7bcaea0d08 Berry add partition module 2021-06-06 18:32:34 +02:00
Theo Arends dd089f80c9 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2021-06-06 18:16:57 +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 68416d8ec5
Merge pull request #12299 from Jason2866/patch-1
Enable RTSP SERVER as default in Webcam build
2021-06-06 18:15:07 +02:00
Theo Arends d76868e136 Fix compilation error 2021-06-06 18:08:31 +02:00
Theo Arends 5175653922 Fix compilation error 2021-06-06 18:05:28 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends 2cd88645d1 Prep mqtt_data from char to String (prt.2) 2021-06-06 16:32:08 +02:00
Theo Arends aa64428c2f Prep mqtt_data from char to String (prt.1) 2021-06-06 16:08:01 +02:00
Theo Arends 644a35c323
Merge pull request #12303 from yury-sannikov/ot-add-stats
OpenTherm: Report more OT parameters
2021-06-06 12:54:39 +02:00
Yury Sannikov b4e4184695 add more stats 2021-06-05 21:11:49 +03:00
Yury Sannikov c87a2f19ae fix check settings on the initial startup 2021-06-05 21:00:33 +03:00
Jason2866 770ed2938f
RTSP SERVER as default in Webcam build 2021-06-05 18:48:21 +02:00
Theo Arends 59148b8924 Oops 2021-06-05 11:49:35 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
s-hadinger 22c9f2ece2
Berry add class `MD5` (#12296)
* Berry add class `MD5`

* Fix compilation

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-06-04 23:41:48 +02:00
Theo Arends 4ad1c40a23 Refactor _WSContentSendBuffer 2021-06-04 17:16:04 +02:00
Adrian Scillato 5206054886
Add new options to WIFI command
Actual Options:
0 - Turn Off Wi-Fi
1 - Turn On Wi-Fi
New Options Added:
2 - Force the device to ONLY connects as a 11b device
3 - Force the device to ONLY connects as a 11b/g device
4 - Force the device to connects as a 11b/g/n device
2021-06-04 09:57:25 -03:00
Adrian Scillato ae133f1933
Add actual Wi-Fi mode (b/g/n) to INFORMATION MENU
And some code cleaning
2021-06-04 09:54:26 -03:00
Adrian Scillato f0d9605b4b
Add actual Wi-Fi mode (b/g/n) to STATUS 11 2021-06-04 09:52:25 -03:00
Adrian Scillato 13756def16
Add actual Wi-Fi mode (b/g/n) to STATUS 11 2021-06-04 09:51:05 -03:00
Adrian Scillato 946f6b3fe3
WiFi Command: Move wifi modes char to be global 2021-06-04 09:46:41 -03:00
Adrian Scillato daebb37962
WiFi Command: Move wifi modes char to be global 2021-06-04 09:44:23 -03:00
Adrian Scillato 4acfd23436
Merge pull request #12242 from barbudor/fix_wifimanager_reset_wificonfig
WifiManager save wificonfig from settings, do it only once
2021-06-04 09:32:57 -03:00
Theo Arends 28984a33db Move webserver content from fixed mem to heap 2021-06-04 11:04:52 +02:00
Theo Arends 50580f9dec
Merge pull request #12287 from s-hadinger/fix_ext_vsnprintf
Extend ext_vsnprintf to auto-malloc buffer
2021-06-04 10:27:37 +02:00
Stephan Hadinger 6951c5aee5 Extend ext_vsnprintf to auto-malloc buffer 2021-06-03 22:11:14 +02:00
Theo Arends 74a11506e4
Merge pull request #12282 from barbudor/tuyamcu_total_power
Tuya data type 2 read as 32 bit integer (instead of 16 bit)
2021-06-03 19:49:54 +02:00
Barbudor 20c9ed6bce read data type 2 as 32 bit in every case 2021-06-03 19:16:06 +02:00
Theo Arends 47e29f962e
Merge pull request #12276 from Jason2866/email
update eMail lib to v1.2.0
2021-06-03 16:33:34 +02:00
Jason2866 dba5cf2902 fixes from GEMU2015 2021-06-03 16:17:41 +02:00
Stephan Hadinger 1608d823e4 Berry add module `flash` 2021-06-03 13:23:25 +02:00
Stephan Hadinger 3f07132e0f LVGL remove compilation warning 2021-06-02 23:04:44 +02:00
Theo Arends 89d790de5c Rename MQTT files 2021-06-02 18:44:07 +02:00
Theo Arends 0584da8840 Fix free heap after last status 2021-06-02 18:33:33 +02:00
Theo Arends 25f4070da2 Add command ``Status0`` providing all status in one line 2021-06-02 18:13:05 +02:00
Theo Arends 4d2ac90bf1 Add support for long rule events 2021-06-02 17:56:44 +02:00
Theo Arends 0546bb3c14
Merge pull request #12264 from seeers/no-keep-state-toggle
Prevent keep state MCP230xx output fast toggle on reboot
2021-06-02 11:16:46 +02:00
seeers e11db3aebd
prevent keep state output toggle on reboot
prevents the switched-on outputs from being switched quickly during a restart
2021-06-01 21:07:13 +02:00
Jason2866 80d188bd37
C3 (#185)
* fix linker error C3
* Stage IDF335
2021-06-01 19:44:26 +02:00
AlfaBravoX 6182df2726
Update xsns_06_dht.ino
as per https://github.com/arendst/Tasmota/issues/12180 adjusting slightly timers
2021-06-01 13:35:17 +02:00
Theo Arends d01f577782 Add log buffer max size check 2021-05-31 18:34:51 +02:00
Theo Arends d8664da889 Refactor WebserverSendContent 2021-05-31 16:58:32 +02:00
Theo Arends aaa9e3d0e6 Provide weblog without heap use 2021-05-31 16:17:45 +02:00
Theo Arends 36c816dce1 Fix ESP8266 syslog large packets 2021-05-31 14:23:12 +02:00
Theo Arends 317483bf09 Comments to longer logging support 2021-05-30 22:32:37 +02:00
Barbudor 08fd084947 save wificonfig from settings, do it only once 2021-05-30 21:29:15 +02:00
Stephan Hadinger b93e530ccd Rename M5Stick display template 2021-05-30 19:13:18 +02:00
Stephan Hadinger 8cdd327bf2 Speed optimization for monochrome conversion 2021-05-30 19:06:23 +02:00
Stephan Hadinger 6a85cd8e67 Merge branch 'development' of https://github.com/arendst/Tasmota into lvgl_m5stick 2021-05-30 18:59:30 +02:00
Theo Arends c55babd415 Fix ESP32 compile error 2021-05-30 18:47:39 +02:00
Stephan Hadinger b7946a360e Support for SH1107 over SPI, found in M5Stick 2021-05-30 18:19:14 +02:00
Theo Arends 0c8e10ffc4 Add support for longer (logging) text strings 2021-05-30 16:40:52 +02:00
Stephan Hadinger c4bf4e0401 Berrry web button demo
- demo of a simple button on the main page and associated value as sensor
- fixed a bug in event dispatcher that would stop the event to the first driver to handle it
- cleaned directories in Berry examples
2021-05-29 14:27:01 +02:00
Stephan Hadinger 0f0ff85cdd Rename webserver.args to webserver.arg_size
Reserve args() for a potential future object with accessor and iterator
2021-05-29 09:21:44 +02:00
Stephan Hadinger de1ac64bd4 Berry webserver, added constants 2021-05-28 23:13:19 +02:00
Stephan Hadinger 5cffd58c16 Berry add module `webserver` 2021-05-28 22:37:06 +02:00
bovirus 2771fe3ee4
Update Italian language 2021-05-28 17:47:26 +02:00
Barbudor 06c754afec add tuyasend5 command 2021-05-27 22:27:08 +02:00
Theo Arends 1736ff0d6f
Merge pull request #12195 from yury-sannikov/openterm-reset
OpenTherm: Reset internal state on handshake
2021-05-27 09:50:33 +02:00
Charles 125725caca TIC send as object in telemetry frame 2021-05-26 23:58:42 +02:00
s-hadinger 681ae7941d
Merge pull request #12200 from s-hadinger/m5stick_rotate
Rotate default orientation for M5StickC
2021-05-26 22:41:44 +02:00
s-hadinger 95d5c7e257
Merge pull request #12192 from s-hadinger/gpio_i2s
Added I2S and Interrupt GPIO types
2021-05-26 22:31:05 +02:00
Stephan Hadinger 6b09dfed2d Rotate default orientation for M5StickC 2021-05-26 22:27: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
s-hadinger 90330a5000
Add Berry `tasmota.web_send()` (#12197)
* Add Berry `tasmota.web_send()`

* Fix compilation

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-26 16:44:43 +02:00
Yury Sannikov b06ca68526 reset current command pointer 2021-05-26 12:47:34 +03:00
Yury Sannikov 08cea20132 reset OT protocol internal state on handshake 2021-05-26 12:27:47 +03:00
Stephan Hadinger dec2c44501 Fix FR Interrupt 2021-05-26 08:17:11 +02:00
Theo Arends f49adad496
Merge pull request #12179 from psarossy/patch-1
Correct SPS30 NCPM unit
2021-05-25 20:15:17 +02:00
Theo Arends 50af6ca8fc
Merge pull request #12191 from s-hadinger/display_rst
Renamed `OLED Reset` to `Display Rst`
2021-05-25 20:14:53 +02:00
Stephan Hadinger 58360f7c17 Added I2S and Interrupt GPIO types 2021-05-25 20:14:15 +02:00
Theo Arends a55e054449
Update af_AF.h 2021-05-25 20:13:05 +02:00
Theo Arends 3151babb83
Merge pull request #12190 from jbubik/XDRV53-ACER
XDRV53 - add Acer projector support
2021-05-25 20:08:55 +02:00
Stephan Hadinger ce03ec0c9e Renamed `OLED Reset` to `Display Rst` 2021-05-25 19:26:40 +02:00
Stephan Hadinger 6d54949273 LVGL prepare M5StickC 2021-05-25 18:53:10 +02:00
Jan Bubík 5cdafaa46a ACER - don't log the checksum, it is for NEC only 2021-05-25 18:39:08 +02:00
Jan Bubík 82468f9168 ACER protocol - additional notes 2021-05-25 18:14:36 +02:00
Jan Bubík 918de7a166 ACER protocol made functional on real device 2021-05-25 00:53:03 +02:00
Theo Arends 60a7a31e61 Add command ``status0`` 2021-05-24 17:59:47 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Peter Sarossy a8de95dfa9
Correct SPS30 NCPM unit
The numerical count PM values are in cm3 not m3 as per the spec sheet https://www.sensirion.com/fileadmin/user_upload/customers/sensirion/Dokumente/9.6_Particulate_Matter/Datasheets/Sensirion_PM_Sensors_Datasheet_SPS30.pdf
2021-05-24 01:13:19 -04:00
s-hadinger 7222716470
Add support for display extension in Berry (#12174)
* Add support for display extension in Berry

* Force CI again

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-23 18:54:11 +02:00
Theo Arends 7e3b1979c6 Fix compilation 2021-05-23 18:22:29 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Theo Arends 408ae6a4ef Prep virtual mqtt_data 2021-05-23 14:42:27 +02:00
bovirus 308233c690
Update Italian language 2021-05-23 13:02:22 +02:00
Norbert Richter 87a4b2314f
Update Sugar Valley Neopool driver
Add NPLight TOGGLE cmnd
Add NPFiltrationMode string parameter
Add filtration speed on result
Add undocumented register function
Fix NPLight get status
Fix hydrolysis status
Fix NPFiltration side effects
Fix pH warning
Fix hydrolysis/redox value
Fix register desc
2021-05-23 10:54:05 +02:00
s-hadinger 551aa10352
Merge pull request #12159 from s-hadinger/zigbee_max_ed
Zigbee max end-device
2021-05-22 18:56:52 +02:00
Stephan Hadinger eb94354ff6 Zigbee max end-device 2021-05-22 18:03:58 +02:00
Jason2866 49613b6e11
Layout fix 2021-05-22 18:00:41 +02:00
Theo Arends 98837ca9cf
Merge pull request #12100 from mikep1998/development
Move DSP_ROM_DESC into user configurable #define.
2021-05-22 17:41:44 +02:00
Theo Arends 43d81ae5b2
Merge pull request #11922 from mvoggenreiter/development
Added electricity meter easymeter Q3C
2021-05-22 17:40:48 +02:00
Theo Arends edc6d96079
Merge pull request #11648 from nonix/decode_te
decode Units in DT_VARS
2021-05-22 17:36:41 +02:00
Theo Arends d33c92cc0c
Merge pull request #12038 from nngg/patch-3
Update xsns_29_mcp230xx.ino
2021-05-22 17:34:33 +02:00
Theo Arends f168f07850
Merge pull request #12037 from nngg/patch-2
Update xdrv_12_home_assistant.ino
2021-05-22 17:29:03 +02:00
Jan Bubík 182768ee11 Add codes for manufactirer ACER (yet untested) 2021-05-22 17:09:10 +02:00
Theo Arends cacc8f1eb0 Fix discovery on MQTT reconnect
Fix discovery on MQTT reconnect (#12140)
2021-05-22 16:25:02 +02:00
Stephan Hadinger 079eb117bf Berry fix wrong parameter for virtual method 2021-05-22 15:47:06 +02:00
mikep1998 0d69c2a9fd Merge branch 'arendst:development' into development 2021-05-21 18:11:23 -07:00
Stephan Hadinger 61502741a9 LVGL code size update 2021-05-21 22:31:15 +02:00
s-hadinger cb50580e66
LVGL Add example Waldhoff Renaissance watch (#12150)
* LVGL Add example Waldhoff Renaissance watch

* Avoid refreshing day if not useful

* Move date to back

Co-authored-by: Stephan Hadinger <stephan.hadinger@gmail.com>
2021-05-21 20:01:13 +02:00
Stephan Hadinger 46f89b93b3 LVGL increase image cache when PSRAM is present 2021-05-21 18:24:41 +02:00
Theo Arends 8650875ceb Add stability to MQTT file control 2021-05-21 16:19:40 +02:00
s-hadinger 0202613014
Merge pull request #12148 from s-hadinger/lvgl_png
LVGL add support for PNG images
2021-05-21 14:56:48 +02:00
Theo Arends 4d86ee0320 Add data len to logging 2021-05-21 14:43:18 +02:00
Stephan Hadinger c642e716ce LVGL add support for PNG images 2021-05-21 13:49:47 +02:00
Stephan Hadinger 74445c0aaa LVGL fix crash in file system 2021-05-21 09:02:24 +02:00
Stephan Hadinger 85a6ab797a LVGL add screen support 2021-05-20 19:34:51 +02:00
Theo Arends be92738c57 Add MQTT binary file transfer 2021-05-19 17:21:50 +02:00
Theo Arends b284caa1fa Fix StrCaseStr result 2021-05-19 16:39:56 +02:00
Stephan Hadinger ba518e1b0c LVGL use Berrry virtual methods and save 74KB 2021-05-19 09:53:20 +02:00
mikep1998 1705d3fdcb Merge branch 'arendst:development' into development 2021-05-17 10:29:03 -07:00
Theo Arends caaee6b103 Add upload binary decode to logging 2021-05-17 15:15:35 +02:00
Theo Arends e28006f2c7
Merge pull request #12123 from gemu2015/script_status
restore USE_SCRIPT_STATUS
2021-05-17 10:13:43 +02:00
gemu2015 ac52259dc8 restore USE_SCRIPT_STATUS 2021-05-17 09:20:45 +02:00
mikep1998 b1c98a08bf Merge branch 'arendst:development' into development 2021-05-16 16:31:10 -07:00
Yves De Muyter ca7c3e0293 Add display.ini file for the Lanbon L8 device. 2021-05-16 19:29:43 +02:00
Barbudor fa0565b40f improve reactive_power calculation range 2021-05-16 18:09:53 +02:00
Barbudor 2740c48e22 extract power value as 3 bytes from Tuya frame 2021-05-16 16:18:00 +02:00
Barbudor 823e6b84d2 cleanup 2021-05-15 17:33:18 +02:00
Barbudor 2e1ac3581f move response for unresolved ip into poll 2021-05-15 17:32:18 +02:00
Theo Arends dd624c3ce6 Add more checks to MQTT file upload 2021-05-15 11:53:37 +02:00
Theo Arends 8e7fdee28b
Merge pull request #12105 from emontnemery/patch-6
Bump version to 9.4.0.4
2021-05-15 10:49:44 +02:00