Commit Graph

26 Commits

Author SHA1 Message Date
Theo Arends f88e87cfde Refactor and document power control
Refactor and document power control
2019-09-04 12:20:04 +02:00
Theo Arends ef63883a1c Refactor Button, Switch and Rotary to save code space
Refactor Button, Switch and Rotary to save code space
2019-08-17 16:19:58 +02:00
Theo Arends 38c6254833 Refactor light driver saving code space
Refactor light driver saving code  space
2019-08-17 13:17:30 +02:00
Theo Arends 27efc08d2c Add define DEBUG_TASMOTA_CORE
Add define DEBUG_TASMOTA_CORE
2019-08-08 16:24:11 +02:00
Theo Arends 1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Theo Arends bcaafd7413 Change ADE7953 energy update code and add debug information
Change ADE7953 energy update code and add debug information (#5968)
2019-06-21 14:31:08 +02:00
Theo Arends 46210bc9f0 Add command SetOption40 0..250
Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
2019-06-19 12:37:35 +02:00
Theo Arends 12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Theo Arends 09dcb93489 Fix Toggle functionality to button double press when one button and two devices are detected
Fix Toggle functionality to button double press when one button and two devices are detected (#5935)
2019-06-09 17:54:13 +02:00
Theo Arends 1d32011596 Allow double press for a single Button1 only
Allow double press for a single Button1 only
2019-06-06 13:09:06 +02:00
Theo Arends 345a514f7b dd Toggle functionality to button double press when more devices are detected
dd Toggle functionality to button double press when more devices are detected
2019-06-05 15:26:42 +02:00
Theo Arends ad54ece2fb 6.5.0.10 Enable ADC0 by default
6.5.0.10 20190513
 * Enable ADC0 by default in my_user_config.h (#5671)
 * Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671)
2019-05-13 15:56:01 +02:00
Theo Arends 6c69b8d12d Add button control when no relay configured
Add button control when no relay configured (#4682)
2019-03-11 18:18:47 +01:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends a201dd1222 Remove command SetOption62
Remove command SetOption62 as it's functionality is replaced by user changing the device template (#5255)
2019-02-17 16:05:53 +01:00
Theo Arends 98ae3eaf54 6.4.1.16 Online template change
6.4.1.16 20190211
 * Initial support for online template change using command Template (#5177)
2019-02-11 19:21:49 +01:00
Theo Arends 304ac6fe44 6.4.1.12 code changes (byte/boolean)
6.4.1.12 20190128
 * Change code use of boolean to bool and byte to uint8_t
 * Change code uint8_t flags to bool flags
2019-01-28 14:08:33 +01:00
Theo Arends 6c8e15dadd Fix inverted buttons
Fix inverted buttons
2019-01-28 10:18:44 +01:00
Theo Arends dc75b473cf Add support for inverted buttons
* Add core version conditional compile options to provided PWM files (#4917)
 * Add support for inverted buttons and inverted buttons without pullup (#4914)
2019-01-27 14:54:28 +01:00
Theo Arends e5fd45c9c8 6.4.1.9 Fix mDNS addService
6.4.1.9 20190115
 * Add support for Mi LED Desk Lamp with rotary switch (#4887)
 * Fix mDNS addService (#4938)
2019-01-15 16:11:42 +01:00
dh.harald 9f030ae431 Change color temp with rotary when Button1 pressed 2019-01-15 00:45:19 +00:00
netpok 54763329f8 Fix GPIO16 Pull-down 2019-01-10 21:41:36 +01:00
Theo Arends a23f01080b 6.4.1.8 Add template flags
6.4.1.8 20190107
 * Change sonoff_template.h layout regarding optional module flags like ADC0
 * Add command SetOption62 1 to force no Button/Switch pullup on dedicated modules. Currently only supported on Shelly2 (#4841)
2019-01-07 16:33:18 +01:00
Theo Arends 95f39be2ef Change button driver making it modular
Change button driver making it modular
2019-01-07 12:38:47 +01:00