Commit Graph

5601 Commits

Author SHA1 Message Date
Theo Arends 07d79f3076
Merge pull request #7426 from s-hadinger/rotary_iram
Add LightPowerIRAM() for rotary interrupt handler
2020-01-03 18:05:30 +01:00
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 d473d8068a
Merge pull request #7416 from andrethomas/bmp
BMPxxx - Add support for deep sleep
2020-01-03 16:31:49 +01:00
Theo Arends 9249958d90
Merge branch 'development' into bmp 2020-01-03 16:31:39 +01:00
Theo Arends 13561ab52b
Merge pull request #7419 from mtfurlan/fix/platformio_override-scripts-comma-fix
fix(platformio_override_sample): extra_scripts doesn't deal well with commas
2020-01-03 16:26:15 +01:00
Theo Arends e618767058
Merge pull request #7418 from mtfurlan/fix/upload-script-fixing
fix: http-uploader.py cross platform support, espupload.py executable
2020-01-03 16:24:49 +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
Theo Arends 4447b681fb
Merge pull request #7417 from s-hadinger/fix_ct_module_48
Fix wrong gamma correction for Module 48 lights (PWM5 for CT)
2020-01-03 16:05:31 +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
Mark Furland 8078939d41 fix(platformio_override_sample): extra_scripts doesn't deal well with commas
If you put commas in the extra_scripts, it seems to just ignore the script after the comma?
Newlines work fine though
2020-01-02 19:49:11 -05:00
Mark Furland 5895637e9a fix: http-uploader.py cross platform support, espupload.py executable 2020-01-02 19:30:18 -05: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 d3d6014139
- 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:41:16 +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 853507b503
Merge pull request #7408 from Jason2866/patch-2
Add link for decode-config.py
2020-01-02 15:46:06 +01:00
Jason2866 04a672cf4b
Add link for decode-config.py 2020-01-02 15:34:17 +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 62ee923b3a
Merge pull request #7407 from to-scho/hotfix/rc-switch_conrad_rs_200
rc-switch fix and support for Conrad_RS-200 protocol
2020-01-02 14:52:52 +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
to-scho f2b91117cd rc-switch fix and support for Conrad_RS-200 protocol
There is a tiny bug hat prevents the usage for "Conrad RS-200" based devices. The RS-200 protocol does not repeat packets that often. One need already to detect the end of the first packet. The gap between two transmission are not handled right when RF packet is received first time.

a) 1st gap detection fixed
b) Furthermore the "Conrad RS-200" protocol is added.
2020-01-02 14:46:31 +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
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