Commit Graph

389 Commits

Author SHA1 Message Date
Theo Arends 3d2e77f320
Merge pull request #7148 from ChristianTacke/pr_timers_html
Timers: Use visibility instead of disabled
2019-12-09 17:07:22 +01:00
Theo Arends d3673963a2 Add Char Usage Ratio
Add Char Usage Ratio for future Settings char redesign
2019-12-09 16:16:21 +01:00
Theo Arends e9f8792649 Revert removal of exception details from MQTT info on restart
Revert removal of exception details from MQTT info on restart
2019-12-09 15:29:22 +01:00
Theo Arends dfee90bd61 Changelog update 2019-12-09 15:15:16 +01:00
stefanbode 7cc7c2cc98
Update xdrv_27_shutter.ino
fix #7006 support for multiple shutters with steppers
+ add ShutterOpen/Close/Stop can get shutter index as parameter. e.g. shutteropen 3 to open shutter 3
2019-12-09 10:14:13 +01:00
Christian Tacke 531d36e012 Timers: Use visibility instead of disabled
The "+/-" chooser is only needed for sunrise/sunset.
Otherwise it's disabled currently.
This works.

But it's a little confusing. Especially, if you first had
"-" there (for sunset) and then switched to normal "time",
then the "-" is still there, but you can't change it,
because it's disabled.

