Commit Graph

340 Commits

Author SHA1 Message Date
Stephan Hadinger 65672b62ae Berry add access to `restart_flag` 2022-10-14 17:14:35 +02:00
Theo Arends 2456280139
Merge pull request #16810 from barbudor/fix_script_topic
get correct topic var
2022-10-14 15:02:51 +02:00
Theo Arends 2dec4ac057 Add clock change execution to webcam 2022-10-14 13:54:37 +02:00
barbudor a0de32e67d get correct topic var 2022-10-13 21:27:06 +02:00
Theo Arends 2ad018816b Add command ``WcClock 10..200``
Add command ``WcClock 10..200`` set webcam clock in MHz. Default is 20
2022-10-13 17:58:16 +02:00
Theo Arends 3dd32a1ebd Update xdrv_10_rules.ino 2022-10-13 17:13:19 +02:00
Theo Arends 799dea913a
Merge pull request #16807 from cybermaus/Make-%timerN%-solar-aware
Fix %timerN% rule variables for SunRise/Sunset timers
2022-10-13 17:06:43 +02:00
cybermaus deaba8471d
Update xdrv_10_rules.ino
Enhance %timerN% rule variables to also work for timers with SunRise/SunSet configuration
2022-10-13 14:59:51 +02:00
Jason2866 7e12fbbb6d
abort webcam if no pin config
avoids crashing if no valid config is provided
2022-10-13 11:54:27 +02:00
Theo Arends 5cfbbd4302 Add command ``Sunrise 0..3`` to select sunrise dawn angle
- Bump version to v12.1.1.5
- Add command ``Sunrise 0..3`` to select sunrise dawn angle between Normal, Civil, Nautical or Astronomical (#16795)
2022-10-12 11:02:54 +02:00
Theo Arends 0085e02a5b Fix possible buffer overflows with exception 2022-10-11 11:12:54 +02:00
Stephan Hadinger 8432ab1aec Zigbee plugin optimize memory 2022-10-09 21:52:56 +02:00
sfromis 409c9888dd
Epoch in Berry map for time
Uses mktime to calculate the epoch value from the broken-down time structure, could potentially be tuned if deemed too inefficient in case of the caller already having the epoch value nearby.
2022-10-09 16:09:29 +02:00
Stephan Hadinger e0a2a0928d Zigbee plugin allow matches to 'starts wth' 2022-10-09 14:59:15 +02:00
Jason2866 3b597a9a50
Merge pull request #16761 from Staars/MI32
Mi32 legacy: remove some legacy code
2022-10-08 23:24:45 +02:00
Stephan Hadinger 6cc52e0128 LVGL Fix BMP format for `lv.screenshot()` 2022-10-08 09:44:32 +02:00
Christian Baars 08ae94ff5b cleanups and handle unknown sensors 2022-10-07 16:10:19 +02:00
Theo Arends bc8cc520a2 Add energy driver info during init 2022-10-06 23:27:43 +02:00
Theo Arends 18d37ea584
Merge pull request #16713 from gemu2015/par_udisplay
universal display driver Parallel display support
2022-10-06 16:58:37 +02:00
Theo Arends 6bd7be44ef Add relevant program core information 2022-10-04 17:56:51 +02:00
Theo Arends 5a314f72e3 Add relevant program core information 2022-10-04 17:52:15 +02:00
Stephan Hadinger 3c729c772e Zigbee load from FS before EEPROM 2022-10-04 16:02:44 +02:00
Stephan Hadinger f0cf998ca4 Zigbee urgent fix for zbv4 2022-10-04 14:57:07 +02:00
Stephan Hadinger e41ac7c242 Zigbee Alexa/Hue emulation, support multiple switches on separate endpoints 2022-10-04 12:49:10 +02:00
gemu2015 43c6cf6e26 udisplay parallel support 2022-10-03 12:24:27 +02:00
Barbudor db5bef61c6 fix javascript scrumbled by quote char 2022-10-02 21:49:52 +00:00
Stephan Hadinger 58c0ca4076 fix compilation 2022-10-02 21:13:32 +02:00
Stephan Hadinger b4aca5a3f3 Zigbee friendly names per endpoint 2022-10-02 20:54:49 +02:00
Theo Arends fcfbde8ed8 Add Sonoff SPM Surge overload message
Add Sonoff SPM Surge overload message (#15695)
2022-09-28 11:44:52 +02:00
Christian Baars ff7c624413 fix compilation for TTTGO watch 2022-09-25 16:52:32 +02:00
ortegafernando a9f15ae379
Software Serial buffer to MIN_INPUT_BUFFER_SIZE
Increase software serial buffer to MIN_INPUT_BUFFER_SIZE
2022-09-24 17:11:20 +02:00
Theo Arends 0d124ee1cc
Merge pull request #16612 from ortegafernando/development
Setoption147 (MQTT) Disable publish SSerialReceived MQTT messages. If disabled, you must use event trigger rules instead.
2022-09-24 15:22:02 +02:00
Stephan Hadinger 879df8a222 Fix startup if F2 is not present 2022-09-24 11:58:58 +02:00
Stephan Hadinger ef5138d36d Zigbee don't abort if endpoint F2 denied 2022-09-24 09:53:01 +02:00
Stephan Hadinger 22a2bc0fd7 zigbee prepare for multiple Alexa devices per zigbee device 2022-09-22 22:33:04 +02:00
Stephan Hadinger 68b11e0168 Zigbee move synonyms to a specific method 2022-09-22 21:56:48 +02:00
Stephan Hadinger cc25c1abfe Zigbee allow spaces in names 2022-09-22 13:24:07 +02:00
Stephan Hadinger c83abd12c8 Zigbee Tuya wildcard support 2022-09-21 22:33:53 +02:00
ortegafernando af2a2076e3
SetOption147
Setoption147 (MQTT) Disable publish SSerialReceived MQTT messages. If disabled, you must use event trigger rules instead.

If it is activated, tasmota will not publish a MQTT message every time a SSerialReceived event fires. Use rules to control "what, how and when" publish these messages.
2022-09-21 21:44:17 +02:00
ortegafernando 8455a3fd3c
Add SetOption147
Add SetOption147  (MQTT) Enable publish SSerialReceived MQTT messages. If disabled, use event rules instead.
If it is disabled, tasmota will not publish an MQTT message every time a SSerialReceived event fires. Use rules to control how and when publish these messages.
2022-09-20 23:38:59 +02:00
Stephan Hadinger 44e03f014a Tests are actually not needed thanks to guarding statement 2022-09-20 14:45:59 +02:00
Stephan Hadinger 28920fdeb7 Fix bug in Z_attribute::equalsCmd 2022-09-20 14:43:36 +02:00
Stephan Hadinger dff9274cb6 Zigbee basic support for Green Power 2022-09-19 22:28:38 +02:00
Stephan Hadinger eb65038b6c Zigbee report unprocessed attributes 2022-09-19 22:03:46 +02:00
Stephan Hadinger e94baa84cf Fix zigbee attribute writes and configuration 2022-09-18 19:23:59 +02:00
Jason2866 452c6fabb0
Tasmota Core 2.0.5
* Flash real size is now in core
* Flash chip magic size now in Tasmota `ESP_getFlashChipMagicSize`
* Tasmota Core 2.0.5
2022-09-17 15:53:58 +02:00
Stephan Hadinger ead891ef0e Zigbee support for decimal Voltage/Current/Power on power metering plugs 2022-09-16 22:55:07 +02:00
gemu2015 52c21ff5d6 nested loops etc 2022-09-16 12:31:30 +02:00
Theo Arends 903d3174b2 Fix ADE7953 apparent and reactive power calibration 2022-09-15 11:22:09 +02:00
Stephan Hadinger 0e00d082ec Zigbee update ZCL 2022-09-14 19:34:47 +02:00
Theo Arends 0d10aeab16 Fix MP3 compile error (#16516) 2022-09-14 15:42:48 +02:00
ZoneMR b1ee94c248
Update xdrv_16_tuyamcu.ino
Support longer-form TUYA_MCU_FUNC_POWER_COMBINED payloads used by some devices, including "2P 63A TUYA APP WiFi Smart Circuit Earth Leakage Over Under Voltage Protector Relay Device Switch Breaker Energy Power kWh Meter".
2022-09-13 13:17:39 +01:00
Theo Arends 5b7371d98f
Merge pull request #16492 from Staars/MI32
MI32 legacy: refactor MI32 functions to CTYPE_DECLARATION
2022-09-11 07:34:02 +02:00
Christian Baars 9ec5009c6d refactor MI32 functions to CTYPE_DECLARATION 2022-09-10 21:10:39 +02:00
Stephan Hadinger 7fee430e9f Berry has persistent MQTT subscriptions: auto-subscribe at (re)connection 2022-09-10 19:08:26 +02:00
Theo Arends 71ddc7e0a7
Merge pull request #16487 from Staars/MI32
MI32 legacy driver: refactor MI32 and BLE in Berry to module
2022-09-10 17:14:28 +02:00
Christian Baars d57a1cadc9 refactor MI32 and BLE in Berry to module 2022-09-10 16:38:12 +02:00
Theo Arends be544b4a96
Merge pull request #16483 from Jason2866/s3_webcam
Fix ESP32-S3 webcam bootloop
2022-09-10 14:24:19 +02:00
Jason2866 8ff3438979
add more cams via `.h` file (#310) 2022-09-10 12:54:28 +02:00
Stephan Hadinger 13027cc623 Move out of mapping to increase performance 2022-09-10 12:05:48 +02:00
Stephan Hadinger 5c4aab6dc1 Berry improve operator detection in rules 2022-09-10 11:26:47 +02:00
Stephan Hadinger edb0a8af9c Zigbee grey buttons when not started 2022-09-09 23:51:52 +02:00
Theo Arends f347a5b19c Fix driver config store 2022-09-09 15:06:04 +02:00
Theo Arends d2058c5d5c
Merge pull request #16470 from gemu2015/scripter_update
google chart fix
2022-09-09 09:06:35 +02:00
gemu2015 8034b19b2e WSContentSend_P fix 2022-09-09 08:14:42 +02:00
Stephan Hadinger 97ad6c5c10 fix compilation 2022-09-08 22:22:31 +02:00
Stephan Hadinger 48968b4bc0 Fix fade pwmct #16454 2022-09-08 22:04:08 +02:00
Theo Arends 23176e9cc1 More comments 2022-09-08 17:51:54 +02:00
Theo Arends 48fe515b9e Add DspLine9 2022-09-08 17:43:47 +02:00
Theo Arends 04160106c2 Add commands DspLine and DspSpeed
Add commands DspLine and DspSpeed (#15856)
2022-09-08 16:02:49 +02:00
s-hadinger c984e501d7
Merge pull request #16421 from s-hadinger/zigbee_gp_ui
ZIgbee add GP UI indicator
2022-09-02 22:48:40 +02:00
Stephan Hadinger c73d783554 ZIgbee add GP UI indicator 2022-09-02 22:36:11 +02:00
Stephan Hadinger d3fbc98601 ZIgbee extend ZNP timeout 2022-09-02 22:27:46 +02:00
Theo Arends a43eaef01b Add influxdb support to zigbee (#16417) 2022-09-02 15:26:44 +02:00
Stephan Hadinger 7fb00daa52 Zigbee prepare for Green Power support 2022-09-01 08:14:37 +02:00
Stephan Hadinger d0f5c80ae1 Zigbee fix regression when reporting a command 2022-08-31 21:04:35 +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
Stephan Hadinger cb4a5ed736 Berry extend max bytes size to 512Kb when PSRAM is available 2022-08-30 18:11:04 +02:00
Theo Arends 3a1bbda4a5 refactor tm1621 2022-08-28 18:22:06 +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
Theo Arends acfebb0ab4 Increase max temperature
Increase max temperature from 100 to 200C (#16363)
2022-08-28 15:00:41 +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 91875f20a5 Add balanced energy values
Add balanced energy values (#16346)
2022-08-26 14:35:52 +02:00
Stephan Hadinger 6fbaa8505c Zigbee change offset: to add: 2022-08-26 08:33:27 +02:00
Stephan Hadinger 42d26fecb2 Zigbee extend div and offset for plugin 2022-08-25 21:29:19 +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
Stephan Hadinger a3c29375e8 Berry Zigbee integration for received messages 2022-08-22 21:32:39 +02:00
Theo Arends 204289e1ab Fix TuyaSend exception 2022-08-20 13:46:31 +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
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
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
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
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
blakadder 2716d739f2 Add PM 2.5 sensor to TuyaMCU driver 2022-08-15 00:58:45 +02: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 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