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