Commit Graph

47 Commits

Author SHA1 Message Date
Theo Arends b89e17c7f6 Change Mi Desk Pro template and remove the need for dedicated name 2021-08-05 09:43:08 +02:00
Theo Arends bd3b08f1e8 Fix panic on Mi Desk rotary use - attempt 3 2021-08-04 17:52:31 +02:00
Theo Arends 907edb3704 Fix panic on Mi Desk rotary use - attempt 2 2021-08-04 17:22:13 +02:00
Theo Arends b7da3ed6db Fix panic on Mi Desk rotary use 2021-08-04 16:41:32 +02:00
Theo Arends 0025a1485b Add support for (Yeelight) Mi Desk Pro using binary tasmota32solo1.bin and template named "Mi Desk Pro" 2021-08-04 14:30:13 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends 541443f0aa Refactor pin test 2021-02-14 16:07:35 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Theo Arends f5dfb1b7f6 Change SO43 range fro 1..100 to 1..255
Change SO43 range fro 1..100 to 1..255 (#10511)
2021-01-11 12:33:28 +01:00
Theo Arends 2774a24b0b Remove logging from rotary 2021-01-07 18:28:33 +01:00
Theo Arends d319bc8ecb Support rotary encoder on Shelly Dimmer
Support rotary encoder on Shelly Dimmer (#10407)
2021-01-07 17:53:48 +01:00
Theo Arends f8de9150d0 Add rotary No Pullup GPIO selection
Add rotary No Pullup GPIO selection ``Rotary A/B_n`` (#10407)
2021-01-06 12:51:12 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +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
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends 4c6fa325ac Fix compile error 2020-10-29 14:41:12 +01:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends 95d440f712 Update support_rotary.ino 2020-10-25 14:17:40 +01:00
Theo Arends b92b59b2b1 Add command ``SetOption113 1``
Add command ``SetOption113 1`` to set dimmer low on rotary dial after power off (#8263)
2020-10-25 12:59:24 +01:00
Theo Arends c794f7c617 Rotary driver tuned
Rotary driver tuned (#9399)
2020-10-22 14:48:12 +02:00
Theo Arends 83a090b5a9 Rotary driver adjusted for MiDesk if selected
Rotary driver adjusted accordingly if Mi Desk Lamp module is selected (#9399)
2020-10-20 15:13:12 +02:00
Theo Arends 1b25777035 Updated rotary driver
Updated rotary driver with experimental optional code selections. Currently set to legacy MiDesk lamp - define ROTARY_OPTION1 (#9399)
2020-10-19 18:08:40 +02:00
Theo Arends d4cacbff05 Fix rotary interrupt use of global vars
- Fix rotary interrupt use of global vars (#9399)
- Decrease direction change timout from 50 to 25 mSecs
2020-10-13 15:14:34 +02:00
Theo Arends a84ebe552a Refactor rules processing 2020-07-20 17:24:51 +02:00
Theo Arends cd6e23757c Refactor rotary encoder 2020-07-14 15:01:41 +02:00
Theo Arends 84ee6393a5 Add second rotary support
Add second rotary support default used for CW light control when first rotary is used for RGB light control (#8864)
2020-07-13 15:10:23 +02:00
Theo Arends 96d37ec535 Add Rotary features
Add On/Off functionality to rotary dial (#8263)
2020-07-12 18:53:57 +02:00
Theo Arends e5127d8e8e Fix possible watchdog/exception
Fix possible watchdog/exception (#8828)
2020-07-03 17:17:57 +02:00
Theo Arends 0cc1dd957b Add SO98 to control user rotary support 2020-07-02 18:13:14 +02:00
Theo Arends 618d86078c Rotary experiments 2020-07-01 10:34:39 +02:00
Theo Arends 767eba7e8c Rotary experiments 2020-07-01 10:27:04 +02:00
Theo Arends 9ac4502c78 Rotary experiments 2020-07-01 10:22:20 +02:00
Theo Arends b6495598de Tune rotary encoder color control 2020-06-30 18:00:14 +02:00
Theo Arends 828a64815b Add rotary encoder color control
Add rotary encoder color control when button pressed and postpone flash writes while turning rotary.
2020-06-30 17:48:38 +02:00
Theo Arends e52961b3b4 Add rotary encoder support
- Add rotary encoder support for light dimmer and optional color temperature if button1 still pressed (#8670)
- Fix Mi Desk Lamp brightness control (#8748)
2020-06-30 16:58:36 +02:00
Theo Arends 074bef9f70 Try to fix Mi Desk Lamp
Try to fix Mi Desk Lamp (#8748)
2020-06-29 17:35:02 +02:00
Theo Arends acc0562422 Try to fix Mi Desk Lamp
Try to fix Mi Desk Lamp (#8748)
2020-06-29 16:34:35 +02:00
Theo Arends 609b0309fa Try to fix mi desk lamp
Try to fix mi desk lamp (#8748)
2020-06-28 12:54:44 +02:00
Janusz Kostorz c20bb9ab58
increasing in color temperature change speed 2020-06-04 22:27:30 +02:00
Theo Arends c939077514 Change pin handling part 3 2020-04-27 12:54:07 +02:00
Theo Arends c9149b53c5 Change pin handling part 1 2020-04-26 17:33:27 +02:00
Hadinger 4f74c70270 Add LightPowerIRAM() for rotary interrupt handler 2020-01-03 17:57:47 +01:00
Theo Arends b82d1fdcc3 Move all Rotary interrupt code to iRAM
Move all Rotary interrupt code to iRAM (#7410)
2020-01-03 17:07:40 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00