Commit Graph

25 Commits

Author SHA1 Message Date
Theo Arends
bb0cc4fa5b Fix TuyaMCU v1 exception 28 regression from v15.1.0.1 reverted PR24063 (#24220) 2025-12-14 15:37:36 +01:00
Theo Arends
91e501b3d6 Rename enum LT_SERIALx 2025-12-01 14:10:05 +01:00
Theo Arends
ec48925c4b Fix Tuya compilation regression (#24063) 2025-10-28 09:45:59 +01:00
Sam
890b3b645c
TuyaMCU: handle WIFI_SELECT / WIFI_RESET without soft-locking MCU (#24063)
* TuyaMCU: send WIFI_STATE ramp after WIFI_SELECT/WIFI_RESET to satisfy MCU pairing logic

When WIFI_SELECT or WIFI_RESET is received, this sends a WIFI_STATE ramp 0x00/0x01 up to 0x05 to simulate successful WiFi connection up to 'cloud connected' to exit pairing mode and reallow Tasmota control of the MCU

* Update tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v1.ino

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>

---------

Co-authored-by: Erik Kunze <eku@users.noreply.github.com>
2025-10-27 15:15:14 +01:00
Theo Arends
0744bf7f2b Save 6k code from ESP32 safeboot 2024-11-11 15:17:22 +01:00
Theo Arends
5f9912665a Clean Tuya code 2024-11-10 17:40:03 +01:00
Theo Arends
a97aeeedb7 Add Tuya support 2024-11-10 12:46:56 +01:00
Theo Arends
d5a4f8441b Fix Berry claiming UART0 if needed (#20324) 2023-12-28 17:25:01 +01:00
Theo Arends
21c7edcb50 Add display of active drivers using command `status 4` 2023-12-27 22:03:56 +01:00
Theo Arends
f65ae0694b Fix XSS phase 1 2023-12-18 12:31:14 +01:00
Barbudor
73268e4bb6
Fix TUYA state machine (in TUYA v1) (#20110)
* rework state machine

* some comments

* wip

* looks good now

* little updates
2023-12-08 20:33:40 +01:00
Daniel Kucera
7e2fbdea55
tuyamcu: allow sending arbitrary commands (#20077) 2023-11-22 11:37:01 +01:00
Barbudor
335e18e8cb
Allow webbutton up to 32 (#19580)
* Allow webbutton up to 32

* use named const
2023-09-29 09:56:52 +02:00
Barbudor
edb2fad6c1
Tuya sequence fix (#18085)
* no additional command while waiting for response

* send wifi state 4 when mqtt is disabled
2023-03-03 08:42:27 +01:00
Theo Arends
e927e3307e Add DevicesPresent limit check
- Increase supported relays and buttons to 32
2023-02-25 16:44:04 +01:00
Theo Arends
e1b11a6fe7 Fix Tuya Exception 3 (#17941) 2023-02-15 16:33:29 +01:00
Theo Arends
31f5b79bf8 Fix adding virtual switches 2023-02-15 11:06:53 +01:00
Theo Arends
e0584b2157 Refactor switches and buttons
- Fix Tuya switches
2023-02-12 16:09:28 +01:00
Barbudor
3d39efaf4a
isTuya optionnal arg to validpin (#17835) 2023-01-30 22:35:38 +01:00
Theo Arends
e891830545 Prep ESP32 energy 2023-01-24 16:54:03 +01:00
Barbudor
95dee75b0b
use dB value, not quality (#17777) 2023-01-24 08:55:44 +01:00
Benjamin Nestler
498b0e55b8
Add tuya commands CMD_GET_NETWORK_STATUS and CMD_TEST_WIFI (#17745)
* Add tuya commands CMD_GET_NETWORK_STATUS  and CMD_TEST_WIFI

* Assuming that nobody uses the tuya test wifi ssid, the payload is hardcoded.
2023-01-20 13:20:03 +01:00
Barbudor
d904e0aa7f
Tuya - WIFI_STRENGTH + Save check on MCU_CONF (#17724)
* adding response to command 36 Get Wifi Strength

* more logs

* poperly check and warn if Mode 2 provide bad GPIOs

* final test on gpio
2023-01-17 04:46:00 +01:00
Theo Arends
20a50ffc2e Revert Tuya rewrite
- Update changelogs
2022-12-31 16:08:59 +01:00
Theo Arends
13c27194ec TuyaMcu rewrite by btsimonh (#17051) 2022-11-13 12:55:18 +01:00