Commit Graph

168 Commits

Author SHA1 Message Date
stefanbode 152663e021
Update xdrv_27_shutter.ino 2021-11-17 11:28:27 +01:00
stefanbode 8679cf52f5
Update xdrv_27_shutter.ino 2021-11-16 21:21:04 +01:00
stefanbode d20ac1138a
Update xdrv_27_shutter.ino 2021-11-16 21:11:34 +01:00
stefanbode 5e799716a7
Update xdrv_27_shutter.ino 2021-11-16 20:07:41 +01:00
stefanbode c8e03e2d3b
Update xdrv_27_shutter.ino 2021-11-16 17:05:45 +01:00
stefanbode 6e120aa0b8
Update xdrv_27_shutter.ino 2021-11-16 15:28:14 +01:00
stefanbode 79979a27fb
Update xdrv_27_shutter.ino 2021-11-16 14:00:49 +01:00
stefanbode 834244d2e1
Update xdrv_27_shutter.ino 2021-11-16 13:46:22 +01:00
stefanbode a2c34214e0
Update xdrv_27_shutter.ino 2021-11-16 13:02:36 +01:00
stefanbode 46c4045ce1
Update xdrv_27_shutter.ino 2021-11-15 19:55:04 +01:00
stefanbode 0e2ad05c2c
Update xdrv_27_shutter.ino 2021-11-15 19:52:48 +01:00
stefanbode a6b0cf9d31
Update xdrv_27_shutter.ino 2021-11-15 18:43:47 +01:00
stefanbode 49eecf8143
Update xdrv_27_shutter.ino 2021-11-15 18:43:11 +01:00
stefanbode 0cc6f85634
Update xdrv_27_shutter.ino 2021-11-15 18:12:14 +01:00
stefanbode 6d47bfc46e
internal_dev 2021-11-15 17:31:15 +01:00
stefanbode 6da931e4e6
Update xdrv_27_shutter.ino
Missed a change
2021-11-14 22:25:03 +01:00
stefanbode 48685c2d42
Fixed Tilt Movement + Enhancement PWM Servo
Optimized venetian tilt operation when position was not exactly captured during operation. Shutter tried to find correct position and moves up and down because of the tilt.
Enhancement to PWM Servos. no minimum movement is required. Every Position can be reached directly
2021-11-14 22:17:28 +01:00
stefanbode fa06a7bcfc
Bugfix: Shutter missed stop on tilt
Fix bug where shutter continuously moves, when tilt end was not reached due to rounding effects.
2021-11-13 17:31:04 +01:00
stefanbode c96b296415
Bugfixes and DIV0 fixes for non tilt devices
More regression test.....
2021-11-07 17:20:20 +01:00
stefanbode a9fd53c864
Limit venetian blind on endposition 0 and 100 2021-11-07 16:30:15 +01:00
stefanbode e489c57b72
introduce open close on shuttertilt command 2021-11-07 16:23:15 +01:00
stefanbode 5a5a0acbf4
Introduce new Venetian Blind 2021-11-07 15:53:12 +01:00
stefanbode 147f285035
Implemented new PWM_MIN value for ESP32 and ESP8266
New minimum value for PWM_MIN now in code. Before it was hard coded 100Hz
2021-09-15 10:08:09 +02:00
stefanbode 5ef1ec5d0d
Update xdrv_27_shutter.ino
#12849 Additional side effect correction
2021-09-05 22:07:50 +02:00
stefanbode 53ac07baa9
shutter: fixed stepper wrong position #12849 follow up
Position was wrongly calculated on emergency stop
2021-09-05 12:24:54 +02:00
stefanbode dd342d0e78
Added new functionality if motor of shutter stops late
I saw on my blind that if I move it in 5% steps it opens much more than it should. The reason is, that the motor runs to long. shuttermotordelay was only able to work with >0 values. Now also <0 is supported for standard shutters.
2021-09-03 12:57:51 +02:00
stefanbode 3f81f939db
Update xdrv_27_shutter.ino
Fixing WDT reset on shutters with stepper motors during deceleration #12849
2021-08-22 15:59:01 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
bee27 2964d5aefd
Update xdrv_27_shutter.ino
Debug message should print var(i+1) not var(i+i)
2021-05-06 23:55:25 +01:00
Theo Arends 1829df6d56 Unify rules process call
Unify rules process call (#11572)
2021-04-04 12:04:36 +02:00
Theo Arends 070a3a5ca7 Fix Alexa Hue shutter detection
Fix Alexa Hue shutter detection (#11517)
2021-04-03 14:14:01 +02:00
stefanbode 062b7573d3
Update xdrv_27_shutter.ino 2021-03-24 16:15:27 +01:00
stefanbode a60253a9ba
Update xdrv_27_shutter.ino 2021-03-24 16:14:04 +01:00
stefanbode 9b2dec437e
Fix #11451
Additionally change stepper accelerator
2021-03-24 14:04:27 +01:00
stefanbode 88db2e27bb
refactor acceleration function for stepper & servo 2021-02-22 16:54:58 +01:00
stefanbode 9a18ef3875
Update xdrv_27_shutter.ino 2021-02-20 15:11:52 +01:00
stefanbode 82abbae3e6
Update xdrv_27_shutter.ino 2021-02-20 15:06:36 +01:00
stefanbode 044bf6a774
Update xdrv_27_shutter.ino 2021-02-18 12:59:11 +01:00
stefanbode 43cbcc1299
Several fixes 2021-02-18 12:42:59 +01:00
mikep1998 212ea27170 Update xdrv_27_shutter.ino
Add #define to turn off servo in ShutterPowerOff.
2021-02-09 14:51:38 -08:00
mikep1998 e086c62fbb Update xdrv_27_shutter.ino
Fix shutter pwm command to include device number and update loggin information.
2021-02-09 09:55:13 -08:00
mikep1998 76cffab6a4 Update xdrv_27_shutter.ino 2021-02-09 09:45:30 -08:00
Theo Arends 6836455bbe Increase number of button GPIOs from 4 to 8 2021-02-05 12:27:59 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
stefanbode 2eac0e979e
Fix crash during hammering buttons 2021-01-21 11:51:05 +01:00
Theo Arends 827a1e7764 Refactor shutter logging 2021-01-02 15:47:03 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
stefanbode ad5b04934d
Update xdrv_27_shutter.ino
code and variable optimization. Now internally testest against regression test
2020-12-28 12:27:45 +01:00
stefanbode fbe7466bc8
#10166 fixed
improved stop procedure to avoid overrun due to rounding issues between % and the real_position
2020-12-18 09:19:45 +01:00