Commit Graph

7224 Commits

Author SHA1 Message Date
renzhe 4765e95d91 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-09-01 14:05:47 +08:00
renzhe c2cfc973d7 translate some chinese 2022-09-01 12:20:58 +08:00
s-hadinger db87f8e8d5
Merge pull request #16404 from s-hadinger/zigbee_fix_regression_cmd
Zigbee fix regression when reporting a command
2022-08-31 21:22:56 +02:00
Stephan Hadinger d0f5c80ae1 Zigbee fix regression when reporting a command 2022-08-31 21:04:35 +02:00
bovirus e23dd638e0
Update italian language
Please check and merge
2022-08-31 14:32:43 +02:00
s-hadinger 5d63fc1cf0
Merge pull request #16392 from s-hadinger/fix_eth_poe_olimex
Fix unstable ETH on Olimex POE
2022-08-31 10:33:29 +02:00
Stephan Hadinger 74cbc47614 Be more specific to target ESP32 2022-08-31 10:12:25 +02:00
Stephan Hadinger b355231721 Fix unstable ETH on Olimex POE 2022-08-31 10:09:22 +02:00
Theo Arends dbf0477fec
Merge pull request #16385 from curzon01/flowratemeter
Flowratemeter add flow amount/duration
2022-08-31 10:08:00 +02:00
Stephan Hadinger 3791ecd2a0 Support for Ethernet in ESP32 safeboot firmware 2022-08-30 18:46:22 +02:00
Stephan Hadinger cb4a5ed736 Berry extend max bytes size to 512Kb when PSRAM is available 2022-08-30 18:11:04 +02:00
Norbert Richter 2b163ad4ea
Flowrate meter add flow amount/duration 2022-08-30 11:46:19 +02:00
Norbert Richter 475b4f3fe3
Rework flowmeter 2022-08-30 08:31:23 +02:00
Theo Arends 23ba25c665 Refactor WifiHostByName() 2022-08-29 14:31:05 +02:00
Theo Arends b502b84189
Merge pull request #16323 from rogg/fix-local-mdns
Use Wifi.hostByName() for ESP8266
2022-08-29 14:15:21 +02:00
Dan BENDAVID adaf167b7e
Update WT32_SC01.ini
This display.ini is working on my WT32-SC01 with 16MB PSRam.
2022-08-28 20:36:50 +02:00
Theo Arends 9da9866fd8 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2022-08-28 18:22:20 +02:00
Theo Arends 3a1bbda4a5 refactor tm1621 2022-08-28 18:22:06 +02:00
Theo Arends d79390dad3
Merge pull request #16374 from barbudor/up_serial_buffer
Allows SerialBuffer up to 2048
2022-08-28 18:17:48 +02:00
Theo Arends 9c06a3713e Show all temperature sensors on display
Show alternating temperature sensors on Sonoff THR3xxD display (#15856)
2022-08-28 17:35:13 +02:00
barbudor eb96127efd allow SerialBuffer up to 2048 2022-08-28 16:49:52 +02:00
Theo Arends acfebb0ab4 Increase max temperature
Increase max temperature from 100 to 200C (#16363)
2022-08-28 15:00:41 +02:00
s-hadinger 5b1b4d11de
Merge pull request #16362 from s-hadinger/berry_bootloader
Berry bootloader flasher
2022-08-28 09:44:08 +02:00
Stephan Hadinger 3fe9eec276 Berry bootloader flasher 2022-08-28 09:39:24 +02:00
Stephan Hadinger bd04ce59be Fix missing colon 2022-08-27 18:18:49 +02:00
Theo Arends e06793eb8c Small refactors 2022-08-27 12:28:34 +02:00
JeroenSt 728c108294 Removed logging and changed maximum number of coils/inputs 2022-08-27 10:54:41 +02:00
JeroenSt f57acac48b Fixed Modbus TCP function 1 & 2 not working 2022-08-27 10:40:02 +02:00
JeroenSt a19edd4983 Solved endian on uint16 2022-08-27 09:11:36 +02:00
JeroenSt 1ac5b6fd7f Rework in progress
ModbusTCP fully tested OK
Modbus via Commands:
function 1..5 tested ok
function 6 fail
function 15 & 16 not tested
2022-08-27 09:11:36 +02:00
JeroenSt 9c11eb41d4 Changed Modbus to also support nr of bytes
for functioncode 1,2 & 15.
https://ozeki.hu/p_5876-mobdbus-function-code-1-read-coils.html
2022-08-27 09:11:36 +02:00
JeroenSt 5bd28954fa Fixed reading functioncode 1 & 2 for ModbusTCP
Returned bytes need to be even (limitation of TasmotaModbus.cpp)
https://github.com/arendst/Tasmota/issues/9586
2022-08-27 09:11:36 +02:00
JeroenSt ffcdce6041 Fixed FC16
https://github.com/arendst/Tasmota/issues/9586#issuecomment-1226120239
2022-08-27 09:11:36 +02:00
JeroenSt d333948816 Solved ModbusTCP writing wrong registers 2022-08-27 09:11:36 +02:00
JeroenSt fea41407ac changed wrong copying of tcp data to writedata 2022-08-27 09:11:36 +02:00
JeroenSt a5782f2ca0 Added usefull url to comments 2022-08-27 09:11:36 +02:00
JeroenSt 2926a66fe0 Added returning of modbus error codes to TCP client
https://github.com/arendst/Tasmota/issues/9586#issuecomment-1225437630
2022-08-27 09:11:36 +02:00
JeroenSt 5f86569a9f Solved Issues mentioned in
https://github.com/arendst/Tasmota/issues/9586
2022-08-27 09:11:36 +02:00
Stephan Hadinger e46d07acb4 Berry add more metrics to GC 2022-08-26 19:23:21 +02:00
Theo Arends c7e6aabf2c
Merge pull request #16341 from FunJp/support_for_sgp40
Add support for SGP40 sensor
2022-08-26 19:22:04 +02:00
Jean-Pierre Deschamps cbfd2e1db7 Put USE_SGP40 at the correct place in decode-status
Remove used line from support_features.ino
2022-08-26 10:07:57 -04:00
Theo Arends 91875f20a5 Add balanced energy values
Add balanced energy values (#16346)
2022-08-26 14:35:52 +02:00
s-hadinger 4923755afc
Merge pull request #16345 from s-hadinger/haspmota_spinner
HASPmota make `spinner` editable
2022-08-26 09:06:25 +02:00
Stephan Hadinger 979288570e HASPmota make `spinner` editable 2022-08-26 08:37:28 +02:00
Stephan Hadinger 6fbaa8505c Zigbee change offset: to add: 2022-08-26 08:33:27 +02:00
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04:00
Stephan Hadinger 42d26fecb2 Zigbee extend div and offset for plugin 2022-08-25 21:29:19 +02:00
rogg 03f2e0b6e9 Use Wifi.hostByName() for ESP8266
Saves ~1K on ESP8266. Also, the check for resolving to 255.255.255.255 is already done by Wifi.hostByName().
2022-08-25 10:38:04 -07:00
Theo Arends 74414d8304 re-add inverted button support in V3 2022-08-25 17:51:29 +02:00
Theo Arends f3e677e805 Button debouncing V3 by adopting switch debounce code (#16339)
Button debouncing V3 by adopting switch debounce code (#15867)
2022-08-25 17:23:51 +02:00
Theo Arends 58f14301ae Bump version v12.1.1.1 2022-08-25 14:08:05 +02:00
Theo Arends a187867070 Lost module name in GUI regression from v12.0.2.4
Lost module name in GUI regression from v12.0.2.4 - 20220803 (#16324)
2022-08-24 17:09:26 +02:00
Theo Arends 08bd672aa1 Add flash chip mode to GUI 2022-08-24 16:16:14 +02:00
Theo Arends 4692b56569 Fix button delay regression from #15867
Fix #16319
2022-08-24 08:52:31 +02:00
Jason2866 f09128dd1e
iBeacon is working for S3 too 2022-08-23 13:13:31 +02:00
Theo Arends 909f4debff
Merge pull request #16287 from barbudor/cheap-MQ-TDS-refactoring
Analog MQ TDS: refactor pow to constant
2022-08-23 09:26:56 +02:00
Stephan Hadinger a3c29375e8 Berry Zigbee integration for received messages 2022-08-22 21:32:39 +02:00
Jason2866 0f53ae845a
Real fix, S2 shows now correct mode too 2022-08-22 16:14:20 +02:00
barbudor 4d7f78e06e refactor pow to constant 2022-08-22 14:32:08 +02:00
Jason2866 729cb7a238
Merge branch 'arendst:development' into development 2022-08-22 13:12:59 +02:00
Jason2866 6d470a6429 temp fix for crash with ESP32-S2 2022-08-22 13:12:33 +02:00
Stephan Hadinger 3e751bf757 Fix Giex zigbee attribute 2022-08-22 09:47:59 +02:00
Christian Baars 7cbdd409b5 fix wrong flashmode report 2022-08-21 20:22:39 +02:00
Theo Arends a8f9e8d24c Add more flash modes 2022-08-21 14:49:09 +02:00
Theo Arends e55e9d8485 Change flashmode from digit to text 2022-08-21 14:21:17 +02:00
Theo Arends 4468adf4ac
Merge pull request #16275 from Staars/patch-1
Fix wrong flash_chip_id on ESP32, when DOUT is not used
2022-08-21 12:33:43 +02:00
Theo Arends e301734b2c Fix WifiHostByName for .local 2022-08-21 11:46:43 +02:00
Christian Baars 42399d446a
Fix wrong flash_chip_id on ESP32, when DOUT is not used
This also fixes the wrong reported flash size for flash modes: DIO, QUOUT and QIO. Now a global struct is used, which gets populated by the boot loader.
2022-08-21 11:15:47 +02:00
rogg 16c39aab9e
mDNS resolution for *.local fixes #16269
"Add user control over DNS timeout reducing blocking"  c988ba1645 created DnsClient so that a timeout can be used to prevent blocking on ESP32, but it can't do one-shot mDNS queries. Use WiFi.hostByName () for those.
2022-08-20 23:17:05 -07:00
Theo Arends 204289e1ab Fix TuyaSend exception 2022-08-20 13:46:31 +02:00
Theo Arends 9a66687085 Add error message when invalid JSON is provided
Add error message when invalid JSON is provided (#13515)
2022-08-20 11:05:29 +02:00
Stephan Hadinger e9e564c424 all attributes present 2022-08-19 23:52:35 +02:00
Stephan Hadinger f690763c07 many more attributes 2022-08-19 23:42:11 +02:00
Stephan Hadinger 9d7cbcae62 Zigbee improve plugin format 2022-08-19 23:16:21 +02:00
s-hadinger 156adad97c
Merge pull request #16266 from s-hadinger/zigbee_unhide_attributes
Zigbee unhide unknown attributes
2022-08-19 17:59:25 +02:00
Stephan Hadinger 7625167bf5 Zigbee unhide unknown attributes 2022-08-19 17:44:25 +02:00
Theo Arends dc217655a0 Force delete of retained messages
Force delete of retained messages
2022-08-19 16:43:20 +02:00
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