Commit Graph

211 Commits

Author SHA1 Message Date
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