Commit Graph

6474 Commits

Author SHA1 Message Date
to-scho
a9a5c33327 Wrong shutter percentage reporting
With calibrated shutters and ShutterPosition<x> 100 the resulting position may not be 100. This is due to 2 issues. a) percentage is calculated wrong from position due to numerical precision. b) real_position and subsequently position after movement is slightly smaller than max_position.

a) is fixed here by avoiding calculation when position is equal to calibration point
b) open, not fixed here. Issue further depends on start_position which makes it hard to reproduce. Maybe 'stop_position_delta=20' results is real_position not reaching max_position.
2020-01-02 12:46:12 +01:00
to-scho
f2a89605af Add response to ShutterCalibration command
When ShutterCalibration<x> is called without any arguments no response was given before that allows to read out setting like for other commands. Workaround was to call ShutterRelay<x> <y>.
2020-01-02 12:37:07 +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
21ea26e132
Update my_user_config.h 2020-01-02 09:54:58 +01:00
Staars
ee7e9078f0 initial commit 2020-01-01 19:09:20 +01:00
Theo Arends
01b5df9651 Add optional support for Prometheus
Add optional support for Prometheus using file xsns_91_prometheus.ino (#7216)
2020-01-01 17:17:10 +01:00
Theo Arends
3c491a8434
Merge pull request #7390 from s-hadinger/fade_gamma_improved
Fix Improved fade linearity with gamma correction
2020-01-01 16:20:04 +01:00
Hadinger
579a76ced6 Fix Improved fade linearity with gamma correction 2020-01-01 16:11:36 +01:00
Theo Arends
287b3b97f1 Fix some display issues
- Fix LCD line and column positioning (#7387)
- Fix Display handling of hexadecimal escape characters (#7387)
2020-01-01 15:13:58 +01:00
Theo Arends
b05301b149 Refactor change 2019-12-31 17:24:47 +01:00
Theo Arends
c13b755a59 Fix addition of backlog to IF clause
Fix addition of backlog to IF clause (#7342)
2019-12-31 17:17:30 +01:00
Theo Arends
5281725b9b Raise max valid load from 3.68 to 4kW
Raise max valid load from 3.68 to 4kW (#7155)
2019-12-31 15:34:27 +01:00
Theo Arends
8aa9109656 Happy New Year
Happy New Year
2019-12-31 14:23:34 +01:00
Theo Arends
f013bd4f34
Merge pull request #7383 from bkmit/development
Use symbolic chars in WebUI for Ukrainian language (µ,Ω,³,₂)
2019-12-31 14:19:41 +01:00
Bohdan Kmit
df9781d71e Use symbolic chars in WebUI for Ukrainian language (µ,Ω,³,₂) 2019-12-31 15:12:27 +02:00
Theo Arends
50eac8e2e5
Merge pull request #7378 from localhost61/development
Use symbolic chars in WebUI for all languages (µ,Ω,³,₂)
2019-12-31 13:40:10 +01:00
localhost61
9e1a595d58 Use symbolic chars in WebUI for all languages (µ,Ω,³,₂)... but keep MHZ 2019-12-30 19:57:09 +01:00
Theo Arends
1e06976eee
Merge pull request #7039 from ahoiahoi/domoticz-shutter
domoticz blinds -> tasmota support
2019-12-30 17:00:38 +01:00
Theo Arends
a6cecfcb79 Add support for ADC0 Current Transformer
- Bump version to 8.1.0.2
- Add support for ``AdcParam`` parameters to control ADC0 Current Transformer Apparent Power formula by Jodi Dillon (#7100)
2019-12-30 16:42:53 +01:00
Theo Arends
e0f170160a
Merge pull request #7376 from Staars/development
change height to altitude
2019-12-30 16:27:03 +01:00
Staars
5d10b92c54 change height to altitude 2019-12-30 16:20:21 +01:00
Theo Arends
be29e71c96 Update decode-status.py 2019-12-30 14:24:00 +01:00
Theo Arends
1526a59162 Refactor HotPlug 2019-12-30 14:23:37 +01:00
Theo Arends
3fabf6d2f9
Merge pull request #7368 from BASM/hotplug
HotPlug for sensors support added
2019-12-30 12:48:51 +01:00
Theo Arends
a9af1c5154
Merge pull request #7375 from Jason2866/patch-5
u in µ and m3 in m³
2019-12-30 12:29:26 +01:00
Jason2866
2d99eca6e8
u in µ and m3 in m³ 2019-12-30 12:03:14 +01:00
Leonid Muravjev
ed5330169a HotPlug for sensors support added 2019-12-29 23:10:53 +03:00
Theo Arends
6bba9df362
Merge pull request #7370 from Staars/ubx
add error checking for init and loops
2019-12-29 20:48:20 +01:00
Staars
6c189b40bf add error checking for init 2019-12-29 19:41:31 +01:00
Theo Arends
2d1e95ed5e
Merge pull request #7367 from Jason2866/patch-4
Wrong spelling Particles
2019-12-29 18:53:18 +01:00
Jason2866
b7d2045c21
Wrong spelling Particles 2019-12-29 17:26:45 +01:00
Theo Arends
ffb388dcb1
Merge pull request #7366 from gemu2015/ibeacon-update
support for hm17 (v110) and hm10 (V609)
2019-12-29 16:57:39 +01:00
gemu2015
858103e082 support for hm17 (v110) and hm10 (V609) 2019-12-29 16:49:36 +01:00
Theo Arends
df944ed058 Fix Serial initialization regression
Fix Serial initialization regression from previous fix
2019-12-29 13:27:48 +01:00
Theo Arends
d627de5d76
Merge pull request #7364 from stefanbode/patch-9
Fixed infinite loop bug
2019-12-29 10:32:29 +01:00
stefanbode
ddbca8e393
Update xdrv_27_shutter.ino
Fix infinite loop for shutter
2019-12-29 16:19:26 +07:00
Theo Arends
0c9c41b10f
Merge pull request #7361 from s-hadinger/white_more_fixes
More White fixes
2019-12-29 08:53:00 +01:00
stefanbode
9974d29726
Update xdrv_27_shutter.ino
Minor fix in recognizing stepper
2019-12-29 13:04:34 +07:00
Adrian Scillato
8e2b60d3b9
Merge pull request #7362 from ascillato/patch-1
Update Spanish Translation
2019-12-28 19:51:22 -03:00
Adrian Scillato
e489f428d9
Merge pull request #7359 from Jason2866/patch-3
Translate Script to DE
2019-12-28 19:50:16 -03:00
Adrian Scillato
fd5c087106
Update Spanish Translation 2019-12-28 19:23:38 -03:00
Hadinger
1f57af1d12 More White fixes 2019-12-28 22:59:20 +01:00
Jason2866
990ee2e0bc
Translate Script 2019-12-28 22:44:55 +01:00
Theo Arends
5474332b50
Merge pull request #7358 from s-hadinger/fix_white
Fix: White added to light status (#7142)
2019-12-28 22:42:40 +01:00
Hadinger
e089ded193 Fix `White` added to light status (#7142) 2019-12-28 22:32:08 +01:00
Theo Arends
b32145e864
Merge pull request #7357 from bkmit/development
Make scripter configuration interface localizable
2019-12-28 22:06:22 +01:00
Theo Arends
836946763e
Merge pull request #7231 from ascillato/patch-2
PubSubClient: Allow clean disconnection as optional.
2019-12-28 22:02:58 +01:00
Bohdan Kmit
7a49f523e7 Make scripter configuration interface localizable
Add tasmota-script build environment and travis entry
2019-12-28 22:32:26 +02:00
Theo Arends
a4749ec004
Merge pull request #7356 from stefanbode/patch-8
Update xdrv_27_shutter.ino
2019-12-28 17:27:23 +01:00
stefanbode
daf3d27c9a
Update xdrv_27_shutter.ino
Try to bugfix
2019-12-28 23:24:52 +07:00