Commit Graph

191 Commits

Author SHA1 Message Date
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
Theo Arends 35e51918e3 Document Settings changes 2019-12-22 16:53:51 +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 f642f014b7 Fix WifiConfig error 2019-12-22 11:52:54 +01:00
Hadinger 486894781f Fix AWS IoT 2019-12-21 22:38:49 +01:00
Theo Arends d13553baef Fix restore
Fix restore ShutterAccuracy, MqttLog, WifiConfig, WifiPower and SerialConfig (#7281)
2019-12-21 18:59:00 +01:00
Theo Arends f55e02e800 Bump version to 8.0.0.1
Change Settings text handling allowing variable length text within a total text pool of 699 characters
2019-12-21 15:37:36 +01:00
Theo Arends 7e24ed9c2c Fix error message 2019-12-20 18:24:20 +01:00
Theo Arends 7459a8a424 Add restriction if fallback firmware is incompatible
Add restriction if fallback firmware is incompatible with settings resulting in unreachable device
2019-12-20 15:12:44 +01:00
Theo Arends 1288cc20e0 Fix fallback from 8.x after full erase 2019-12-19 15:30:25 +01:00
Theo Arends 6cae0f8f14 Add some more fallback code 2019-12-19 10:06:23 +01:00
Theo Arends 62f4419a59 Update settings.ino 2019-12-18 14:48:32 +01:00
Theo Arends dd94df28af Update fallback preparation 2019-12-18 14:29:05 +01:00
Theo Arends ac1e153ec0 Better and smaller AWS fix 2019-12-18 11:54:31 +01:00
Theo Arends 46aec3acf5 Fix AWS mqtt host length clipped to 32 2019-12-18 11:41:10 +01:00
Theo Arends efc7dc2388 Add fallback functionality from next version
Add fallback functionality from next version 8.x
2019-12-17 10:54:38 +01:00
Theo Arends aae86a6718 Add fallback functionality
Add fallback functionality from next version 7.1.2.7
2019-12-16 15:13:57 +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 21fa1fa04e Bump version to 7.1.2.5
Change some Settings locations freeing up space for future single char allowing variable length text
2019-12-13 12:05:07 +01:00
Theo Arends c32d2088b0 Single Settings Char Array Phase 1
Single Settings Char Array Phase 1 - Does nothing yet
2019-12-12 14:51:41 +01:00
Theo Arends 72aa161ddd Extent statistics 2019-12-11 10:49:57 +01:00
Theo Arends d3673963a2 Add Char Usage Ratio
Add Char Usage Ratio for future Settings char redesign
2019-12-09 16:16:21 +01:00
Theo Arends dfee90bd61 Changelog update 2019-12-09 15:15:16 +01:00
Shantur Rathore 6c3d029286 Implement capability for setting CORS to a specific website instead of just enable for all websites 2019-12-08 21:07:39 +00:00
Theo Arends 00fd7f2f7c Bump version to 7.1.2.2
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108)
2019-12-06 15:02:05 +01:00
Theo Arends 5f1074e3f6 Make sure flash erase went well 2019-11-21 11:12:53 +01:00
Theo Arends c79e5ad7d4 Add SDK area erase to short power cycle reset
Add SDK area erase to short power cycle reset (#6956)
2019-11-18 11:17:43 +01:00
Theo Arends 6f42169432 Refactor Erase code 2019-11-17 14:29:33 +01:00
Theo Arends f6a7722a3c Refactor RtcReboot counter 2019-11-16 10:42:28 +01:00
Theo Arends 0636113147 Revert "Version bump 7.0.0.5"
This reverts commit edcc17c41b.
2019-11-15 21:30:59 +01:00
Theo Arends edcc17c41b Version bump 7.0.0.5
Add one time flash sdk reset on initial execution solving possible SDK wifi releated issues
2019-11-15 18:10:46 +01:00
Theo Arends 4c2ad64056 Speedup flash erase using block erase 2019-11-15 16:58:22 +01:00
Theo Arends 822b719a5d Change Reset erase
Change Reset erase end address from as seen by SDK (getFlashChipSize) to full flash size (getFlashChipRealSize)
2019-11-15 15:42:10 +01:00
Theo Arends 7b10bec8fe Refactor SDK erase
Add device hardware type to status 2
2019-11-14 15:57:52 +01:00
Theo Arends c7a74b82d0 Fix DeepSleep bootloop disable
Fix DeepSleep bootloop disable (#6890)
2019-11-10 12:05:09 +01:00
Theo Arends ae3e45b471
Merge pull request #6870 from s-hadinger/light_load_fix
Fix restore all 5 channels at boot
2019-11-08 19:40:10 +01:00
Stephan Hadinger 0766cb7d92 Fix restore all 5 channels at boot 2019-11-08 19:08:39 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00
Theo Arends 1e29593469 Bump version 7.0.0.3
Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
2019-11-03 17:54:39 +01:00
Theo Arends b4e3b9703c Fix default Title color 2019-11-02 14:50:24 +01:00
Theo Arends 57e62b1e68 Bump version 7.0.0.2
Add command WebColor19 to control color of Module and Name (#6811)
2019-11-02 13:25:23 +01:00
localhost61 d6115b7dd1 Add COLOR_TITLE as WebColor19 2019-11-02 05:33:40 +01:00
Theo Arends 50e1038c05 Add support for SetOption82-113 2019-10-31 12:12:48 +01:00
Theo Arends 9d6be8166b CppCheck optimization 2019-10-30 17:28:25 +01:00
Theo Arends aaa420e52b Prep for core AUTOFLASHSIZE 2019-10-30 16:51:13 +01:00
Theo Arends 6fc9dccfe8 Some CppCheck optimizations 2019-10-30 14:08:43 +01:00
Theo Arends 9dfdd3e15d Clean up pre 6.0 settings code 2019-10-30 10:57:14 +01:00
Theo Arends 51a6aceaa8 Bump version 7.0.0.1
Remove references to versions before 6.x
2019-10-27 14:04:07 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00