Commit Graph

329 Commits

Author SHA1 Message Date
Hadinger 96a0f5b1ff Fix postpone saving settings to flash until Fade is complete, avoids pause in Fade 2019-11-28 21:07:59 +01:00
Philip Barclay 331fb7ff74 Merge branch 'development' into mpu6050_full_output 2019-11-28 19:57:15 +13:00
Theo Arends b99c35f87c
Merge pull request #7041 from gemu2015/scripter-mfunc
scripter math functions
2019-11-27 19:56:06 +01:00
Jason2866 67aa76ed78
Align slider behaviour with mqtt...
commands. Via slider it was NOT possible to set ```{"POWER1":"OFF","Dimmer1":0,"POWER2":"OFF","Dimmer2":100,"Color":"000000FF","HSBColor":"0,0,0","Channel":[0,0,0,100]}```
min value was before the change
```{"POWER1":"ON","Dimmer1":1,"POWER2":"OFF","Dimmer2":100,"Color":"030303FF","HSBColor":"1,1,1","Channel":[1,1,1,100]}```
2019-11-27 18:14:12 +01:00
gemu2015 4ea287eb5b scripter math functions 2019-11-27 17:15:41 +01:00
NyaamZ 0835c13ca1
Update ko-KO.h
update ..
2019-11-26 17:03:34 +09:00
Theo Arends 7add6ca564
Merge pull request #7033 from MarcHagen/patch-1
DMY_LANGUAGE should be MY_LANGUAGE
2019-11-26 08:08:21 +01:00
Marc 8a1af69343
DMY_LANGUAGE should be MY_LANGUAGE 2019-11-26 00:08:16 +01:00
Hadinger 5357ac58c5 Merge branch 'development' of https://github.com/arendst/Tasmota into ir_271 2019-11-25 21:56:54 +01:00
Hadinger 1a76040ebf Update lib IRremoteESP8266 updated to v2.7.1, -2.7k flash and -1.5k RAM for Tasmota-IR 2019-11-25 21:43:39 +01:00
Theo Arends 893c74ea85
Merge pull request #7029 from gemu2015/sml_8e1
sml support for 8e1
2019-11-25 21:19:26 +01:00
Theo Arends 8f27e2cd02 Fix channel sliders 2019-11-25 19:29:11 +01:00
gemu2015 f52fe5d396 sml support for 8e1 2019-11-25 19:08:05 +01:00
Theo Arends 44f44bb6d5 Add optional debug info 2019-11-25 17:58:37 +01:00
Theo Arends 150b26faf8 Fix USE_SCRIPT_WEB_DISPLAY error
Fix USE_SCRIPT_WEB_DISPLAY error (#7021)
2019-11-25 17:21:31 +01:00
Theo Arends a76a79a413 Refactor sliders 2019-11-25 15:20:44 +01:00
Theo Arends 66d0782063
Merge pull request #7022 from Staars/mlx90614
MLX90614: fix I2C-issues, refactoring and code shrink
2019-11-25 10:03:38 +01:00
Theo Arends 1d9d637c2e
Merge pull request #7020 from s-hadinger/light_fix
Multiple fixes in light
2019-11-24 22:36:33 +01:00
Hadinger 6af40a2ba3 Multiple fixes in light 2019-11-24 22:19:41 +01:00
Theo Arends 0fb236c834
Merge pull request #7015 from issacg/patch-1
inline doc patch for USE_MQTT_TLS_CA_CERT
2019-11-24 19:47:39 +01:00
Hadinger 62e8c65dc8 Change MIN to MAX 2019-11-24 19:39:57 +01:00
Hadinger f9cf462e59 Fix PMW sleep restored 2019-11-24 19:35:54 +01:00
Theo Arends a0a819718b Tweak sliders 2019-11-24 15:13:07 +01:00
Theo Arends fd9971c20c Change GUI saturation from grey to white
Change GUI saturation from grey to white
2019-11-24 12:59:55 +01:00
Theo Arends 00c7ee0bb8 Fix Arduino IDE compile error
Fix Arduino IDE function prototyping compile error (#6982)
2019-11-24 12:24:35 +01:00
Issac 5cd77a51d3
inline doc patch for USE_MQTT_TLS_CA_CERT
Restore comment stating that USE_MQTT_TLS_CA_CERT uses LetsEncrypt CA
2019-11-24 11:26:57 +02:00
pablozg 1f2cd74204 Hide CSE7766 GPIO's if not defined 2019-11-24 02:27:04 +01:00
Hadinger 3b79c1f6bc Change new Fade system much smoother, Speed now up to 40 (#6942, #3714) 2019-11-23 19:18:09 +01:00
Staars 35990dbad4 fix I2C-issues, refactoring and code shrink 2019-11-23 18:55:48 +01:00
Theo Arends 0830fe113d Fix True or False parameters
Fix True or False parameters (#3769)
2019-11-23 15:30:40 +01:00
Theo Arends 63b001021c Redesign changelog 2019-11-23 13:59:18 +01:00
Theo Arends 88e44c47c1
Merge pull request #7002 from blakadder/docs_reqork
Docs related edits and links to new docs site
2019-11-23 12:33:34 +01:00
blakadder ac1fb587df
Update CHANGELOG.md 2019-11-22 22:56:08 +01:00
blakadder 3096a7cb44
Update CHANGELOG.md 2019-11-22 22:53:48 +01:00
blakadder 2b7baece56 docs refactor 2019-11-22 22:21:23 +01:00
Grzegorz 5c2f4b741a
Update pl-PL.h
again some small changes
2019-11-22 20:34:28 +01:00
Theo Arends 7b24b67606 Refactor shutter slider 2019-11-22 17:24:56 +01:00
Theo Arends c550af0175 Colorize sliders 2019-11-22 17:01:11 +01:00
Theo Arends 89cf000f5c Make NTP updates related to uptime
Make NTP updates related to uptime (#6995)
2019-11-22 14:50:57 +01:00
Theo Arends 0d69b7fc98 Bump version to 7.0.0.6
Add colorpicker to WebUI by Christian Staars (#6984)
2019-11-22 13:09:59 +01:00
Theo Arends eca39bfed1 Update Hue colorpicker 2019-11-22 13:06:38 +01:00
Theo Arends 9b921c28e6 Colorpicker CSS updated 2019-11-22 12:25:55 +01:00
Theo Arends 6c7bc96109 Fix colorpicker regression 2019-11-22 11:15:52 +01:00
Theo Arends 0d03c1c260 Update xdrv_01_webserver.ino 2019-11-22 10:57:12 +01:00
Theo Arends 1ed0a372c6 Fix colorpicker when using USE_JAVASCRIPT_ES6
Fix colorpicker when using USE_JAVASCRIPT_ES6 (#6994)
2019-11-22 10:49:15 +01:00
Theo Arends 212b71bebe
Merge pull request #6993 from Staars/colorpicker
include light_type 3 and up for colorpicker
2019-11-22 09:18:02 +01:00
Staars d214974b1c include light_type 3 and up 2019-11-22 09:08:15 +01:00
Theo Arends e838a76bfc
Merge pull request #6984 from Staars/colorpicker
add colorpicker to Web-UI
2019-11-21 22:16:51 +01:00
Theo Arends eec079ecdc
Merge pull request #6987 from ascillato/patch-1
Update Spanish Translation
2019-11-21 22:14:31 +01:00
Adrian Scillato bea7e309ea
Update Spanish Translation 2019-11-21 17:09:04 -03:00
Grzegorz 9d44cebaab
Update pl-PL.h
Corrected found bugs..
2019-11-21 19:46:24 +01:00
Grzegorz af65f1bd6a
Update pl-PL.h
Again some fixes
2019-11-21 19:29:18 +01:00
Staars 51f6b211cb remove some #ifdef stuff 2019-11-21 19:17:57 +01:00
Staars 9bba95a7cc responsive color update, fix scaling 2019-11-21 18:02:58 +01:00
Staars a1dc8465bb Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into colorpicker 2019-11-21 16:16:34 +01:00
Theo Arends b80708aef0 Add hardware detection
Add hardware detection to be overruled with SetOption51 (#6969)
2019-11-21 15:00:35 +01:00
Theo Arends 5f1074e3f6 Make sure flash erase went well 2019-11-21 11:12:53 +01:00
Theo Arends f243b06726 Make TLS certificate storage PUYA compatible 2019-11-21 11:08:30 +01:00
Theo Arends 6706c89b66
Merge pull request #6980 from s-hadinger/fix_sleep_light
Fix Wifi instability when light is on, due to sleep=0 (#6961, #6608)
2019-11-21 10:44:44 +01:00
Hadinger d92dd18aff Change minimum sleep to 10 milliseconds 2019-11-20 22:33:35 +01:00
Theo Arends 0f68ccfe23 Add full exception data to Status 1 2019-11-20 21:49:57 +01:00
Hadinger 62b213897f Fix Wifi instability when light is on, due to sleep=0 (#6961, #6608) 2019-11-20 21:08:35 +01:00
Theo Arends 7777fa08b0 Sanitize code 2019-11-20 20:53:12 +01:00
Theo Arends 02db6b632f Fix core < 2.6.0 compilation 2019-11-20 17:57:32 +01:00
Grzegorz d99261298e
Update pl-PL.h
More fixes..
2019-11-20 11:42:21 +01:00
Theo Arends 40b3d20e0d
Merge pull request #6975 from s-hadinger/fix_dbg
Fix compilation error when USE_DEBUG_DRIVER and not USE_I2C
2019-11-20 10:06:09 +01:00
Grzegorz 7e8ea151c1
Update pl-PL.h
allmost done
2019-11-20 08:12:14 +01:00
Grzegorz 9553be93bc
Update pl-PL.h
additional changes...
2019-11-20 08:09:57 +01:00
Grzegorz 7cf303a729
Update pl-PL.h
Some additional translations in Pl and many fixes.
2019-11-20 07:24:32 +01:00
Hadinger 4c45b9190b Fix compilation error when 2019-11-19 23:15:44 +01:00
Staars 50a919c094 fix saturation slider scaling 2019-11-19 21:41:42 +01:00
Staars 56ccbc5216 Web-GUI color picker 2019-11-19 21:22:45 +01:00
Theo Arends 1c3b29b835 Fix unwanted deep sleep initiation
Fix unwanted deep sleep initiation (#6961)
2019-11-19 15:35:41 +01:00
Hadinger 5743486d2a Fix check deepsleep for valid values in Settings (#6961) 2019-11-18 23:11:09 +01:00
Theo Arends 6ec4373761 Enable deep sleep in tasmota-sensors 2019-11-18 12:35:52 +01:00
Theo Arends 27e9765a66 Update xdrv_09_timers.ino 2019-11-18 12:25:59 +01:00
Theo Arends 14f6f6f22b Add command TempOffset -12.6 .. 12.6
Add command TempOffset -12.6 .. 12.6 to set global temperature sensor offset (#6958)
2019-11-18 12:15:49 +01:00
Theo Arends 95673103dd
Merge pull request #6958 from stefanbode/patch-1
#enhancement: Adding option to compensate on a global level temperature
2019-11-18 11:47:50 +01:00
Theo Arends cc6f2f7896 Bump version 7.0.0.5 2019-11-18 11:21:48 +01:00
Theo Arends c79e5ad7d4 Add SDK area erase to short power cycle reset
Add SDK area erase to short power cycle reset (#6956)
2019-11-18 11:17:43 +01:00
Theo Arends 11c5947c23 Fix possible reboot loop regression 2019-11-18 11:02:04 +01:00
Philip Barclay dac6ce1e54 Added YPR results to webserver and JSON output if DMP enabled. 2019-11-18 21:33:34 +13:00
stefanbode 1cf4152747
Update settings.h 2019-11-18 09:31:39 +01:00
stefanbode c48e6daed4
Update support.ino 2019-11-18 09:23:21 +01:00
stefanbode e2131e3693
Update i18n.h 2019-11-18 09:21:11 +01:00
stefanbode 68c3255658
Enable Temp. Compensation by global offset 2019-11-18 09:18:21 +01:00
Philip Barclay a0a1e26a5b Merge branch 'development' into mpu6050_full_output 2019-11-18 19:48:46 +13:00
Theo Arends 9f7c9cd12f Consolidate LOG prefixes 2019-11-17 15:07:03 +01:00
Theo Arends 6f42169432 Refactor Erase code 2019-11-17 14:29:33 +01:00
Hadinger 232ba1284d Change Zigbee log verbosity reduction 2019-11-17 12:51:27 +01:00
Theo Arends 70b3fc6e0b
Merge pull request #6939 from kristi5/dev2
JSN-SR04T add support for Mode 2 and Mode 3
2019-11-17 11:16:00 +01:00
Theo Arends f6a7722a3c Refactor RtcReboot counter 2019-11-16 10:42:28 +01:00
kristi5 b0a5479c3b JSN-SR04T add Mode 2 and Mode 3 2019-11-15 23:10:07 +01:00
Theo Arends 0636113147 Revert "Version bump 7.0.0.5"
This reverts commit edcc17c41b.
2019-11-15 21:30:59 +01:00
Theo Arends edcc17c41b Version bump 7.0.0.5
Add one time flash sdk reset on initial execution solving possible SDK wifi releated issues
2019-11-15 18:10:46 +01:00
Theo Arends 4c2ad64056 Speedup flash erase using block erase 2019-11-15 16:58:22 +01:00
Theo Arends 822b719a5d Change Reset erase
Change Reset erase end address from as seen by SDK (getFlashChipSize) to full flash size (getFlashChipRealSize)
2019-11-15 15:42:10 +01:00
Theo Arends f64264da95 Fix core 2.3.0 compile error
Fix core 2.3.0 compile error (#6856)
2019-11-15 12:19:47 +01:00
Theo Arends 5c324357e6 Add command SetOption76 0/1
Add command SetOption76 0/1 to enable incrementing bootcount when deepsleep is enabled (#6930)
2019-11-15 11:50:41 +01:00
Federico Leoni b3bcb0e8a7
Update xdrv_12_home_assistant.ino 2019-11-14 22:37:30 -03:00
Theo Arends 7b10bec8fe Refactor SDK erase
Add device hardware type to status 2
2019-11-14 15:57:52 +01:00
Theo Arends 740784db8a Remove redundant option 2019-11-13 11:32:12 +01:00
Theo Arends 20c2f4238c Prep for release 7.1 2019-11-13 10:17:52 +01:00
Theo Arends 76d17bd198 Fix possible teleperiod misses 2019-11-13 09:25:09 +01:00
stefanbode 888bcb4cc2
fix #6892
#6892 shutterposition not reported
2019-11-13 08:48:53 +01:00
Theo Arends df5fb16235
Merge pull request #6917 from s-hadinger/ir_light
Remove IR protocols from standard Tasmota
2019-11-12 22:59:14 +01:00
Theo Arends 3aea6b0626 Refactor I2C driver detection phase 42 2019-11-12 22:57:48 +01:00
Stephan Hadinger c062d35e68 Change Kept only NEC/RC5/RC6/HASH IR protocols in standard Tasmota, all other protocols require Tasmota-IR, saving 4K 2019-11-12 22:41:09 +01:00
Theo Arends fa03f57ca8 Refactor deepsleep
Refactor deepsleep allowing time to update GUI before going to sleep (#6890)
2019-11-12 22:30:44 +01:00
Adrian Scillato 6f614369c1
Fix Rules Evaluation when using break and several triggers are true
When checking several triggers that were true at the same time and BREAK was being used, some rules were not executed.

The rule: 

rule3 on system#boot do var4 0 break on tele-SI7021#temperature do var4 %value% endon on tele-SI7021#humidity do var5 %value% endon

was not triggering the third statement.
2019-11-12 15:54:29 -03:00
stefanbode 9ffcc424a9
Added UP/DOWN/STOP command for OpenHAB
shutterposition now also accept UP/DOWN/STOP or the position in % 0 ... 100
2019-11-12 09:52:41 +01:00
Theo Arends 7d1794ee5b Refactor I2C driver detection phase 8 2019-11-11 18:49:56 +01:00
Theo Arends 9c9d177ad5 Refactor I2C driver detection phase 7 2019-11-11 18:36:13 +01:00
Theo Arends 3c89dedb92 Enforce wifi output power 2019-11-11 17:39:24 +01:00
Theo Arends 24b71c5ba3 Refactor I2C driver detection phase 6 2019-11-11 17:32:44 +01:00
Theo Arends 83d28c163f Remove on-the-fly PCA9685 detection 2019-11-11 14:22:48 +01:00
Theo Arends 4df186654f Remove on-the-fly BMP/BME detection
Remove on-the-fly BMP/BME detection (#6825)
2019-11-11 11:51:22 +01:00
Theo Arends b436f47786 Remove on-the-fly LM75AD detection
Remove on-the-fly LM75AD detection (#6825)
2019-11-11 11:44:40 +01:00
Theo Arends b31f3d82e3 Add support for I2C sensor TLS2591
Add support for I2C sensor TLS2591 Light Intensity sensor (#6873)
2019-11-11 11:29:15 +01:00
Theo Arends d972ca7970
Merge pull request #6873 from c7haki/development
Add support for light sensor TSL2591
2019-11-11 08:49:57 +01:00
srodgers c43e25eaf7 Change LOG_LEVEL_NONE to LOG_LEVEL_DEBUG 2019-11-10 16:12:59 -08:00
srodgers 18a5d94a8f Re-enable log statements per suggestion 2019-11-10 16:07:03 -08:00
srodgers cf19dad985 Fix incorrect JSON in ID field. Disable active debug statements. Update documentation at beginning of source file 2019-11-10 14:55:35 -08:00
Theo Arends 48e15216be Refactor Sensor MQTT data adding rule support 2019-11-10 17:40:37 +01:00
Theo Arends b2e6a2fe75 Refactor I2C driver detection phase 5 2019-11-10 17:02:02 +01:00
Theo Arends 69af996ca1 Fix SerialReceived JSON error
Fix SerialReceived JSON error (#6893)
2019-11-10 12:19:26 +01:00
Theo Arends 4189bf4f19
Merge pull request #6894 from s-hadinger/fix_6887_pwm
Fix bad PWM Power control with SetOption68
2019-11-10 12:06:28 +01:00
Theo Arends c7a74b82d0 Fix DeepSleep bootloop disable
Fix DeepSleep bootloop disable (#6890)
2019-11-10 12:05:09 +01:00
Stephan Hadinger 32538507d2 Fix 6887 2019-11-10 11:29:20 +01:00
Markus Bösling dd0e852894 add define to my_user_config.h 2019-11-09 21:45:48 +01:00
Theo Arends 492260cb7e Refactor I2C driver detection phase 4 2019-11-09 18:34:22 +01:00
Markus Bösling b86cd702ad remove unused definitions and code 2019-11-09 16:38:23 +01:00
Theo Arends 40ef0111bd
Merge pull request #6881 from NyaamZ/patch-1
fix some miss translation
2019-11-09 14:37:31 +01:00
Theo Arends 9ada3df640 Fix setting Wifi mode (#6875)
Fix setting Wifi mode (#6875)
2019-11-09 14:26:17 +01:00
NyaamZ eb978cb115
fix some miss translation
fix some miss translation
2019-11-09 18:47:13 +09:00
NyaamZ 3dfcf2bdf4
fix some miss translation
fix some miss  translation
2019-11-09 18:38:47 +09:00
Theo Arends 5ebf04f047
Merge pull request #6877 from s-hadinger/zigbeestate
Change Replace ZigbeeStatus with ZigbeeState for reporting
2019-11-09 10:17:49 +01:00
Theo Arends a0454a93cd
Merge pull request #6876 from blakadder/development
fixed old links to wiki
2019-11-09 10:17:05 +01:00
Theo Arends 697c600387
Merge pull request #6874 from jonyii/development
Fix SeaPressure unit for HASS autodiscovery
2019-11-09 10:16:45 +01:00
Theo Arends 6f2123e8ba
Merge pull request #6872 from s-hadinger/color_preserve_CW
Add Keep last channels values when Color command end with '='
2019-11-09 10:16:06 +01:00
Stephan Hadinger b305900e7c Change Replace ZigbeeStatus with ZigbeeState for reporting, ZigbeeStatus is only a command now 2019-11-09 09:25:15 +01:00
blakadder cb3f6c75fc fixed old links to wiki 2019-11-09 03:09:01 +01:00
jonyii 0a14108de9 travis build 2019-11-09 01:00:24 +01:00
jonyii da1ade731c Fix SeaPressure unit for HASS autodiscovery 2019-11-09 00:22:17 +01:00
Stephan Hadinger ae7120b068 Add Keep last channels values when Color command end with '=' #6799 2019-11-08 20:45:15 +01:00
Markus Bösling 3918f79117 add xsns_57_tsl2591 2019-11-08 20:36:59 +01:00
Theo Arends ae3e45b471
Merge pull request #6870 from s-hadinger/light_load_fix
Fix restore all 5 channels at boot
2019-11-08 19:40:10 +01:00
Stephan Hadinger 0766cb7d92 Fix restore all 5 channels at boot 2019-11-08 19:08:39 +01:00
Theo Arends 538d40ab72 Change default I2C address ranges
* Change supported PCF8574 I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
 * Change supported PCF8574A I2C address range to 0x39 - 0x3F allowing other I2C devices with address 0x38 to be used at the same time
 * Change supported MCP230xx I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
2019-11-08 17:48:19 +01:00
Theo Arends e099ebe7b6 Bump version to 7.0.0.4
Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dB
2019-11-08 13:00:32 +01:00