Commit Graph

6939 Commits

Author SHA1 Message Date
Theo Arends 153068882c Fix initial file timestamp 2022-06-15 17:19:38 +02:00
Theo Arends 166e591ec9 Fix NTP sync edge cases
- Fix NTP sync edge cases like bad hostname and bad fixed IP address
- Change scanning all NTP server at sync time to cycle through them every minute until synced.
- Add no reply IP address for debugging
2022-06-14 18:34:51 +02:00
Theo Arends 076019a029 Fix ESP32 wifi on command 2022-06-13 17:28:13 +02:00
Theo Arends 85566c5ed3 Fix SHT1X driver hangs and wrong values on ESP32
Fix SHT1X driver hangs and wrong values on ESP32 (#15790)
2022-06-13 14:41:40 +02:00
Theo Arends 668d3177d3 Fix SHT1X on low speed ESP32
Fix SHT1X on low speed ESP32 |(#15790)
2022-06-13 12:24:04 +02:00
Theo Arends 8ba2733cf7 Add more redundancy to lost MQTT server 2022-06-13 11:45:09 +02:00
Theo Arends 93bb0d23b8 Reduce blocking when DNS is unreachable
- Reduce blocking by adding WifiPollDns before resolving NTP and/or MQTT server names (#14394)
- Fix ESP32 Arduino Core WiFi timeout is changed from msec to seconds
2022-06-12 14:36:25 +02:00
Theo Arends 18f3e7738b Revert "Add WifiPollDns to reduce blocking"
This reverts commit 940108c010.
2022-06-12 14:31:44 +02:00
Theo Arends 940108c010 Add WifiPollDns to reduce blocking
Add WifiPollDns to reduce blocking resolving NTP and/or MQTT server names (#14398)
2022-06-12 14:29:15 +02:00
Theo Arends 3a22874124 Increase wifi retry time (#14394)
- Increase wifi retry time (#14394)
- Remove 1 second system hang on wifi re-connect (retry)
- Try to limit the number of seconds unresponsiveness due to wifi reconnect
2022-06-10 14:49:35 +02:00
Theo Arends baf68fcf6e Update xdrv_12_discovery.ino 2022-06-10 10:58:32 +02:00
Theo Arends c6f51b8ca3 Fix future compiles using discovery 2022-06-10 10:43:36 +02:00
Theo Arends 84ec331b62 Correct naming 2022-06-10 10:20:31 +02:00
s-hadinger 8f60d464f3
Merge pull request #15779 from Staars/mi32
Mi32 legacy: Use notification queue for Berry
2022-06-09 22:21:43 +02:00
Christian Baars f9c31bd8b8 make discoverAttributes optional 2022-06-09 22:00:19 +02:00
Christian Baars 23e94c1aca Use a notifiaction queue 2022-06-09 21:00:00 +02:00
Theo Arends d43127ce58 Add Shelly 3EM heartbeat
Add Shelly 3EM heartbeat to reinit if interrupts stopped (#13515)
2022-06-09 14:45:39 +02:00
Theo Arends ac4ed0d664 Fix config upload message safeboot regression 2022-06-08 11:54:11 +02:00
Stephan Hadinger af41d81c5a Berry ctypes small optimization 2022-06-07 22:20:42 +02:00
Theo Arends 1b701173d0 Rename usb to cdc 2022-06-07 16:37:10 +02:00
Theo Arends 2eefdaa0f4 Fix newline regression from this morning 2022-06-07 14:11:23 +02:00
Theo Arends 7af1279b55 Add tasmota32s2usb 2022-06-07 12:52:44 +02:00
Theo Arends e82058571f Update console source info 2022-06-07 10:35:51 +02:00
Theo Arends 41bc8bcd34 Refactor SerialBridge printf 2022-06-07 10:03:12 +02:00
gemu2015 e61186ee82 increase max json path element size 2022-06-07 08:27:44 +02:00
gemu2015 cc771f31e9 some fixes, array average 2022-06-07 08:23:06 +02:00
Theo Arends 45f499d352 Add optional console Tee to safeboot 2022-06-06 18:19:30 +02:00
Theo Arends 8a425c40c9 Small refactor adding define USE_SERIAL_BRIDGE_TEE 2022-06-06 18:08:02 +02:00
Theo Arends 44ce19f26f Add command ``SSerialSend9 0/1`` to enable Serial Bridge console Tee for debugging purposes 2022-06-06 17:48:40 +02:00
Theo Arends a7d7b571ee Fix warnings on pre-configured compiles 2022-06-05 12:12:15 +02:00
Theo Arends 92f05fe7ca Fix MP3 default state 2022-06-05 12:00:38 +02:00
Theo Arends c22227c918
Merge pull request #15755 from stibus/bugfix/SHT4x
Fix issues introduced to SHT3x driver during merge of #15349
2022-06-05 10:53:48 +02:00
Stefan Tibus 0ddcaa8fe7 Implement correct conversion of humidity for SHT4x
The conversion of humidity from raw value is different for the SHT4x
series. The fix implements the conversion as per datasheet. Also, the
raw value is now cast to float before division.
2022-06-05 01:44:26 +02:00
Stefan Tibus 37e1bc6e7d Fix calling ConvertTemp and ConvertHumidity twice
ConvertTemp and ConvertHumidity are called in Sht3xShow, no need to call
them in Sht3xRead as well.
2022-06-05 01:44:15 +02:00
Stefan Tibus 7295bdb549 Fix detection of SHT40
A SHT40 was not detected by the previous scheme of scanning the I2C
addresses and for each address probing for SHT3x and SHT4x immediately
one after the other. The SHT40 is succesfully detected when first
probing all adresses for SHT3x and then scanning all adresses again for
SHT4x. The fix implements this scheme. It was tested with SHTC3 and
SHT40 sensors.
2022-06-05 01:40:39 +02:00
Jason2866 2187424b86
Update tasmota_configurations_ESP32.h 2022-06-04 21:06:03 +02:00
Theo Arends dae1b32995 Add support for Sensirion SHT4X using define USE_SHT3X (#15349) 2022-06-04 16:52:52 +02:00
Theo Arends d7ffd01f1f Add support for HYTxxx temperature and humidity sensor (#15715) 2022-06-04 14:15:16 +02:00
Stephan Hadinger 892b331d67 Found bug in sk6812 RGBW 2022-06-03 23:01:40 +02:00
Stephan Hadinger 82d4e14171 Cleaning unused variables 2022-06-03 22:57:05 +02:00
Theo Arends 6ab509576a Refactor domoticz saving some code space 2022-06-03 15:37:43 +02:00
Theo Arends 9e254d851a Fix max blinkcount to 32000 2022-06-03 15:15:25 +02:00
Jason2866 8314dc3dc7 add builds zbbrdgpro / NsPanel 2022-06-02 20:44:00 +02:00
Theo Arends e5765a1cd6 Add domoticz idx check
Add domoticz idx check while staying backwards compatible (#15677)
2022-06-02 18:38:06 +02:00
Theo Arends 25f8674106 Fix local ca includes 2022-06-02 17:14:05 +02:00
Christian Baars 192d09d40a fix building without HomeKit 2022-06-02 16:02:24 +02:00
Theo Arends 9afb2c9cb8 Move interface files down allowing for folder insertions 2022-06-02 14:50:31 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00
Stephan Hadinger 19ff938d09 Berry Zigbee support payload of zcl_frame as bytes() 2022-06-01 22:06:57 +02:00
Theo Arends 19e8f1a2af Prep HYT271 sensor support 2022-05-31 14:56:09 +02:00
Theo Arends cc1ac513b9 Fix future core compile error 2022-05-31 14:08:33 +02:00
bovirus c0627ed4e4
Update Italian language 2022-05-30 17:21:42 +02:00
Theo Arends dbfb3fe49c Fix compile warnings 2022-05-30 16:21:20 +02:00
Theo Arends 20e12c2a41 Update changelogs 2022-05-30 11:34:29 +02:00
Theo Arends fb3035288c
Merge pull request #15713 from oogm/development
Add support for BP5758D 5-channel light controller
2022-05-30 09:35:55 +02:00
Theo Arends bf67031c40
Default disable 2022-05-30 09:35:08 +02:00
pkkrusty 9399150c1e
Change volume range to match driver, increase default
MP3 driver documentation and codebase suggest that 0-100 is the volume range. In this case, 30 seems like an appropriate starting point (Similar to 10/30).
2022-05-29 17:04:14 +00:00
oogm ca3079296b Fix outdated comment 2022-05-29 18:08:42 +02:00
oogm 1aaf186cae Add support for BP5758's sleep mode 2022-05-29 18:06:26 +02:00
oogm cae46e0d01 Remove logs and add references 2022-05-29 18:06:26 +02:00
oogm 4ec98e100e Change driver to user 10bit input (feature parity to original driver) 2022-05-29 18:06:26 +02:00
oogm 6dd20a566f Light control fully functional at 8bit resolution 2022-05-29 18:06:26 +02:00
oogm 2121ea63cd Add BP5758 light controller support - init sequence working, light responds randomly 2022-05-29 18:06:26 +02:00
Theo Arends 65a87fd747 Add command ``SetOption141 1``
- Add command ``SetOption141 1`` to disable display of module name in GUI header
- Prep SO146-177
2022-05-29 15:49:57 +02:00
Theo Arends d9490b3278 Add focused updates to SSPM when SspmDisplay 2 2022-05-29 12:40:46 +02:00
Theo Arends 7b2ba1ee27
Merge pull request #15710 from pearson/ESP32-C3-iBeacon-Support
Support for iBeacon scanning for the ESP32-C3
2022-05-29 08:00:08 +02:00
Chris Pearson c478d10cd0 Clarify the use of #define USE_IBEACON_ESP32
A fix to the comment text for `#define USE_IBEACON_ESP32` and `#define
USE_IBEACON`:
- There was no description for `#define USE_IBEACON_ESP32`, so text was
  added to clarify it is the define to use for the ESP32 internal
  Bluetooth radio
  - Indentation was added to `#define USE_IBEACON_ESP32` and `#define
    USE_IBEACON` to clarify that the `USE_BLE_ESP32` define is required.
2022-05-28 16:20:37 -07:00
Chris Pearson b8e12aee1c Clarify the use of #define USE_IBEACON_ESP32
A fix to the comment text for `#define USE_IBEACON_ESP32` and `#define
USE_IBEACON`:
- There was no description for `#define USE_IBEACON_ESP32`, so text was
  added to clarify it is the define to use for the ESP32 internal
  Bluetooth radio
  - Indentation was added to `#define USE_IBEACON_ESP32` and `#define
    USE_IBEACON` to clarify that the `USE_BLE_ESP32` define is required.
2022-05-28 16:19:27 -07:00
Chris Pearson 3ba70de2e7 Clarify the use of #define USE_IBEACON_ESP32
A fix to the comment text for `#define USE_IBEACON_ESP32` and `#define
USE_IBEACON`:
- There was no description for `#define USE_IBEACON_ESP32`, so text was
  added to clarify it is the define to use for the ESP32 internal
  Bluetooth radio
  - Indentation was added to `#define USE_IBEACON_ESP32` and `#define
    USE_IBEACON` to clarify that the `USE_BLE_ESP32` define is required.
2022-05-28 15:26:45 -07:00
Chris Pearson a9c15ee64e Support for iBeacon scanning for the ESP32-C3
- Adds the ESP32C3 to the ESP32 check when checking to compile iBeacon
  support
2022-05-28 15:24:09 -07:00
gemu2015 b843994ff8 index array to float, spi array transfer 2022-05-28 18:56:01 +02:00
Theo Arends 34c0fc686b Minor refactors 2022-05-28 12:42:19 +02:00
Theo Arends 972a898acf Add better SPM tab labels 2022-05-28 12:05:26 +02:00
Theo Arends 03e43153a2
Merge pull request #15707 from Staars/mi32
MI32: fix scan mode switching, return option values
2022-05-28 09:41:06 +02:00
Christian Baars f0d2990894 fix scan mode switching, return option values 2022-05-27 20:51:59 +02:00
Theo Arends a43c194db6 Add support for Sonoff Zigbee Bridge Pro
- Add support for Sonoff Zigbee Bridge Pro by Stephan Hadinger (#15701)
- Add command ``SspmDisplay 2`` to display Sonoff SPM energy data in GUI for user tab-selected relay modules (#13447)
2022-05-27 16:08:27 +02:00
Stephan Hadinger 7977381a94 fix_compilation 2022-05-26 19:31:11 +02:00
Stephan Hadinger b3415c9071 Zigbee flasher for Sonoff ZB Bridge Pro - dump + firmware 2022-05-26 19:24:50 +02:00
Stephan Hadinger a8aa6fac00 Zigbee flasher for Sonoff Zigbee Bridge Pro 2022-05-26 18:42:00 +02:00
gemu2015 9484f1d2b3 scripter enhancements 2022-05-26 17:22:39 +02:00
Stephan Hadinger f115220e60 Zigbee display version of MCU software in UI 2022-05-25 19:18:39 +02:00
Nemobi 28bed5ca4b Merge branch 'development' into mjpeg_auth 2022-05-24 21:09:36 +00:00
Nemobi 301540f3ac Added BASIC AUTH for mjpeg stream 2022-05-24 21:06:41 +00:00
Stephan Hadinger ce33aa5f9d Berry zigbee phase 1 2022-05-24 22:45:04 +02:00
Stephan Hadinger 999b477419 Simplified SBuffer 2022-05-23 21:12:47 +02:00
Stephan Hadinger dd1855005c Zigbee fix regression 2022-05-21 18:05:40 +02:00
Theo Arends a0f59ef2ec Add more logging to Shelly 3EM
Add more logging to Shelly 3EM (#13515)
2022-05-21 12:28:21 +02:00
Theo Arends eb798df249 Add more logging to Shelly 3EM
Add more logging to Shelly 3EM (#13515)
2022-05-21 12:15:06 +02:00
Stephan Hadinger 086c4d6371 Rename OpenHASP to HASPmota 2022-05-20 21:29:39 +02:00
Theo Arends 35860b6f9e Remove empty used from GUI 2022-05-20 17:51:14 +02:00
Nemobi 8e4dcd7b62 Merge branch 'development' into rtsp_auth 2022-05-20 13:25:42 +00:00
Nemobi d1692efddf Fixed stream redirect 2022-05-20 15:01:14 +02:00
Nemobi 02927be009 Merge branch 'development' into rtsp_auth 2022-05-20 10:42:45 +00:00
Nemobi 606200358d Added auth option to wc 2022-05-20 10:30:12 +00:00
Theo Arends 51af8611bb Fix max 32-bit bitRead/bitSet size issue 2022-05-20 12:10:46 +02:00
Theo Arends c4c03b7c1b Add pinmode once for digitalwrite 2022-05-20 11:38:11 +02:00
Theo Arends 84314cf921 Generalize pinmode for most digitalwrites 2022-05-20 11:22:49 +02:00
Theo Arends 90a14ee518 Fix regression from pin output toggle after power on 2022-05-19 22:35:59 +02:00
Theo Arends 41b82fd076 Possible pin output toggle after power on
Possible pin output toggle after power on (#15630)
2022-05-19 18:02:05 +02:00
Theo Arends e496e36826 SPM updated with latest knowledge
SPM updated with latest knowledge - No functional change
2022-05-19 13:37:18 +02:00
Theo Arends 9b750f8b70
Merge pull request #15647 from pcdiem/pwm-dimmer-4
Use adjusted bri for LED's after timeout
2022-05-17 17:10:10 +02:00
Paul C Diem 54dfead6d9 Use adjusted bri for LED's after timeout 2022-05-17 08:11:56 -05:00
TID b1edb98495
Update pl_PL.h 2022-05-17 13:33:36 +02:00
Stephan Hadinger d4e4440a40 Zigbee merge ZCLMessage and ZCLFrame 2022-05-16 19:17:40 +02:00
Theo Arends 131931f4bd
Merge pull request #15633 from bovirus/patch-1
Update Italian language
2022-05-16 09:01:11 +02:00
s-hadinger 141c0cc3b1
Merge pull request #15634 from s-hadinger/zigbee_ZigbeeZCLSend_fix
Zigbee fix ambiguous 0xFFFE device
2022-05-15 19:37:22 +02:00
Stephan Hadinger 99cde31140 Zigbee fix ambiguous 0xFFFE device 2022-05-15 18:50:59 +02:00
bovirus 1b51678036
Update Italian language
Please check and merge. Thanks.
2022-05-15 18:42:23 +02:00
Stephan Hadinger 0a33024719 Zigbee disable autoresponder for broadcast messages from self 2022-05-15 18:42:08 +02:00
Theo Arends 55618c0c7b Fix GUI kilobytes 2022-05-15 17:35:45 +02:00
Theo Arends e15990b053 Change safeboot GUI restart to production partition 2022-05-15 14:59:39 +02:00
Theo Arends ba324b270e Revert "Change safeboot GUI restart to production partition"
This reverts commit b3f3e29b0c.
2022-05-15 14:23:50 +02:00
Theo Arends b3f3e29b0c Change safeboot GUI restart to production partition 2022-05-15 14:22:32 +02:00
Theo Arends 777309c327 Add ESP32 GUI information to safeboot 2022-05-15 12:31:27 +02:00
Theo Arends 8c2658bb3f Speed up ESP32 GUI information partition display 2022-05-15 11:40:24 +02:00
Theo Arends 5f53f36563 Add ESP32 partition info to GUI 2022-05-14 17:41:52 +02:00
Theo Arends da0a2280b5 Add support for Sonoff SPM v1.2.0
- Add support for Sonoff SPM v1.2.0
- Bump version to v11.1.0.3
2022-05-14 14:47:50 +02:00
Theo Arends 112808c2bf
Merge pull request #15613 from stefanbode/patch-3
Removed duplicated announcement of shutter
2022-05-14 12:10:04 +02:00
Stephan Hadinger e94dbe366a Partition Manager rename SPIFFS to filesystem 2022-05-14 11:37:56 +02:00
s-hadinger 078f44eed5
Merge pull request #15615 from s-hadinger/openhasp_dropdown
OpenHASP support for dropdown attributes
2022-05-13 22:48:07 +02:00
Stephan Hadinger c4767578a0 OpenHASP fix dropdown direction 2022-05-13 22:39:51 +02:00
Stephan Hadinger 1e55a9ba50 OpenHASP support for dropdown attributes 2022-05-13 22:28:17 +02:00
Jason2866 63f45d1a1e
Delete Partition_wizard.tapp 2022-05-13 21:53:48 +02:00
stefanbode e501994919
Bugfixes
removed some errors in RESULT message. Wrong values
Limit tilt duration time to 127 steps (6.35sec) and avoid negative numbers
2022-05-13 19:11:00 +02:00
s-hadinger c62ed6a89f
Merge pull request #15614 from s-hadinger/parwiz_bed
Partition Wizard compiled bytecode
2022-05-13 16:21:56 +02:00
Stephan Hadinger 9971e5924c Partition Wizard compiled bytecode 2022-05-13 16:20:04 +02:00
Theo Arends 77722733d1
Merge pull request #15612 from emontnemery/discover_shutter_tilt
Include shutter tilt config in discovery message
2022-05-13 14:02:56 +02:00
stefanbode 5680bc9cef
Removed duplicated announcement of shutter 2022-05-13 12:37:38 +02:00
Erik be446e10e3 Include shutter tilt config in discovery message 2022-05-13 12:31:57 +02:00
Stephan Hadinger e6411a5d69 OpenHASP support for roller's text attribute 2022-05-13 12:12:48 +02:00
Stephan Hadinger d43e5eb7b9 Esp32 upload file checked done against OTA partitionsize 2022-05-13 09:30:31 +02:00
Stephan Hadinger aa1a0179a4 OpenHASP event value 2022-05-11 22:50:17 +02:00
Theo Arends f70174142f Remove ethernet from ESP32-Solo1 2022-05-11 15:07:12 +02:00
Theo Arends 8253f579f3 Fix safeboot naming 2022-05-11 14:45:09 +02:00
Theo Arends 865ba51b7a Add command upload 2
Add command upload 2 to upload saveboot binary from production partition
2022-05-11 14:31:39 +02:00
Theo Arends d136c20551 Fix possible ota_loader mismatch 2022-05-11 10:41:32 +02:00
Stephan Hadinger f8668a5396 Partition Wizard v1 2022-05-11 09:52:40 +02:00
Stephan Hadinger a3c5a190de Berry partition_core fixes 2022-05-10 23:13:27 +02:00
Theo Arends d6e5c89463 Fix ESP32-C3 safeboot upload 2022-05-10 22:21:34 +02:00
Stephan Hadinger b5206206d7 OpenHSAP fix `val` attribute for `roller` and `slider` 2022-05-10 21:31:18 +02:00
Theo Arends e2a24f5bf2
Merge pull request #15578 from stefanbode/patch-2
Fix error on wrong wakeup calculation
2022-05-10 09:03:46 +02:00
stefanbode 6c615cabb1
Fix error on wrong wakeup calculation
due to a buffer overflow it could be that on a "reset" wakeup the next interval was skipped.
2022-05-10 08:59:18 +02:00
Stephan Hadinger 722ee882fc add flash_real to tasmota.memory() 2022-05-09 22:54:40 +02:00
Stephan Hadinger 350b670fa0 Esp32 real flash size 2022-05-09 22:43:27 +02:00
Theo Arends a80f33474d Change to Tasmota Discovery and hatasmota
- Prepare to remove dedicated Home Assistant discovery in favour of Tasmota Discovery and hatasmota
2022-05-09 19:31:31 +02:00
Theo Arends e92230d7cb Fix SafeBoot GUI upload regression 2022-05-09 11:34:52 +02:00
Theo Arends fc21e1cc16 Fix initial SPM settings file creation 2022-05-09 09:17:32 +02:00
s-hadinger 7cc7f79342
Merge pull request #15573 from Staars/webserver
Berry: add content_response() to webserver
2022-05-08 19:07:50 +02:00
Christian Baars 0e87f06ba6 Berry: add content_response() to webserver 2022-05-08 18:00:15 +02:00
s-hadinger 3735167d4f
Merge pull request #15572 from s-hadinger/Disable-auto-TLS-for-port-8883
Disable auto-TLS for port 8883
2022-05-08 17:50:04 +02:00