Commit Graph

2532 Commits

Author SHA1 Message Date
Theo Arends 30adce5648 Revert "Code optimization - Change for(uint8_t in for (uint32_t"
This reverts commit 5e1eac3f74.
2019-06-30 15:56:55 +02:00
Theo Arends 5e1eac3f74 Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 15:47:32 +02:00
Adrian Scillato f8ebe35d85
Update Spanish Translation 2019-06-30 03:25:27 -03:00
Stephan Hadinger 5b524a2c95 More floats 2019-06-21 19:23:35 +02:00
Stephan Hadinger b0eaea45bc Changed from double to float, -3.4k 2019-06-21 16:57:42 +02:00
Theo Arends bcaafd7413 Change ADE7953 energy update code and add debug information
Change ADE7953 energy update code and add debug information (#5968)
2019-06-21 14:31:08 +02:00
Theo Arends 46210bc9f0 Add command SetOption40 0..250
Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
2019-06-19 12:37:35 +02:00
Stephan Hadinger 4413a757d8 TLS+AWS IoT optimization for speed, code and memory footprint 2019-06-19 09:49:48 +02:00
Theo Arends 5f3be7ca87 Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
2019-06-16 17:03:41 +02:00
Theo Arends 12da2fd6f9 Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
2019-06-16 16:43:23 +02:00
Theo Arends 48b96528fc Add more ES6 javascript
Add more ES6 javascript
2019-06-15 16:09:04 +02:00
Theo Arends 1effa25402 Fix javascript error
Fix javascript error
2019-06-15 15:20:31 +02:00
Jason2866 53460ec306
Disable some sensors by default
Disable rarely used sensors in standard build
2019-06-15 11:42:32 +02:00
Theo Arends 22cf3f2279
Merge pull request #5958 from gemu2015/scripter
update scripter
2019-06-15 09:48:56 +02:00
Theo Arends 9f4d1fa009
Merge pull request #5954 from gemu2015/MLX90614
support for MLX90614
2019-06-15 09:48:09 +02:00
gemu2015 dad6d9f997 update scripter
bug fixes and enhancements
2019-06-15 07:02:34 +02:00
gemu2015 a86d579746 Update my_user_config.h 2019-06-15 06:14:51 +02:00
gemu2015 2dd4750bb7 sps30 stop, run (0,1) added 2019-06-14 18:54:40 +02:00
gemu2015 d6fd54ae9b Create xsns_46_MLX90614.ino 2019-06-14 15:51:00 +02:00
Stephan Hadinger 66d372586a Fix channel command for dual dimmers (#5940) 2019-06-12 22:49:22 +02:00
Theo Arends 8ed16c15a0 dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too
dd using heap when more than 199 IRSend values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
2019-06-12 19:11:21 +02:00
Theo Arends 9d706c9864 Start using optional ES6 saving code space
Start using optional ES6 saving code space
2019-06-12 17:32:25 +02:00
Theo Arends 2e7c72724d Fix Arduino compile errors
Fix Arduino compile errors
2019-06-11 17:48:53 +02:00
Theo Arends 8da743f98e Fix Arduino IDE compilation error
Fix Arduino IDE compilation error
2019-06-11 17:39:12 +02:00
Theo Arends 8c473adc86 Update xdrv_01_webserver.ino 2019-06-11 16:53:03 +02:00
Theo Arends 3a3a26bf5e Add some ES6 comments
Add some ES6 comments
2019-06-11 16:19:56 +02:00
Theo Arends 50e4722873 Update xdrv_01_webserver.ino
Oneliner - more free bytes
2019-06-11 14:56:05 +02:00
Theo Arends 1748a2655c Update xdrv_01_webserver.ino
Adapt Monty Python: Every byte is sacred
2019-06-11 14:45:08 +02:00
Theo Arends 2b5c691041 6.5.0.16 Refactor TLS and Add visibility toggle to GUI password
6.5.0.16 20190611
 * Refactored TLS based on BearSSL, warning breaking change for fingerprints validation (see doc)
 * Add checkbox to GUI password field enabling visibility during password entry only (#5934)
2019-06-11 14:30:07 +02:00
Theo Arends f99649dc18 Fix non core 2.4.2 compilation error
Fix non core 2.5.2 compilation error
2019-06-11 14:08:18 +02:00
Stephan Hadinger 0f43764aa0 Re-enabling USE_DISCOVERY, mistakenly disabled in the first place 2019-06-10 20:45:36 +02:00
Stephan Hadinger 96ee25a2d1 Fixed compilation error 2019-06-10 20:04:34 +02:00
Stephan Hadinger 844840a851 Added TLS CA validation option as an alternative to Fingerprint validation 2019-06-10 19:58:57 +02:00
Stephan Hadinger 006462f17e Refactored TLS based on BearSSL - cleaned 2019-06-10 12:06:03 +02:00
Theo Arends 09dcb93489 Fix Toggle functionality to button double press when one button and two devices are detected
Fix Toggle functionality to button double press when one button and two devices are detected (#5935)
2019-06-09 17:54:13 +02:00
Theo Arends d3eaf7491d Fix exception 9 when syslog is enabled and NTP is just synced
Fix exception 9 when syslog is enabled and NTP is just synced (#5917)
2019-06-09 13:34:14 +02:00
Andre Thomas e7a3a5033c
Update _changelog.ino 2019-06-08 22:28:35 +02:00
Andre Thomas eb0799a607
Change include of my_user_config.h
@arendst 

For some reason xtensa-lx106-elf-gcc v2.5.0-3-20ed2b9 does not find the file unless it is explicitly indicated to first look for it in the same folder the file is which is including it. I'm not sure if you did this intentionally or not - if so then leave as is and I'll do a sed command to update it prior to compiles.
2019-06-08 21:51:19 +02:00
Theo Arends 53ecde7637 Add command SetOption65 0/1 and more Tuya Serial based device support
Add command SetOption65 0/1 and more Tuya Serial based device support (#5815)
2019-06-08 11:38:45 +02:00
Theo Arends aaacb20d55
Merge pull request #5815 from thirug010/development
New Tuya Serial Based Devices support
2019-06-08 11:17:27 +02:00
andrethomas c8c3c3452e Reverting some files to 763118b626 2019-06-07 21:32:34 +02:00
Theo Arends a7dc6b71ae Add some MQTT housekeeping which might solve issue (#5755)
Add some MQTT housekeeping which might solve issue (#5755)
2019-06-07 18:03:34 +02:00
Theo Arends 8626304165 Fix AWS related core 2.3.0 compile error
Fix AWS related core 2.3.0 compile error
2019-06-06 15:20:20 +02:00
Theo Arends 6a5ea7a9c6 Add support for AWS IoT with TLS 1.2 on core 2.5.2
Add support for AWS IoT with TLS 1.2 on core 2.5.2
2019-06-06 14:40:59 +02:00
Theo Arends c14bfb3364
Merge pull request #5923 from s-hadinger/aws_iot2
Added support for AWS IoT
2019-06-06 14:04:15 +02:00
Stephan Hadinger 24dda8e8fe Updated with latest changes and resoved conflits 2019-06-06 13:44:33 +02:00
Theo Arends 1d32011596 Allow double press for a single Button1 only
Allow double press for a single Button1 only
2019-06-06 13:09:06 +02:00
Theo Arends 073fd5c2cd 6.5.0.15 Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds
6.5.0.15 20190606
 * Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds in preparation of AWS IoT support
2019-06-06 12:14:04 +02:00
Stephan Hadinger a8b93c4cdb Fixed log for unsupported reatined messages 2019-06-06 10:03:26 +02:00
Stephan Hadinger 72c47c667a Added link to AWS IoT documentation 2019-06-05 22:39:54 +02:00
Stephan Hadinger 5c648e8048 Added AWS IoT to changelog 2019-06-05 22:39:11 +02:00
Stephan Hadinger 9f94f87a79 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into aws_iot2 2019-06-05 22:38:01 +02:00
Stephan Hadinger 3b1ba3bbd5 Changed MQTT_KEEPALIVE and Retained message 2019-06-05 22:37:23 +02:00
Theo Arends 5702fc5e26 Workaround issue #5161
Workaround issue #5161
2019-06-05 16:14:50 +02:00
Theo Arends 345a514f7b dd Toggle functionality to button double press when more devices are detected
dd Toggle functionality to button double press when more devices are detected
2019-06-05 15:26:42 +02:00
Stephan Hadinger bc3d0add4c Support for AWS IoT via TLS 1.2 2019-06-05 11:44:52 +02:00
Theo Arends 164b3aaf11 Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W
Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W. Default setting is 128 (#5756)
2019-06-04 17:30:03 +02:00
Theo Arends 9f71afa1ac
Merge pull request #5908 from tammo0/development
Replace <br/> with <br> and <hr/> with <hr>
2019-06-04 16:45:25 +02:00
Theo Arends 7fdbd81def Fix setting seriallog using web gui (old) regression
Fix setting seriallog using web gui (old) regression
2019-06-03 17:05:09 +02:00
Theo Arends 8f3368271e Fix Domoticz web page regression
Fix Domoticz web page regression
2019-06-03 16:36:24 +02:00
tammo0 2fc09530ac Update xdrv_09_timers.ino
replace <br/> with <br>
2019-06-03 15:41:32 +02:00
Theo Arends 7ce54debdc Fixed issue with incorrect displaying some of the translated strings to Bulgarian language
Fixed issue with incorrect displaying some of the translated strings to Bulgarian language (#5905)
2019-06-03 10:51:21 +02:00
Theo Arends 556fffe26a Fix possible compile error when users disable some features
Fix possible compile error when users disable some features (#5906)
2019-06-03 09:49:33 +02:00
Theo Arends d0502c1af8 Fix PZem startup issue
Fix PZem startup issue (#5875)
2019-06-02 18:07:54 +02:00
Theo Arends ffd36e0b2d 6.5.0.14 Webserver HTML/Javascript changes
6.5.0.14 20190602
 * Change webserver HTML input, button, textarea, and select name based on id
 * Fix webserver multiple Javascript window.onload functionality
2019-06-02 16:44:02 +02:00
Theo Arends bb3fb7c4d6 Fix Hue Emulation
Fix Hue Emulation (#5849)
2019-06-02 13:21:12 +02:00
tammo0 8245321f86 fixes
fixes
2019-05-31 19:51:24 +02:00
tammo0 fefbada62d Update xdrv_01_webserver.ino 2019-05-31 18:36:56 +02:00
tammo0 6ee8d6be16 save space for web frontend
- changed <br/> to <br>
- "name" attributes of input, select, textarea, button items are removed and set by their id (only if ID is set and no name tag given)
2019-05-31 18:24:56 +02:00
Theo Arends f9c677fe76 Change Hue LightId from 20 bits to 28 bits
Change Hue LightId from 20 bits to 28 bits (#5849)
2019-05-31 13:37:51 +02:00
Theo Arends 1b229f5c9b Work-around for Philips Hue emulation issue by using part of MAC address for LightId
Work-around for Philips Hue emulation issue by using part of MAC address for LightId (#5849)
2019-05-31 11:28:47 +02:00
Adrian Scillato 712ea8ec43
Add support to Stage Arduino Core 2019-05-30 18:32:07 -03:00
Adrian Scillato f981284066
Add support for Arduino Stage Core
The actual Stage ESP8266 Core of Arduino (next 2.6.0) had changed the SPIFFS defines of the memory to FS due to a change in the libraries (https://github.com/esp8266/Arduino/pull/5511)
2019-05-30 18:28:22 -03:00
Stephan Hadinger ad11828e9d Work-around for Philips Hue emulation issue (#5849) 2019-05-30 21:47:19 +02:00
Theo Arends 86a606dd90
Update my_user_config.h
Keep rules the default
2019-05-30 14:18:22 +02:00
gemu2015 19a7e2af90 Update xdrv_10_scripter.ino 2019-05-30 14:11:03 +02:00
gemu2015 66dfbb5982 Update my_user_config.h 2019-05-30 13:56:21 +02:00
gemu2015 7505f7dd64 Update my_user_config.h 2019-05-30 13:34:48 +02:00
gemu2015 fb4ada320a scripter update 2019-05-30 13:23:54 +02:00
gemu2015 ce72a8347a empty 2019-05-30 13:22:50 +02:00
Theo Arends 4e95417db4 Add reset of Energy values when connection to sensor is lost for over 4 seconds
Add reset of Energy values when connection to sensor is lost for over 4 seconds (#5874, #5881)
2019-05-30 12:45:02 +02:00
Theo Arends 60871b37b7
Merge pull request #5879 from s-hadinger/info/mdns_size_impact
Updated code size impact for #define USE_DISCOVERY on core 2_5_x
2019-05-29 20:30:03 +02:00
Stephan Hadinger f2731d6128 Updated code size impact for #define USE_DISCOVERY on core 2_5_x 2019-05-29 19:34:52 +02:00
Stephan Hadinger 74685f1202 Fix #5869 typo 2019-05-29 19:26:42 +02:00
Stephan Hadinger 86d14fe24c Fix #5869 2019-05-29 19:24:47 +02:00
Norbert Richter 1fb881a77e SDM230 reset readings when offline 2019-05-29 12:16:04 +02:00
Theo Arends f5fc4ae9dd Update HandleWifiConfiguration
Update HandleWifiConfiguration
2019-05-27 15:08:11 +02:00
Theo Arends b078d10bf4 Fix compilation error
Fix compilation error
2019-05-27 14:17:31 +02:00
Theo Arends 0c2d1323e7 Shrink HtmlEscape code size
Shrink HtmlEscape code size by 200 bytes
2019-05-27 14:09:33 +02:00
Theo Arends 22663fc10c 6.5.0.13 Add command SetOption38 6..255
6.5.0.13 20190527
 * Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853)
2019-05-27 11:56:14 +02:00
Theo Arends 4d070bfb15 Change default PowerDelta from 80% to 0% on new installations
Change default PowerDelta from 80% to 0% on new installations (#5858, #5028, #4813, #4130, #4145, #3795, #3778, #3660, #3648)
2019-05-24 15:04:48 +02:00
Theo Arends 56615dce4e Add command AdcParam
Add command AdcParam to control ADC0 Temperature and Light formula parameters
2019-05-24 12:28:09 +02:00
Tiberiu Ana e65790e55e
Add CORS preflight support to console URL
Please see #5847 for reference.
2019-05-23 12:21:08 +02:00
Theo Arends e5f8167ebe Trying to fix exception 0 (#5837)
Trying to fix exception 0 on counter usage (#5837)
2019-05-22 13:51:33 +02:00
Theo Arends dc1bf2ff03 Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845)
Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845)
2019-05-22 13:39:26 +02:00
Theo Arends 8a43a426e6
Merge pull request #5845 from gemu2015/vl53l0x
Add support for Vl53l0x time of flight sensor
2019-05-22 13:29:20 +02:00
Theo Arends dec6f51000
Merge pull request #5844 from gemu2015/scripter
Scripter update
2019-05-22 13:28:10 +02:00
gemu2015 85d8fc7693 Update my_user_config.h 2019-05-22 13:23:21 +02:00
gemu2015 1f17a407c9 add vl53l0x 2019-05-22 13:21:41 +02:00
gemu2015 c71b06614e Update xdrv_10_scripter.ino 2019-05-22 12:34:16 +02:00