Commit Graph

438 Commits

Author SHA1 Message Date
joba-1 4844209a3b rgx add port forward with ip and "dry" refactoring 2022-11-19 12:47:53 +01:00
Theo Arends 5662a3965c
Merge pull request #17113 from joba-1/rgx-port-forward-for-esp8266-too
Rgx port forward for esp8266 too
2022-11-19 10:06:36 +01:00
Anton 52faed8c08
Bugfix: RfSend command to support bits>32 for decimal command format 2022-11-19 01:40:24 -05:00
Theo Arends 783631903d Add user control over Serial Bridge buffers
- Add optional define ``SERIAL_BRIDGE_BUFFER_SIZE`` to set Serial Bridge internal buffer size (Default ESP8266 = 256, ESP32 = 800)
- Add command ``SSerialBuffer 256..SERIAL_BRIDGE_BUFFER_SIZE`` to change serial bridge rx buffer size (#17120)
2022-11-18 16:21:54 +01:00
Theo Arends 0674f9b0b6 Add command ``SSerialBuffer 64..256``
Add command ``SSerialBuffer 64..256`` to change software serial bridge receive buffer size from default (64) to max local buffer size (256) (#17120)
2022-11-18 13:00:59 +01:00
Stephan Hadinger 7e9e7b8e3e Zigbee add default plugin in flash 2022-11-18 00:21:01 +01:00
Stephan Hadinger d1c71ca91b Fix Zigbee auto-responder frame direction 2022-11-18 00:04:54 +01:00
Stephan Hadinger c607a67024 Include Wemo SSDP presentationURL in Unishox 2022-11-17 20:26:00 +01:00
Theo Arends 619c5431d7 Add Wemo SSDP presentationURL
Add Wemo SSDP presentationURL for easy access using Windows Networks Other Device device double click (#17084)
As implemented only works when USE_UNISHOX_COMPRESSION is disabled.
2022-11-17 17:54:42 +01:00
Theo Arends 16b796ccd5 Fix emulation regression from ArtNet implementation 2022-11-17 17:30:44 +01:00
joba-1 ffac19855b
Merge branch 'arendst:development' into rgx-port-forward-for-esp8266-too 2022-11-17 16:53:35 +01:00
Theo Arends d1c7ee882b Reset energy today at midnight (#16791) 2022-11-17 14:58:16 +01:00
joba-1 2df095d57a
Merge branch 'arendst:development' into rgx-port-forward-for-esp8266-too 2022-11-17 12:40:10 +01:00
Theo Arends acca26f9cd
Merge pull request #17108 from curzon01/patch1
Fix linker error using #undef USE_WS2812 for ESP32
2022-11-17 12:06:36 +01:00
Theo Arends 91953e2658
Merge pull request #17103 from joba-1/rgx-preserve-ap-connections-on-sta-reconnect
preserve AP connections if STA side reconnects
2022-11-17 11:50:26 +01:00
Norbert Richter be7581b377
Fix linker error using undef USE_WS2812 for ESP32 2022-11-17 11:13:40 +01:00
joba-1 b1ebda8524 Range extender port forwarding also for ESP8266 2022-11-16 23:51:54 +01:00
Stephan Hadinger 7344fd54dc Fix ArtNet crash 2022-11-16 21:24:57 +01:00
joba-1 552c44425b
Merge branch 'arendst:development' into rgx-preserve-ap-connections-on-sta-reconnect 2022-11-16 19:41:59 +01:00
joba-1 4eb0bf80dc preserve AP connections if STA side reconnects 2022-11-16 17:28:03 +01:00
Theo Arends f044ccdeec Remove commands ArtNetStop and ArtNetStart 2022-11-16 16:26:12 +01:00
Theo Arends a0e7191d4e Add command ArtNet
- Fix ArtNetStop
2022-11-16 16:15:31 +01:00
Theo Arends 56a71c3ca9
Merge pull request #17092 from joba-1/rgx-portmap
add command RgxPort to setup port forwarding
2022-11-16 14:17:55 +01:00
s-hadinger 0f5a7e4a77
Merge pull request #17096 from s-hadinger/zigbee_doc
Zigbee doc
2022-11-16 14:03:21 +01:00
Stephan Hadinger 56e06b7fc5 Fix command name bug 2022-11-16 13:45:59 +01:00
Stephan Hadinger a26e634408 Doc is off by default 2022-11-16 13:44:06 +01:00
Stephan Hadinger 0b18c60ba2 Zigbee ZbProbe for unknown devices and doc helper 2022-11-16 13:43:36 +01:00
Theo Arends b92d5ab12c Fix ArtNet compilation on ESP32 2022-11-16 10:47:55 +01:00
joba-1 8af22a1904 remove unneeded return 2022-11-15 20:12:07 +01:00
joba-1 e468cf53ee add command RgxPort to setup port forwarding 2022-11-15 18:53:38 +01:00
Theo Arends 79c1bd2ae8
Merge branch 'development' into zigbee_aqara_plug 2022-11-15 09:27:40 +01:00
joba-1 4f343fd7b7 add RgxClients for ESP8266 2022-11-14 23:56:38 +01:00
Stephan Hadinger d2d384dc72 Zigbee improved Aqara plug support and completed cluster 0x0702 2022-11-14 22:46:08 +01:00
Theo Arends 5b1aff5141 Add RTC logging to energy 2022-11-14 17:11:38 +01:00
Theo Arends c63aad49c1
Merge pull request #17048 from joba-1/range-extender-clients-list
Range extender clients list
2022-11-14 13:55:30 +01:00
joba-1 aad82c027f change rgx client mac format in list as requested 2022-11-14 13:02:04 +01:00
joba-1 f48e86f0c7 ap sta list header esp_wifi.h is ESP32 only 2022-11-14 02:25:24 +01:00
joba-1 cc6f8840f9 add rssi for each entry of RgxClients list 2022-11-14 01:47:00 +01:00
joba-1 912574f8d7 unconditional RgxClients, ip dict with mac as key 2022-11-14 01:18:32 +01:00
Stephan Hadinger 2549203c13 Added WS2812 and Light ArtNet DMX control over UDP port 6454 2022-11-13 18:22:39 +01:00
Theo Arends b2239b4dce Disable TUYA_MORE_DEBUG 2022-11-13 15:15:10 +01:00
Theo Arends 13c27194ec TuyaMcu rewrite by btsimonh (#17051) 2022-11-13 12:55:18 +01:00
joba-1 172ea9a80d add RgxClients command for range extenders 2022-11-12 23:15:57 +01:00
Theo Arends 4e5193fdad Remove SkipSleep() in favour of FUNC_SLEEP_LOOP 2022-11-12 15:57:46 +01:00
Theo Arends b0dbe32f22 Fix serial bridge tee not wanted resolve 2022-11-12 15:03:42 +01:00
Theo Arends 50b0a983b2 Add uart info 2022-11-11 16:10:39 +01:00
Theo Arends 9b64c4eb4c Refactor some logging 2022-11-11 14:34:58 +01:00
Theo Arends 9ef0f2aa09 Consolidate AddLogBuffer 2022-11-11 11:47:11 +01:00
Stephan Hadinger 3731894486 Added ``FUNC_NETWORK_UP`` and ``FUNC_NETWORK_DOWN`` events 2022-11-11 11:15:05 +01:00
Theo Arends c1ea8953cb Refactor uint8_t to uint32_t 2022-11-11 10:44:56 +01:00
Theo Arends 6f00b455e7 Add serial receive poll during sleep
Add serial receive poll during sleep for tuya and serial bridge
2022-11-11 09:57:00 +01:00
Theo Arends 986a9d10ae Refactor serial raw data representation 2022-11-10 16:02:00 +01:00
barbudor 41c4af7dfe change mqtt DINGTIAN_CHG to STAT 2022-11-09 22:01:01 +01:00
Barbudor 83a07895f9 take care of Relay1 is not 1st power 2022-11-07 23:27:16 +01:00
Barbudor b03476ff6f Merge branch 'development' into dingtian_driver 2022-11-07 22:33:35 +01:00
Theo Arends 1c47744eeb Clean up 2022-11-07 11:56:27 +01:00
Reimer Prochnow 479b8f4015 fix for #13955
Signed-off-by: Reimer Prochnow <reimer-github@ideenhal.de>
2022-11-06 18:38:40 +01:00
Norbert Richter 050f2e7e61
Fix ModbusBridge buffer overflow (#16979) 2022-11-06 12:32:30 +01:00
Norbert Richter f76bed338b
Localize ModbusBridge global func/var names 2022-11-06 12:32:30 +01:00
Norbert Richter 31516f2d34
Add ModbusBridge malloc error notes 2022-11-06 12:32:30 +01:00
s-hadinger d0cd3d3778
Merge pull request #16990 from s-hadinger/artnet_optimization
ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses
2022-11-03 22:18:18 +01:00
Stephan Hadinger e7ac249f8f Berry reduce detailed GC logs 2022-11-03 22:01:24 +01:00
Stephan Hadinger a5e7917704 ESP32 DMX ArtNet optimization to avoid any object allocation and avoid garbage collector pauses 2022-11-03 21:54:21 +01:00
Stephan Hadinger b2e9001ca2 Support for DMX ArtNet Led matrix animations 2022-11-02 22:37:53 +01:00
Theo Arends da65c8798b Shelly Pro better light show 2022-11-01 17:19:42 +01:00
Theo Arends e9d99a088b Fix hardware watchdog at power on 2022-10-31 15:02:29 +01:00
Theo Arends 9db8a23401 Fix Shelly Pro detection when using buttons (#16733) 2022-10-31 14:01:15 +01:00
Christian Baars 87b403f10d
support RISCV ULP for ESP32S2 and ESP32S3 2022-10-30 18:40:32 +01:00
Theo Arends 7167eb2f46 Changed ADE7953 monitoring
Changed ADE7953 monitoring from instant power to accumulated energy (#16941)
2022-10-30 12:20:56 +01:00
Theo Arends 41b65fd6b7 Add support for two phase power calibration
Add support for two phase power calibration using commands ``PowerSet2``, ``VoltageSet2`` and ``CurrentSet2``
2022-10-30 11:15:17 +01:00
barbudor f861e8330a dingtian driver take 1 2022-10-29 21:38:22 +02:00
Christian Baars 1378d57377 allow webcam to reuse and share I2C bus 2 2022-10-29 20:13:00 +02:00
Theo Arends 314dbf5e6b Add support for second energy channel calibration 2022-10-29 19:08:06 +02:00
Theo Arends 644761e22b
Merge pull request #16938 from eeak/dali
DALI support for Tasmota
2022-10-29 15:29:25 +02:00
Theo Arends 2c114d3243
Merge pull request #16914 from cybermaus/Deduplicate-and-fix-%timerN%
Deduplicate and fix %timer n%
2022-10-29 14:21:41 +02:00
eeak 6c0e38e38d Data struct rebuilded. Thanks barbudor for help 2022-10-29 12:50:41 +03:00
eeak 404db7965e Timer number is now declared in my_user_config.h 2022-10-28 21:57:40 +03:00
eeak 76c5be7634 Packed global variables into a struct 2022-10-28 20:16:45 +03:00
eeak c1c0b25c17 Clean up some comments and little refactor 2022-10-28 19:47:55 +03:00
eeak 1bf69fd310 dali 2022-10-28 17:08:02 +03:00
Theo Arends 90a9ebc3e1 Fix Shelly Pro ethernet stability 2022-10-27 17:52:44 +02:00
Theo Arends c5f7195d77 Add support for Shelly Pro 1/1PM and 2/2PM (#16773) 2022-10-26 17:16:36 +02:00
Theo Arends 0d45590ac4 Fix Shelly Pro led functionality 2022-10-26 12:45:06 +02:00
cybermaus a47f6baf2f
Deduplicate xdrv_09_timers.ino also
Turns out even TimerGetTimeOfDay was duplicate code from ApplyTimerOffsets
Did add a fix for the permanent day/night situation
2022-10-25 22:39:30 +02:00
cybermaus 0eebdf8620
Deduplicate code from xdrv_10_rules.ino
Turns out this code was already done in xdrv_09_timers.ino
2022-10-25 22:34:08 +02:00
Stephan Hadinger 2bf7ea1154 Prepare for DMX Artnet support on ESP32 2022-10-24 23:05:23 +02:00
Theo Arends d173b93758 Fix shelly pro button double press 2022-10-24 12:21:25 +02:00
Theo Arends b4269d262c Add support for Shelly Pro 1/2
Add support for Shelly Pro 1/2 (#16773)
2022-10-24 11:32:10 +02:00
Theo Arends 100e95f2cf Update xdrv_02_9_mqtt.ino 2022-10-19 10:44:08 +02:00
Theo Arends df24aef75c
Merge pull request #16833 from md5sum-as/development
Adding support multiple GPIO for DS18x20 sensors. Aliases of DS18x20 optimization.
2022-10-18 15:40:32 +02:00
Stephan Hadinger f87324f874 LVGL fix get text 2022-10-18 09:55:08 +02:00
Theo Arends f998a457db Disable SspmPowerOnState for v1.0.0 main 2022-10-17 15:41:46 +02:00
Theo Arends 411a7f0788 Update xdrv_86_esp32_sonoff_spm.ino 2022-10-16 15:03:05 +02:00
Theo Arends 480fae6804 Add command ``SspmPowerOnState<relay> 0|1|2``
Add command ``SspmPowerOnState<relay> 0|1|2`` to set Sonoff SPM 4Relay module v1.2.0 power on state overruling tasmota  global power on state. 0 = Off, 1 = On, 2 = Saved state (#13447)
2022-10-16 12:57:17 +02:00
Stephan Hadinger 5e03066883 Resize FS to max at initial boot 2022-10-16 11:49:30 +02:00
md5sum-as eccccdad37
Merge branch 'arendst:development' into development 2022-10-15 00:00:23 +03:00
md5sum-as 1cdbb980f1 Add support DS18x20_MULTI_GPIOs for esp8266 2022-10-14 23:58:53 +03:00
Stephan Hadinger 6783a90ccc Add bootcount 2022-10-14 17:31:15 +02:00
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