It looks better, if one uses .style.visibility to hide the
element. It doesn't change the layout, just the element
isn't shown.
2019-12-08 22:18:22 +01:00
Shantur Rathore 6c3d029286 Implement capability for setting CORS to a specific website instead of just enable for all websites 2019-12-08 21:07:39 +00:00
Theo Arends 065ed79c61
Merge pull request #7058 from claybar/mpu6050_full_output
Add Yaw Pitch Roll to MPU6050 output
2019-12-08 21:34:11 +01:00
Andreas Schultz 46566952a0 report Signal Strength in dBm over MQTT
Also include dBm in debug log and in WebIf information display.
2019-12-08 19:42:08 +01:00
Theo Arends c060089358 Bump version to 7.1.2.3
Redesign Exception reporting removing exception details from both MQTT info and Status 1. Now consolidated in Status 12 if available.
2019-12-08 13:37:18 +01:00
Theo Arends 29d5d68ca0 Redesign Exception reporting
Redesign Exception reporting removing exception details from both MQTT info and Status 1. Now consolidated in Status 12 if available.
2019-12-08 13:18:15 +01:00
Hadinger fd079c57a3 Fix crashdump bad JSON 2019-12-07 23:25:56 +01:00
Federico Leoni dae622b2cb
Update my_user_config.h 2019-12-07 15:44:33 -03:00
Federico Leoni 368e9cc340
Update xdrv_12_home_assistant.ino 2019-12-07 15:20:47 -03:00
Theo Arends f3a5b033c8 Add save call stack in RTC memory in case of crash
Add save call stack in RTC memory in case of crash, command ``Status 12`` to dump the stack (#7114, #5883)
2019-12-07 18:32:39 +01:00
Theo Arends 2686ccb117 Revert "Merge pull request #7134 from s-hadinger/crashrecorder_rtc"
This reverts commit 758b255078, reversing
changes made to f4993736a5.
2019-12-07 16:50:10 +01:00
Hadinger a8c0c4e312 Remove any whitespace in TlsKey base64 2019-12-07 15:01:39 +01:00
Hadinger edc2dc5c79 Add save call stack in RTC memory in case of crash 2019-12-07 11:02:37 +01:00
Hadinger 7e1e85eba9 Add save call stack in RTC memory in case of crash 2019-12-07 11:01:48 +01:00
Hadinger 7796714ba0 Change from `Crash` to `Restart -1` 2019-12-07 11:00:32 +01:00
Hadinger 5a0febc64e Add save call stack in RTC memory in case of crash 2019-12-07 10:41:29 +01:00
Adrian Scillato 5f290f8b64
Reverting changes in tele message due to backwards compatibility 2019-12-06 20:10:04 -03:00
Laurent Dong ee37c258e6 Embeded IF statement in backlog did not been processed
The backlog_mutex blocked the execution of IF statement during call ExecuteCommand(), because all IF statement need to use backlog to perform commands.
2019-12-06 10:12:13 -05:00
Theo Arends 00fd7f2f7c Bump version to 7.1.2.2
Add command ``SerialConfig 0..23`` or ``SerialConfig 8N1`` to select Serial Config (#7108)
2019-12-06 15:02:05 +01:00
Theo Arends 8c5c95747c Bump version 7.1.2.1 2019-12-06 12:18:46 +01:00
Theo Arends 597d43319f Maintenance Release 7.1.2 2019-12-06 11:18:00 +01:00
Theo Arends 9d9f3b0ca7 Change log buffer size from 520 to 700
Change log buffer size from 520 to 700 characters accomodating full rule text (#7110)
2019-12-06 11:10:15 +01:00
Theo Arends 3bdea04c5f
Merge pull request #7112 from gemu2015/sml-update
sml bus decoder syntax update
2019-12-06 10:27:09 +01:00
Bohdan Kmit 726883b168 Allow to build Minimal firmware with TLS support 2019-12-05 20:54:30 +02:00
gemu2015 3b4b549e61 sml mbus decoder syntax update
support for byte order
2019-12-05 16:34:30 +01:00
Adrian Scillato 55b0312f86
Added new var %topic% for rules 2019-12-04 17:11:03 -03:00
stefanbode f0e6e0098d
Added frequency change support
shutterfrequency 1000 is default. can be increased or decreased. 
Added more comments to the source code for explanation
optimize load in RPC call
2019-12-04 12:34:27 +01:00
Philip Barclay 24ddae4001 Merge remote-tracking branch 'upstream/development' into mpu6050_full_output 2019-12-03 21:10:14 +13:00
stefanbode 0b3f84c36e
Added #7006 request for support of stepper motors 2019-12-02 21:44:05 +01:00
Adrian Scillato 461d18b3f9
Add new tele- rule triggers 2019-12-02 15:04:38 -03:00
Theo Arends 621204e57f Fix WS2812 power control (#7090) 2019-12-02 18:54:08 +01:00
Adrian Scillato 4441f212d5
Add rule trigger tele-switch1#state 2019-12-02 13:03:43 -03:00
Theo Arends eb1785c559 Tune light schemes 2, 3 and 4 2019-12-02 14:51:28 +01:00
Theo Arends 8c3295034d Update support_wifi.ino 2019-12-02 11:56:40 +01:00
Theo Arends 70673b8c74 Add support_tasmota 2019-12-02 10:44:27 +01:00
Theo Arends e150717e95 Restore hardware detection 2019-12-02 10:31:33 +01:00
Theo Arends 1a476ab9b5 Update release notes 2019-12-01 19:09:57 +01:00
Theo Arends 855423020e
Merge pull request #7081 from s-hadinger/zigbee_hw_serial_gpio
Fix Zigbee uses Hardware Serial
2019-12-01 19:06:16 +01:00
Theo Arends 1692241b25 Fix lost functionality of GPIO9 and GPIO10
- Remove inconsistent hardware detection introduced in version 7.0.0.5
- Fix lost functionality of GPIO9 and GPIO10 on some devices (#7080)
2019-12-01 19:03:53 +01:00
Hadinger 3b662ee88e Fix Zigbee uses Hardware Serial if GPIO 1/3 or GPIO 13/15 and SerialLog 0 (#7071) 2019-12-01 19:00:52 +01:00
Theo Arends d9e20497da Change light color schemes 2, 3 and 4
Change light color schemes 2, 3 and 4 from color wheel to Hue driven
2019-12-01 18:19:17 +01:00
Theo Arends bea001968f Bump version 7.1.1.1 2019-12-01 13:38:24 +01:00
Theo Arends 9b62d1084d Bump version 7.1.1 2019-12-01 12:56:05 +01:00
Theo Arends 8cf2d15ed1 Fix light scheme 4 speed
Fix light scheme 4 speed (#7072)
2019-11-30 17:53:49 +01:00
Theo Arends c72e427da3
Merge branch 'development' into tasmota_slave 2019-11-30 16:07:38 +01:00
Theo Arends 5524075b04 Fix slider for devices without RGB
Fix slider for devices with one or two channels like only white or white/yellow
2019-11-30 16:05:09 +01:00
Theo Arends 09f9104465 Bump version 7.1.0.1 2019-11-30 15:36:15 +01:00
Andre Thomas bffe8f0c8d
Update CHANGELOG.md 2019-11-29 21:24:13 +02:00
andrethomas 36fa0e9517 TasmotaSlave: Bugfix for Tele & add support for Commands 2019-11-29 21:20:33 +02:00
Theo Arends 02e938fc18 Prep for release 7.1 2019-11-29 15:22:28 +01:00
Theo Arends ac065867d3 Add command ``SetOption77 0/1``
Add command ``SetOption77 0/1`` to keep power on when slider is far left
2019-11-29 13:11:35 +01:00
Philip Barclay 8e2b78320a Merge remote-tracking branch 'upstream/development' into mpu6050_full_output 2019-11-29 21:10:10 +13:00
Philip Barclay fe63e5cca2 Stringification and conversion from radians to degrees. 2019-11-29 21:07:39 +13:00
Theo Arends 1e8c020422
Merge branch 'development' into so68_autopower 2019-11-28 21:33:20 +01:00
Hadinger 211f9da68b auto--power on/off when setting channel to non-zero or zero value, when SetOption68 1 2019-11-28 21:25:11 +01:00
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