Commit Graph

183 Commits

Author SHA1 Message Date
Theo Arends 044fae2a6e
Update settings.h 2020-01-02 14:47:33 +01:00
to-scho 406a5a15f5 Initial support for shutter button control
New command "ShutterButton<x> <a> <b> <c> <d> <e> <f> <g> <h> <i> <j>" added that allows to assign a tasmota button <x> to control shutter <a>.

Single press button shutter is set to position <b>.  Double press button shutter is set to position <c>. Tripple press button shutter is set to position <d>. Hold button shutter is set to position <e>. Disabling any button action is given by <b> ... <e> equal to "-". Any press of the button while the shutter is moving will immediately stop that shutter.

Global steering of all your shutters at home is supported by MQTT. By any button action an MQTT command can be initiated to the <grouptopic> of the device. For single press button this can be enabled by <f> equal to "1". Disabling is indicated by <f> equal to "0". Double to hold actions are given by <g> ... <i>, correspondingly. When <j> is equal to "0" only "cmnd/<grouptopic>/Shutterposition<y> ..." with <y>=<x> is fired. When <j> is equal to "1" <y>=1...4 is used to control any shutter number of a tasmota device having same <grouptopic>.

Easy setup for an "up" button:
ShutterButton<x> <a> up (same as ShutterButton<x> <a> 100 50 74 100 0 0 0 1 1)
Single press will move shutter up to 100%, double press to 50% and tripple press to 74%. Holding the button for more than the hold time (SetOption32) moves all shutters with same <grouptopic> up to 100%.

Easy setup for an "down" button:
ShutterButton<x> <a> down (same as ShutterButton<x> <a> 0 50 24 0 0 0 0 1 1)
Single press will move shutter down to 0%, double press to 50% and tripple press to 24%. Holding the button for more than the hold time (SetOption32) moves all shutters with same <grouptopic> down to 0%.

Easy setup for an "updown" button:
ShutterButton<x> <a> updown (same as ShutterButton<x> <a> 100 0 50 - 0 0 0 0 0)
Single press will move shutter up to 100%, double press down to 0% and tripple press to 50%. No hold action and no other shutter control by MQTT.
2020-01-02 11:23:11 +01:00
Theo Arends 8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Leonid Muravjev ed5330169a HotPlug for sensors support added 2019-12-29 23:10:53 +03:00
Andre Thomas aefb3fb9de
Reserve SetOption79
Used to enable resetting of the counter values to zero after telemetry data was transmitted.
2019-12-28 16:47:30 +02:00
Theo Arends a2478f9569 Change number of ``FriendlyName``s from 4 to 8
Change number of ``FriendlyName``s from 4 to 8
2019-12-24 15:06:19 +01:00
Theo Arends 35e51918e3 Document Settings changes 2019-12-22 16:53:51 +01:00
Theo Arends ad4a7e91ac Add support for max 150 characters
Add support for max 150 characters in most command parameter strings (#3686, #4754)
2019-12-22 15:23:52 +01:00
Theo Arends f55e02e800 Bump version to 8.0.0.1
Change Settings text handling allowing variable length text within a total text pool of 699 characters
2019-12-21 15:37:36 +01:00
Theo Arends 7e24ed9c2c Fix error message 2019-12-20 18:24:20 +01:00
Theo Arends 3d59de5d1d Bump version to 7.1.2.6
- Change some more Settings locations freeing up space for future single char allowing variable length text
- Add Zigbee support for Xiaomi Aqara Vibration Sensor and Presence Sensor by Stefan Hadinger
- Add Shutter functions ramp up/down and MQTT reporting by Stefan Bode
2019-12-14 13:16:55 +01:00
Theo Arends 21fa1fa04e Bump version to 7.1.2.5
Change some Settings locations freeing up space for future single char allowing variable length text
2019-12-13 12:05:07 +01:00
Theo Arends bfe2dc68cb Fix statistics 2019-12-11 19:30:52 +01:00
Theo Arends eccc9f20f5 Add weight_change for #7170
Add weight_change for #7170
2019-12-11 11:54:27 +01:00
Theo Arends dfee90bd61 Changelog update 2019-12-09 15:15:16 +01:00
Shantur Rathore 6c3d029286 Implement capability for setting CORS to a specific website instead of just enable for all websites 2019-12-08 21:07:39 +00:00
Theo Arends 00fd7f2f7c Bump version to 7.1.2.2
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108)
2019-12-06 15:02:05 +01:00
Theo Arends ac065867d3 Add command ``SetOption77 0/1``
Add command ``SetOption77 0/1`` to keep power on when slider is far left
2019-11-29 13:11:35 +01:00
Theo Arends 14f6f6f22b Add command TempOffset -12.6 .. 12.6
Add command TempOffset -12.6 .. 12.6 to set global temperature sensor offset (#6958)
2019-11-18 12:15:49 +01:00
stefanbode 1cf4152747
Update settings.h 2019-11-18 09:31:39 +01:00
Theo Arends 5c324357e6 Add command SetOption76 0/1
Add command SetOption76 0/1 to enable incrementing bootcount when deepsleep is enabled (#6930)
2019-11-15 11:50:41 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00
Theo Arends 1e29593469 Bump version 7.0.0.3
Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
2019-11-03 17:54:39 +01:00
Theo Arends 4b49979274 Add SetOption comments to code 2019-11-03 13:51:22 +01:00
Theo Arends 5f4e38023d Add SetOption comments to code 2019-11-03 12:33:36 +01:00
Theo Arends 57e62b1e68 Bump version 7.0.0.2
Add command WebColor19 to control color of Module and Name (#6811)
2019-11-02 13:25:23 +01:00
localhost61 d6115b7dd1 Add COLOR_TITLE as WebColor19 2019-11-02 05:33:40 +01:00
Theo Arends e497421ace Add command SetOption75 0/1 to switch between grouptopic
Add command SetOption75 0/1 to switch between grouptopic (0) using fulltopic replacing %topic% or (1) is cmnd/<grouptopic> (#6779)
2019-10-31 17:24:06 +01:00
Theo Arends 50e1038c05 Add support for SetOption82-113 2019-10-31 12:12:48 +01:00
Bohdan Kmit 393f568276 Add Setoption74 to runtime configuration of internal pullup resistor usage for single DS18x20 sensor 2019-10-30 21:58:38 +02:00
stefanbode fecf323678
Update settings.h 2019-10-30 09:32:06 +01:00
Theo Arends 2dabaa3d20 Add command SetOption73 0/1 to re-enable CORS
Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767)
2019-10-28 13:36:04 +01:00
Theo Arends 0e07397ff7 Change Sonoff-Tasmota to Tasmota 2019-10-27 12:04:08 +01:00