Commit Graph

181 Commits

Author SHA1 Message Date
Jason2866 127e6ff248
missing `;` 2022-02-11 19:07:46 +01:00
stefanbode 33e956d438
missing... 2022-02-11 18:47:00 +01:00
stefanbode 0d8b3c9d1a
ESP32 compiler option 2022-02-11 18:44:37 +01:00
stefanbode a627df0ad1
Fix shutter-stepper driver if >1 door moving
Accelerate and decelerate did not work properly on two pins with different frequencies. Was always synced to the last send frequency without PIN awareness. If moving two doors or more frequency must work for each door independent
2022-02-11 18:05:44 +01:00
stefanbode b4568e8356
compiler check.... 2022-02-04 09:34:19 +01:00
stefanbode 611118aa81
typo fix 2022-02-04 09:13:02 +01:00
stefanbode 8676ca0ede
#14678 added option to let direction relay execute before power on
Added to new user_config.override options 
 #define SHUTTER_RELAY_OPERATION_TIME = 100 // wait for direction relay 0.1sec before power up main relay
 #define MOTOR_STOP_TIME = 500 // wait 0.5 second after stop to do any other action. e.g. move in the opposite direction
2022-02-04 09:04:03 +01:00
stefanbode 06cdb42cec
#14678 option to let direction relay to execute.
Two new compiler options for user_config.override (below default values)
#define SHUTTER_RELAY_OPERATION_TIME = 100 // wait for direction relay 0.1sec before power up main relay
#define MOTOR_STOP_TIME = 500 // wait 0.5 second after stop to do any other action. e.g. move in the opposite direction
2022-02-04 08:58:42 +01:00
Theo Arends c692e2f216 Fix shutter mode 1 (#14405)
Fix shutter mode 1 (#14405)
2022-01-14 10:11:52 +01:00
stefanbode e55025295f
Change venetian blind tilt behavior at 0% and 100%
The original target tilt is maintained for the next operation. Anyhow the shutter stops at end position without any tilt change
2021-11-26 09:05:01 +01:00
stefanbode b56ff4dfa3
Allow tilt change with wall buttons
If venetian shutter is stopped before start moving the actual tilt is stored as new target tilt for further operations.
2021-11-25 08:31:40 +01:00
stefanbode daba522c93
fix of the fix... 2021-11-24 17:43:25 +01:00
stefanbode 95c94ff4f3
Small bugfix
Wallbuttons did not work after first use because shutter was in tilt mode.
up/down webbuttons did not stop the shutter correctly in tilt mode
2021-11-24 09:34:51 +01:00
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