Commit Graph

6903 Commits

Author SHA1 Message Date
Theo Arends a1dedf0d26 Bump version to v12.0.2.1 2022-06-20 15:40:52 +02:00
Theo Arends 6fac233821 Fix MQTT rc -4
Fix MQTT rc -4 (#15809)
2022-06-20 14:20:35 +02:00
Theo Arends 9ee8461f3d Fix telegram DNS regression 2022-06-20 12:50:29 +02:00
Theo Arends 626fb783ea Fix MQTT rc -4 on TLS connections
Fix MQTT rc -4 on TLS connections regression from v12.0.0 (#15809)
2022-06-20 12:07:31 +02:00
Theo Arends 541be4a8ab Add telegram DNS checks 2022-06-20 10:49:23 +02:00
Theo Arends b5dd23ae9f Replace function WiFi.hostByName() 2022-06-19 18:13:26 +02:00
Theo Arends c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00
Stephan Hadinger 06f1562874 Berry add documentation link to Partition_Wizard 2022-06-17 22:19:54 +02:00
Theo Arends e9708a4e5a Fix resolving NTP and/or MQTT server
- Fix resolving NTP and/or MQTT server names regression from v12.0.0 (#15816)
- Bump version to v12.0.1.1
2022-06-17 17:35:52 +02:00
Stephan Hadinger dd364c92da Berry comobj standard deallocator 2022-06-16 22:37:33 +02:00
Theo Arends 6a0c4b281e Add RTC time save 2022-06-16 16:15:54 +02:00
Theo Arends dca2837285 Bump version v12.0.0.1 2022-06-16 14:02:09 +02:00
Stephan Hadinger 9b26c01dd0 Berry virtual member can return nil 2022-06-15 22:00:31 +02:00
Theo Arends f10c7f06bf Fix quick restarts future time 2022-06-15 18:44:36 +02:00
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