Commit Graph

501 Commits

Author SHA1 Message Date
Theo Arends 0b8489d342
Merge pull request #16178 from gemu2015/i2supdate
I2supdate
2022-08-09 09:20:01 +02:00
Stephan Hadinger 603dd28944 Fixed IR crash on ESP32 (#16173) 2022-08-08 14:11:57 +02:00
gemu2015 73a4174d4e Update xdrv_42_0_i2s_audio.ino 2022-08-08 14:09:51 +02:00
gemu2015 4dc910391f update i2s audio 2022-08-08 14:00:55 +02:00
stefanbode 59fd20097c
Enhance behavior of tilt changes at end points 0% and 100%
#15974 mentioned there is unexpected behavior when direction changes and end points are not left.
2022-08-07 18:32:23 +02:00
Stephan Hadinger f18091c53b Zigbee include "BatteryPercentage" in all messages 2022-08-06 14:27:58 +02:00
JeroenSt cf20a9c1c8 Solved crash when modbusbridge was configured for the first time 2022-08-06 11:57:47 +02:00
Theo Arends ebf0ad503c
Merge pull request #16141 from ascillato/Add_WifiScan_and_WifiTest_cmnds
Add `WifiScan` and `WifiTest` commands
2022-08-06 09:35:21 +02:00
Theo Arends 02d7eb1d7d Fix energy values after power cycle
Fix energy values after power cycle (#16118)
2022-08-05 15:25:39 +02:00
Stephan Hadinger d112800dc3 Zigbee add received commands as battery auto-probe triggers 2022-08-04 18:33:31 +02:00
Stephan Hadinger d482f49002 Zigbee add Battery auto-probe (can be disabled with ``SetOption143 1``) 2022-08-04 11:15:53 +02:00
Theo Arends 6f014651b6
Merge pull request #16106 from gemu2015/scripter_update
current cmd buffer adjustable
2022-08-03 20:05:05 +02:00
stefanbode f637dd14aa
fix #15851
buffer overflow
2022-08-03 19:03:42 +02:00
Stephan Hadinger 73797b3994 Zigbee added recording of when the battery was last reported 2022-08-03 17:20:09 +02:00
s-hadinger 63296e4cd4
Merge pull request #16131 from s-hadinger/pwm_fix_freq
Fix PWM to allow 4 different frequencies
2022-08-03 12:26:12 +02:00
Adrian Scillato f514d1702d
Move ScanNetwork variables to wifi struct 2022-08-02 22:35:16 -07:00
Stephan Hadinger c6a5cabc72 Fix IRsend GPIO init 2022-08-02 23:32:23 +02:00
Stephan Hadinger 9f29e7c40d Support for multiple `IRsend` GPIOs 2022-08-02 22:52:35 +02:00
Stephan Hadinger 47b1f40245 Fix PWM to allow 4 different frequencies 2022-08-01 19:27:49 +02:00
gemu2015 a8d9acbfd2 current cmd buffer adjustable 2022-07-29 07:47:21 +02:00
Jeroen 3504819074
Merge branch 'arendst:development' into ModbusBridgeTcp 2022-07-26 20:25:08 +02:00
Theo Arends 0874dbe138
Merge pull request #16091 from gemu2015/scripter_update
fixes + background webserver
2022-07-26 17:27:34 +02:00
gemu2015 33861c8aa0 fixes + background webserver 2022-07-26 15:34:43 +02:00
gemu2015 c4e0250c42 Create xdrv_42_3_i2s_saytime.ino 2022-07-26 15:32:35 +02:00
gemu2015 3945cc6fc0 audio restructured 2022-07-26 15:26:30 +02:00
JeroenSt 7fab74bc8f ModbusBridgeBegin was not called at (boot) init 2022-07-26 09:38:57 +02:00
JeroenSt 7e02b61e46 Baudrate and serial config for modbus_bridge are now persistent 2022-07-25 19:18:30 +02:00
Theo Arends a0d6670a5a
Merge pull request #16075 from jeroenst/ModbusTCP
Adding modbus bridge TCP
2022-07-25 16:07:09 +02:00
JeroenSt bcaac8208f Adding modbus bridge TCP
Removed (u)int8 because modbus registers are always 16 bits and changed bit8 to bit
Solved memory leak, changed logging
Improved initialisation and configuring serial port
Solved bug that addresses above 4 didn't reply
Removed logging
Added mandatory comment to USE_MODBUS_TCP_BRIDGE
Using TasmotaModbus->Begin instead of begin
Added bytecount to modbus tcp reply message
Added comments
Put modustcp variables in ModbusBridgeTCP struct.
2022-07-25 14:42:55 +02:00
Gabriele Lauricella 619c6d4588 sendmail override domain for SMTP EHLO command 2022-07-25 00:54:52 +02:00
Theo Arends 533d42fc07 Refactor keeloq logging 2022-07-24 14:48:03 +02:00
Theo Arends 95d97c4bd3
Merge pull request #16049 from madmartin/dev-MD-002
tasmota_xdrv_driver/xdrv_36_keeloq.ino: fix compile error
2022-07-24 14:34:04 +02:00
Martin Dummer b89fd72638
tasmota_xdrv_driver/xdrv_36_keeloq.ino: fix compile error
When compiling with USE_KEELOQ and -DDEBUG_TASMOTA_DRIVER, it fails with
some messages like

... error: cannot convert 'LoggingLevels' to 'const char*' for argument '2' to 'void AddLog(uint32_t, const char*, ...)'
 #define DEBUG_DRIVER_LOG(...) AddLog(LOG_LEVEL_DEBUG, __VA_ARGS__)

This patch fixes this compile errors
2022-07-22 20:49:08 +02:00
stefanbode 271d16ae10
Update xdrv_27_shutter.ino 2022-07-22 14:48:08 +02:00
gemu2015 b8902c3af7 i2srec to mp3 2022-07-20 20:49:25 +02:00
Theo Arends 79161d3c43 Fix BH1750 illuminance formula
Fix BH1750 illuminance formula (#16022)
2022-07-20 11:11:18 +02:00
Theo Arends 722406a461 Add support for Modbus bridge
Add support for Modbus bridge adding commands ``ModbusSend``, ``ModbusBaudrate`` and ``ModbusSerialConfig`` (#16013)
2022-07-20 10:41:02 +02:00
JeroenSt 1cc091e4fa Added ModbusBridge 2022-07-19 14:10:12 +02:00
Theo Arends 1f2e69272f Fix shutter reset savedata
Fix shutter reset savedata (#15895)
2022-07-18 15:39:26 +02:00
gemu2015 6e0f643c64 fixes and fast pin multiplexer 2022-07-15 17:41:39 +02:00
Theo Arends 74bb1a2eff
Merge pull request #15985 from gemu2015/is2_update
Is2 update
2022-07-15 15:44:17 +02:00
Theo Arends 0ded72252f Fix POWR320D bistable relay connection 2022-07-15 15:02:59 +02:00
gemu2015 f3e6ef1558 fixes for s3 box 2022-07-15 14:47:34 +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 485328b94d Update sonoff POWR320D template
Update sonoff POWR320D template with bistable relay
2022-07-10 11:38:06 +02:00
David Gwynne bc6d65c725 add `Speed2 !` to cancel pending one-shot speed setting 2022-07-09 20:57:06 +10: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 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
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
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
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
s-hadinger 8267d99334
Fix identation typo 2022-06-26 19:23:07 +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
Tom Lafleur 5392aad166 Updated Languages for MP3 Player 2022-06-23 07:39:10 -07:00
Tom Lafleur 89816e88d4 Updated MP3 Driver with busy and MP3 Folder command 2022-06-22 14:47:32 -07:00
Stephan Hadinger 8377dd346f Zigbee reenable leds for ESP32 2022-06-22 19:38:18 +02:00
Theo Arends d4ab49d3dc Refactor sendmail and solve buffer overflows 2022-06-22 12:01:38 +02: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
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
Stephan Hadinger dd364c92da Berry comobj standard deallocator 2022-06-16 22:37:33 +02:00
Stephan Hadinger 9b26c01dd0 Berry virtual member can return nil 2022-06-15 22:00:31 +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 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
Christian Baars f9c31bd8b8 make discoverAttributes optional 2022-06-09 22:00:19 +02:00
Theo Arends ac4ed0d664 Fix config upload message safeboot regression 2022-06-08 11:54:11 +02:00
Theo Arends 2eefdaa0f4 Fix newline regression from this morning 2022-06-07 14:11:23 +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 cc771f31e9 some fixes, array average 2022-06-07 08:23:06 +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 92f05fe7ca Fix MP3 default state 2022-06-05 12:00:38 +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 e5765a1cd6 Add domoticz idx check
Add domoticz idx check while staying backwards compatible (#15677)
2022-06-02 18:38:06 +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