Commit Graph

5026 Commits

Author SHA1 Message Date
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