Commit Graph

150 Commits

Author SHA1 Message Date
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 58e6ec55f1 Breaking change replacing SPI CS and SPI DC
Breaking change replacing SPI CS and SPI DC by device specific CS and DC
2020-12-31 16:17:30 +01:00
Theo Arends 0a7d441e65 Add support for P9813 RGB Led MOSFET controller
Add support for P9813 RGB Led MOSFET controller (#10104)
2020-12-17 16:33:26 +01:00
Theo Arends 17e6890809 Prep for ESP32-C3 ph2 2020-11-28 16:39:15 +01:00
Federico Leoni ae32549759 TuyaUpdate 2020-11-28 11:49:04 -03:00
Theo Arends dfd0a0bf74 Refactor and fix TasmotaClient 2020-11-25 15:58:43 +01:00
Theo Arends c02770ce96 Add support for Shelly Dimmer 1 and 2
Add support for Shelly Dimmer 1 and 2 by James Turton (#9854)
2020-11-14 16:43:32 +01:00
Federico Leoni 61c5e3bc2c TuyaMCU Update 1/3 2020-11-07 18:08:07 -03:00
Theo Arends c2482e9913 Add command ``SwitchText``
Add command ``SwitchText`` to change JSON switch names by barbudor (#9691)
2020-11-01 13:26:35 +01:00
Theo Arends 8338a9cc80 Refactor module change detection 2020-11-01 12:12:27 +01:00
Theo Arends 432051a7ef Fix setting last module 2020-10-31 12:04:28 +01:00
Theo Arends 604a03e617 Fix ESP32 serial reconfig
Fix ESP32 serial reconfig (#9664)
2020-10-30 18:27:34 +01:00
Paul C Diem f075a89d6b Add PWM Dimmer multi-press and ledmask support 2020-10-19 20:12:41 -05:00
Theo Arends d9dfaf88f3 Add command ``SwitchMode 15``
Add command ``SwitchMode 15`` sending only MQTT message on switch change (#9596)
2020-10-18 12:17:31 +02:00
Theo Arends f13f7355f4 Fix TuyaMcu energy display
Fix TuyaMcu energy display regression from v8.5.0.1 (#9547)
2020-10-17 12:48:45 +02:00
Paul C Diem d5216091e7 Add PWM Dimmer color change/trigger on tap and SO88 brightness led support. Add DGR WITH_LOCAL flag support. 2020-10-05 15:15:32 -05:00
Theo Arends 7a73dd7019 Merge branch 'development' into dev-gpio16 2020-09-30 14:54:29 +02:00
Theo Arends c00d7035d9 Redesign GPIO to 16-bit 2020-09-29 18:10:21 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
Federico Leoni e45a5f3323 TuyaMCU Update 2020-09-16 15:45:56 -03:00
stefanbode 8d90844297
Create Status line for shutter configuration 2020-08-20 16:04:15 +02:00
Theo Arends c1ce13a689 Some refactoring 2020-08-09 15:31:37 +02:00
RemiDing 2a8d8f9874 use Switch mode definitions 2020-08-09 08:14:09 +02:00
RemiDing fa27a0881d Merge branch 'development' of https://github.com/RemiDing/Tasmota into development 2020-08-04 22:55:05 +02:00
RemiDing 9ca5e94715 detect double click 2020-08-04 22:53:44 +02:00
Theo Arends ce388c799f Add ESP32 Analog input support for GPIO32 to GPIO39 2020-08-04 16:33:05 +02:00
Theo Arends a3445e5b5f Add ESP32 ADC framework 2020-08-03 18:21:34 +02:00
Theo Arends 84ee6393a5 Add second rotary support
Add second rotary support default used for CW light control when first rotary is used for RGB light control (#8864)
2020-07-13 15:10:23 +02:00
Adrian Scillato bd011493e5
KNX: Add Scenes Slot 2020-06-18 15:23:58 -03:00
Theo Arends 5367302735 Fix compile error 2020-06-11 19:14:39 +02:00
Theo Arends 4c5b2f37fd Add initial support for Telegram
Add initial support for Telegram bot (#8619)
2020-06-11 17:30:33 +02:00
Federico Leoni 152c2801ae Prep for Tuya MCU Discovery 2020-06-09 14:08:57 -03:00
Theo Arends c6fede2bf4 Basic support for BL0940
Basic support for BL0940 (#8175)
2020-06-07 17:21:29 +02:00
Theo Arends 7bfbe95d0f
Update tasmota.h 2020-05-26 12:15:20 +02:00
Matthijs Abma 721c2c8f7f Reduce input buffer so hex/json encoded content always fits 2020-05-24 17:47:57 +02:00
Theo Arends cd7f719563 Add more functionality to ``Switchmode`` 11 and 12 (#8450)
Add more functionality to ``Switchmode`` 11 and 12 (#8450)
2020-05-19 15:52:10 +02:00
Theo Arends d7f6c78ed9 Add command ``DeviceName``
Add command ``DeviceName`` defaults to FriendlyName1 and replaces FriendlyName1 in GUI
2020-05-17 17:10:17 +02:00
Theo Arends 125ee62ff3 Add Serial buffer overrun detection
Add Serial buffer overrun detection and fix serial corruption by increasing uart serial buffer to 520
2020-05-11 15:27:29 +02:00
Theo Arends 0572644c7f Change PWM Frequencies
- Change default PWM Frequency to 977 Hz from 880 Hz
- Change minimum PWM Frequency from 100 Hz to 40 Hz
2020-05-08 16:06:02 +02:00
Stephan Hadinger b53dee396e Lower minimum PWMFrequency to 40Hz 2020-05-08 15:42:44 +02:00
Theo Arends 19d8592978
Merge branch 'development' into new_branch 2020-05-07 17:02:22 +02:00
Theo Arends 87f89f0a7d Change max number of supported PCF8574 to four
Change max number of supported PCF8574 to four (#8355)
2020-05-06 17:44:44 +02:00
Theo Arends c24de18278 Change ESP32 pin allocation part 1 2020-04-28 18:27:07 +02:00
Paul C Diem 81a874ec72 Use defined mcast addr for device groups instead of sharing emuation's, Code size reductions 2020-04-24 09:12:43 -05:00
Stephan Hadinger e06425b57f Change default PWM Frequency to 223 Hz instead of 880 Hz for less interrupt pressure 2020-04-22 15:15:42 +02:00
Paul C Diem 0f4b85ee51 Add DGR Command item and message logging, Restructure to reduce new code size 2020-04-21 16:33:07 -05:00
Javier Arigita 4cac6deb3d Command defines moved from i18n.h into the driver, driver name changed to thermostat 2020-04-20 22:50:53 +02:00
Paul C Diem f040b90583 Add DGR Event item, Rework item parsing 2020-04-18 22:37:05 -05:00
Javier Arigita 5122ea6c10 Fix kCommandSource adding heating source 2020-04-18 20:49:38 +02:00
Javier Arigita 31d0268df4 Heating controller added. Created by myself initially in LUA running as a Domoticz (running on a raspberry pi) script and controlling Qubino relays for floor heating. Ported to tasmota to get the logic within the relay itself and be less dependent on Domoticz.
The controller supports several working modes. From off (no action) to manual (following input), automatic (hybrid, rampup or pi controller) and timeplan (automatic following predefined schedule with 3 temperatures for each weekday). It is fully configured via commands, it will include in the future diagnostics and will be extended to more outputs (will be tested on sonoff 4CH Pro).

The controller has been tested successfully with a Shelly 1PM device and works as the original LUA domoticz script.
2020-04-17 10:31:53 +02:00
Federico Leoni 03c9d75f18
Update tasmota.h 2020-04-14 10:47:01 -03:00
Theo Arends e8f3d1d986 Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends d1b1585d1c Prep for easier preconfigurations 2020-04-09 15:32:23 +02:00
Paul C Diem 9794f12460 Add DevGroupSend command 2020-04-07 13:25:58 -05:00
Stephan Hadinger 7a6628d903 Add command ``SetOption41 <x>`` to force sending gratuitous ARP every <x> seconds 2020-04-07 14:07:00 +02:00
Paul C Diem 2a367512d7 Add DevGroupName command 2020-04-06 12:29:50 -05:00
Theo Arends d713468c0c Add support for longer template names
Add support for longer template names
2020-03-29 17:41:31 +02:00
Theo Arends dbc9f16ffc Add support for up to four MQTT GroupTopics
- Bump version to 8.2.0.2
- Add support for up to four MQTT GroupTopics using the same optional Device Group names (#8014)
2020-03-28 16:48:36 +01:00
Paul C Diem 3f9c4f1909 Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3 2020-03-14 07:18:34 -05:00
Theo Arends d043ac770d Refactor support_switche.ino
- Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912)
- Refactor support_switche.ino
2020-03-14 13:13:33 +01:00
Leonid Muravjev 0f157caa05 switch: New mode PUSHON (13)
Just turn it on, if the switch is on. Switch off by PulseTime.
For a simple implementation processing of PIR sensors.
2020-03-14 14:31:05 +03:00
Paul C Diem a72acf37fe Use Light module to manage PWM, Rework multi-button sequences 2020-03-13 12:08:44 -05:00
Paul C Diem 3138d880d0 Add periodic announcement, Raise member timeout to 45s, Fix already acked check 2020-03-12 12:51:54 -05:00
Paul C Diem a962662743 Rescale Bri to DimmerRange, Remove BriMin, LedTimeout and PoweredOffLed commands 2020-02-27 13:38:33 -06:00
Paul C Diem 8182d6ef7b Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-21 09:15:47 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Theo Arends 6a84899e10 Eliminating call sntp_get_real_time
Change display of some date and time messages from "Wed Feb 19 10:45:12 2020" to "2020-02-19T10:45:12"
2020-02-19 15:23:59 +01:00
Theo Arends 8079ee9749 Change MQTT message size
Change MQTT message size with additional 200 characters
2020-02-12 18:00:53 +01:00
Theo Arends 1a074da0b5 Add BootCount Reset Time to Status
Add BootCount Reset Time as BCResetTime to ``Status 1``
2020-02-07 12:38:10 +01:00
Theo Arends d779a2b9b4 Add switch modes 11 and 12
Add switch modes 11 (PUSHHOLDMULTI) and 12 (PUSHHOLDMULTI_INV) (#7603)
2020-02-06 14:53:35 +01:00
Theo Arends 702821b4e1
Merge pull request #7603 from RemiDing/development
New switchmodes to control a dimmer with one switch
2020-02-06 14:14:12 +01:00
RemiDing 5278a84252 POWER_INCREMENT added 2020-01-28 15:37:18 +01:00
RemiDing cfbd1cb85d optimized 2020-01-25 11:22:28 +01:00
Patrick Domack 2e89370f1e Add ability to define more subversions in user overrides and remove ram/flash usage to store all versions. 2020-01-22 16:49:28 -05:00
to-scho e327236485 New switchmodes TOGGLEMULTI, FOLLOWMULTI and FOLLOWMULTI_INV 2020-01-15 13:05:00 +01:00
Theo Arends 0e0d8190fa Change some commands displaying all items
Change commands ``Prefix``, ``Ssid``, ``StateText``, ``NTPServer``, and ``FriendlyName`` displaying all items
2020-01-12 13:10:21 +01:00
Hadinger aa665c1439 Add SetOption82 to limit the CT range for Alexa to 200..380 2020-01-04 11:01:44 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Leonid Muravjev ed5330169a HotPlug for sensors support added 2019-12-29 23:10:53 +03:00
Theo Arends b66cc3479f Add support for user defined GUI button text
Add commands ``WebButton1`` until ``WebButton16`` to support user defined GUI button text (#7166)
2019-12-24 17:10:50 +01:00
Theo Arends a2478f9569 Change number of ``FriendlyName``s from 4 to 8
Change number of ``FriendlyName``s from 4 to 8
2019-12-24 15:06:19 +01:00
Theo Arends 7695a2c5bf Change max number of rule ``Var``s to 16
Change max number of rule ``Var``s from 5 to 16 (#4933)
2019-12-22 17:15:47 +01:00
Theo Arends c806b22e9d Change max number of rule ``Mem``s to 16
Change max number of rule ``Mem``s from 5 to 16 (#4933)
2019-12-22 15:36:20 +01:00
Theo Arends ad4a7e91ac Add support for max 150 characters
Add support for max 150 characters in most command parameter strings (#3686, #4754)
2019-12-22 15:23:52 +01:00
Theo Arends dd94df28af Update fallback preparation 2019-12-18 14:29:05 +01:00
Theo Arends 3d59de5d1d Bump version to 7.1.2.6
- Change some more Settings locations freeing up space for future single char allowing variable length text
- Add Zigbee support for Xiaomi Aqara Vibration Sensor and Presence Sensor by Stefan Hadinger
- Add Shutter functions ramp up/down and MQTT reporting by Stefan Bode
2019-12-14 13:16:55 +01:00
Theo Arends f3a5b033c8 Add save call stack in RTC memory in case of crash
Add save call stack in RTC memory in case of crash, command ``Status 12`` to dump the stack (#7114, #5883)
2019-12-07 18:32:39 +01:00
Theo Arends 2686ccb117 Revert "Merge pull request #7134 from s-hadinger/crashrecorder_rtc"
This reverts commit 758b255078, reversing
changes made to f4993736a5.
2019-12-07 16:50:10 +01:00
Hadinger 5a0febc64e Add save call stack in RTC memory in case of crash 2019-12-07 10:41:29 +01:00
Theo Arends 9d9f3b0ca7 Change log buffer size from 520 to 700
Change log buffer size from 520 to 700 characters accomodating full rule text (#7110)
2019-12-06 11:10:15 +01:00
Hadinger 62b213897f Fix Wifi instability when light is on, due to sleep=0 (#6961, #6608) 2019-11-20 21:08:35 +01:00
Theo Arends 740784db8a Remove redundant option 2019-11-13 11:32:12 +01:00
Theo Arends 76d17bd198 Fix possible teleperiod misses 2019-11-13 09:25:09 +01:00
Theo Arends fa03f57ca8 Refactor deepsleep
Refactor deepsleep allowing time to update GUI before going to sleep (#6890)
2019-11-12 22:30:44 +01:00
Theo Arends 1f521ed748 Refactor I2C driver detection phase 3 2019-11-07 17:08:58 +01:00
Theo Arends f999f42518 Fix compile error 2019-11-03 18:52:49 +01:00
Theo Arends 50e1038c05 Add support for SetOption82-113 2019-10-31 12:12:48 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00