Commit Graph

1627 Commits

Author SHA1 Message Date
Theo Arends fe63ddbd20 Fix prep for Buttons V2
Fix prep for Buttons V2 for ESP32 (#8177)
2020-04-14 17:18:34 +02:00
Theo Arends eb025461a1
Update settings.ino 2020-04-14 16:58:11 +02:00
Federico Leoni 0f1cd33323
Update settings.h 2020-04-14 11:51:00 -03:00
Federico Leoni 7a12a6f0b2
Add files via upload 2020-04-14 10:47:50 -03:00
Federico Leoni 03c9d75f18
Update tasmota.h 2020-04-14 10:47:01 -03:00
Federico Leoni 8cf4a2ca50
Update settings.h 2020-04-14 10:46:22 -03:00
Federico Leoni dd44163f3b
Update settings.ino 2020-04-14 10:45:23 -03:00
Theo Arends a52d4c5208 Revert "Merge pull request #8174 from gemu2015/scripter_update"
This reverts commit e66b961a54, reversing
changes made to 07ce431538.
2020-04-14 14:58:17 +02:00
Stephan Hadinger 4cf82bf0ea Fix compilation error 2020-04-14 12:56:08 +02:00
gemu2015 f3b1497875 update scripter script size on esp32 2020-04-14 12:11:15 +02:00
Theo Arends ba01cb2046 Fix GlobalTemp and GlobalHum
Fix GlobalTemp and GlobalHum (#8156)
2020-04-14 11:58:24 +02:00
Mickael Gaillard 35782c41aa Add APDS-9960 chip A8 sensor support
Signed-off-by: Mickael Gaillard <mick.gaillard@gmail.com>
2020-04-14 11:02:36 +02:00
Theo Arends b49f810d71
Merge pull request #8164 from barbudor/utctime_pr
Added %utctime% as rules variable
2020-04-14 09:38:10 +02:00
Paul C Diem f7d5e2d018 Fix Color<1,2> <index> with palette 2020-04-13 17:55:12 -05:00
Barbudor 2224e56e1b Added %utctime% as rules variable
Was in the docs but not implemented
2020-04-13 23:05:12 +02:00
Stephan Hadinger cb0f6dd3eb Add ``DimmerRange`` for PWM lights (#8120) 2020-04-13 21:00:52 +02:00
Theo Arends e8f3d1d986 Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration again!)
2020-04-13 17:45:06 +02:00
Stephan Hadinger 11117ccc50 Fix Scheme 2-4 brightness when SetOption68 1 (#8058) 2020-04-13 16:49:09 +02:00
Stephan Hadinger 2bfc70f565 Fix Scheme 2-4 brightness when SetOption68 1 (#8058) 2020-04-13 16:47:27 +02:00
Theo Arends e23a2e7815
Merge pull request #8154 from Staars/development
adapt GPS-stuff for ESP32
2020-04-13 16:25:51 +02:00
Staars 5588d1dda0 adapt GPS-stuff for ESP32 2020-04-13 16:20:49 +02:00
Theo Arends 5db2ac1955 Add commands ``GlobalTemp`` and ``GlobalHum``
Add commands ``GlobalTemp`` and ``GlobalHum`` to init sensor data (#8152)
2020-04-13 14:40:29 +02:00
Theo Arends 125d773763
Merge pull request #8152 from device111/development
Add change global hum and temp with command
2020-04-13 14:36:39 +02:00
device111 20c9a9cadf Add change global hum and temp with command 2020-04-13 13:26:49 +02:00
Theo Arends 16ca5cb103 Increase ESP32 compatibility 2020-04-13 13:01:54 +02:00
Theo Arends f345cc78b2 Fix compile error 2020-04-13 12:32:53 +02:00
Theo Arends 5337d84063 Add SetOption41 to my_user_config.h 2020-04-13 12:27:53 +02:00
Theo Arends baf3b9b662 Add command ``Palette``
Add command ``Palette`` to add the ability to specify a palette of colors (#8150)
2020-04-13 12:19:16 +02:00
Theo Arends 6030501673
Merge pull request #8148 from gemu2015/sendmail_esp32
sendmail ESP32
2020-04-13 12:07:25 +02:00
Stephan Hadinger 073f0267f0 Avoid logging AWS IoT shadow when no MQTT connection 2020-04-13 11:40:07 +02:00
Paul C Diem b4f7500a31 Add light palette support 2020-04-12 23:17:25 -05:00
gemu2015 a5d3974c56 sendmail ESP32 2020-04-12 19:28:19 +02:00
Theo Arends ad1054a6ae Increase ESP32 compatibility
Increase ESP32 compatibility (breaks current ESP32 configuration!)
2020-04-12 18:17:35 +02:00
Stephan Hadinger 3e517ce9b7 - Fix prevent multiple pings to run concurrently 2020-04-12 15:01:45 +02:00
Theo Arends 42d82fdc97 Fix PMS5003 input range 2020-04-12 14:54:06 +02:00
gemu2015 b796607264 update for esp32 2020-04-12 13:22:23 +02:00
Theo Arends e0774ab9bb
Merge pull request #8144 from Staars/development
update xsns_62_MI_HM10.ino
2020-04-12 12:36:40 +02:00
Theo Arends 0c24651ed0 Add interval to PMS5003 sensor
Add interval to PMS5003 sensor to extend lifetime (#8128)
2020-04-12 12:35:58 +02:00
Staars bd8213cfd4 update xsns_62_MI_HM10.ino 2020-04-12 12:14:30 +02:00
Theo Arends 0d2287dc94
Merge pull request #8128 from gururise/development
Add Interval to PMS5003 sensor to extend lifetime.
2020-04-12 12:05:08 +02:00
Theo Arends 7651b447fb Fix SI1145 compile warning
Fix SI1145 compile warning (#8141)
2020-04-12 11:26:33 +02:00
to-scho 7feb463ffe Added 'toggle' to valid ShutterPosition arguments like up, down, open, close
doc already updated
2020-04-12 10:36:24 +02:00
gururise 86455df73b move PMS5003_TX to end of kSensorNames[] array to avoid breaking gpio numbering 2020-04-11 12:02:09 -07:00
gururise 54f7cf475d create new setting pms_wake_interval for PMS sensor interval time 2020-04-11 10:37:12 -07:00
Stephan Hadinger a3abdbfef2 Ensure zb_channel is in 11..26 range 2020-04-11 19:01:39 +02:00
gururise 57b28112b0 move new GPIO TX to end of enum to avoid breaking gpio numbering 2020-04-11 09:55:15 -07:00
Stephan Hadinger 9addde235a Add Zigbee command ``ZbConfig`` and configuration in Settings 2020-04-11 18:50:46 +02:00
Gene Ruebsamen 3360970d37
Merge pull request #1 from arendst/development
merge latest changes from development
2020-04-11 09:44:17 -07:00
Theo Arends ca6553cbfc
Merge pull request #8137 from blakadder/fix-apds
remove deprecated function
2020-04-11 18:41:08 +02:00
blakadder 55f4c53e9b remove deprecated function 2020-04-11 18:31:06 +02:00
Theo Arends 45e9408b73 Add support for AS3935 Lightning Sensor
Add support for AS3935 Lightning Sensor by device111 (#8130)
2020-04-11 14:51:08 +02:00
Theo Arends 9aa0f27e6c
Merge pull request #8135 from s-hadinger/zigbee_settings_reserve
Reserve 28 bytes in Settings for Zigbee configuration
2020-04-11 10:44:18 +02:00
Stephan Hadinger ed4cc8c226 Save 28 bytes in Settings for Zigbee configuration 2020-04-11 10:35:31 +02:00
Theo Arends 2e3836134e
Merge pull request #8133 from ascillato/patch-1
Fix ESP32 Compilation
2020-04-11 10:29:29 +02:00
Theo Arends 2a74196e6a
Merge pull request #8130 from device111/development
support for AS3935, initial commit
2020-04-11 10:27:53 +02:00
Theo Arends c2b1679198
Merge pull request #8127 from to-scho/feature/shutter_stopaction_commands
New shutter commands ShutterToggle, ShutterStopOpen, ShutterStopClose…
2020-04-11 10:00:58 +02:00
Adrian Scillato e76ec8b18a
Fix ESP32 Compilation 2020-04-11 04:54:13 -03:00
device111 cd8436a2ae Update my_user_config.h 2020-04-11 09:48:55 +02:00
Theo Arends 849916a5ce
Merge pull request #8121 from s-hadinger/light_init
Limit power after reinit
2020-04-11 08:28:22 +02:00
to-scho 771f53ddcd New shutter commands ShutterToggle, ShutterStopOpen, ShutterStopClose, ShutterStopToggle, ShutterStopPosition
ShutterToggle opens shutter when actual shutterposition <=50 and closes otherwise. ShutterStopXxx commands will stop shutter when shutter is currently moving and will be same as ShutterXxx otherwise.
2020-04-11 08:28:05 +02:00
gururise 873d0092e5 settings value changed to uint16 and now in seconds 2020-04-10 23:22:27 -07:00
Adrian Scillato 85e6b522e3
KNX: Fixed Console Log 2020-04-11 03:10:48 -03:00
device111 2f627f98ce support for AS3935, initial commit 2020-04-11 01:48:37 +02:00
Stephan Hadinger 50217485ec Limit power after reinit 2020-04-10 22:55:21 +02:00
Stephan Hadinger c42598f8c3 Add USE_PING 2020-04-10 20:51:15 +02:00
Stephan Hadinger cc9c3c3922 Add command ``Ping`` (#7176) 2020-04-10 20:40:56 +02:00
Theo Arends 93fd5dd618 Add experimental minimal support for ESP32
Add experimental minimal support for ESP32 (#8110)
2020-04-10 18:24:08 +02:00
Theo Arends 13d7943b58 Add support for Seven Segment display
Add support for Seven Segment display using HT16K33 (#8116)
2020-04-10 16:05:43 +02:00
Theo Arends d9d554f218
Update my_user_config.h 2020-04-10 15:33:10 +02:00
Theo Arends 8b722e7a4f
Update xdsp_11_sevenseg.ino 2020-04-10 15:31:20 +02:00
Theo Arends 6254c9a35c
Merge branch 'development' into development 2020-04-10 15:28:55 +02:00
Theo Arends afb8c60093 Add support for an iAQ sensor (#8107)
Add support for an iAQ sensor (#8107)
2020-04-10 15:13:01 +02:00
Theo Arends 3c7231ec5d
Merge pull request #8107 from Staars/iAQ
add iAQ-core air quality sensor
2020-04-10 15:04:51 +02:00
Theo Arends 03968925eb Small optimization in Group Topic 2020-04-10 14:38:00 +02:00
Khoa Ton 90d294fc47 Fixed error in sample usage comment 2020-04-10 01:56:23 -07:00
Theo Arends a0b0c32ff4 Update references 2020-04-10 10:52:22 +02:00
Theo Arends aad1aa0dbd Fix grpflg regression
Fix grpflg regression (#8114)
2020-04-10 10:38:39 +02:00
Khoa Ton eb796f8976 New driver for I2C HT16K33 backpack 7 segment LED 2020-04-10 01:06:00 -07:00
Khoa Ton 6da4ec4404 Revert "Better support for LCD 2004A 20x4 #8062"
This reverts commit f1ed412acb.

Revert to remove unwanted commit, bringing back to match upstream HEAD
2020-04-10 00:42:41 -07:00
Theo Arends d1b1585d1c Prep for easier preconfigurations 2020-04-09 15:32:23 +02:00
Staars 90be0804eb add iAQ-core air quality sensor 2020-04-09 14:22:44 +02:00
Theo Arends d8f750ebb9 Add legacy support 2020-04-09 14:00:02 +02:00
Theo Arends 6f51fd4763 Update Changelog and Release Notes 2020-04-09 12:47:47 +02:00
Theo Arends 24fa00ad57 Fix grpflg detection
Fix grpflg detection (#8095)
2020-04-09 11:51:39 +02:00
Theo Arends e69f103755 Small change to Settings var names 2020-04-09 11:40:26 +02:00
Stephan Hadinger eeb7552c54 Change IRremoteESP8266 library updated to v2.7.5 2020-04-09 10:25:50 +02:00
gururise 9516f339d6 PMS5003 use active mode if TX pin not connected 2020-04-08 12:36:44 -07:00
gururise ad673bec6c send commands using correct serial object 2020-04-08 11:41:10 -07:00
gururise 51909679d4 Update language files for PMS5003 RX and TX 2020-04-08 10:47:45 -07:00
gururise 2a08a0e9e6 PMS5003 allow config for continuous or interval readings 2020-04-08 10:29:54 -07:00
gururise b7e7fbdc15 define WARMUP_PERIOD for sensor warmup 2020-04-08 10:27:49 -07:00
gururise a1f1065be8 Add PMS5003 commands 2020-04-08 10:25:40 -07:00
gururise ffd5338150 PMS5003 RX TX pin handling in PmsInit 2020-04-08 10:22:32 -07:00
gururise 8d1322984c Add PMS5003 RX and TX gpio pints to tasmota_template.h 2020-04-08 10:11:37 -07:00
Stephan Hadinger 5b8e19486d Fix Zigbee crash with Occupancy sensor (#8089) 2020-04-08 15:20:04 +02:00
Theo Arends 83122f7d09
Merge pull request #8093 from pcdiem/devgroupsend
Add DevGroupSend command
2020-04-08 08:50:17 +02:00
Stephan Hadinger 11746d942e Fix PWM flickering during wifi connection (#8046) 2020-04-07 22:18:29 +02:00
Paul C Diem 9794f12460 Add DevGroupSend command 2020-04-07 13:25:58 -05:00
Theo Arends 8b7aca39f2 Update changelog and release notes 2020-04-07 17:25:37 +02:00
Theo Arends e964cbca6b Update tr-TR.h 2020-04-07 16:45:01 +02:00
Theo Arends 53717df2e9 Fix wifi quick connect
Fix wifi quick connect
2020-04-07 16:39:04 +02:00
Theo Arends 7e162e6caf Update Wifi connection error message
Update Wifi connection error message
2020-04-07 16:31:22 +02:00
Theo Arends 253c947d7b Add more fall back from quick connect
Add more fall back from quick connect
2020-04-07 16:02:51 +02:00
Stephan Hadinger 6219c0fee2 Moving test inside timer condition 2020-04-07 14:21:17 +02:00
Stephan Hadinger 7a6628d903 Add command ``SetOption41 <x>`` to force sending gratuitous ARP every <x> seconds 2020-04-07 14:07:00 +02:00
Theo Arends 05af60074f Add quick wifi connect using saved AP parameters
Add quick wifi connect using saved AP parameters when ``SetOption56 0`` (#3189)
2020-04-07 12:19:54 +02:00
Theo Arends ffa694f80a
Merge pull request #8088 from Staars/GPS_PR
update xsns_60_GPS.ino
2020-04-07 09:45:07 +02:00
Theo Arends d735a56e86
Merge pull request #8087 from pcdiem/device-groups-5
Add DevGroupName command
2020-04-07 09:43:19 +02:00
Jason2866 37c3de4bdd
Delete eagle.flash.1m.ld_FP_IN_IROM 2020-04-07 09:29:19 +02:00
Jason2866 ae3877b215
Delete eagle.rom.addr.v6.ld 2020-04-07 09:29:10 +02:00
Paul C Diem 2a367512d7 Add DevGroupName command 2020-04-06 12:29:50 -05:00
Staars cefc278bdf update xsns_60_GPS.ino 2020-04-06 19:24:11 +02:00
Stephan Hadinger 34fc92d6ca Add command ``SetOption91 1`` to enable fading at startup / power on 2020-04-06 10:46:17 +02:00
Theo Arends 2d5ee49e9f
Merge pull request #8075 from Staars/NRF24PR
update xsns_61_MI_NRF24.ino
2020-04-05 21:53:22 +02:00
Staars 432e2d8e75 update xsns_61_MI_NRF24.ino 2020-04-05 16:21:27 +02:00
Theo Arends 17c605ac6a Make checkbox and radiobox label clickable
Make checkbox and radio label clickable (#8066)
2020-04-05 14:11:49 +02:00
Theo Arends b33fa68c01 Fix BH1750 MT lux calculation
Fix BH1750 MT lux calculation (#8057)
2020-04-05 11:52:02 +02:00
Theo Arends 14030df1f4
Merge pull request #8067 from pcdiem/device-groups-4
Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light
2020-04-05 08:43:02 +02:00
Theo Arends ad86f2c3a6
Merge pull request #8060 from pcdiem/dgr-light-scheme-1
Handle light schemes shared in device groups
2020-04-05 08:41:35 +02:00
Theo Arends ceb396fd08
Merge pull request #8056 from pcdiem/pwm-dimmer-4
Enable Normal ButtonTopic/Rule Processing
2020-04-05 08:40:16 +02:00
Paul C Diem cca5b8e35b Call XdrvCall even for power. Fix devgrp index mask in xdrv_04_light 2020-04-04 10:27:40 -05:00
Khoa Ton f1ed412acb Better support for LCD 2004A 20x4 #8062 2020-04-04 02:01:38 -07:00
Paul C Diem 1e1fd7aece Handle schemes shared in device groups 2020-04-03 18:24:48 -05:00
Paul C Diem f393e2ade4 Use SetOption32 for hold time, Use SendKey to process ButtonTopic/Rules and ignore handled button presses/holds. 2020-04-03 11:49:01 -05:00
Theo Arends c066b0c8e2 Fix compile error if no USE_LIGHT 2020-04-03 18:34:02 +02:00
Theo Arends 49febe4a54 Add BH1750 Measurement Time control
Add command ``Sensor10 31..254`` to control BH1750 measurement time which defaults to 69 (#8016)
2020-04-02 15:17:54 +02:00
Theo Arends 4b09af8a36 Add BH1750 resolution control
Add command ``Sensor10 0/1/2`` to control BH1750 resolution - 0 = High (default), 1 = High2, 2 = Low (#8016)
2020-04-01 16:46:12 +02:00
Theo Arends caff54da7c Fix unquoted non-json data
Fix unquoted non-json data (#8040)
2020-04-01 14:39:43 +02:00
Theo Arends ec899817aa Change some deepsleep wake messages
- Change remove MQTT Info messages on restart for DeepSleep Wake (#8044)
- Add command ``SetOption90 1`` to disable non-json MQTT messages (#8044)
2020-04-01 14:05:30 +02:00
Stephan Hadinger f46923ba1e Change remove floating point libs from IRAM 2020-03-31 23:04:17 +02:00
Markus Peter a515a10c42
Use unicode decimal code for shutter buttons
Use unicode decimal code for up and down triangles in shutter button labels instead of unicode character
2020-03-31 18:04:32 +02:00
Theo Arends e319f4ec40 Refactor light 2020-03-31 17:36:23 +02:00
Theo Arends 39d8011c89 Change light scheme 2,3,4 cycle time
Change light scheme 2,3,4 cycle time speed from 24,48,72,... seconds to 4,6,12,24,36,48,... seconds (#8034)
2020-03-31 17:27:33 +02:00
Theo Arends 7ebb5f3cb9 Add commands ``CounterDebounceLow`` and ``CounterDebounceHigh``
Add commands ``CounterDebounceLow`` and ``CounterDebounceHigh`` to control debouncing (#8021)
2020-03-31 16:30:30 +02:00
Theo Arends bd34db87b1
Merge pull request #8021 from to-scho/feature/counter_debounce_low_high
Enhanced counter debouncing
2020-03-31 16:12:03 +02:00
Theo Arends eccd5cdd19 Refactor web command history 2020-03-31 13:01:50 +02:00
Stephan Hadinger 8666765108 Zigbee change boolean attributes to int
BREAKING CHANGE, "Power" attribute will be reported as `0`/`1` insteas of `false`/`true`
2020-03-30 21:38:48 +02:00
Stephan Hadinger 06774daba6 Add Zigbee commands ``ZbBindState`` and ``manuf``attribute 2020-03-30 19:23:06 +02:00
bovirus 89014a915e
Update Italian language
Update italian language
Revised with feedback of @effeelle
Fixed a typo about D_SENSOR_RELAY
2020-03-30 17:33:12 +02:00
Theo Arends 490a7f2d9f Turn browser autocomplete off whan arrow is pressed
Turn browser autocomplete off and use command history as soon as an arrow key is pressed allowing mobiles and tablets to keep using browser autocomplete. (#8015)
2020-03-30 17:11:07 +02:00
Theo Arends 4631fb729a Add compile error message
Add compile error message when both rules and scripts are selected (#8026)
2020-03-30 12:52:09 +02:00
Theo Arends d713468c0c Add support for longer template names
Add support for longer template names
2020-03-29 17:41:31 +02:00
to-scho 4a2f3d87c5 Enhanced counter debouncing
New commands CounterDebounceLow and CounterDebounceHigh to allow individual debounce times for low and high pulse widths to discard non valid falling edges. These are checked before legacy CounterDebounce checks distance between to valid falling edges.
Useful to have robust counter results when using e.g. an TCRT5000 optical sensor to count electromechanical "Ferraris" electricity meters.
2020-03-29 17:05:52 +02:00
gemu2015 61b97350da ed300L support 2020-03-29 16:29:22 +02:00
Theo Arends 257dd18796 Add console command history (#7483, #8015)
Add console command history (#7483, #8015)
2020-03-29 15:35:58 +02:00
Theo Arends 397fea3bb2 Add Console command history
Add Console command history (#8015)
2020-03-29 15:17:54 +02:00
Theo Arends e5a44e6326 Refactor template 2020-03-28 18:08:43 +01:00
Theo Arends dbc9f16ffc Add support for up to four MQTT GroupTopics
- Bump version to 8.2.0.2
- Add support for up to four MQTT GroupTopics using the same optional Device Group names (#8014)
2020-03-28 16:48:36 +01:00
Norbert Richter 898fff9dbc
Add multiple GroupTopic<x> (x=1-4) (default disabled)
grouptopic (1-4) subscription even when USE_DEVICE_GROUPS
is not used.
2020-03-28 11:17:16 +01:00
Theo Arends ebb2d7a64b
Merge pull request #8012 from s-hadinger/oled_64x48
Add support for 64x48 SSD1306 OLED (#6740)
2020-03-27 17:00:14 +01:00
Stephan Hadinger aa0ace3763 Add support for 64x48 SSD1306 OLED (#6740) 2020-03-27 16:38:29 +01:00
Theo Arends 3bf1410563 Fix PCF8574 and MCP230xx address confict
Fix PCF8574 and MCP230xx address confict (#8010)
2020-03-27 16:34:00 +01:00
Stephan Hadinger 6c1f5576d0 Add Zigbee ZbUnbind command 2020-03-26 20:58:59 +01:00
Stephan Hadinger d4a9ed41c9 Add support for unreachable (unplugged) Zigbee devices in Philips Hue emulation and Alexa 2020-03-26 19:34:59 +01:00
Stephan Hadinger bec81f5089 Zigbee fix incorrect Hue value 2020-03-25 20:36:57 +01:00
Theo Arends aede481b61 Move not used GPIO init up in chain 2020-03-25 11:29:46 +01:00
Theo Arends 9888a77a15
Merge pull request #7988 from Staars/hm10_PR
Update HM10
2020-03-24 13:48:14 +01:00
Stephan Hadinger ac4d4ac571 Code optimization, cleaning and more error codes 2020-03-23 22:46:26 +01:00
Staars 4a89c56182 refactoring, more compact UI 2020-03-23 17:42:29 +01:00
Theo Arends 0a573bd0d6 Update changelog and releasenotes 2020-03-23 15:19:08 +01:00
Stephan Hadinger f9d6ab1825 Better test for bulbtype 2020-03-23 08:25:01 +01:00
Staars 8ea179aed5 catch hm10page 0, hm10period 1 now triggers one read cycle 2020-03-22 22:00:45 +01:00
Staars 12ec99ed07 web pagination, MJ_HT_V1 polling, some tweaks 2020-03-22 21:35:44 +01:00
Stephan Hadinger 4749222d95 Fix Zigbee sending wrong Sat value with Hue emulation 2020-03-22 19:14:11 +01:00
Theo Arends 5471de6f1c Change GPIO initialization solving possible Relay toggle on (OTA) restart
Change GPIO initialization solving possible Relay toggle on (OTA) restart
2020-03-22 17:42:32 +01:00
Theo Arends dc531110bd
Merge pull request #7979 from s-hadinger/zigbee_restore
Add command ``ZbRestore`` to restore device configuration dumped with ``ZbStatus 2``
2020-03-22 17:24:27 +01:00
Theo Arends 752fad8b19 Disable reset pins from core
Disable reset pins from core. Works with core below 2.5.0 and 2.6.3 + e64cb619f (or current STAGE). Should stop relay toggling at restart.
2020-03-22 16:18:48 +01:00
Stephan Hadinger 2c8dd288e7 Add command ``ZbRestore`` to restore device configuration dumped with ``ZbStatus 2`` 2020-03-22 16:11:01 +01:00
Theo Arends b6fc31ebb0 Bump version 8.2.0.1
- Bump version 8.2.0.1
- Change HM-10 sensor type detection and add features (#7962)
2020-03-21 15:46:28 +01:00
Theo Arends 140a6d36dc
Merge pull request #7962 from Staars/hm10_PR
update xsns_62_MI_HM10.ino
2020-03-21 15:33:05 +01:00
Theo Arends 211520b1c8 Bump version 8.2.0 2020-03-21 11:22:22 +01:00
Staars 5f759b03c2 update xsns_62_MI_HM10.ino 2020-03-21 10:17:21 +01:00
Theo Arends 1b703bcf49 Tune tasmota-sensors for size 2020-03-20 14:41:24 +01:00
Stephan Hadinger b438a9e1e4 Fix potential crash.
getZigbeeStatusMessage() does not return null anymore but empty string if the code is not found.
2020-03-20 10:33:40 +01:00
Theo Arends ca07ab5417 Prep for release 2020-03-19 15:58:37 +01:00
Stephan Hadinger 05ea7cd0c6 Fix probing ModelId and ManudID 2020-03-19 09:43:04 +01:00
Federico Leoni d646bcdc7a Update xdrv_12_home_assistant.ino 2020-03-18 11:02:20 -03:00
Theo Arends 18729bcc41 Add support for ElectriQ iQ-wifiMOODL
Add support for ElectriQ iQ-wifiMOODL RGBW light by ianbyte (#7947)
2020-03-18 12:32:13 +01:00
Theo Arends c1d7da258e
Merge pull request #7947 from ianbyte/development
Add support for the ElectriQ iQ-wifiMOODL RGBW LED controller
2020-03-18 12:13:39 +01:00
Ian King 7049c33b40 Disable ELECTRIQ_MOODL by default as it's a niche product 2020-03-18 10:58:19 +00:00
Ian King a9372fae06 Fix typo in GPIO define name 2020-03-18 10:30:52 +00:00
Ian King b250c59931 Keep sensor name short 2020-03-18 10:24:56 +00:00
Theo Arends 5a98fd44e2 Fix HumOffset on some sensors
Fix HumOffset on some sensors
2020-03-18 11:23:00 +01:00
Stephan Hadinger 43ea0b6356 Fix crash 2020-03-17 23:00:40 +01:00
Ian King 0609858b39 Fix typo 2020-03-17 21:45:42 +00:00
Ian King 740e91dd27 Fix typos 2020-03-17 21:35:44 +00:00
Ian King 4317f048aa Fix comment alignment 2020-03-17 21:28:40 +00:00
Ian King d7fc444281 Correct copyright date to 2020 2020-03-17 18:34:25 +00:00
Ian King e749df75ad Add support for ElectriQ iQ-wifiMOODL RGBW LED contoller 2020-03-17 18:27:17 +00:00
Stephan Hadinger 03ef61c426 Change Zigbee simplification of devices probing, saving Flash and memory 2020-03-17 18:46:05 +01:00
Theo Arends 0a0afe3615 Add Dew point to more sensors
Add Dew point to more sensors and refactor JSON Temperature and Humidity message
2020-03-17 16:29:59 +01:00
Theo Arends b00baaec53 Update release info 2020-03-17 11:22:55 +01:00
Theo Arends 026b932554 Add Dew Point to BME sensors
Add Dew Point to BME sensors
2020-03-17 11:10:39 +01:00
Theo Arends dad82fc472
Merge pull request #7934 from effelle/development
New command: Humidity Offset
2020-03-17 08:47:57 +01:00
Theo Arends f060954f54
Merge pull request #7935 from s-hadinger/pmem_2
Moving more strings to PROGMEM
2020-03-17 08:44:39 +01:00
Theo Arends a6de551acc
Merge pull request #7936 from catalintabirca/patch-3
Update ro-RO.h
2020-03-17 08:38:11 +01:00
Theo Arends b5e5e367a9
Merge pull request #7937 from pcdiem/device-groups-3
Check GroupTopic index, Fix response to include other groups
2020-03-17 08:37:07 +01:00
Norbert Richter b03e328d2d
Fix TX20 wind sensor start frame check 2020-03-17 08:25:55 +01:00
Paul C Diem 6b632ef280 Only exec power cmd for local dev group 2020-03-16 22:03:31 -05:00
Paul C Diem 9b0fc0985b Merge branch 'development' of https://github.com/arendst/Tasmota into device-groups-3 2020-03-16 17:08:11 -05:00
Paul C Diem 52b3739614 Check GroupTopic index, Fix response to include other groups 2020-03-16 17:06:41 -05:00
catalintabirca d5e918a462
Update ro-RO.h
correction of some diacritics and a few words
2020-03-16 20:37:13 +02:00
Stephan Hadinger 9df5294f12 Moving more strings to PROGMEM 2020-03-16 18:55:58 +01:00
Federico Leoni 5ba26780e9 Humidity Offset 2020-03-16 14:29:55 -03:00
device111 245dd244e9 Update DEW Point 2020-03-16 18:08:16 +01:00
Theo Arends a258296055 Add Dew Point to Temperature and Humidity sensors
Add Dew Point to Temperature and Humidity sensors
2020-03-16 17:09:15 +01:00
Theo Arends 566bc47af4 Add Dewpoint to Temp/Hum sensors Prt. 1
- Add Dewpoint to Temp/Hum sensors Prt. 1
- Update AHT10 driver (#7930)
2020-03-16 16:52:22 +01:00
Theo Arends 564afd93ad
Merge pull request #7923 from tiagofreire-pt/development
Correcting translations and energy unit for them dimensional denominations
2020-03-16 14:03:49 +01:00
Paul C Diem fec34434a6 Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3 2020-03-15 18:26:46 -05:00
Paul C Diem 32448bd75e Reverse down/up tap order, Save settings only if local 2020-03-15 13:56:26 -05:00
Theo Arends 6cc4f224cf Fix compile error when hue emulation disabled 2020-03-15 14:53:05 +01:00
Stephan Hadinger 86eeacbf4e Zigbee move all strings to PMEM 2020-03-15 14:27:15 +01:00
tiagofreire-pt 6080cde23e
Update es-ES.h 2020-03-15 12:10:24 +00:00
tiagofreire-pt 25dc3aa732
Correting dimensions from KWh to kWh 2020-03-15 12:05:47 +00:00
tiagofreire-pt 60c42433c6
Update pt-PT.h 2020-03-15 12:04:07 +00:00
tiagofreire-pt 7fcfbdb61c
Update zh-TW.h 2020-03-15 12:02:27 +00:00
tiagofreire-pt 30f59e3a8f
Update zh-CN.h 2020-03-15 12:02:14 +00:00
tiagofreire-pt 0ce12f3fa2
Update uk-UA.h 2020-03-15 12:01:57 +00:00
tiagofreire-pt 8c124a32bd
Update tr-TR.h 2020-03-15 12:01:27 +00:00
tiagofreire-pt a4cf1e89ed
Update sv-SE.h 2020-03-15 12:01:06 +00:00
tiagofreire-pt ac54afa69a
Update sk-SK.h 2020-03-15 12:00:48 +00:00
tiagofreire-pt 60ea3e342f
Update ru-RU.h 2020-03-15 12:00:31 +00:00
tiagofreire-pt 600d4921c5
Update ro-RO.h 2020-03-15 12:00:16 +00:00
tiagofreire-pt 52df47dd44
Update pt-BR.h 2020-03-15 12:00:04 +00:00
tiagofreire-pt 7b3b0bf0ac
Update pl-PL.h 2020-03-15 11:59:53 +00:00
tiagofreire-pt a68339e720
Update nl-NL.h 2020-03-15 11:59:41 +00:00
tiagofreire-pt 84292ff3d2
Update ko-KO.h 2020-03-15 11:59:24 +00:00
tiagofreire-pt a01ee95af1
Update it-IT.h 2020-03-15 11:59:03 +00:00
tiagofreire-pt cdfac65671
Update hu-HU.h 2020-03-15 11:58:50 +00:00
tiagofreire-pt 8d52ff44e6
Update he-HE.h 2020-03-15 11:58:37 +00:00
tiagofreire-pt 55f62c3abb
Update fr-FR.h 2020-03-15 11:58:21 +00:00
tiagofreire-pt b7e19652ba
Update el-GR.h 2020-03-15 11:58:08 +00:00
tiagofreire-pt b6b40532a6
Update cs-CZ.h 2020-03-15 11:57:24 +00:00
tiagofreire-pt 03c1ff8211
Update bg-BG.h 2020-03-15 11:57:04 +00:00
Theo Arends 79d39af9d3 Keep switchmode in sync 2020-03-15 11:41:24 +01:00
Theo Arends dbf82cf12a Keep language files in sync 2020-03-15 11:29:32 +01:00
Theo Arends 9a14c9a83f
Merge pull request #7921 from effelle/development
Update xdrv_12_home_assistant.ino
2020-03-15 09:23:15 +01:00
Paul C Diem 322952a54f Move PWM Dimmer init logic to pre init, Use dimmer_hw_min for PWM, Remote mode fixes 2020-03-14 18:53:09 -05:00
Adrian Scillato adbb37205b
Update Spanish Translation 2020-03-14 18:40:07 -03:00
Federico Leoni d0ff0ccba6 Update xdrv_12_home_assistant.ino 2020-03-14 18:36:19 -03:00
Adrian Scillato ca042bc3d9
Fixed duplicated entries on en-GB.h 2020-03-14 18:28:03 -03:00
tiagofreire-pt 3c610f872d
Update de-DE.h 2020-03-14 19:34:35 +00:00
tiagofreire-pt cad4fb879b
Update zh-TW.h 2020-03-14 18:33:30 +00:00
tiagofreire-pt 89ed5d3a4e
Update zh-CN.h 2020-03-14 18:33:17 +00:00
tiagofreire-pt d774608196
Update uk-UA.h 2020-03-14 18:33:07 +00:00
tiagofreire-pt d4f1fb53d9
Update tr-TR.h 2020-03-14 18:32:57 +00:00
tiagofreire-pt fafeea8da9
Update sv-SE.h 2020-03-14 18:32:46 +00:00
tiagofreire-pt 34e7c94879
Update sk-SK.h 2020-03-14 18:32:34 +00:00
tiagofreire-pt 75e6f07bc6
Update ru-RU.h 2020-03-14 18:32:27 +00:00
tiagofreire-pt 3645dda825
Update ro-RO.h 2020-03-14 18:32:20 +00:00
tiagofreire-pt aa857dc303
Update pt-BR.h 2020-03-14 18:32:12 +00:00
tiagofreire-pt 08875ad6e5
Update pl-PL.h 2020-03-14 18:32:03 +00:00
tiagofreire-pt b96107cfb1
Update nl-NL.h 2020-03-14 18:31:54 +00:00
tiagofreire-pt 5a3b2b1c0c
Update ko-KO.h 2020-03-14 18:31:46 +00:00
tiagofreire-pt a356306595
Update it-IT.h 2020-03-14 18:31:34 +00:00
tiagofreire-pt 2e96fbd80d
Update hu-HU.h 2020-03-14 18:31:20 +00:00
tiagofreire-pt accb8b762e
Update he-HE.h 2020-03-14 18:30:57 +00:00
tiagofreire-pt a810405c12
Update fr-FR.h 2020-03-14 18:30:30 +00:00
tiagofreire-pt 7bcda8c2e5
Update es-ES.h 2020-03-14 18:30:21 +00:00
tiagofreire-pt aae88af762
Update en-GB.h 2020-03-14 18:30:11 +00:00
tiagofreire-pt 292e470c61
Update el-GR.h 2020-03-14 18:30:00 +00:00
tiagofreire-pt e92bdeee8d
Update de-DE.h 2020-03-14 18:29:48 +00:00
tiagofreire-pt 915349edf6
Update cs-CZ.h 2020-03-14 18:29:28 +00:00
tiagofreire-pt 6944c43838
Update bg-BG.h 2020-03-14 18:29:07 +00:00
tiagofreire-pt e30b4d18f5
Remote fixed and unproper definitions of de-DE on xsns_53_sml.ino 2020-03-14 17:31:52 +00:00
tiagofreire-pt dacb9b0913
Update pt-PT.h 2020-03-14 17:27:26 +00:00
tiagofreire-pt c22215e953
Support for translations on "xsns_53_sml.ino" 2020-03-14 17:21:54 +00:00
Theo Arends 528074090b Fix intermittent watchdog on Options save 2020-03-14 17:46:22 +01:00
Theo Arends 1a825db2b9 Fix ghost logging 2020-03-14 17:45:36 +01:00
Theo Arends 4a8f73aea3 Update changelog and release notes 2020-03-14 15:32:44 +01:00
Theo Arends 5d944829cd Update changelog and release notes 2020-03-14 15:24:22 +01:00
Theo Arends 100acc5664 Fix switch status 2020-03-14 14:54:11 +01:00
Stephan Hadinger 13dde44eb7 Add Zigbee support for Hue emulation 2020-03-14 14:17:30 +01:00
Paul C Diem 3f9c4f1909 Merge branch 'development' of https://github.com/arendst/Tasmota into pwm-dimmer3 2020-03-14 07:18:34 -05:00
Theo Arends d043ac770d Refactor support_switche.ino
- Add commands ``SwitchMode 13`` PushOn and ``SwitchMode 14`` PushOnInverted (#7912)
- Refactor support_switche.ino
2020-03-14 13:13:33 +01:00
Theo Arends a664278c78
Merge pull request #7912 from BASM/switchpushon
switch: New mode PUSHON (13)
2020-03-14 12:52:17 +01:00
Theo Arends 5235ad1757 Add support for HDC1080
Add support for HDC1080 Temperature and Humidity sensor by Luis Teixeira (#7888)
2020-03-14 12:43:02 +01:00
Leonid Muravjev 0f157caa05 switch: New mode PUSHON (13)
Just turn it on, if the switch is on. Switch off by PulseTime.
For a simple implementation processing of PIR sensors.
2020-03-14 14:31:05 +03:00
Theo Arends af1e2f73a5
Merge pull request #7888 from teixeluis/development
Adding driver for the Texas Instruments HDC1080
2020-03-14 09:53:58 +01:00
Luis Teixeira 2441acdc02 Fixed the sensor read errors that were due to misplaced timer variable initializations. 2020-03-13 22:40:33 +00:00
Luis Teixeira 99a00613b8 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-03-13 22:38:26 +00:00
Paul C Diem 50d63f8678 Only set power for devices included in updates 2020-03-13 16:53:27 -05:00
Paul C Diem 243f17585c Send DGR BRI_MIN only if USE_PWM_DIMMER defined 2020-03-13 15:15:38 -05:00
Paul C Diem a72acf37fe Use Light module to manage PWM, Rework multi-button sequences 2020-03-13 12:08:44 -05:00
Theo Arends d26ce074d8 Fix command FriendlyName when no index is given
Fix command FriendlyName newname when no index is given
2020-03-13 12:50:27 +01:00
Theo Arends ce8e68d118 Disable recurring debug message
Disable recurring debug message
2020-03-13 12:17:19 +01:00
Theo Arends 076ab4ba11
Merge pull request #7899 from pcdiem/device-groups1
Add periodic announcement, Raise member timeout to 45s, Fix already a…
2020-03-13 12:02:57 +01:00
Theo Arends c62a0318cd Bump version to 8.1.0.11
- Bump version to 8.1.0.11
- Add HAss Discovery support for Button and Switch triggers by Federico Leoni (#7901)
2020-03-13 12:00:52 +01:00
Erik 2f5846d81b Tweaks for HA discovery 2020-03-13 11:14:03 +01:00
Luis Teixeira b758699e39 Some corrections based on feedback from the project leads contributors.
Improved runtime impact by replacing the sleep between the I2C operations with separate code triggered by timer events.
2020-03-13 00:46:25 +00:00
Luis Teixeira b7907aee1a Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-03-12 22:58:18 +00:00
Federico Leoni 956f56e0e1 Update xdrv_12_home_assistant.ino 2020-03-12 16:48:44 -03:00
Paul C Diem 3138d880d0 Add periodic announcement, Raise member timeout to 45s, Fix already acked check 2020-03-12 12:51:54 -05:00
Theo Arends 057ff37263 Add function KeyTopicActive(key)
Add function KeyTopicActive(key)
2020-03-12 12:11:33 +01:00
Theo Arends b0399a550e
Merge pull request #7893 from malbinola/development
New command ShutterInvertWebButtons
2020-03-12 10:03:09 +01:00
Luis Teixeira 292698123b Minor correction to the description. Slightly simplified declaration of the sensor in the support_features.ino. 2020-03-10 23:33:09 +00:00
Luis Teixeira 78a608dd44 Synched with resources from original repo 2020-03-10 23:01:51 +00:00
Luis Teixeira 725b9898c5 Added cast to properly deal with the AddLogMissed function prototype. 2020-03-10 22:53:49 +00:00
Luis Teixeira 4910e033b3 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-03-10 22:46:48 +00:00
Theo Arends eaf0e352a9 Fix DS18x20 driver (#7879)
Fix DS18x20 driver (#7879)
2020-03-10 16:54:06 +01:00
Theo Arends 2d6ced9521 Try to fix intermittent watchdog reset
Try to fix intermittent watchdog reset on GUI emulation change (#7886)
2020-03-10 16:11:34 +01:00
Theo Arends e04bb5ecff Fix DS18x20 driver (#7879)
Fix DS18x20 driver (#7879)
2020-03-10 11:23:45 +01:00
Matteo Albinola 2cab0d0539 New command ShutterInvertWebButtons 2020-03-10 08:41:37 +01:00
Luis Teixeira e9d201a2c3 Fixed issue during the call to ResponseAppend_P (was passing
a primitive instead of pointer to the expected string)
2020-03-10 00:26:24 +00:00
Luis Teixeira 2a06a6bc5a Fixed issue when reading temperature and humidity in the same transaction. 2020-03-10 00:15:42 +00:00
Luis Teixeira cb2cc9bbb1 More intermediate changes and troubleshooting. 2020-03-09 23:02:03 +00:00
Luis Teixeira 3908865473 Added the hdc1080 device driver. 2020-03-08 20:54:28 +00:00
Hadinger 4cc32407c5 Hue emulation code optimization 2020-03-08 17:41:05 +01:00
Theo Arends b14c72e1d4
Merge pull request #7874 from device111/development
Add comment that AHT10 is incompatible with other I2C devices
2020-03-08 15:43:33 +01:00
Theo Arends 2d4a6a29eb Fix Sonoff D1 driver (#7598)
Fix Sonoff D1 driver (#7598)
2020-03-08 14:49:57 +01:00
device111 70291a5e77 Add comment that AHT10 is incompatible with other I2C devices
- confirmed, that the sensor is incompatible with other I2C devices on bus.
2020-03-08 14:42:37 +01:00
Theo Arends 2603459747 Revert switchmode 6 according to issue 7778
Revert switchmode 6 according to issue 7778 (#7831)
2020-03-08 13:32:20 +01:00
Theo Arends bf86700e90 Consolidate DHT sensor driver 2020-03-08 12:28:14 +01:00
Luis Teixeira 3cf6b8bd8a Merge branch 'development' of https://github.com/arendst/Tasmota into development
# Conflicts:
#	tasmota/settings.h
#	tasmota/settings.ino
#	tasmota/support.ino
#	tasmota/support_command.ino
#	tasmota/tasmota.ino
2020-03-07 20:01:48 +00:00
Alexander Schliebner 2335f2fedd
Bugfix in function 'mp'
If optional parameter v2 was omitted, evaluation failed.
2020-03-07 18:52:24 +01:00
Alexander Schliebner 7df46f051d
Optimized function 'mp'
Leaner syntax of function `mp` and simplified implementation.
New documentation:
Mapping function `mp`

It addresses a standard task with less code and much flexibility: mapping an arbitrary incoming numeric value into a defined schema of allowed/reasonable ranges.
The numeric value `x` passed as the first parameter is compared to the mprules in the order they are provided as subsequent parameters. If the value matches the criteria, the defined value is returned. Subsequent mprules are skipped. If `x` matches none of the mprules, `x` is returned unchanged. 
```
mp(x mprule1 mprule2 ... mprule<n>)
```

An mprule starts with one of the comparison operators `<`, `>` or `=`, followed by a numeric value `v1`, optionally followed by a second numeric value `v2`:
```
<|>|=v1[ v2]
```

Example 1: `<8 0` - this rule reads: If x is less than 8, return 0.
Example 2: `>100` - this rule reads: If x is greater than 100, return 100. 

Example 3:
```
y=mp(x <8 0 >100)
```
Assigns 0 to y if x is less than 8.
Assigns 100 to y if x is greater than 100.
Assigns x to y for all values of x that do not meet the above criteria (8 to 100).

The above code of example 3 does the same as the following code - with just one line of code and 19 characters less:
```
y=x
if x<8 {
y=0
}
if x>100 {
y=100
}
```

Every of the above mentioned numeric values `x`, `v1` and `v2` can be a literal, an expression or a variable.
2020-03-07 16:53:49 +01:00
Theo Arends df43217a18
Merge pull request #7864 from Staars/nrf24
MI_NRF24: add GCD1, missing PDU-type, small refactoring
2020-03-07 14:57:43 +01:00
Alexander Schliebner cd14bde1f7
Update xdrv_10_scripter.ino
Added mapping function `mp`
´´´
mp(x str1 str2 ... str<n>)
´´´
It addresses a standard task with less code and much flexibility: mapping an arbitrary incoming numeric value into the allowed range.
The numeric value `x` passed as the first parameter is compared to the rules in the order they are provided as subsequent sting parameters. If the value matches the criteria, the defined value is returned. Subsequent rules are skipped. If `x` matches none of the rules, `x` is returned unchanged. 

Rules consist of one of the comparison operators `< > =` followed by a numeric value `v1`, optionally followed by a colon and another numeric value `v2`.
```
<|>|=v1[:v2] 
```
Example 1: `"<8:0"` - this rule reads: If x is less than 8, return 0.
Example 2: `">100"` - this rule reads: If x is greater than 100, return 100. 

Example 3:
```
y=mp(x "<8:0" ">100")
```
Assigns 0 to y if x is less than 8.
Assigns 100 to y if x is greater than 100.
Assigns x to y for all values of x that do not meet the above criteria (8 to 100).

The above code of example 3 does the same as the following code - with just one line of code and 15 characters less:
```
y=x
if x<8 {
y=0
}
if x>100 {
y=100
}
```
2020-03-06 21:13:12 +01:00
Staars 048474f7ac add missing PDU-type, small refactoring 2020-03-06 19:22:30 +01:00
Paul C Diem d16f1a7a0f Add Light skip_light_fade flag and Dimmer3 command, Ignore MCU dimmer changes after sending dimmer command 2020-03-05 18:15:58 -06:00
Theo Arends c52680f836 Fix -minimal compile error 2020-03-05 18:45:43 +01:00
Theo Arends f4047b4337 Fix GUI channel offset
Fix GUI channel offset when relays are present (#7855)
2020-03-05 14:53:51 +01:00
Theo Arends a8e369e5ce Update feature information 2020-03-05 14:00:47 +01:00
Hadinger 8855d2a218 Add Zigbee use distinct MQTT topics per device for SENSOR, allowing retained messages (#7835) 2020-03-04 21:00:57 +01:00
Theo Arends 0006d44e63 Fix HASS button discovery 2020-03-04 18:02:27 +01:00
Theo Arends 74f1ad8a1b Fix APDS9960 compile error 2020-03-04 16:34:06 +01:00
Theo Arends 50b19712ac Fix DS1624 with KNX compilation error
Fix DS1624 with KNX compilation error (#7853)
2020-03-04 15:51:50 +01:00
Theo Arends 71e702c659 Change minimal filename construction 2020-03-04 15:36:37 +01:00
Theo Arends 46e6c3a796 Fix RO compilation 2020-03-04 12:18:32 +01:00
Theo Arends f0a8305b13 Add localization for Romanian 2020-03-04 11:56:35 +01:00
Hadinger 3a2a3cde88 Sync with https://github.com/esp8266/Arduino/pull/7057 2020-03-04 08:59:45 +01:00
Theo Arends 25c2a6f639
Merge pull request #7845 from to-scho/hotfix/shutterbuttons_multipress_window_timing
extended multipress window from 0.5s to 0.75s
2020-03-02 21:32:16 +01:00
Theo Arends 4cb2690288
Merge pull request #7844 from to-scho/hotfix/shutterbuttons_singlebutton
Shutterbutton does not work for 1 button, fixes #7793
2020-03-02 21:31:47 +01:00
to-scho 543f83218e extended multipress window from 0.5s to 0.75s 2020-03-02 20:49:11 +01:00
to-scho 02ba705eca Shutterbutton does not work for 1 button, fixes #7793 2020-03-02 20:32:55 +01:00
Theo Arends 0ce89e53e3 Fix Arduino IDE compile error 2020-03-02 17:48:19 +01:00
Theo Arends 71d810aac4 Update Tx2x Sensor
Update Tx2x Sensor with command SpeedUnit (#7843)
2020-03-02 15:51:33 +01:00
Theo Arends 669f88a5aa Add Settings.flag2.speed_conversion 2020-03-02 14:00:57 +01:00
Theo Arends a837a8ac7c Fix compile error 2020-03-01 22:13:02 +01:00
Theo Arends 2b438328dd Add DimmerRange support to Sonoff D1
Add DimmerRange support to Sonoff D1 (#7598)
2020-03-01 16:13:59 +01:00
Theo Arends 473892d5c9 Add updated experimental Sonoff D1 support
Add updated experimental Sonoff D1 support (#7598)
2020-03-01 15:31:08 +01:00
Theo Arends 3343164da9 Add support for MaxBotix HRXL-MaxSonar
Add support for MaxBotix HRXL-MaxSonar ultrasonic range finders by Jon Little (#7814)
2020-03-01 14:20:19 +01:00
Theo Arends fc573027b3
Merge pull request #7814 from burundiocibu/development
Adding support for MaxBotix HRXL line of sonar ranging sensors
2020-03-01 13:57:42 +01:00
Theo Arends ece0e57a6b
Merge pull request #7822 from curzon01/development
refactor TX2x sensor driver
2020-03-01 13:54:15 +01:00
Theo Arends c40fce0099
Merge pull request #7831 from Phonog/development
Fix switchmode 6 according to issue 7778
2020-03-01 13:52:18 +01:00
Hadinger 7cf8c1750f Add Zigbee features and improvements 2020-03-01 11:25:59 +01:00
Phonog 9498cde5e5 Fix switchmode 6 according to issue 7778 2020-03-01 09:42:59 +00:00
Norbert Richter 94dbc4d1a2
refactor TX2x sensor driver 2020-02-29 16:11:59 +01:00
Hadinger 4008b9ed3e Change IRremoteESP8266 library updated to v2.7.4 2020-02-29 13:51:16 +01:00
Theo Arends be1b0e7c86
Merge pull request #7803 from barbudor/development
Improved INA219 driver supports custom defined shunt resistor
2020-02-29 09:57:43 +01:00
Jon Little c7ac3c833c Adding support for MaxBotix HRXL line of sonar ranging sensors 2020-02-28 18:44:30 -06:00
Barbudor a8585bdba7 Use DEBUG_SENSOR macros for debug messages 2020-02-28 23:37:35 +01:00
Theo Arends 6d79d56956 Experimental support Sonoff D1
Experimental support Sonoff D1 (#7598)
2020-02-28 18:15:04 +01:00
Theo Arends 1ef284cdf2 Experimental support Sonoff D1
Experimental support Sonoff D1 (#7598)
2020-02-28 18:09:23 +01:00
Theo Arends 94f5321db4 Fix keeloq functionality 2020-02-28 16:35:19 +01:00
Theo Arends c0a490a54e
Merge pull request #7806 from he-so/dev-arendst
Make CC1101 GDO0 and GDO2 pins user configurable
2020-02-28 15:50:52 +01:00
Theo Arends 9c8dd2139d
Merge pull request #7807 from s-hadinger/zigbee_fix_endpoint
Zigbee fix skipped attributes
2020-02-28 09:32:31 +01:00
Paul C Diem b27b18a8e6 Add button press count timeout 2020-02-27 23:38:55 -06:00
Paul C Diem 5f5becfac6 Fix up/down release after power on 2020-02-27 21:35:13 -06:00
Paul C Diem 248288d549 Handle remote switch updates, Make tap/hold functions available only when power is on 2020-02-27 20:47:24 -06:00
Hadinger 0083e1d996 Zigbee fix skipped attributes 2020-02-27 22:08:31 +01:00
he.so cc8dfc22a8 define language keys for CC1101 pins 2020-02-27 21:31:19 +01:00
he.so 23ca2ff36d user pin selection for CC1101 gpios 2020-02-27 21:03:05 +01:00
Paul C Diem 94b0ea5727 Merge branch 'development' of https://github.com/pcdiem/Tasmota into pwm-dimmer1 2020-02-27 13:47:36 -06:00
Paul C Diem a962662743 Rescale Bri to DimmerRange, Remove BriMin, LedTimeout and PoweredOffLed commands 2020-02-27 13:38:33 -06:00
Theo Arends fb87a03dbc Prep for Sonoff D1 2020-02-27 17:52:27 +01:00
Theo Arends 1973bb2474 Add support for Jarolift rollers by Keeloq algorithm
Add support for Jarolift rollers by Keeloq algorithm
2020-02-27 17:48:27 +01:00
Theo Arends e7f1e0ac3c
Merge pull request #7788 from he-so/dev-arendst
Jarolift shutter working with keeloq
2020-02-27 17:37:02 +01:00
Theo Arends 92442a7a8f Fix KNX compilation 2020-02-27 17:35:42 +01:00
he.so 714ee878a7 advanced keeloq driver number to 36 2020-02-27 17:28:29 +01:00
he.so 3657cda425 resolved merge conflict 2020-02-27 17:22:28 +01:00
Theo Arends 5cfe247611 Change default my_user_config.h driver and sensor support
Change default my_user_config.h driver and sensor support removing most sensors and adding most drivers
2020-02-27 15:10:42 +01:00
Theo Arends a32ed84bfc
Merge pull request #7804 from stefanbode/patch-12
Ensure rule execution at start
2020-02-27 12:04:19 +01:00
Theo Arends 684de97f0f
Merge pull request #7802 from s-hadinger/wifi_disconnect
Remove code with no effect in WIFI disconnect
2020-02-27 11:58:09 +01:00
Theo Arends b4b5eb878c Add support for PWM dimmer
Add support for Martin Jerry/acenx/Tessan/NTONPOWER SD0x PWM dimmer switches by Paul Diem (#7791)
2020-02-27 11:16:38 +01:00
stefanbode edf223e4ac
Ensure rule execution at start
- fix report of TARGET in Teleperiod message
- enhance Rules support to ensure rule is triggered at start ALWAYS and not crashes on complex rules
- Fixes wong TARGET on shutterinvert=1
2020-02-27 08:32:05 +01:00
Paul C Diem 1f1c956b26 Use newly allocated settings and flags 2020-02-26 21:27:09 -06:00
Theo Arends 878d93ebdb Prepare for PWM Dimmer
Prepare for PWM Dimmer (#7791)
2020-02-26 15:29:14 -06:00
Theo Arends f2074932f7 Clean up wifi connection / disconnection 2020-02-26 15:29:13 -06:00
stefanbode 344187cf94 minor bug fixes and enhancements
- fix bug in multi-push from last commit
- remove rules execution every second. only at start and stop
- enable rules for Shutter#Button
- tbd: How to correctly detect a simultaneous button push
2020-02-26 15:29:13 -06:00
Theo Arends 8ca95996f9 Restore default wifi functionality 2020-02-26 15:29:12 -06:00
Theo Arends 1655c1b3aa Add some wifi debug options 2020-02-26 15:29:12 -06:00
Barbudor 792f5cfb19 Allow Sensor13 to define customer value for shunt resistor, including code refactoring 2020-02-26 22:14:08 +01:00
Hadinger 5d54356a25 Remove code with no effect 2020-02-26 21:43:46 +01:00
he.so 71340dc8b6 push travis, since it had an environment issue during last build 2020-02-26 20:10:29 +01:00
he.so 8dbfa7d6b5 fixed repeated sending of code 2020-02-26 19:46:44 +01:00
he.so bc584468af Using macro to exclude debug logs from code when compiling for production 2020-02-26 19:17:36 +01:00
Theo Arends f57a4d217c Prepare for PWM Dimmer
Prepare for PWM Dimmer (#7791)
2020-02-26 14:39:27 +01:00
Theo Arends 407334be6b Clean up wifi connection / disconnection 2020-02-26 13:45:46 +01:00
he.so 8de8244308 Merge branch 'development' of https://github.com/arendst/Tasmota into dev-arendst 2020-02-25 20:52:16 +01:00
he.so b00f9d4179 Merge branch 'dev-arendst' of https://github.com/he-so/Tasmota into dev-arendst 2020-02-25 20:48:35 +01:00
he.so 91dfc7aa0b Send the calculated command bitstream twice, to be more robust against missed commands on the receiving side. 2020-02-25 20:47:48 +01:00
he-so c1aedfc4c7
Merge branch 'development' into dev-arendst 2020-02-25 18:22:05 +01:00
stefanbode 78e707e736
minor bug fixes and enhancements
- fix bug in multi-push from last commit
- remove rules execution every second. only at start and stop
- enable rules for Shutter#Button
- tbd: How to correctly detect a simultaneous button push
2020-02-25 17:55:45 +01:00
Theo Arends ec161d5810 Restore default wifi functionality 2020-02-25 16:52:07 +01:00
Theo Arends 3146bcf23a Add some wifi debug options 2020-02-25 16:49:19 +01:00
Paul Diem 67a32bcbdd
Merge branch 'development' into pwm-dimmer 2020-02-25 09:33:48 -06:00
Theo Arends 9962b311d5 Add support for UDP Group commands
Add commands ``SetOption85 0/1`` and ``DevGroupShare`` supporting UDP Group command using ``GroupTopic`` without MQTT by Paul Diem (#7790)
2020-02-25 12:13:49 +01:00
Theo Arends 0475289532 Fix compilation when no emulation is selected
Fix compilation when no emulation is selected (#7790)
2020-02-25 11:52:52 +01:00
Theo Arends 4df7f9fe10
Disable for now 2020-02-25 11:08:47 +01:00
Paul C Diem 631d9045f1 Deal with late device group initializaton 2020-02-24 20:52:06 -06:00
Paul C Diem 486354fd73 Remove tasmota.ino.cpp 2020-02-24 20:31:49 -06:00
Paul C Diem d0bb1b36e4 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 20:06:47 -06:00
Paul C Diem fd610738ea Merge branch 'development' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 19:26:08 -06:00
Paul C Diem 3893b3fb6f Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 19:20:33 -06:00
Paul C Diem 13eaa3c814 Disable debugging 2020-02-24 19:10:57 -06:00
Paul C Diem 1d5251d105 Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 19:08:52 -06:00
Paul C Diem e1103b248f Improve dgr initialization failure handling 2020-02-24 19:07:46 -06:00
Paul C Diem 9c5e5b689e Improve dgr initialization failure handling 2020-02-24 18:40:44 -06:00
Paul C Diem a550fe3ac7 Use newly allocated settings and flag 2020-02-24 16:34:45 -06:00
he-so dd3d9f3b21
Merge branch 'development' into dev-arendst 2020-02-24 19:41:12 +01:00
he.so e25f14f37a Jarolift shutter working with keeloq 2020-02-24 19:23:57 +01:00
Norbert Richter 5ec1ab83ed
extend TX2x sensor stats
new JSON for TX2x (for legacy format define USE_TX2x_LEGACY_JSON)
exp weighted average prevents jump in avg values after period
refactor sensor reading
2020-02-24 17:25:03 +01:00
Theo Arends 9682da603a Add Device Group storage
Add Device Group storage (#7786)
2020-02-24 16:47:41 +01:00
Paul C Diem 2b94cd77a0 Build with device groups, pwm dimmer (with remote) 2020-02-24 07:34:30 -06:00
Paul C Diem b8203a717b Merge branch 'device-groups' of https://github.com/pcdiem/Tasmota into pwm-dimmer 2020-02-24 07:19:28 -06:00
Paul C Diem c0a5156d8f Initial pwm dimmer support 2020-02-24 07:19:15 -06:00
Paul C Diem b15a8a749c Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-24 06:50:37 -06:00
Theo Arends 94c9072815 Add wifi debug code 2020-02-24 13:27:22 +01:00
stefanbode b54f2d406e
Update xdrv_27_shutter.ino 2020-02-24 12:38:00 +01:00
stefanbode 66a1dc9573
Update xdrv_27_shutter.ino
- fixed shutter#moved rule not triggered
2020-02-24 12:33:52 +01:00
stefanbode 7a3a9bd364
fixes and enhancements
- shutterposition now reports actual position if the shutter is moving #7686
- new RuleEvent: Shutter1#Target to get upfront info where the shutter is moving
- RuleExecution now every second to get an update of the current position
- New functionality for Stepper Motors. Now supporting 4 Stepper shutters working simultanously
2020-02-24 12:23:03 +01:00
Theo Arends 8969877502 Refactor DHT driver
Refactor DHT driver (#7717)
2020-02-23 21:26:58 +01:00
Theo Arends 9b758350b5 Fix Domoticz compile error
Fix compile error when Domoticz is enabled but Lights is disabled
2020-02-23 20:49:54 +01:00
Theo Arends e903348a03
Merge pull request #7781 from Staars/nrf24
Nrf24
2020-02-23 20:31:34 +01:00
Hadinger 21976005e1 Support for BW-IS5 leak detector 2020-02-23 17:11:51 +01:00
Hadinger d4dd0a39a5 Add Zigbee enhanced commands decoding, added ``ZbPing`` 2020-02-23 16:46:00 +01:00
Staars 8411178dac use now the correct PDU-types 2020-02-23 14:52:26 +01:00
Hadinger 11604e30d4 Moved 'Updated shadow' do DEBUG log level 2020-02-23 10:29:04 +01:00
Staars 73b2fdd6f4 fix OUI-bug 2020-02-23 09:21:54 +01:00
Hadinger 13763f55a6 Fix Zigbee auto-increment transaction number (#7757) 2020-02-22 20:53:55 +01:00
Theo Arends f706b7c490 Add support for Wemos Motor Shield V1
Add support for Wemos Motor Shield V1 by Denis Sborets (#7764)
2020-02-22 12:18:20 +01:00
Theo Arends 5f1dac2119
Update my_user_config.h 2020-02-22 11:01:47 +01:00
Paul C Diem a721e35449 Remove power from struct, use DGR log prefix 2020-02-21 21:47:33 -06:00
Paul C Diem 8182d6ef7b Merge branch 'development' of https://github.com/pcdiem/Tasmota into device-groups 2020-02-21 09:15:47 -06:00
Paul C Diem f409d7258e Initial device groups support (power and light) 2020-02-21 09:09:21 -06:00
Denis 19ca1eb2d4 Merge branch 'development' into add-wemos-motor-shield-v1 2020-02-20 21:05:55 -08:00
Theo Arends a912daff0b
Update de-DE.h 2020-02-20 21:07:58 +01:00
Norbert Richter ea99cdce57 Add support for La Crosse TX23 Anemometer (#3146) 2020-02-20 18:50:43 +01:00
Theo Arends e9c7026e82 Remove NTP drift information
Remove NTP drift information
2020-02-20 14:55:41 +01:00
Theo Arends cf27cff602
Merge pull request #7762 from dgwynne/TuyaMCUEvent
Tuya mcu event
2020-02-20 13:44:35 +01:00
Theo Arends f674feb0ef Add initial support for Sensors AHT1x
Add initial support for Sensors AHT10 and AHT15 by Martin Wagner (#7596)
2020-02-20 13:38:03 +01:00
Theo Arends 92258703d8
Merge pull request #7761 from device111/development
Add i2c Sensor AHT10/15 support.
2020-02-20 12:03:39 +01:00
Theo Arends 9b1fc4342b Revert wifi connectivity stability introduced in 8.1.0.5
Revert wifi connectivity stability introduced in 8.1.0.5 (#7746, #7602, #7621)
2020-02-20 11:24:35 +01:00
Theo Arends 5e4d8e5641 Fix relation between RSSI and signal strength
Fix relation between RSSI and signal strength
2020-02-20 10:07:00 +01:00
Denis 46ad5166e1 Add Wemos DC mottor shild (v1.0.0) support 2020-02-19 21:55:20 -08:00
device111 f7d4d5ddb1 Ad release note 2020-02-19 19:49:09 +01:00
Theo Arends 6a84899e10 Eliminating call sntp_get_real_time
Change display of some date and time messages from "Wed Feb 19 10:45:12 2020" to "2020-02-19T10:45:12"
2020-02-19 15:23:59 +01:00
device111 84a2da2ee2 Update support_features.ino 2020-02-19 14:24:37 +01:00
device111 fbd2216d09 Update xsns_63_aht1x.ino
Sensor Name changement
2020-02-19 14:06:35 +01:00
device111 5c48644994 typo change 2020-02-19 10:23:56 +01:00
device111 7f72d266f8 prepare for merging 2020-02-19 09:37:36 +01:00
David Gwynne 6e0cd5bd68 print numbers as numbers in json, not strings. 2020-02-19 18:10:07 +11:00
device111 81b88a71a0 Update xsns_64_aht10.ino
Correct text
2020-02-18 20:13:12 +01:00
device111 e2ede9ed55 Add Reset Command 2020-02-18 20:08:22 +01:00
Theo Arends df34417861 Fix DS18x20 driver 2020-02-18 18:10:36 +01:00
device111 b423c9716a Update xsns_64_aht10.ino 2020-02-18 09:56:23 +01:00
device111 2e0a06c19a structual changes
structual changes
2020-02-18 09:49:53 +01:00
device111 01fbe69824 test1
test1
2020-02-18 09:22:39 +01:00
device111 fcc59df10f Update support_features.ino 2020-02-18 09:18:45 +01:00
device111 b0378c3d99 initial AHT10 support
test
2020-02-18 09:11:31 +01:00
Theo Arends b6607755a4
Merge pull request #7744 from denisfrench/MQTT_NO_RETAIN
MQTT_NO_RETAIN option for brokers that will drop connection otherwise
2020-02-16 12:45:37 +01:00
Theo Arends e7d5a5f540 Fix latest DHT driver retries
Fix latest DHT driver retries (#7717)
2020-02-16 12:33:18 +01:00
Theo Arends d76d6474cd
Merge pull request #7743 from Staars/development
GPS-driver: virtual port improvement, set lat/lon in settings (bugfix)
2020-02-16 12:14:27 +01:00
denisfrench aaa00045e2 MQTT_NO_RETAIN option for brokers that will drop connection otherwise 2020-02-16 09:31:19 +00:00
Staars f54dbe7bdc virtual port improvement, bugfix 2020-02-16 08:36:51 +01:00
Theo Arends 5f80febcf4 Another DHT driver with humidity range check
Another DHT driver with humidity range check, usec overflow check and NAN debug info (#7717)
2020-02-15 12:57:23 +01:00
Theo Arends ea83400190
Merge pull request #7736 from Staars/development
- update MI_NRF24-driver (formerly MI_BLE)
2020-02-13 20:16:38 +01:00
Staars 39d100e1d1 rename driver 2020-02-13 19:48:38 +01:00
Theo Arends e9f0c5b6d6 Add a stripped down Add a stripped DHT driver based on ESPEasy (#7717)
Add a stripped DHT driver based on ESPEasy (#7717)
2020-02-13 18:12:27 +01:00
Staars ff1fefaf34 Merge branch 'development' of https://github.com/arendst/Tasmota into development 2020-02-13 17:19:54 +01:00
Staars 509a79e5f6 more lsfr-LUT-entries and PDU-types 2020-02-13 17:16:32 +01:00
Theo Arends 7cc783a532 Add another new DHT driver based on ESPEasy
Add another new DHT driver based on ESPEasy. The old driver can still be used using define USE_DHT_OLD. The previous new driver can be used with define USE_DHT_V2 (#7717)
2020-02-13 17:02:07 +01:00
Theo Arends 51211dfd55 Attempt to fix slow wifi connection caused by #7602
Attempt to fix slow wifi connection caused by #7602
2020-02-13 12:46:06 +01:00
Hadinger a50a7d486f Fix wrong encoding of Zigbee persistent data 2020-02-12 22:38:17 +01:00
Theo Arends 8079ee9749 Change MQTT message size
Change MQTT message size with additional 200 characters
2020-02-12 18:00:53 +01:00
Theo Arends ba345625de Fix wifi connection issues
Fix wifi connection issues since 7602 (#7621)
2020-02-12 16:55:39 +01:00
Adrian Scillato a904da2a2e
Fix Deep-Sleep-Wake timming
https://github.com/arendst/Tasmota/issues/7621
2020-02-10 16:57:42 -03:00
Adrian Scillato 7339b56279
Updated Spanish Translation 2020-02-10 13:29:42 -03:00
Theo Arends 7d0577eb31 Add new DHT driver
Add new DHT driver. The old driver can still be used using define USE_DHT_OLD (#7468)
2020-02-10 16:29:17 +01:00
Theo Arends edadaa284f Bump version to 8.1.0.7 2020-02-10 15:20:38 +01:00
Theo Arends af63bb363d Add support for FiF LE-01MR energy meter
Add support for FiF LE-01MR energy meter by saper-2 (#7584)
2020-02-10 15:18:11 +01:00
Jason2866 40dedd46b6
Update de-DE.h 2020-02-10 15:06:43 +01:00
Theo Arends d89c14ba27
Merge branch 'development' into fif-le01mr 2020-02-10 14:52:22 +01:00
Theo Arends f0272b339c Fix compile error 2020-02-10 14:24:53 +01:00
Theo Arends 3de74e8850 Add optional Wifi AccessPoint passphrase
Add optional Wifi AccessPoint passphrase define WIFI_AP_PASSPHRASE in my_user_config.h (#7690)
2020-02-10 13:54:27 +01:00
Jason2866 47862e3c59
unique topic for every device by default 2020-02-09 19:38:46 +01:00
Jason2866 e6e5157ccb Disable Display support for Tasmota-IR
because compiling fails if enabled
2020-02-09 17:22:14 +01:00
Theo Arends 504570d5d5 Fix MaxPower functionality
Fix MaxPower functionality (#7647)
2020-02-09 16:21:48 +01:00
Theo Arends 286a0c4fe4
Merge pull request #7702 from Staars/development
add LYWSD02-support to the MI-HM10-driver
2020-02-09 15:35:40 +01:00
Staars 829b36868b small cleanups 2020-02-09 15:32:45 +01:00
David Gwynne 25034c153a use TuyaSend0 to send a TUYA_CMD_QUERY_STATE command. 2020-02-09 18:44:05 +11:00
Staars f4bc0721b5 add LYWSD02-support 2020-02-08 18:09:17 +01:00
Hadinger 4d9f67b5ad Add ``ZbZNPReceived``and ``ZbZCLReceived``are published to MQTT when ``SetOption66 1`` 2020-02-08 14:16:39 +01:00
Federico Leoni fe1919098d Update xdrv_12_home_assistant.ino 2020-02-07 12:11:29 -03:00
Theo Arends 1a074da0b5 Add BootCount Reset Time to Status
Add BootCount Reset Time as BCResetTime to ``Status 1``
2020-02-07 12:38:10 +01:00
Theo Arends 945a9e0100
Merge pull request #7687 from ako-sxt/development
PCF8574 - skip detection if i2c address is defined in USE_MCP230xx_ADDR
2020-02-07 11:53:52 +01:00
Theo Arends 15df54bb07 Add support for HM-10
Add support for MI-BLE sensors using HM-10 Bluetooth 4.0 module by Christian Staars (#7683)
2020-02-07 10:50:06 +01:00
Jason2866 8ef5ad0204
Disable HM-10 by default 2020-02-07 10:41:38 +01:00
ako a33ae3cc40 PCF8574 - skip detection if i2c address is defined in USE_MCP230xx_ADDR
Currently the PCF8574 address selection detects the MCP230xx which is using an address in the range 0x20 - 0x26.
This fix skips the address defined in #define USE_MCP230xx_ADDR
2020-02-06 22:45:39 +01:00