Commit Graph

474 Commits

Author SHA1 Message Date
s-hadinger ef4138bdaa
Support for IPv6 only networks on Ethernet (not yet Wifi) (#17527) 2022-12-27 21:59:34 +01:00
Theo Arends 3555d88bee Bump version v12.3.1.2
- Fix shutter default motorstop set to 0 (#17403)
2022-12-21 15:20:33 +01:00
gemu 1cdd5c3f08
Udisplay support for rgb displays (#17414)
* add gt911

* add rgb display mode

* add gt911

* add gt911

* add gt911

* add sunton descriptor

* fix divide by zero crash with sunton
2022-12-18 14:06:04 +01:00
s-hadinger 5048777e06
Fix IPV6 compilation on ESP8266 (#17429) 2022-12-17 22:41:21 +01:00
s-hadinger 9abe7b1af9
Support for IPv6 DNS records (AAAA) and IPv6 ``Ping`` for ESP32 and ESP8266 (#17417) 2022-12-17 10:08:35 +01:00
Mathias fc8039d960
Adding support for ME007-ULS narrow FoV ultrasonic distance sensor (#17376)
* Squashed commit of the following:

commit 1441459a47cff0a43aa61ce47510585ee03649f3
Merge: a9fcbd342 7e27945e5
Author: Mathias Buder <mathias_buder@bose.com>
Date:   Tue Dec 13 09:00:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit a9fcbd3428445eb914816f608e064568d16b41e9
Merge: 7bb1049f5 d83119897
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 12 10:33:06 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 7bb1049f51da8d064462b9499ed479a7675b368e
Merge: 83a5afa7a eee86f01a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 9 09:30:29 2022 +0100

    Merge remote-tracking branch 'github/development' into me007-narrow-fov-ultrasonic-sensor

commit 83a5afa7ad27fcde1e67008e41a9bfd9c680cccd
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 14:47:13 2022 +0100

    [ME007] Added driver version number to MQTT message, small delay between consecutive measurement

commit 9b8667843154f02a23020e655d806ed76ae2e530
Merge: 39180f345 de408921e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 8 10:12:45 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 39180f3451fce5f06504195faea0124d73dac1ee
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Dec 7 16:41:26 2022 +0100

    [ME007] Added median filter

commit 01b68e0e6ca147ac03b63b8c71d035563e3bf13b
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 23:08:57 2022 +0100

    [ME007] Simplified state maschine within me007_measure()

commit 1c74c6ed3e4097f09792a48420b2016c92e10353
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 22:21:16 2022 +0100

    [ME007] Fixed issues from previous pull-request

commit 25b667120fd8d70fcfed36de44f1b7a17d0686be
Merge: 01e0b1809 e7d40b8d1
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Dec 5 10:46:25 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

    # Conflicts:
    #	tasmota/include/tasmota_template.h

commit 01e0b18096bfffc67673e25152114694caaf110a
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Dec 4 20:53:39 2022 +0100

    [ME007] Minor changes

commit ec00c9b85d223b78586c464bb92d1c7894357a40
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Fri Dec 2 13:08:06 2022 +0100

    [ME007] Added some measurement error statistics

commit c5cf65f82c42195752a88fd1553c74ab68c39cb2
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 22:38:07 2022 +0100

    [ME007] Fixed MQTT message

commit ae07d8dd77db47e20578f655ec057a63b30e65ce
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 21:56:20 2022 +0100

    [ME007] Minor code refactoring

commit d2b43ca70c716e1b637b9efd3b536506233e5365
Merge: 292f5f6c8 816fd78fb
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:48:38 2022 +0100

    Merge branch 'development' into me007-narrow-fov-ultrasonic-sensor

commit 292f5f6c81f1659eb225271cdd025eb77da02c6f
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 16:47:03 2022 +0100

    [ME007] Added logic to detect sensor at boot and during runtime

commit f17af404fee76bf63b30ed3c9d2175c4e01c03ca
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:32:19 2022 +0100

    [ME007] Added missing define into language files

commit 7a271abeca36139a43ef96bd461d46ba0c662901
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 12:19:23 2022 +0100

    [ME007] Improved snesor measuremnt function

commit fe42ebd1124e2246e4d7afd63c905c251e084b27
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Thu Dec 1 00:43:13 2022 +0100

    [ME007] Updated state maschine to trigger and receive sensor measurements

commit d137e6dec5104b4716428849d99c68bbf407ab42
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Wed Nov 30 20:35:31 2022 +0100

    [ME007] Added initial state maschine to trigger and receive sensor measurements

commit fc3da7b36849df162d9d5496a763ab2beb096aff
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Tue Nov 29 21:28:28 2022 +0100

    [ME007] Updated pin name

commit e9fa9fb771cf15dcd9ed8b63b9194154543ef10e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 22:02:34 2022 +0100

    [ME007] Fixed issue that sensor GPIOs not shown in drop-down list

commit a13e42660183eb4ab91007ca0ea6bf1544687556
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:06:34 2022 +0100

    [ME007] Added sensor into supported feature list

commit dec17b59ce2905124386f8c90d81656bf104c844
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 15:01:58 2022 +0100

    [ME007] Removed log message in Xsns23()

commit 11f479d2ec9d3f4e7552c2f78cdc83914c5b8b94
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Mon Nov 28 10:47:55 2022 +0100

    [ME007] Added GPIOs to tasmota_template_legacy.h and berry

commit 23aec8e5ff4e9fb8ef7d3b01a707641accc1e01e
Author: Mathias Buder <mathias.buder@gmail.com>
Date:   Sun Nov 27 20:10:53 2022 +0100

    [ME007] Initial ME007 driver API setup

* [ME007] Reverted change in .gitignore and platform.ini

* [ME007] Removed dependency to stdlib.h

* [ME007] Adjusted unit to cm

* [ME007] Reverted change in tasmota_template_legacy.h

* [ME007] Changed sensor message tag to three characters

* [ME007] Disabled sensor in my_user_config.h

* [ME007] Added driver code size into commente

Co-authored-by: Mathias Buder <mathias_buder@bose.com>
2022-12-14 11:52:26 +01:00
s-hadinger f429d41a32
Fix IPv6 compilation for ESP8266 (#17374) 2022-12-13 09:31:43 +01:00
Stephan Hadinger bde58105d0 More universal way to force IPv4 2022-12-11 16:31:14 +01:00
Stephan Hadinger 1bdb542e50 Fix IPv4 DNS resolution when IPv6 is enabled 2022-12-11 16:24:14 +01:00
Theo Arends 4f70f4d33e
Merge pull request #17342 from stefanbode/shutterdev
Code optimizatons
2022-12-11 10:49:04 +01:00
stefanbode c20d789fde
Update support.ino 2022-12-10 23:54:09 +01:00
Stephan Hadinger 4a32623a51 IPv6 improvements 2022-12-10 13:44:16 +01:00
Stephan Hadinger 2f1b2ec5fd IPv6 support for Ethernet (ESP32) 2022-12-08 19:06:51 +01:00
s-hadinger 2a1b900775
IPv6 improvements (#17268)
* IPv6 improvements

* Fix esp8266 compilation

* grrr

* Fix compilation issue

* Fix declaration

* Fix esp32c3
2022-12-04 16:57:34 +01:00
Theo Arends e1221b924d Changed removed leading spaces on commands ``(S)SerialSend1 to 6``
Removed leading spaces on commands ``(S)SerialSend1 to 6`` but keep on duplicate commands ``(S)SerialSend11 to 16`` (#16723)
2022-12-04 15:09:39 +01:00
Stephan Hadinger d3be3dfe8f IPv6 preview for ESP32, also working for ESP8266 2022-11-30 19:40:58 +01:00
Theo Arends 53563d44d8 Add support for HLK-LD2410 24GHz smart wave motion sensor
Add support for HLK-LD2410 24GHz smart wave motion sensor
2022-11-26 17:49:25 +01:00
Stephan Hadinger 87de264146 Improve mdns logging 2022-11-23 21:41:35 +01:00
Theo Arends 06b6e31cad
Merge pull request #17147 from joba-1/rgx-fix-wifimanager-handling
don't touch AP_STA mode only if Rgx is up
2022-11-21 10:33:19 +01:00
joba-1 4b52be6a5e don't touch AP_STA mode only if Rgx is up 2022-11-20 16:28:59 +01:00
Theo Arends 4f31e7a1b2 Add command ``SetOption35 0..255``
Add command ``SetOption35 0..255`` to skip number of received messages in Serial Bridge (default 0) (#17140)
2022-11-20 12:52:24 +01:00
Theo Arends 69f903618d Fix intermittent wifi AP starts 2022-11-18 14:31:49 +01:00
Theo Arends 16b796ccd5 Fix emulation regression from ArtNet implementation 2022-11-17 17:30:44 +01:00
Theo Arends 34ededb9d8 Add comment for future use 2022-11-17 12:01:09 +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
Theo Arends a924e41ff3 Bump version v12.2.0.5
- Fixed ModbusBridge baudrates over 76500 baud (#17106)
- Bump version v12.2.0.5
2022-11-17 11:44:51 +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 5f3d504c30 Add support for HMC5883L
Add support for HMC5883L 3-Axis Digital Compass sensor by Andreas Achtzehn (#17069)
2022-11-15 11:11:32 +01:00
Theo Arends e88d1682e9 Add command ``SwitchMode 16``
Add command ``SwitchMode 16`` sending only MQTT message on inverted switch change (#17028)
2022-11-15 10:10:29 +01:00
Theo Arends 13c27194ec TuyaMcu rewrite by btsimonh (#17051) 2022-11-13 12:55:18 +01:00
Theo Arends 4e5193fdad Remove SkipSleep() in favour of FUNC_SLEEP_LOOP 2022-11-12 15:57:46 +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 0628d2f1a5 Use `XdrvXsnsCall` 2022-11-11 11:34:32 +01:00
Stephan Hadinger 3731894486 Added ``FUNC_NETWORK_UP`` and ``FUNC_NETWORK_DOWN`` events 2022-11-11 11:15:05 +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 b7f6a7b00a Clean up logging functions 2022-11-11 09:30:31 +01:00
Theo Arends 986a9d10ae Refactor serial raw data representation 2022-11-10 16:02:00 +01:00
Theo Arends e83882b655 Update changelogs 2022-11-10 13:54:05 +01:00
Theo Arends e8f24fdb6c Update ESP8285 processor detection 2022-11-07 15:02:03 +01:00
Theo Arends 7698178b90 Update ESP8285 device detection 2022-11-07 15:00:47 +01:00
Theo Arends 4ebd7a9cd3 Update ESP32 processor detection 2022-11-07 12:46:24 +01:00
Theo Arends a469b35f02 Bump version to v12.2.0.3 2022-11-07 11:06:17 +01:00
Theo Arends 8f920220db Fis default sserialconfig on new installs 2022-11-06 17:41:53 +01:00
Theo Arends 1caffb353c Add more SO47 info 2022-11-03 17:50:47 +01:00
Theo Arends 4e9cfc7629 Add command ``SetOption47 1..255``
Add command ``SetOption47 1..255`` to delay power on relay state in seconds reducing power surge
2022-11-03 17:26:54 +01:00
Theo Arends 0632377192 Fix serial initialization
Fix serial initialization for baudrate and config (#16970)
2022-11-02 11:24:24 +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
Theo Arends cef18060a0 Bump version to v12.2.0.2
Prepare for extended calibration and move some persistent data (PowerLow)
2022-10-26 17:59:43 +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 a9ba035474 refactor NTP fraction 2022-10-17 17:59:18 +02:00
Leon Poon 18fdc4a176 support nanos in rtc for sync from ntp
so that all tm1637 6-digit clocks tick simultaneously at real second boundary.
2022-10-17 21:45:29 +08:00
Theo Arends 169e65a922 Add ESP32 non-persistent phy selection 2022-10-15 14:33:21 +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 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 61113e6918 Fix serial on ESP32C3/S2/S3 using USB console 2022-10-10 14:21:25 +02:00
Theo Arends 3427e1bee3 Support for Modbus Energy Monitoring devices
Support for Modbus Energy Monitoring devices using a rule file. See ``xnrg_29_modbus.ino`` for more information
2022-10-08 16:14:11 +02:00
Theo Arends da623701d7 Add support for QMC5883L magnetic induction sensor
Add support for QMC5883L magnetic induction sensor by Helge Scheunemann (#16714)
2022-10-05 15:00:03 +02:00
Theo Arends d6b045e3d4 Do not skip leading spaces on (s)serialsend
Do not skip leading spaces on (s)serialsend (#16723)
2022-10-04 18:11:36 +02:00
Theo Arends 5a314f72e3 Add relevant program core information 2022-10-04 17:52:15 +02:00
Theo Arends b54c5fcb8c Add ESP32-U4WDH single/dual core detection 2022-10-04 12:51:53 +02:00
Theo Arends ec964d1c9e Add can bus sniffer
Add can bus sniffer based on MCP2515 (#16684)
2022-09-29 14:31:40 +02:00
Theo Arends 5fe2554e6a Refactor buttons 2022-09-28 12:17:48 +02:00
Theo Arends f80c6c69bf Fix ESP32-C3 compilation 2022-09-27 16:04:34 +02:00
Theo Arends 89c1254f69 Fix ESP8266 compilation 2022-09-27 15:55:45 +02:00
Theo Arends f668ea44ed Add ESP32-S2 and ESP32-S3 touch input support 2022-09-27 15:36:35 +02:00
Theo Arends 3a4a82ba0a Fix ESP32 touch button multi-press and hold detection
Fix ESP32 touch button multi-press and hold detection (#16596)
2022-09-27 14:31:21 +02:00
Theo Arends 2f61040891 Remove unwanted space from filename 2022-09-27 11:04:59 +02:00
Theo Arends e3c77331c6 Sync button_v2 2022-09-26 10:37:43 +02:00
Miguel Cabral 1e0e6cd1c8 Publish CLEAR message on button HOLD release when SO73 is ON 2022-09-25 19:43:32 +01:00
Theo Arends 96b7f79d15
Merge pull request #16563 from Jason2866/temp_no_nan
Temperature error messages fixed in core 2.0.5
2022-09-24 15:23:09 +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
ortegafernando 83b3343a34
Add 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-22 20:57:02 +02:00
Stephan Hadinger cc25c1abfe Zigbee allow spaces in names 2022-09-22 13:24:07 +02:00
ortegafernando f17e3440ac
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:42:53 +02:00
ortegafernando a4bf3b3ff0
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-21 09:35:40 +02:00
ortegafernando 5d3ae21159
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-21 09:34:22 +02:00
ortegafernando a79ab7275c
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-21 09:25:23 +02:00
Adrian Deaconu af6706d6e2 Add ZIGBEE_TOPIC_FNAME 2022-09-19 15:19:43 +01:00
Jason2866 5da6ab8f70 Temp error messages fixed 2022-09-18 12:58:48 +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
Theo Arends 971b06ccdd Add command ``SetOption46 0..255``
Add command ``SetOption46 0..255`` to add 0..255 * 10 milliseconds power on delay before initializing I/O (#15438)
2022-09-15 17:17:16 +02:00
Theo Arends 7e21442e96 Fix support of more touch pins (#16518) 2022-09-15 12:27:49 +02:00
Theo Arends 28c343f3c8 Add HLW debug info 2022-09-11 14:58:25 +02:00
Theo Arends cc11ee822e Add I2C status on I2cSetDevice
Add I2C status on I2cSetDevice aiding on debugging bus timeouts
2022-09-09 12:53:36 +02:00
Theo Arends 04160106c2 Add commands DspLine and DspSpeed
Add commands DspLine and DspSpeed (#15856)
2022-09-08 16:02:49 +02:00
Theo Arends 86e45969bd Support for DFRobot SEN0390 V30B ambient light sensor
Add support for DFRobot SEN0390 V30B ambient light sensor (#16105)
2022-09-02 13:13:47 +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
barbudor eb96127efd allow SerialBuffer up to 2048 2022-08-28 16:49:52 +02:00
Theo Arends e06793eb8c Small refactors 2022-08-27 12:28:34 +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
Jean-Pierre Deschamps 214f4bbdfd Add support for SGP40 sensor 2022-08-25 15:51:51 -04: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 4692b56569 Fix button delay regression from #15867
Fix #16319
2022-08-24 08:52:31 +02:00
Jason2866 0f53ae845a
Real fix, S2 shows now correct mode too 2022-08-22 16:14:20 +02:00
Jason2866 6d470a6429 temp fix for crash with ESP32-S2 2022-08-22 13:12:33 +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 103808ce44 Add command ``StatusRetain``
Add command ``StatusRetain`` (#11109)
2022-08-19 14:24:55 +02:00
Jason2866 14c1c5dfd4
Review changes 2022-08-19 11:27:15 +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
Jason2866 1591ee7790 Red Flag GPIOs 12/13 for C3 2022-08-13 12:53:01 +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
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
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
Adrian Scillato 058f9ecea9
Fix WifiScan JSON Response 2022-08-03 02:39:51 -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
Stephan Hadinger 4dc6adf37f Temp fix for ledcReadFreq() 2022-08-02 23:21:12 +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
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
Theo Arends 846b217427 Bump version to v12.0.2.4
- Bump version to v12.0.2.4
- Command ``SetOption45 1..250`` to change default bistable latching relay pulse length of 40 milliseconds (#15856)
2022-07-16 14:32:18 +02:00
Theo Arends 7bc67f8d18 Reset bistable relays up to detected amount of ports 2022-07-16 12:49:33 +02:00
Theo Arends 571a2afce5 Fix bistable relay interlock
- Fix bistable relay interlock
- Reset bistable relay more consistent and faster (40ms instead of max 200ms)
2022-07-16 12:35:22 +02:00
Theo Arends 8283cee823 Fix bistable relay support 2022-07-10 12:07:58 +02:00
Theo Arends c9d289822c Fix bistable relays and SO63 2022-07-09 16:26:13 +02:00
Theo Arends cd0f9c7360 Revert "Revert "Add better support for bistable (latching) relays""
This reverts commit c6867ddd3d.
2022-07-09 15:55:27 +02:00
Theo Arends c6867ddd3d Revert "Add better support for bistable (latching) relays"
This reverts commit 6031e5df98.
2022-07-09 14:47:36 +02:00
Theo Arends 6031e5df98 Add better support for bistable (latching) relays
Add support for bistable (latching) relays mixed with monostable relays using GPIO Relay_b or Relay_bi
2022-07-09 12:27:59 +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
Stephan Hadinger 7e0f69e935 Partition Wizard use ota.tasmota.com 2022-07-02 00:13:27 +02:00
Stephan Hadinger dc6aeb94c2 Filesystem escape special chars 2022-06-27 19:30:04 +02:00
Theo Arends ee909d4372 Sync global value update with teleperiod
Sync global value update with teleperiod (#15834)
2022-06-25 17:13:53 +02:00
lugerun d6b1f1c43f Improve button debouncing
Currently, there is a good debouncing implementation for the switches.
But this does not apply anymore when configuring an input as button
for the usage at a blind. Then, the current implemntation works by
just checking the input once per debounce interval. At some devices,
this causes ghost switching. As a result, this change checks the
input twice per devounce interval and uses the old values if the two
read attempts reported different values.
2022-06-25 15:37:33 +02:00
Theo Arends 11689409fc Add global value updates every 10 seconds
Add global value updates every 10 seconds (#15834)
2022-06-23 18:13:13 +02:00
Theo Arends 14a0370507 Fix user global entries 2022-06-23 00:06:05 +02:00
Theo Arends 6444e5ff8f Fix globals 2022-06-22 23:47:58 +02:00
Theo Arends cefe015c68 Bump version to v12.0.2.2
- Add commands to better control global temperature, humidity and pressure
- Command ``GlobalTemp2 1..250`` to select Global Temperature source indexed from teleperiod occurance data (#15834)
- Command ``GlobalHum2 1..250`` to select Global Humidity source indexed from teleperiod occurance data (#15834)
- Command ``GlobalPress2 1..250`` to select Global Pressure source indexed from teleperiod occurance data (#15834)
2022-06-22 23:45:25 +02:00
Cossid 52d868e675
Merge branch 'arendst:development' into sm2335-led-driver 2022-06-21 18:58:04 -05:00
Theo Arends ffcf90bdfe Refactor sendmail 2022-06-21 16:53:58 +02:00
Cossid f76400ba03 Initial implementation of SM2335 LED driver. 2022-06-21 00:32:56 -05:00
Theo Arends 6fac233821 Fix MQTT rc -4
Fix MQTT rc -4 (#15809)
2022-06-20 14:20:35 +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
Theo Arends c988ba1645 Add user control over DNS timeout reducing blocking
Add command ``DnsTimeout 100..20000`` to change default DNS timeout from 1000 msec blocking if no DNS server found
2022-06-19 17:57:43 +02:00
Theo Arends e9708a4e5a Fix resolving NTP and/or MQTT server
- Fix resolving NTP and/or MQTT server names regression from v12.0.0 (#15816)
- Bump version to v12.0.1.1
2022-06-17 17:35:52 +02:00
Theo Arends 6a0c4b281e Add RTC time save 2022-06-16 16:15:54 +02:00
Theo Arends f10c7f06bf Fix quick restarts future time 2022-06-15 18:44:36 +02:00
Theo Arends 153068882c Fix initial file timestamp 2022-06-15 17:19:38 +02:00
Theo Arends 166e591ec9 Fix NTP sync edge cases
- Fix NTP sync edge cases like bad hostname and bad fixed IP address
- Change scanning all NTP server at sync time to cycle through them every minute until synced.
- Add no reply IP address for debugging
2022-06-14 18:34:51 +02:00
Theo Arends 076019a029 Fix ESP32 wifi on command 2022-06-13 17:28:13 +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 3a22874124 Increase wifi retry time (#14394)
- Increase wifi retry time (#14394)
- Remove 1 second system hang on wifi re-connect (retry)
- Try to limit the number of seconds unresponsiveness due to wifi reconnect
2022-06-10 14:49:35 +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 e61186ee82 increase max json path element size 2022-06-07 08:27:44 +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
Stephan Hadinger 82d4e14171 Cleaning unused variables 2022-06-03 22:57:05 +02:00
Theo Arends 9e254d851a Fix max blinkcount to 32000 2022-06-03 15:15:25 +02:00
Theo Arends 25f8674106 Fix local ca includes 2022-06-02 17:14:05 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00