Commit Graph

99 Commits

Author SHA1 Message Date
Benny Nestler 4e801b3f82 CHG: Generalise the Tuya Commands to suppress publishing via MQTT (SetOption137) 2022-04-01 17:33:57 +02:00
Theo Arends eabb95d164
Merge pull request #15256 from benjaminnestler/tuya-option-137
Tuya option 137
2022-03-31 14:04:07 +02:00
Benny Nestler 699eb30ed5 CHG: Refactored if-condition 2022-03-30 14:47:46 +02:00
Benny Nestler 6ac7c46b41 Add SetOption137 to avoid mqtt-publish of Tuya MCU heartbeat responses. 2022-03-30 11:39:33 +02:00
Benny Nestler fa3b88b6a8 remove log 2022-03-30 07:50:39 +02:00
Benny Nestler d41a143446 tuya send 6 command to send raw data to the tuya mcu 2022-03-30 00:08:27 +02:00
barbudor b573870b82 TempSet HumSet TimerX always published immediately 2022-03-26 14:45:13 +01:00
barbudor 082ba8a8e8 use so136 to disable tuyasns immediate publish 2022-03-24 22:56:31 +01:00
Theo Arends 81aa579471 Refactor Tuya driver to enable ESP32 support
Refactor Tuya driver to enable ESP32 support (#14086, #14106)
2021-12-19 16:41:10 +01:00
Theo Arends a92f2cb941 Refactor Tuya webbutton 2021-12-15 12:30:48 +01:00
Tedrick DUFOUR 6cbe0198cc tuya_allow_dimmer_0: edit comment 2021-11-29 22:46:31 +01:00
Tedrick DUFOUR 0f08b4cbca add tuya_allow_dimmer_0 (SetOption131) 2021-11-29 19:27:09 +01:00
Tortue95 80d7f2e2ef
Tuya: DimmerRange issue
**Related issue:**
https://github.com/arendst/Tasmota/issues/11349#issuecomment-978348187
https://github.com/arendst/Tasmota/issues/11349#issuecomment-978348187

I did not dare to modify the DimmerRange for the CTLight, because I do not have one to test
2021-11-28 23:26:20 +01:00
Theo Arends c4bb190e82 Add split total energy 2021-10-02 18:29:05 +02:00
Theo Arends b47e91c8ab Add energy total spilt 2021-09-29 15:33:58 +02:00
Theo Arends 9b35c54ed1 Revert "Add support for split energy totals"
This reverts commit d3fc03d398.
2021-09-29 14:53:23 +02:00
Theo Arends d3fc03d398 Add support for split energy totals
Add command ``SetOption129 1`` to enable split total energy results (#13030)
2021-09-29 12:08:03 +02:00
Theo Arends e5e8ef4736 Refactor access TasnotaGlobal.mqtt_data 2021-08-15 17:08:31 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends d9e1eaa780 Change command ``Gpio`` layout of JSON message changed to single line 2021-06-08 18:46:39 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Barbudor 20c9ed6bce read data type 2 as 32 bit in every case 2021-06-03 19:16:06 +02:00
Barbudor 06c754afec add tuyasend5 command 2021-05-27 22:27:08 +02:00
Barbudor 2740c48e22 extract power value as 3 bytes from Tuya frame 2021-05-16 16:18:00 +02:00
Theo Arends 994c3a0f32 Fix Tuya humidity resolution (3)
Fix Tuya humidity resolution (3) (#11896)
2021-04-27 11:43:53 +02:00
Theo Arends 78be0321df Fix Tuya humidity resolution (2) 2021-04-26 17:41:19 +02:00
Theo Arends 589ccb0f2f Fix Tuya humidity resolution
Fix Tuya humidity resolution (#11896)
2021-04-26 14:21:48 +02:00
Theo Arends 4d6e015771 Fix Tuya invalid rule trigger 2021-04-20 10:03:48 +02:00
Theo Arends 04cf400154 Add command ``TuyaTempSetRes 0..3``
Add command ``TuyaTempSetRes 0..3`` to control Tuya Temperature Set Resolution (#11781)
2021-04-19 12:25:53 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends c93185172a
Merge pull request #11544 from blakadder/development
remove unused command defines
2021-04-02 10:00:40 +02:00
blakadder 548f266f8f remove unused command defines 2021-04-01 21:20:11 +02:00
Theo Arends 437cb5428b
Merge pull request #11511 from blakadder/development
add gas sensor with %LEL units
2021-03-30 08:18:51 +02:00
Theo Arends f7dd04a42f
Merge pull request #11513 from jaymemaurice/development
TuyaMCU driver use TempRes to adjust precision of humidity
2021-03-30 08:16:34 +02:00
jaymemaurice 9e304fd127 Wrapped humidity set in TuyaAdjustedTemperature 2021-03-30 02:50:34 +00:00
jaymemaurice a171e3c5f2 Wrapped humidity in TuyaAdjustedTemperature 2021-03-30 02:37:45 +00:00
blakadder 3768d5ab9f add gas sensor with %LEL units 2021-03-29 20:32:59 +02:00
shaap 5e3274af8f Add eMylo EAI-90 support
Add support for eMylo EAI-90. WB3S Module has to be replaced by ESP-12.  Please see eMyloEAI90.txt.
2021-03-02 02:31:06 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
Jayme Snyder d148a2cb9c Reset Tuya.ignore_dim if Tuya.ignore_dimmer_cmd_timeout was set and expired 2021-02-24 18:28:34 -05:00
jaymemaurice a594739bac
Support negative temperature readings
Changes Tuya.Sensor to signed integer
2021-02-18 10:34:33 -05:00
jaymemaurice 3ad9a2f7bd
TuyaMCU precise temperature
Sensor packetValue now interpreted as float based on configuration of  TempRes command.
Beware TempRes default may be 1 thus a TuyaMCU device may need TempRes set to 0 after this change if it's currently working.
See https://github.com/arendst/Tasmota/issues/10917
2021-02-11 12:56:18 -05:00
Yves De Muyter 74d99c669a Bring ModeSet value out of the for loop, this ModeSet is repeated for every other value on the webpage. 2021-02-10 11:15:23 +01:00
Theo Arends d8ea10877e Cleanup webserver 2021-02-02 15:48:29 +01:00
Theo Arends 20704ab700 Refactor dtostrfd 2021-01-26 16:26:00 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
Yves De Muyter 8a46dcf767 Respond correctly to the time request from the MCU using the TuyaMCU protocol. 2021-01-06 15:25:40 +01:00