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
stefanbode
52fc668714
bugfix addlog_p2
2020-12-16 07:06:50 +01:00
stefanbode
41c3dea424
Fixed overflow on runtime > 100 sek
2020-12-15 17:44:06 +01:00
stefanbode
79c3d625f5
Correct Pulsetime error to switch same relay two times
2020-12-15 12:44:49 +01:00
stefanbode
3487c4969a
optimize switch off time
...
Detailed analysis of where time is used during stop and optimize stop.
2020-12-15 12:40:47 +01:00
stefanbode
48bc3c9409
update Motordelay stop issue ##10033
...
reorder stop to esure direct stop after command
2020-12-14 18:23:01 +01:00
stefanbode
8a29adfa8b
#9906 fixed
...
reporting now also after manual relay change
2020-12-14 18:08:13 +01:00
Theo Arends
fa9b04cd1b
Satisfy compiler
2020-11-14 14:02:15 +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
e59bfc1d69
Use global struct
2020-10-29 13:58:50 +01:00
Theo Arends
280f0a9de7
Use global struct
2020-10-29 13:37:09 +01:00
Theo Arends
cd91f09f8f
Merge pull request #9660 from stefanbode/patch-4
...
Resolve #9632 after sethalfway back to 50
2020-10-29 13:06:20 +01:00
stefanbode
81ce023e42
Update xdrv_27_shutter.ino
2020-10-29 12:44:05 +01:00
stefanbode
bb01baa651
Update xdrv_27_shutter.ino
2020-10-29 12:41:53 +01:00
Theo Arends
0cfe1ac3e1
Use global struct
2020-10-29 12:39:44 +01:00
stefanbode
e40c736dfb
Resolve #9632 after sethalfway back to 50
2020-10-29 12:28:07 +01:00
Theo Arends
3bebfb32d3
Use global struct
2020-10-29 12:21:24 +01:00
Theo Arends
f1ac7b2d67
Use global struct
2020-10-28 19:03:39 +01:00
Theo Arends
b93b719108
Use global struct
2020-10-28 17:32:07 +01:00
stefanbode
c8d4ae4c71
Update xdrv_27_shutter.ino
...
Add new command to increase/decrease opening by %
2020-10-21 10:19:56 +02:00
Theo Arends
4b6ad8b904
Fix compile error when scripting and shutter is enabled
...
Fix compile error when scripting and shutter is enabled (#9512 )
2020-10-11 10:51:20 +02:00
stefanbode
f95462f916
Update xdrv_27_shutter.ino
...
...ongoing
2020-10-09 10:02:43 +02:00
stefanbode
ce9ea40166
Update xdrv_27_shutter.ino
...
optimize logging
2020-10-09 09:58:33 +02:00
stefanbode
5b9c725c6d
Insert hook to rule BEFORE moving
...
New hook that can guarantee a rule will be executed before the movement starts. Will change documentation:
change "var<shutternumber>" to 99 to enable hook. Create a rule that executes on shutter#moving ONCE and set VARx to 0. Add rule at shutter#moved=1 to set VARx=99 and enable ONCE again.
example:
{"Rule1":"ON","Once":"ON","StopOnError":"OFF","Length":62,"Free":449,"Rules":"on shutter#moving=1 do backlog power3 on;delay 10;var1 0 endon"}
{"Rule2":"ON","Once":"OFF","StopOnError":"OFF","Length":51,"Free":460,"Rules":"on shutter#moved=1 do backlog var1 99;rule1 5 endon"}
2020-10-08 19:55:17 +02:00
stefanbode
5e5590b75a
Update xdrv_27_shutter.ino
...
Always room for a bug...
2020-10-07 18:01:07 +02:00
stefanbode
b8d4bce213
Update xdrv_27_shutter.ino
...
#9458 fix int16 overflow in calibration matrix
2020-10-05 12:45:08 +02:00
stefanbode
e8466371ad
Fix on Reboot and wrong operation during shutterstop
...
fix #9340
2020-09-27 15:36:56 +02:00
stefanbode
ecf9e4ea65
Fix int16 overflow on large open times
2020-09-18 08:31:05 +02:00
stefanbode
15ef20b685
small bug
2020-09-09 16:34:03 +02:00