Commit Graph

122 Commits

Author SHA1 Message Date
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Stephan Hadinger b599b5b183 Fix TLS fingerprint compilation #9582 2020-10-21 11:19:59 +02:00
Stephan Hadinger b525e5c720 Reduce code size for fingerprint 2020-10-18 20:06:27 +02:00
Theo Arends fc04c50674 Convert AdcParam parameters from versions before v9.0.0.2
- Command ``Gpio17`` replaces command ``Adc``
- Command ``Gpios`` replaces command ``Adcs``
2020-10-11 11:31:46 +02:00
Theo Arends 89c690c05d Fix ESP32 compilation error 2020-10-10 16:49:36 +02:00
Theo Arends b8e55203b6 Fix Thermostat sensor status corruption
Fix Thermostat sensor status corruption regression from 8.5.0.1 (#9449)
2020-10-10 15:19:11 +02:00
Theo Arends 490e7d838e Fix Template using ``#define USER_TEMPLATE``
Fix Template using ``#define USER_TEMPLATE`` (#9506)
2020-10-10 12:20:15 +02:00
Theo Arends 0eef729d8f Remove migration support from before 7.0
- Remove support for direct upgrade from Tasmota versions before 7.0
- Remove auto config update for all Friendlynames and Switchtopic from Tasmota versions before 8.0
2020-10-05 18:12:32 +02: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 895ed2d041 Redesign GPIO to 16-bit 2020-09-29 14:41:45 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
Federico Leoni 4e84e33103 Prep for new Hass Discovery 2020-09-18 18:45:58 -03:00
Federico Leoni e45a5f3323 TuyaMCU Update 2020-09-16 15:45:56 -03:00
Stephan Hadinger 92b9e5e2ae Add to my_user_config SetOption 100, 101, 103,104, 105, 106, 107, 109 2020-08-30 15:44:28 +02:00
Theo Arends 0f1e4fc917 Add command ``PowerDelta1`` to ``PowerDelta3``
- Bump version to 8.4.0.3
- Add command ``PowerDelta1`` to ``PowerDelta3`` to trigger on up to three phases (#9134)
2020-08-23 18:29:16 +02:00
Theo Arends 465ccc2f61 Add compile time control over configuration corruption detection 2020-08-17 14:19:53 +02:00
Theo Arends 18bf102e4f Prep support for SO114 until SO145 2020-08-13 16:49:11 +02:00
Theo Arends ef128fdafb Make Quick Power Cycle Detection Actually work 2020-08-13 16:25:48 +02:00
Theo Arends 731ca297b0 Add better config corruption recovery
- Add better config corruption recovery (#9046)
- Remove support for 1-step upgrade from versions before 6.6.0.11 to versions after 8.4.0.1
2020-08-13 13:04:28 +02:00
Theo Arends d2198ad8b6 Fix esp32 compile error 2020-07-17 18:40:06 +02:00
Theo Arends 934ca43463 Remove Arduino ESP8266 Core support before 2.7.1
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends faecd38006 Add compile time User Template
Add compile time User Template (#8766)
2020-06-24 16:37:02 +02:00
Theo Arends 7c8b06ce16 Add compile time interlock parameters
Add compile time interlock parameters (#8759)
2020-06-22 22:36:54 +02:00
Theo Arends 5ec694b3f3 Make FALLBACK_MODULE configurable
Make FALLBACK_MODULE configurable (#8464)
2020-06-17 14:19:20 +02:00
Theo Arends 83bbe757db Add command ``Module2``
Add command ``Module2`` to configure fallback module on fast reboot (#8464)
2020-06-17 14:06:46 +02:00
Theo Arends 715697cb32 Add ESP32 ethernet commands
Add ESP32 ethernet commands ``EthType 0/1``, ``EthAddress 0..31`` and ``EthClockMode 0..3`` (#8503)
2020-06-16 18:36:49 +02:00
Theo Arends ef0b797686 Add basic support for ESP32 ethernet
Add basic support for ESP32 ethernet adding commands ``Wifi 0/1`` and ``Ethernet 0/1`` both default ON (#8503)
2020-06-15 18:27:04 +02:00
Theo Arends 127254b283 Attempt to solve string corruption
Attempt to solve string corruption (#8651)
2020-06-10 12:59:14 +02:00
Theo Arends dc9ce42888 Refactor LedPwm code 2020-05-23 13:04:17 +02:00
George e780f25283 Gamma correction
Implement changes proposed by @s-hadinger review.
* Use 0-255 range in settings
* Apply gamma correction from xdrv_light & use changuintscale helper fn (as per pwm light routine)
2020-05-23 17:13:04 +10:00
George 833d89203f Fix settings delta fail
bugfix - settings always default on boot
*Moved block to right scope
*Got version number right duh
2020-05-20 13:25:11 +10:00
George 603b628f97 Add pwm mode masking
* Extra setting & command to set - allows masking of pwm mode. Use case is for leds attached to buttons for seeing at night; this way user can combine both pwm and digital leds (i.e. pwm for the button leds but non-button status leds can stay on/off).
2020-05-20 13:23:54 +10:00
George a305f435e8 First pass at led pwm settings
* Added settings for ledpwm_on and ledpwm_off with defaults that mimic current digitalwrite function
* Changed ledpoweridx from digitalwrite to analogwrite
* Add commands to change new settings
2020-05-20 13:23:52 +10: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 c11952595e Change QPC detection from 4 to 7 power interrupts
Change Quick Power Cycle detection from 4 to 7 power interrupts (#4066)
2020-05-16 11:22:48 +02:00
Theo Arends fff26f6538 Fix button default state
- Fix button default state
- Bump version 8.3.0.1
2020-05-14 15:32:27 +02:00
Stephan Hadinger a2b05399a3 Add automatic compression of Rules to achieve ~60% compression, added ``SetOption93 1`` to control caching of rules 2020-05-08 19:33:20 +02:00
Stephan Hadinger f9d775089e Reduce code size of SettingsDefaultSet2() 2020-05-06 19:21:04 +02:00
Stephan Hadinger b07edd1d74 Move constants in PMEM 2020-05-04 20:00:05 +02:00
Theo Arends 5c744b573e Fix OTA corruption on large file uploads usinf -minimal 2020-05-03 11:42:10 +02:00
Theo Arends 5d18ad1c74 Add experimental basic support for ESP32
- Add experimental basic support for Tasmota on ESP32 based on work by Jörg Schüler-Maroldt
- Bump version to 8.2.0.6
- This ESP32 upgrade breaks current ESP32 templates
2020-05-01 17:30:09 +02:00
Theo Arends cc19cc5773
Merge pull request #8257 from dermm/development
Add Option to activate PWM CT mode without select module 48
2020-04-26 10:49:01 +02:00
Theo Arends 104e3c4838 Implement ARRAY_SIZE macro 2020-04-25 11:37:36 +02:00
Theo Arends 9ed8e7c254 Fix internal array size checks 2020-04-24 17:39:26 +02:00
dermm 809a377154 Add Option to Activate PWM CT mode without select module 48
Hello,

I would like to share with you my extension of the code.
I have some new lamps that have 2 PWM channels that are not classically wired. The first one is for brightness and the other channel is for color temperature.
Tasmota has already integrated the possibility to switch between CWWW and CTBRI. I only built the possibility to set it up manually.

greetings,
Jens

PS: This is my first commit. If I did something wrong, please report it.
2020-04-22 19:43:57 +02:00
Theo Arends 0196c70a40 Fix initial config version 2020-04-21 15:53:45 +02:00
Theo Arends c37dde93c2 Add ESP32 QuickPowerCycle control 2020-04-19 15:36:04 +02:00
Theo Arends eab612871c Fix ESP32 bootloop control using RTC memory 2020-04-19 14:18:12 +02:00