Commit Graph

198 Commits

Author SHA1 Message Date
polarduck-dev e14f464a23 Removed IPV4 from the existing macros so the change is externally minimal 2021-01-19 16:33:06 +00:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
polarduck-dev ff08501b39 fixed IPv6 address acquisition 2021-01-18 15:32:58 +00:00
Theo Arends a21acebdb4 Add support for Last Known Good Settings 2021-01-13 13:51:49 +01:00
Theo Arends 37ee4e6d8e Add optional file to most recent settings check 2021-01-12 17:18:56 +01:00
Theo Arends 15598d71a9 Fix reset 5 and 6 when filesystem in use 2021-01-12 14:54:12 +01:00
Theo Arends 120ba5cac2 Add extra recovery option when linker changed 2021-01-12 10:51:46 +01:00
Theo Arends 85b2d62225 ESP8266 Support for 2MB and up linker files with 1MB and up LittleFS
Breaking Change: ESP8266 until now NOT SUPPORTED linker files 2MB and up. Current settings will be overwritten once LittleFS is enabled
2021-01-11 17:56:18 +01:00
Theo Arends dcf22abd60 Integrate filesystem 2021-01-08 16:22:06 +01:00
Theo Arends 204316bf1b Change force initial default state ``SetOption57 1``
Change force initial default state ``SetOption57 1`` to scan wifi network every 44 minutes for strongest signal (#10395)
2021-01-05 17:14:01 +01:00
Theo Arends c7545d93dc Fix RTC related power on sequence 2021-01-05 11:49:13 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
Theo Arends 09bb1ecb8e Fix ESP32 LoadStoreError when using ``#define USER_TEMPLATE``
Fix ESP32 LoadStoreError when using ``#define USER_TEMPLATE`` (#9506)
2020-12-20 16:40:49 +01:00
Theo Arends b9a3fd4342 Fix initial baudrate
Fix initial baudrate (#7447)
2020-12-07 15:33:09 +01:00
Theo Arends 1dec999144 Add additional defines
Add defines UPGRADE_V8_MIN_KEEP_WIFI and UPGRADE_V8_MIN_KEEP_MQTT to keep wifi and/ot mqtt settings when define UPGRADE_V8_MIN is enabled (#10027)
2020-12-02 11:59:01 +01:00
Stephan Hadinger 83f78f8724 Clear settings if unable to convert 2020-12-01 08:48:06 +01:00
Stephan Hadinger 40e70d7938 Add option `#define UPGRADE_V8_MIN` to drop support for upgrading before v8.0 (saves 1.3kb)
This option is not enabled by default except for ZBBridge, whose version was always at least v8.0.
2020-11-30 21:43:57 +01:00
Theo Arends 95362af6e4 Update comments 2020-11-29 15:26:42 +01:00
Theo Arends b527ab4d66 Prep for ESP32-C3 ph1 2020-11-28 12:46:17 +01:00
Theo Arends 8c9af52f72 Remove spaces 2020-11-27 16:45:25 +01:00
Theo Arends 4b5dbe7a86 Fix reset to defaults after 6 hours of DeepSleep
Fix reset to defaults after 6 hours of DeepSleep (#9993)
2020-11-27 16:43:56 +01:00
Theo Arends 138ddfb16e Removed version compatibility check
Removed version compatibility check
2020-11-07 15:43:52 +01:00
Theo Arends 780db5271c Update changelog 2020-11-07 11:09:16 +01:00
Stephan Hadinger 32ea8e503d Make TLS resilient to NTP failure 2020-11-06 21:37:38 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Scoobler 473362cbee Added DimmerStep to allow the change of the Dimmer Auto (+/-) Step value
Signed-off-by: Scoobler <jamienwood@hotmail.com>
2020-11-04 11:01:37 +01:00
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
Theo Arends 0f3619238f Add ESP32 bootloop control 2020-04-19 13:08:04 +02:00
Theo Arends d3b2f8c489 Add config version tag
- Add config version tag
- Bump version 8.2.0.4
2020-04-17 11:57:09 +02:00
Theo Arends fe63ddbd20 Fix prep for Buttons V2
Fix prep for Buttons V2 for ESP32 (#8177)
2020-04-14 17:18:34 +02:00
Theo Arends eb025461a1
Update settings.ino 2020-04-14 16:58:11 +02:00
Federico Leoni dd44163f3b
Update settings.ino 2020-04-14 10:45:23 -03:00
Theo Arends 5337d84063 Add SetOption41 to my_user_config.h 2020-04-13 12:27:53 +02:00
Stephan Hadinger 9addde235a Add Zigbee command ``ZbConfig`` and configuration in Settings 2020-04-11 18:50:46 +02:00
Adrian Scillato e76ec8b18a
Fix ESP32 Compilation 2020-04-11 04:54:13 -03: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 a0b0c32ff4 Update references 2020-04-10 10:52:22 +02:00
Theo Arends d1b1585d1c Prep for easier preconfigurations 2020-04-09 15:32:23 +02:00
Stephan Hadinger 7a6628d903 Add command ``SetOption41 <x>`` to force sending gratuitous ARP every <x> seconds 2020-04-07 14:07:00 +02: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 407334be6b Clean up wifi connection / disconnection 2020-02-26 13:45:46 +01:00
Theo Arends 3146bcf23a Add some wifi debug options 2020-02-25 16:49:19 +01:00
Theo Arends 94c9072815 Add wifi debug code 2020-02-24 13:27:22 +01:00
Theo Arends 5b0259e7c3 Keep legacy support 2020-01-26 14:16:44 +01:00
Theo Arends 760f4e49ac Add compile time control over settings 2020-01-21 12:36:44 +01:00
Theo Arends e01c1b8c45 Add compile time control over SetOptions 2020-01-20 18:49:57 +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
Theo Arends 1c0db7e689 Refactor version compatibility 2020-01-07 17:01:48 +01:00
Theo Arends 95fc96d563 Add support for gzipped binaries
Add support for gzipped binaries
2020-01-06 14:52:04 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01: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