Commit Graph

2665 Commits

Author SHA1 Message Date
gemu2015
00c2cabb62 scripter update 2019-07-23 07:01:17 +02:00
Stephan Hadinger
752582310d Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into fix_6100 2019-07-22 19:27:30 +02:00
Stephan Hadinger
6ec634c695 Fix send IRSend for Pioneer devices (#6100) 2019-07-22 19:27:03 +02:00
Theo Arends
d91f5ae343 Update Sonoff L1 template
Update Sonoff L1 template
2019-07-22 18:21:25 +02:00
Theo Arends
ce13c0cf8f Add support for optional IRHVAC Midea/Komeco protocol
Add support for optional IRHVAC Midea/Komeco protocol (#3227)
2019-07-21 18:06:13 +02:00
Theo Arends
0e7cef7426 Make IRsend and IRhvac protocols optional
Make IRsend and IRhvac protocols optional
2019-07-21 16:03:20 +02:00
gajotnt
8d7ce366c9
Update my_user_config.h
Corrected the defined baudrate of the SDM120 to the correct one (2400)
2019-07-18 12:09:50 +00:00
Theo Arends
43c67808a0 Update iFan03 template info
Update iFan03 template info
2019-07-16 17:32:49 +02:00
gemu2015
b0979f6ef3 scripter update 2019-07-16 16:50:52 +02:00
Stephan Hadinger
0df4a888d5 Support IRSend long press ('repeat' feature from IRRemoteESP8266) (#6074) 2019-07-15 09:22:07 +02:00
Theo Arends
22b47fb89b Fix sending "+" with websend
Fix sending "+" with websend (#6094)
2019-07-14 22:25:13 +02:00
Theo Arends
d77017fd74 Add option to disable support for module Sonoff iFan at compile time
Add option to disable support for module Sonoff iFan at compile time (#6093)
2019-07-14 22:08:19 +02:00
Theo Arends
a053a2cc4a Refactor iFan code
Refactor iFan code
2019-07-14 18:17:34 +02:00
Theo Arends
a68d11c676 Optimize iFan fan sequencing
Optimize iFan fan sequencing
2019-07-14 16:26:02 +02:00
Theo Arends
49022d0320 6.6.0.2 Add support for Sonoff iFan03 as module 71
Add support for Sonoff iFan03 as module 71 (#5988)
2019-07-14 15:23:02 +02:00
Theo Arends
3c98acea65 Add buzzer to language files
Add buzzer to language files
2019-07-14 14:27:23 +02:00
Stephan Hadinger
6f02bad381 Xiaomi Philips brightness (#6091) 2019-07-14 14:10:38 +02:00
Stephan Hadinger
791e33f81a Fix WeMo emulation for 1G echo and 2G echo dot (#6086) 2019-07-13 16:31:53 +02:00
Theo Arends
0bb0f06982 Update _changelog.ino 2019-07-12 13:42:48 +02:00
Theo Arends
fa0315f1f4
Merge pull request #6046 from burundiocibu/multi-219
Added support for multiple INA219 devices on single I2C bus
2019-07-12 13:36:35 +02:00
Theo Arends
8a98437761
Merge pull request #6076 from thirug010/development
Updated Code for Issue #6066- Dimmer Value not equal to Rx Dim State
2019-07-12 12:21:02 +02:00
Theo Arends
3d52619593
Update _changelog.ino 2019-07-12 12:18:25 +02:00
Stephan Hadinger
51740acd8b Fix Force Elliptic Curve for Letsencrypt TLS #6042 2019-07-12 08:11:40 +02:00
thirug010
943dc524ea Update Code for Issue #6066- Dimmer Value not equal to Rx Dim State #
Change Summary

1. Added Option to select Dimmer Range (1-100 and 1-255) through SetOption66 (default is 1-100 for legacy device support

2. Updated Dimmer code to set range based on the option66 100 / 225
2019-07-11 22:28:08 -05:00
Theo Arends
c4dbde6306 Quicker restore to NTP when forced
Quicker restore to NTP when forced
2019-07-11 15:15:49 +02:00
Theo Arends
c3d2937f22 Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP
Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP (#5279)
2019-07-11 14:59:28 +02:00
Theo Arends
64521b42b6 Add Epoch and UptimeSec to JSON messages
Add Epoch and UptimeSec to JSON messages (#6068)
2019-07-11 14:09:42 +02:00
Theo Arends
a439ef9f0e Workaround invalid detection of SHT3x sensors
Workaround invalid detection of SHT3x sensors (#6067)
2019-07-11 10:56:12 +02:00
Jason2866
74afa790cf
Disable TX20 wind sensor
Just disabling RC switch is NOT enough for successfull compiling with stage/core!!
2019-07-10 18:34:08 +02:00
Theo Arends
bc3c5a8acf
Merge pull request #6061 from ascillato/patch-2
SCD30 - Added temp and hum for domoticz
2019-07-10 18:18:55 +02:00
Adrian Scillato
5a8236c876
SCD30 - Added temp and hum for domoticz 2019-07-10 12:56:18 -03:00
Adrian Scillato
64123a5cd8
Disable USE_RC_SWITCH by default ...
in order to compile with latest Stage Core.

The USE_RC_SWITCH driver uses too much iram for the latest core.
2019-07-10 12:46:46 -03:00
Adrian Scillato
7b25271735
Removed outdated comment 2019-07-09 11:28:25 -03:00
Theo Arends
992afd4b05 Fix compile warning
Fix compile warning
2019-07-09 12:26:45 +02:00
Theo Arends
4081e63396
Keep rules the default 2019-07-09 10:48:03 +02:00
gemu2015
97ff82ce9a update scripter for 2.52 FAT 2019-07-09 10:20:11 +02:00
Jon Little
ad294e6b01 Added support for multiple INA219 devices on single I2C buss. 2019-07-08 20:55:48 -05:00
Adrian Scillato
4f880f8039
Commented out USE_SCRIPT_FATFS
and added comments of limitations
2019-07-08 21:50:27 -03:00
Theo Arends
27ac431576
Merge pull request #6034 from adebeun/development
Implemented automatic setting of clock display from network time.
2019-07-08 21:05:52 +02:00
Adrian Scillato
ff2d2357a9
Fix Scheme 4 (#6038) 2019-07-08 16:00:22 -03:00
Arthur de Beun
cc98a45185 Undo change. 2019-07-09 06:52:15 +12:00
Theo Arends
ecd288f32f Fix scripter core 2.3.0 related compile errors
Fix scripter core 2.3.0 related compile errors (#6045)
2019-07-08 17:52:02 +02:00
Theo Arends
da7ab3274b Fix setting default over temperature
Fix setting default over temperature
2019-07-08 16:50:23 +02:00
Theo Arends
0243e2be7e Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90
Add command SetOption42 0..255 to set over temperature in Celsius. Defaults to 90 (#6036)
2019-07-08 14:16:33 +02:00
Theo Arends
57310a7699 Fix Domoticz battery level at 200 when ADC voltage reading is disabled
Fix Domoticz battery level at 200 when ADC voltage reading is disabled (#6033)
2019-07-08 12:52:26 +02:00
Theo Arends
86314e24e5 Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays
Fix ambiguous Tuya set relay option by adding command SetOption41 allowing to control number of virtual relays (#6039)
2019-07-08 12:42:46 +02:00
Theo Arends
e67b27b0a3 Fix possible exception when irreceive is not initialised
Fix possible exception when irreceive is not initialised
2019-07-08 12:24:31 +02:00
Arthur de Beun
21f2cc93c4 Add automatic setting of clock display from network time for AZ7798 2019-07-08 06:56:26 +12:00
Arthur de Beun
a42c13d8e5 Implemented automatic setting of clock display from network time. 2019-07-07 22:26:56 +12:00
Stephan Hadinger
eaf5dbd36c Add blend RGB leds with White leds for better whites #5895 #5704 2019-07-07 10:15:50 +02:00
Theo Arends
c3584cc8ed Bump version to v6.6.0
Bump version to v6.6.0
2019-07-06 15:15:29 +02:00
Theo Arends
b76b5f35c3 Extent some char buffers to accomodate UTF-16 character sets
Extent some char buffers to accomodate UTF-16 character sets (#6026)
2019-07-06 12:53:07 +02:00
Theo Arends
b73b40ee11 Remove hourly uptime message
Remove hourly uptime message
2019-07-05 12:05:34 +02:00
Theo Arends
99f680da57 Add NTP drift information
Add NTP drift information
2019-07-05 11:47:13 +02:00
Theo Arends
c36f93987c Final fix
Final fix
2019-07-04 13:43:27 +02:00
Theo Arends
b3f3468880 Fix compile error
Fix compile error (#6017)
2019-07-04 13:29:53 +02:00
Theo Arends
aa1af61bc8 Fix Shelly 2.5 invalid energy measurement
Fix Shelly 2.5 invalid energy measurement (#5968)
2019-07-04 10:36:38 +02:00
Adrian Scillato
48fe21604e
Fix SDM630 Energy Value to Domoticz 2019-07-03 19:01:12 -03:00
Adrian Scillato
4391aa07fe
Fix SDM120 Energy Value to Domoticz
Fix SDM120 Energy Value to Domoticz (https://github.com/arendst/Sonoff-Tasmota/issues/6015)
2019-07-03 18:56:06 -03:00
Theo Arends
db05d920cf Add more accurate fmodf function and make available to all core versions lowering code footprint
Add more accurate fmodf function and make available to all core versions lowering code footprint
2019-07-03 12:32:44 +02:00
Stephan Hadinger
cc60bf0f03 Fix Not restoring white value on power off/power on (#5993) 2019-07-02 22:10:57 +02:00
Theo Arends
61807b8afa Clean up code
Clean up code
2019-07-02 17:59:40 +02:00
Theo Arends
3d67b8dc66 Fix core 2.3.0 compile error
Fix core 2.3.0 compile error (#6012)
2019-07-02 17:18:32 +02:00
Theo Arends
4938b1e31e Code refactoring
Code refactoring
2019-07-02 15:49:08 +02:00
Theo Arends
169718aa5c Refactor Sonoff L1 support
Refactor Sonoff L1 support
2019-07-02 12:26:04 +02:00
Theo Arends
cc46e2e625 Add support for Sonoff L1 thanks to reef-actor
Add support for Sonoff L1 thanks to reef-actor (#6002)
2019-07-02 10:54:30 +02:00
reef-actor
f1efdb8905 Merge remote-tracking branch 'arendst/development' into sonoff-l1 2019-07-01 23:14:16 +01:00
reef-actor
53b1a920c7 Revert "Add changelog entry for Sonoff L1 support"
This reverts commit b930cd1474.
2019-07-01 23:14:03 +01:00
reef-actor
18f5be9598 Move new entries in SupportedModules and kModules to the ends of the lists 2019-07-01 23:13:59 +01:00
reef-actor
decd91aac0 Remove sscanf call and use strncmp instead 2019-07-01 22:50:59 +01:00
Stephan Hadinger
d75b6ad889 Moved FastPrecisePow and TaylorLog to sonoff_float.ino for consistency 2019-07-01 18:31:54 +02:00
Stephan Hadinger
15e37ef0bb Change converted double to float in rules, and replaced trigonometric functions from stdlib with smaller versions. 2019-07-01 18:20:43 +02:00
Theo Arends
912e8b62e7 Add background timeslot to clear heap
Add background timeslot to clear heap
2019-07-01 17:07:17 +02:00
Theo Arends
9268976ff1 Add Heap info to state message
Add Heap info to state message
2019-07-01 15:30:40 +02:00
Theo Arends
d66a3e8450 Fix displaymode 2/3 to not receive MQTT data
Fix displaymode 2/3 to not receive MQTT data (#5990)
2019-07-01 12:54:26 +02:00
reef-actor
b930cd1474 Add changelog entry for Sonoff L1 support 2019-06-30 23:51:32 +01:00
reef-actor
c489d56ea2 Refactor Sonoff L1 to reduce duplication 2019-06-30 23:48:03 +01:00
reef-actor
2a19735c92 Switch compatibility improvements for Sonoff L1 2019-06-30 23:45:14 +01:00
reef-actor
b10fc6677e Dimmer compatibility improvements for Sonoff L1 2019-06-30 23:44:40 +01:00
reef-actor
d95d18d84e Color handling for Sonoff L1 2019-06-30 23:39:09 +01:00
Theo Arends
98864116c1
Merge pull request #6001 from s-hadinger/fix_tls_aws_compilation
Fixed compilation error when USE_MQTT_AWS_IOT set and USE_MQTT_TLS disabled
2019-06-30 19:52:07 +02:00
Stephan Hadinger
3ac912f957 Fixed compilation error when USE_MQTT_AWS_IOT set and USE_MQTT_TLS disabled 2019-06-30 18:50:42 +02:00
Theo Arends
1b69502d9b Code optimization - Change for(uint8_t in for (uint32_t
Code optimization - Change for(uint8_t in for (uint32_t
2019-06-30 16:44:36 +02:00
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