Commit Graph

32 Commits

Author SHA1 Message Date
stefanbode f109d6ff72
Ensure Shuttermotorstop even on direct relay operation (#18329)
* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account

* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account

* Ensure motorstoptime also on direct relay change

When relay is triggered with button or switches it did not take the motorstoptime into account
2023-04-04 16:17:12 +02:00
stefanbode efa7ae492e
Fix webpage, when ESP32 driver used (#18305)
* Fix to enable ESP32 shutter

* required changes for dual operation with ESP32 shutter

* fix

* Fix missing information on webpage
2023-04-01 14:53:01 +02:00
stefanbode d8f9a920ce
refactoring shutterbuttons completed (#18303)
* added support to set tilt with the shutterposition

Documentation will be changed.
OLD: shutterposition <position>
NEW: shutterposition <position>(optional)/<tilt>

e.g. shutterposition 50,-90

* refactoring of shutterbuttons completed

moved away from bitmatrix to struct Typedef to enable further development and functionality.
Added support to define tiltposition with shutterbuttons
2023-03-31 09:46:36 +02:00
stefanbode 5c14a3169b
Shutter esp32 support up to 16 shutters (#18295)
* Updates to support ESP32 shutter compiler option

* New ESP32 shutter driver

* Update xdrv_27_ESP32_shutter.ino

* Update xdrv_27_shutter.ino

* Update support_command.ino

* Update xdrv_27_shutter.ino

Fix compile error

* Update xdrv_27_ESP32_shutter.ino

Fix compile error

* Update xdrv_27_shutter.ino

Fix compile error

---------

Co-authored-by: Theo Arends <11044339+arendst@users.noreply.github.com>
2023-03-29 15:43:19 +02:00
stefanbode d0f4637611
Fix #18198 (#18204)
* Fix #18198

Fix wrong movement with tilt if additional endstop defined

* simplify
2023-03-16 14:38:04 +01:00
Theo Arends 12d7651758 Fix shutter JSON responses 2023-01-08 14:35:09 +01:00
stefanbode 0c588f2ff4
better fix on init (#17488)
try to avoid get  5000 if the init value is 65535. More focus on setting the standard of 500 on nearly any case
2022-12-23 09:53:10 +01:00
stefanbode 3c1531bf1c
shuttermotorstop init value, new max 5000 (#17484)
new max value (5 seconds)
shuttertilt logic check (avoid Theo's indefinite running shutter)
2022-12-22 17:02:01 +01:00
Theo Arends b2d3921778 Fix shutter logging 2022-12-21 15:26:42 +01:00
stefanbode 59fc09acc4
Fix on init procedure (#17447)
* fix output

* Avoid wrong init parameter

#17403
2022-12-19 20:31:02 +01:00
stefanbode 2902c93b29
functionality upgrade (#17380)
* functionality update see below:

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* Adding motorstop time for shutters

* Adding motorstop command for shutters

* func update

- added shutterxxx0 command to change all shutters in parallel. Similar to power0 command
- added flexible ShutterMotorstop time to control the time between one relay OFF and the next ON. Now not blocking anymore other operations
- fix recent bug "shuttermode x" not working anymore
- changed autoconfig behavior to avoid SHORT CIRCUIT on missing interlock setting or wrong shuttermode

* typo fix

* regression fix on "shutterposition stopclose"

* fix mulithread timing issue
2022-12-14 11:25:41 +01:00
stefanbode c4bb3366a2
Update xdrv_27_shutter.ino 2022-12-10 23:52:53 +01:00
stefanbode d2472ef56f
Update xdrv_27_shutter.ino 2022-12-08 18:54:45 +01:00
stefanbode c98164a400
Update xdrv_27_shutter.ino 2022-12-08 18:36:17 +01:00
stefanbode 27bbec0d40
Update xdrv_27_shutter.ino 2022-12-08 18:08:12 +01:00
stefanbode 8320a944d8
removed index from shuttermode 2022-12-08 12:55:34 +01:00
stefanbode 35475d9353
Avoid ghost switching in position 0 and 100
confirming the position and setting the tilt in 0 and 100% causes ghost switching of the relays. #16435
2022-12-06 16:27:34 +01:00
stefanbode 687e38f6b5
Fix #17282
fix reboot on "shutter" command
2022-12-06 09:27:51 +01:00
stefanbode 496aeeff07
Fix rounding error on tiltmovement
fix #17191
2022-12-04 14:41:38 +01:00
stefanbode 9be44131b9
Support Setoption13 1 on shutters to immediate feedback 2022-12-04 13:25:20 +01:00
stefanbode 46b0584282
Allow to maintain venetian tilt also on end-position 0 and 100
Requested by user
2022-11-25 17:04:57 +01:00
Theo Arends c1ea8953cb Refactor uint8_t to uint32_t 2022-11-11 10:44:56 +01:00
stefanbode 69c59fc73c
removed DebugLog 2022-08-15 21:57:56 +02:00
stefanbode 45bdaf14fd
stop shutter after longpress of buttons
https://github.com/arendst/Tasmota/discussions/16198 improved behavior on longpress of buttons
2022-08-15 21:55:57 +02:00
stefanbode 59fd20097c
Enhance behavior of tilt changes at end points 0% and 100%
#15974 mentioned there is unexpected behavior when direction changes and end points are not left.
2022-08-07 18:32:23 +02:00
stefanbode f637dd14aa
fix #15851
buffer overflow
2022-08-03 19:03:42 +02:00
Stephan Hadinger 47b1f40245 Fix PWM to allow 4 different frequencies 2022-08-01 19:27:49 +02:00
stefanbode 271d16ae10
Update xdrv_27_shutter.ino 2022-07-22 14:48:08 +02:00
Theo Arends 1f2e69272f Fix shutter reset savedata
Fix shutter reset savedata (#15895)
2022-07-18 15:39:26 +02:00
Theo Arends ea226228f5 Fix shutter exception 29
Fix shutter exception 29 (#15825)
2022-06-24 17:43:53 +02:00
Theo Arends e68f93b4e8 Fix shutter No valid JSON messages
Fix shutter No valid JSON messages (#15825)
2022-06-24 16:40:45 +02:00
Theo Arends c08561f67c Bump version to v11.1.0.4
- Restructure tasmota
2022-06-02 14:17:39 +02:00