Commit Graph

7025 Commits

Author SHA1 Message Date
Theo Arends cc9c6299ca Consolidate I2S GPIOs 2022-07-11 15:49:57 +02:00
gemu2015 2825f8e50a sbox has blue, red inversion 2022-07-11 14:05:02 +02:00
gemu2015 11c72a985f i2s audio pins 2022-07-11 09:18:27 +02:00
gemu2015 7d9c51fb79 audio i2s pins 2022-07-11 09:13:49 +02:00
gemu2015 d80ba93b68 audio i2s refactor 2022-07-11 09:08:06 +02:00
Theo Arends 2fe1d139e3 Fix Sonoff THR3xx templates 2022-07-10 14:24:35 +02:00
Theo Arends 4048aef96b Add Sonoff THR320D template
and update THR316D template
2022-07-10 12:36:34 +02:00
Theo Arends 8283cee823 Fix bistable relay support 2022-07-10 12:07:58 +02:00
Theo Arends 485328b94d Update sonoff POWR320D template
Update sonoff POWR320D template with bistable relay
2022-07-10 11:38:06 +02:00
Theo Arends 53a36c1fa2
Merge pull request #15954 from dgwynne/Speed2Cancel
add `Speed2 !` to cancel pending one-shot speed setting
2022-07-10 10:46:05 +02:00
Theo Arends c9d289822c Fix bistable relays and SO63 2022-07-09 16:26:13 +02:00
Theo Arends cd0f9c7360 Revert "Revert "Add better support for bistable (latching) relays""
This reverts commit c6867ddd3d.
2022-07-09 15:55:27 +02:00
Theo Arends c6867ddd3d Revert "Add better support for bistable (latching) relays"
This reverts commit 6031e5df98.
2022-07-09 14:47:36 +02:00
David Gwynne bc6d65c725 add `Speed2 !` to cancel pending one-shot speed setting 2022-07-09 20:57:06 +10:00
Theo Arends 6031e5df98 Add better support for bistable (latching) relays
Add support for bistable (latching) relays mixed with monostable relays using GPIO Relay_b or Relay_bi
2022-07-09 12:27:59 +02:00
Theo Arends 324e4e1084
Merge pull request #15942 from gemu2015/sbox_support
Sbox support
2022-07-07 22:12:08 +02:00
Stephan Hadinger d27a87f86f Report error of socket failed to open 2022-07-07 19:56:08 +02:00
Stephan Hadinger 5e758db898 Berry tcpserver 2022-07-07 19:28:17 +02:00
Theo Arends f3b1c4d543 Add POWR3xxD and THR3xxD overflow display 2022-07-07 14:24:53 +02:00
gemu2015 9cd3ad3f6b Update xdrv_42_i2s_audio.ino 2022-07-07 13:45:40 +02:00
gemu2015 53bd637568 add sbox display descriptor 2022-07-07 13:30:30 +02:00
gemu2015 612a0f3fcc sbox audio support 2022-07-07 13:29:36 +02:00
Stephan Hadinger 389543d36f Berry fix regression 2022-07-06 23:13:35 +02:00
Jason2866 55b2018fed
fix esp8266 compile 2022-07-06 21:48:00 +02:00
Theo Arends f4851dbf55 Fix compilation 2022-07-06 17:01:51 +02:00
Theo Arends e6b4a77abd Add ESP32 Sonoff sensor support
- Bump version to v12.0.2.3
- Add ESP32 SI7021, THS01 and MS01 support
- Fix THRxxD template
2022-07-06 16:58:27 +02:00
Theo Arends 720942e818 Add THR316D display support
- Add THR316D display support
- Provide supported THR316D template
2022-07-05 17:26:04 +02:00
Theo Arends 2c0f003898 Add initial Sonoff POWR3xxD display support
Add initial Sonoff POWR3xxD display support (#15856)
2022-07-05 00:09:03 +02:00
Theo Arends 53d2c76cec Prep TM1621 support 2022-07-04 10:46:35 +02:00
gemu2015 c78c461216 fix number of esp32 uarts 2022-07-03 15:56:16 +02:00
Christian Baars e730f43d26 change error reporting for adc_config 2022-07-02 22:33:31 +02:00
Christian Baars a793296bc1 ESP32: support ULP via Berry 2022-07-02 21:30:04 +02:00
Theo Arends d956db1f7c Fix USE_FLOWRATEMETER
Fix USE_FLOWRATEMETER (#15909)
2022-07-02 12:43:47 +02:00
Stephan Hadinger 7e0f69e935 Partition Wizard use ota.tasmota.com 2022-07-02 00:13:27 +02:00
Theo Arends fc12056787
Merge pull request #15886 from KG3RK3N/development
Fix missing sign of current power value on smart meter AS2020
2022-06-30 21:16:10 +02:00
Theo Arends fdebf32562
Merge pull request #15880 from curzon01/fix-flowmeter
Fix single sensor exception
2022-06-30 21:15:19 +02:00
Kai Gerken a863ff27a2 Fix missing sign of current power value on smart meter AS2020 2022-06-28 09:07:58 +02:00
Stephan Hadinger dc6aeb94c2 Filesystem escape special chars 2022-06-27 19:30:04 +02:00
Norbert Richter 127b672c2c
Fix single sensor exception 2022-06-27 08:53:47 +02:00
s-hadinger 8267d99334
Fix identation typo 2022-06-26 19:23:07 +02:00
Jason2866 3365cf87b8
add s2/s3 OTA URL 2022-06-26 12:46:59 +02:00
Theo Arends ee909d4372 Sync global value update with teleperiod
Sync global value update with teleperiod (#15834)
2022-06-25 17:13:53 +02:00
bovirus fd62429a07
Update Italian language 2022-06-25 16:19:12 +02:00
lugerun d6b1f1c43f Improve button debouncing
Currently, there is a good debouncing implementation for the switches.
But this does not apply anymore when configuring an input as button
for the usage at a blind. Then, the current implemntation works by
just checking the input once per debounce interval. At some devices,
this causes ghost switching. As a result, this change checks the
input twice per devounce interval and uses the old values if the two
read attempts reported different values.
2022-06-25 15:37:33 +02:00
Theo Arends 494e0ec552
Merge pull request #15846 from trlafleur/X14mods
Updated MP3 Driver with busy and MP3 Folder command
2022-06-25 15:20:35 +02:00
Theo Arends ea226228f5 Fix shutter exception 29
Fix shutter exception 29 (#15825)
2022-06-24 17:43:53 +02:00
Theo Arends e68f93b4e8 Fix shutter No valid JSON messages
Fix shutter No valid JSON messages (#15825)
2022-06-24 16:40:45 +02:00
Tom Lafleur ef3a5fe733 change location of some defines 2022-06-24 05:55:19 -07:00
Theo Arends 11689409fc Add global value updates every 10 seconds
Add global value updates every 10 seconds (#15834)
2022-06-23 18:13:13 +02:00
Tom Lafleur 4e8e5d4abd Update it_IT.h 2022-06-23 07:45:50 -07:00
Tom Lafleur 5392aad166 Updated Languages for MP3 Player 2022-06-23 07:39:10 -07:00
Theo Arends 14a0370507 Fix user global entries 2022-06-23 00:06:05 +02:00
Theo Arends 6444e5ff8f Fix globals 2022-06-22 23:47:58 +02:00
Tom Lafleur 89816e88d4 Updated MP3 Driver with busy and MP3 Folder command 2022-06-22 14:47:32 -07:00
Theo Arends cefe015c68 Bump version to v12.0.2.2
- Add commands to better control global temperature, humidity and pressure
- Command ``GlobalTemp2 1..250`` to select Global Temperature source indexed from teleperiod occurance data (#15834)
- Command ``GlobalHum2 1..250`` to select Global Humidity source indexed from teleperiod occurance data (#15834)
- Command ``GlobalPress2 1..250`` to select Global Pressure source indexed from teleperiod occurance data (#15834)
2022-06-22 23:45:25 +02:00
Stephan Hadinger 8377dd346f Zigbee reenable leds for ESP32 2022-06-22 19:38:18 +02:00
Theo Arends e84c603d28
Merge pull request #15842 from bovirus/patch-1
Update Italian language
2022-06-22 17:29:25 +02:00
Theo Arends 07d2862c7f Add support for 5-channel light dimmer driver SM2335
Add support for 5-channel light dimmer driver SM2335 used in SwitchBot Color Bulbs (#15839)
2022-06-22 17:28:54 +02:00
bovirus 7b8a8a39e6
Update Italian language 2022-06-22 17:28:13 +02:00
Theo Arends 8a2d001c41
Merge pull request #15839 from Cossid/sm2335-led-driver
Sm2335 5-channel LED driver
2022-06-22 17:11:50 +02:00
Cossid 5741c06acd SM2335 - Be more consistent with code formatting. 2022-06-22 10:10:58 -05:00
Cossid df9c3a733e SM2335 - Disable by default on ESP8266, enable by default on ESP32. 2022-06-22 10:02:20 -05:00
Cossid 8ffc7b9f02 SM2335 - Reduce code size by replacing redundant calls with for loops.
Remove defines that are unused or can be replaced with array locations.
2022-06-22 10:00:34 -05:00
Theo Arends d4ab49d3dc Refactor sendmail and solve buffer overflows 2022-06-22 12:01:38 +02:00
Cossid d763bf24eb Remove unknown code size comments. 2022-06-21 22:44:50 -05:00
Cossid 5ec8aa5420 Remove unknown comment of code size added. 2022-06-21 19:01:16 -05:00
Cossid 52d868e675
Merge branch 'arendst:development' into sm2335-led-driver 2022-06-21 18:58:04 -05:00
Theo Arends 6cd19cbdf9 Refactor sendmail 2022-06-21 23:03:34 +02:00
Theo Arends ffcf90bdfe Refactor sendmail 2022-06-21 16:53:58 +02:00
Cossid 6f7ff480f8 SM2335 - Fix a typo. 2022-06-21 00:51:21 -05:00
Cossid 996d614027 SM2335 - Fix an argument size. 2022-06-21 00:50:44 -05:00
Cossid f76400ba03 Initial implementation of SM2335 LED driver. 2022-06-21 00:32:56 -05:00
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