Commit Graph

7097 Commits

Author SHA1 Message Date
Theo Arends a919b109de Fix StatusRetain reset 2022-08-19 15:12:16 +02:00
Theo Arends 1fe39bb620 Fix InfoRetain and StatusRetain
Fix InfoRetain and StatusRetain clean up if disabled
2022-08-19 15:03:32 +02:00
Theo Arends 103808ce44 Add command ``StatusRetain``
Add command ``StatusRetain`` (#11109)
2022-08-19 14:24:55 +02:00
Theo Arends b59cd41d37
Merge pull request #16250 from Jason2866/S3_TempSens
S3 Temp sensor support
2022-08-19 11:32:37 +02:00
Jason2866 14c1c5dfd4
Review changes 2022-08-19 11:27:15 +02:00
Stephan Hadinger 07645067aa Fix compilation of safeboot 2022-08-18 19:44:16 +02:00
Stephan Hadinger ff07d0608b Zigbee device plugin mechanism with commands ``ZbLoad``, ``ZbUnload`` and ``ZbLoadDump`` 2022-08-18 19:23:11 +02:00
Jason2866 f64bddea04
S3 Temp sensor support 2022-08-18 16:10:21 +02:00
Theo Arends 94c88df93b Fix RTC not detected when lights are present
Fix RTC not detected when lights are present (#16242)
2022-08-18 15:41:35 +02:00
Theo Arends 9285f89ef7 Bump version v12.1.0.1 2022-08-18 14:39:55 +02:00
JeroenSt a832af4dd2 added linefeed 2022-08-17 21:14:50 +02:00
JeroenSt 995b669f28 Removed debug logging 2022-08-17 20:12:26 +02:00
JeroenSt b8000fa788 Update for functioncode 5 and 6 and 15 2022-08-17 19:55:42 +02:00
JeroenSt 812fbff683 Fixed reading discrete inputs and coils
https://github.com/arendst/Tasmota/issues/9586#issuecomment-1217574286
2022-08-17 19:55:42 +02:00
JeroenSt cc2c219aa2 Modified reading of bits according to coil and input register specification 2022-08-17 19:55:42 +02:00
JeroenSt aabf188afb (u)int8 and (u)int32 are now also working 2022-08-17 19:55:42 +02:00
JeroenSt 1d4ff834ab Solved error in reading (u)int32 value and removed logging 2022-08-17 19:55:42 +02:00
JeroenSt fa3802cd67 Changed int and uint types 2022-08-17 19:55:42 +02:00
JeroenSt 3470a5d4cd Added Bit and Hex reading https://github.com/arendst/Tasmota/issues/9586#issuecomment-1216313774 2022-08-17 19:55:41 +02:00
JeroenSt a04a446654 work in progress 2022-08-17 19:55:41 +02:00
JeroenSt 96a1eb3ae5 In the first serie of tests this seems to work right. 2022-08-17 19:55:41 +02:00
JeroenSt 355e31ff2e Work in progress... 2022-08-17 19:55:41 +02:00
JeroenSt 92319eedd2 Work in progress... 2022-08-17 19:55:41 +02:00
JeroenSt 2c2a73506d Work in progress. 2022-08-17 19:55:41 +02:00
JeroenSt 9881183726 In progess: Developping modbus write functionality 2022-08-17 19:55:41 +02:00
gemu2015 5e093c45f2 fix compile error 2022-08-17 16:06:53 +02:00
Barbudor b7b72f8bd4 fix mac instead of uid 2022-08-17 00:42:00 +02:00
Theo Arends 86f963a319
Merge pull request #16227 from gemu2015/i2s_update
I2s bridge
2022-08-15 22:43:57 +02:00
stefanbode 69c59fc73c
removed DebugLog 2022-08-15 21:57:56 +02:00
stefanbode 45bdaf14fd
stop shutter after longpress of buttons
https://github.com/arendst/Tasmota/discussions/16198 improved behavior on longpress of buttons
2022-08-15 21:55:57 +02:00
gemu2015 4b240545bd i2s bridge 2022-08-15 13:54:03 +02:00
Theo Arends 5aa7d55c51 Fix SCD30 power on detection
Fix SCD30 power on detection (#15438)
2022-08-15 09:33:24 +02:00
blakadder 2716d739f2 Add PM 2.5 sensor to TuyaMCU driver 2022-08-15 00:58:45 +02:00
s-hadinger 0dbf3ab6dc
Merge pull request #16217 from Jason2866/work
Red Flag GPIOs 12/13 for C3
2022-08-13 13:48:16 +02:00
Jason2866 1591ee7790 Red Flag GPIOs 12/13 for C3 2022-08-13 12:53:01 +02:00
Theo Arends 2cdfcf5345 Update changelog and templates 2022-08-11 14:47:31 +02:00
Theo Arends 8b32a9818a Fix legacy command resolved status
Fix legacy command resolved status (#15900)
2022-08-11 14:16:30 +02:00
Paul C Diem 20da738788 Wrap restore_powered_off_led_counter in #ifdef 2022-08-10 14:56:30 -05:00
Paul C Diem 729dc29807 Set LED state on SO87 change 2022-08-10 12:14:58 -05:00
Stephan Hadinger 2a087f40f9 Zigbee ``SetOption144 1`` includes a timestamp in `ZbReceived` messages 2022-08-09 18:30:01 +02:00
Stephan Hadinger 55d8c859d9 Zigbee fix Aqara wrong battery 2022-08-09 17:39:28 +02:00
Stephan Hadinger cb190d45e3 Zigbee fix Tuya for writing attributes 2022-08-09 11:06:04 +02:00
Theo Arends 0b8489d342
Merge pull request #16178 from gemu2015/i2supdate
I2supdate
2022-08-09 09:20:01 +02:00
Stephan Hadinger cfdf22e55c Remove SO144 (finally unsued) 2022-08-08 14:14:26 +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
Theo Arends ec3e8eb95a Add size check 2022-08-07 16:24:59 +02:00
Theo Arends 00012c7893 Clean up 2022-08-07 15:55:44 +02:00
Theo Arends fc86a63417 Fix wifiscan encryption types
Fix wifiscan encryption types (#16141)
2022-08-07 15:52:23 +02:00
Theo Arends e327c6194f Cleanup JSON message 2022-08-07 14:23:27 +02:00
Theo Arends eebf98dc59
Merge pull request #15867 from lugerun/improve-button-debounceing
Improve button debouncing
2022-08-07 10:57:01 +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 15a1bba1b8
Merge pull request #16145 from HardwareBoffin/development
Added the ca_AD ( catalan ) Translation
2022-08-06 09:30:50 +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
HardwareBoffin 72e88d1be3
Updated my_user_config.h to include the option ca_AD
Just added that commented config option. I tested it works beforehand.
2022-08-03 16:04:08 +02:00
HardwareBoffin 28e95ad13e
Updated ca_AD with data from dev branch 2022-08-03 13:35:22 +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
HardwareBoffin 2e24aeccd7
Add files via upload
Work in progress for testing integration
2022-08-03 12:03:43 +02:00
Adrian Scillato 058f9ecea9
Fix WifiScan JSON Response 2022-08-03 02:39:51 -07:00
Adrian Scillato f514d1702d
Move ScanNetwork variables to wifi struct 2022-08-02 22:35:16 -07:00
Adrian Scillato 922ece0959
Add WifiScan and WifiTest commands 2022-08-02 22:32:55 -07:00
Adrian Scillato ca2bc5ae70
Add new logic for wifiscan command 2022-08-02 22:31:29 -07:00
Adrian Scillato de84f6781f
Add new commands definitions (WifiScan, WifiTest) 2022-08-02 22:28:59 -07:00
Adrian Scillato 02aa432384
Move Wifi Struct definition to a header file
Move Wifi Struct definition to a header file in order to be accessible from functions outside support_wifi.ino file
2022-08-02 22:25:20 -07:00
Stephan Hadinger c6a5cabc72 Fix IRsend GPIO init 2022-08-02 23:32:23 +02:00
Stephan Hadinger 4dc6adf37f Temp fix for ledcReadFreq() 2022-08-02 23:21:12 +02:00
Stephan Hadinger 9f29e7c40d Support for multiple `IRsend` GPIOs 2022-08-02 22:52:35 +02:00
Stephan Hadinger abf352c8f8 Fix remapping of ledcReadFreq 2022-08-02 19:39:27 +02:00
Stephan Hadinger f45cd5e905 Fixed comments and cleaned up 2022-08-02 10:07:55 +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 d7a210bf81 Increase dummy energy monitor max values
Increase dummy energy monitor max values (#16059)
2022-07-24 15:30:19 +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
Theo Arends bbcf9363e4
Merge pull request #16045 from stefanbode/patch-4
ESP32 enhancements to stepper shutter motor
2022-07-22 15:01:51 +02:00
stefanbode 271d16ae10
Update xdrv_27_shutter.ino 2022-07-22 14:48:08 +02:00
barbudor 1d3bf157bf fix removal of negative values 2022-07-21 22:07:22 +02:00
gemu2015 b8902c3af7 i2srec to mp3 2022-07-20 20:49:25 +02:00
gemu2015 de52580a18 sml special options descriptor 2022-07-20 14:25:40 +02:00
Theo Arends 79161d3c43 Fix BH1750 illuminance formula
Fix BH1750 illuminance formula (#16022)
2022-07-20 11:11:18 +02:00