6936 Commits

Author SHA1 Message Date
Hadinger
4f74c70270 Add LightPowerIRAM() for rotary interrupt handler 2020-01-03 17:57:47 +01:00
Theo Arends
b82d1fdcc3 Move all Rotary interrupt code to iRAM
Move all Rotary interrupt code to iRAM (#7410)
2020-01-03 17:07:40 +01:00
Theo Arends
8c2ff7237e Fix Arduino_OTA compile error
Fix Arduino_OTA compile error (#7413)
2020-01-03 16:50:56 +01:00
Theo Arends
9249958d90
Merge branch 'development' into bmp 2020-01-03 16:31:39 +01:00
Theo Arends
319965fba2
Merge pull request #7423 from jpenninkhof/development
Reset SSD1306 before initialisation when OLED reset pin is set
2020-01-03 16:08:34 +01:00
Jan Penninkhof
d15969bd1e
Reset before initialisation of the SSD1306 when OLED reset pin is set
If an OLED Reset pin has been selected using the PIN configuration, it makes sense to also send a reset signal to this pin before initialization of the display. The current value 0 doesn't send this signal, not even when a reset pin has been selected. Hence the change of value 0 into reset_pin >= 0. If no reset pin was set, the value of this variable is -1.
2020-01-03 10:07:42 +01:00
Hadinger
0ab3ba6fab Fix wrong gamma correction for Module 48 lights (PWM5 for CT) 2020-01-02 22:36:27 +01:00
Andre Thomas
06f053c172
- Add support to BMP driver to enter reset state (sleep enable) 2020-01-02 22:51:15 +02:00
Andre Thomas
6a54eef50a
- Add support to BMP driver to enter reset state (sleep enable)
- Add support to BMP driver to enter reset state (sleep enable) when deep sleep is used in Tasmota
2020-01-02 22:40:14 +02:00
Andre Thomas
356e005909
BMPxxx - Enter power on state before deep sleep 2020-01-02 22:38:18 +02:00
Theo Arends
894950ca4e Fix wrong JSON sensor message 2020-01-02 17:40:00 +01:00
Theo Arends
c4f6a359a7 Add experimental support for NRF24L01 as BLE-bridge
Add experimental support for NRF24L01 as BLE-bridge for Mijia Bluetooth sensors by Christian Baars (#7394)
2020-01-02 16:58:20 +01:00
Theo Arends
5489c91172
Merge pull request #7394 from Staars/nrf24_PR
BLE-bridge for certain Mijia-Bluetooth-sensors via NRF24L01
2020-01-02 16:28:22 +01:00
Theo Arends
1e0550e750 Add command ShutterButton <parameters>
Add command ``ShutterButton <parameters>`` to control shutter(s) by to-scho (#7403)
2020-01-02 15:12:59 +01:00
Theo Arends
eb7e7d45b2
Merge pull request #7403 from to-scho/feature/initial_shutter_button_support
Initial support for shutter button control
2020-01-02 14:48:13 +01:00
Theo Arends
044fae2a6e
Update settings.h 2020-01-02 14:47:33 +01:00
Theo Arends
8e3540d58d
Merge pull request #7405 from to-scho/hotfix/shutter_calibration_command_add_response
Add response to ShutterCalibration command
2020-01-02 14:40:25 +01:00
Theo Arends
7ca423da92
Merge pull request #7406 from to-scho/hotfix/shutter_pos_to_percentage_fix
Wrong shutter percentage reporting
2020-01-02 14:39:19 +01:00
Theo Arends
7ea9204425 Add some info to Prometheus file 2020-01-02 14:17:49 +01:00
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
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
Bohdan Kmit
df9781d71e Use symbolic chars in WebUI for Ukrainian language (µ,Ω,³,₂) 2019-12-31 15:12:27 +02: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
Staars
5d10b92c54 change height to altitude 2019-12-30 16:20:21 +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
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
Jason2866
b7d2045c21
Wrong spelling Particles 2019-12-29 17:26:45 +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