Commit Graph

92 Commits

Author SHA1 Message Date
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
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