Commit Graph

3156 Commits

Author SHA1 Message Date
Theo Arends 49f8b4922f Refactor Serial Bridge commands
Refactor Serial Bridge commands
2019-08-01 17:33:44 +02:00
Theo Arends 2d90955026 Refactor Domoticz Commands
Refactor Domoticz Commands
2019-08-01 17:18:49 +02:00
Theo Arends 7e05984a11 Refactor Sonoff Bridge commands
Refactor Sonoff Bridge commands
2019-08-01 16:38:52 +02:00
Theo Arends c7f810da54 Refactor Light commands
Refactor Light commands
2019-08-01 15:47:00 +02:00
Theo Arends 714f938c05 Refactor energy commands
* Refactor energy commands
 * Add define USE_ENERGY_MARGIN_DETECTION to disable Energy Margin and Power Limit detection
 * Add define USE_ENERGY_POWER_LIMIT to disable Energy Power Limit detection while Energy Margin detection is active
2019-08-01 15:46:12 +02:00
Theo Arends aa88295d41 Update feature lists
Update feature lists
2019-08-01 15:42:58 +02:00
Stephan Hadinger c93a03f1d0 Add MqttCount metric to STATE (#6155) 2019-07-31 19:34:23 +02:00
Theo Arends 781cf69933 Add disable option to Width
Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
2019-07-31 16:59:12 +02:00
Theo Arends d1314424fd
Merge pull request #6148 from AlbertoLopSie/max31865-pr
Max31865 RTD to Digital support, PT100/PT1000
2019-07-31 09:41:27 +02:00
Alberto Lopez 6b4f0fd8ec Added check for USE_SPI enabled
Reset MAX31865_PTD_BIAS to 0 by default
2019-07-30 20:20:17 -03:00
Alberto Lopez bc95f11c99 Added missing #define MAX31865_PTD_BIAS lost in branch switching 2019-07-30 15:38:40 -03:00
Alberto Lopez 509b9c6dea Commented USE_SPI and USE_MAX31865 by default. Fixed bad struct member usage. 2019-07-30 12:57:08 -03:00
Alberto Lopez 60198127ba Added Adafruit MX31865 Library to Repo
Added a #define to compensate for low quality PTD probes
2019-07-29 17:54:28 -03:00
Alberto Lopez 2b4d2f5bba Added configuration variables as #defines in my_user_config.h
Code in driver changed to se new config vars.
2019-07-29 12:44:49 -03:00
Stephan Hadinger 372aecd353 Upgrade library IRRemoteEsp8266 to 2.6.4, now using sendPioneer() 2019-07-29 09:28:40 +02:00
Alberto Lopez 475f208cdc All code moved to new file (xsnx_47_max31865.ino)
Code streamlined. Unused code deleted.

New "Resistance" string added to i18n to report PTD reported resistance

USE_SPI enabled in my_user_config.h
2019-07-28 19:36:22 -03:00
Theo Arends 50e0de0dd5 Refactor Web commands
Refactor Web commands
2019-07-28 17:57:09 +02:00
Theo Arends 765a625e5a
Merge pull request #6143 from gemu2015/scripter-update
hexadecimal numbers, ws2812(array)
2019-07-28 17:54:55 +02:00
Theo Arends 13a618634e Refactor MQTT commands
Refactor MQTT commands
2019-07-28 17:14:20 +02:00
gemu2015 4a23d6ac78 hexadecimal numbers, ws2812(array) 2019-07-28 17:10:55 +02:00
Theo Arends a3e12dd3c8 Code optimization
Code optimization
2019-07-28 13:54:52 +02:00
Alberto Lopez c2ad3d8264 Initial commit
Working fine with MAX3165 and a PT100 probe.

Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.

Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:

GPIO	Orig Func	SSPI	I/O	HEADER	HEADER2	S-JACK
 15	BOOT MODE 	CLK	   O	           1
 14	            MISO	 I		         2	   TIP
  4		          MOSI   O		         3	   RING1
VCC				                1 VCC	     4	   RING3
  2	DBG BOOT 	  ~CS	   O	5 EXP-LOG
GND				                4 GND		         RING2

HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.

TODO: Merge with MAX31855 code.
2019-07-27 19:58:17 -03:00
Theo Arends 89783d0b61 Fix config restore CRC error
Fix config restore CRC error
2019-07-27 18:55:20 +02:00
Theo Arends fde53117d6 Space saving code optimization
Space saving code optimization
2019-07-27 18:37:56 +02:00
Theo Arends 37b1c25881 Refactor core command structure
Refactor core command structure
2019-07-27 11:13:41 +02:00
Theo Arends ff909baa69 Refactor ADC commands
Refactor ADC commands
2019-07-26 10:43:30 +02:00
Theo Arends 9bcba3772e Refactor Counter commands
Refactor Counter commands
2019-07-26 10:21:36 +02:00
Theo Arends cc9d7bb8e9 Refactor MQTT pre-processing
Refactor MQTT pre-processing
2019-07-26 09:52:14 +02:00
Theo Arends 250c991c97 6.6.0.3 - Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues
Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues (#2422)
2019-07-25 14:18:28 +02:00
Theo Arends c2413a2256 Housekeeping
Housekeeping
2019-07-24 13:09:42 +02:00
Theo Arends 398a72d128 Remove command code from sonoff.ino and introduce support_command.ino
Remove command code from sonoff.ino and introduce support_command.ino
2019-07-24 11:55:58 +02:00
Theo Arends 996c01858c Update _changelog.ino
Change commands Var and Mem to show all parameters when no index is given (#6107)
2019-07-24 11:12:49 +02:00
Theo Arends 1068d59a63 Extent commands Var and Mem with option to show all parameters at once
Extent commands Var and Mem with option to show all parameters at once (#6107)
2019-07-24 11:10:15 +02:00
Bohdan Kmit bb632ae023 Increase temporary variable size to fit utf-8 strings 2019-07-24 00:19:27 +03:00
Bohdan Kmit f184f64e90 Increase temporary variable size to fit utf-8 strings 2019-07-23 23:59:23 +03:00
Bohdan Kmit 223a9ee283 Ukrainian translation fixes 2019-07-23 23:36:28 +03:00
Bohdan Kmit 7b6850e6be Fix logic for choosing default display size 2019-07-23 23:29:51 +03:00
Theo Arends fdda0429d6 Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
Add control of WifiConfig when power ON is pressed for over 5 seconds or single press
2019-07-23 14:40:33 +02:00
Theo Arends 546653a8f2 Add display features
* Add command DisplayWidth to set pixel width on supported devices
 * Add command DisplayHeight to set pixel height on supported devices
 * Add Oled reset GPIO option "OLED reset"
2019-07-23 14:05:42 +02:00
Theo Arends af4dd080c5 Fix possible IRSend input corruption
Fix possible IRSend input corruption
2019-07-23 10:22:14 +02:00
gemu2015 7294241037 Update xdrv_10_scripter.ino 2019-07-23 07:04:37 +02:00
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
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
gemu2015 48eb9c437e Update xdrv_10_scripter.ino
optimized median filter, support for opt filter lenght, support for arrays
string token support, at least needed to decode json comma seperated values
(now all json result may be decoded)
2019-05-22 12:33:51 +02:00
Theo Arends a623d1e90b Add temp test
Add temp test
2019-05-22 12:31:23 +02:00
gemu2015 5beaea32fd global update fix 2019-05-22 12:22:58 +02:00
Theo Arends 15098dae68 Fix core 2.5.x ISR not in IRAM exception (#5837)
Fix core 2.5.x ISR not in IRAM exception (#5837)
2019-05-22 10:39:37 +02:00
thirug010 c55ad6bd39
Merge branch 'development' into development 2019-05-22 01:30:43 -05:00
thirug010 ab9baf2ac0 Resolved conflit and Updated the code Skop dimmer packets for non-dimmer configuration
1. Rsolved the build conflict on sonoff/_changelog.ino
tools/decode-config.py

2. Updated the code Skop dimmer packets for non-dimmer configuration
2019-05-22 01:28:38 -05:00
Theo Arends 763118b626 6.5.0.12 Add support for link LED and four power LEDs
6.5.0.12 20190521
 * Add AriLux RF control GPIO option "ALux IrSel" (159) replacing "Led4i" (59) for full LED control (#5709)
 * Add LED GPIO option "LedLink" (157) and "LedLinki" (158) to select dedicated link status LED (#5709)
 * Add support for up to four LEDs related to four power outputs. Enabled when "LedLink(i)" is configured too (#5709)
 * Add extended LED power control using command LedPowerX where X is 1 to 4. Enabled when "LedLink(i)" is configured too (#5709)
2019-05-21 18:11:39 +02:00
Theo Arends 7204f85a3a Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
2019-05-21 10:39:54 +02:00
gemu2015 720eeef0eb some fixes 2019-05-21 06:52:01 +02:00
gemu2015 c3fd4b4cab update sps30 2019-05-21 06:44:44 +02:00
thirug010 86af0df712 update the Code to prevent the multiple power mqtt
update the xdrv_16_tuyadimmer.ino to prevent the multiple mqtt msg for power status.
2019-05-20 16:37:23 -05:00
gemu2015 e26509f0de Create xsns_44_sps30.ino 2019-05-20 20:12:34 +02:00
Theo Arends d599f21758 Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE
* Remove define USE_EMULATION from my_user_config.h (#5826)
 * Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826)
2019-05-20 15:09:42 +02:00
Theo Arends 1a6acf5078 Remove redundant call
Remove redundant call
2019-05-20 10:25:49 +02:00
Norbert Richter 0e518084d7 Fix CSE7766 Sensor invalid energy load steps prevention
fixes PR #5793 solution which can async (load overflow) forever until device restart
2019-05-20 08:52:05 +02:00
Theo Arends 9c0bd2a665 Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
2019-05-19 17:49:00 +02:00
thirug010 a802d76713 update the changelog.ino 2019-05-19 09:50:57 -05:00
thirug010 ffbd1af0d1 Revert "Revert "Update xdrv_16_tuyadimmer.ino""
This reverts commit 27dd98c539.
2019-05-19 09:47:51 -05:00
thirug010 27dd98c539 Revert "Update xdrv_16_tuyadimmer.ino"
This reverts commit 7b71331cf6.
2019-05-19 09:46:44 -05:00
thirug010 7b71331cf6 Update xdrv_16_tuyadimmer.ino
Repalced TuyaGetPower() BitRead().
2019-05-19 09:44:34 -05:00
Theo Arends 25feabb921 Fix Script and Rule System#Save
Fix Script and Rule System#Save
2019-05-19 14:59:07 +02:00
Theo Arends 8c132bd0ff Add rule System#Save executed just before a planned restart
Add rule System#Save executed just before a planned restart
2019-05-19 12:42:10 +02:00
Theo Arends ef9f0f6453 Fix exception 28 due to regression from 6.5.0.1 (#5822)
Fix exception 28 due to regression from 6.5.0.1 (#5822)
2019-05-19 12:07:20 +02:00
thirug010 6b013144ab Updated the code based on the feedback
* Updated xdrv_01_webserver.ino to show dimmer slider2 by default for Tuya Dimmer Module

 * Updated xdrv_16_tuyadimmer.ino remove the use of XdrvMailbox and removed the pow functions now the size for 6.5.0 build is 510kb

 * updated sonoff.ino to hold current device id
2019-05-18 18:13:57 -05:00
Theo Arends 292efcc358 Update support.ino
Add optional debug info
2019-05-18 19:43:04 +02:00
Theo Arends d6d56618dc Add range test
Add range test
2019-05-18 18:40:13 +02:00
Theo Arends 052cfbc11d Save 1k code space by using TaylorSeries log function
Save 1k code space by using TaylorSeries log function
2019-05-18 18:24:17 +02:00
Theo Arends 5515a97be6 Provide function FastPrecisePowf
Provide function FastPrecisePowf
2019-05-18 16:54:29 +02:00
Theo Arends be7ea38204
Merge pull request #5818 from s-hadinger/fast_pow
Replace powf() with FastPrecisePow(), saves 4KB of code
2019-05-18 16:30:54 +02:00
Theo Arends 866c9c4b1f Clean up code and functionality
Clean up code and functionality
2019-05-18 16:17:05 +02:00
Stephan Hadinger 3c13310664 Replace powf() with FastPrecisePow(), saves 4KB of code 2019-05-18 15:59:40 +02:00
Theo Arends c54bcf4b9a
Merge pull request #5817 from gemu2015/sgp30_compensation
Sgp30 compensation
2019-05-18 15:50:11 +02:00
gemu2015 a866e610bd select pow function 2019-05-18 14:21:43 +02:00
Theo Arends dc3d0aea94 Add initial support for Scripts
Add initial support for Scripts as replacement for Rules. Default disabled but can be enabled in my_user_config.h (#5689)
2019-05-18 13:34:52 +02:00
gemu2015 d40a9b96d7 Update xsns_21_sgp30.ino 2019-05-18 13:27:46 +02:00
gemu2015 1ff821d886 Update xsns_21_sgp30.ino 2019-05-18 13:23:55 +02:00
Theo Arends 520643d17e
Update my_user_config.h
Default disable script for legacy reason
2019-05-18 12:21:09 +02:00
gemu2015 8ab60add17 scripter.md moved 2019-05-18 09:47:49 +02:00
gemu2015 ba41a2ada5 update scripter 2019-05-18 09:45:04 +02:00
thirug010 fce9ae6762 Revert Platformio.ini and user config for PR merge
Revert Platformio.ini and user config for PR merge
2019-05-17 23:50:41 -05:00
thirug010 821dd97e69 Update _changelog.ino 2019-05-17 22:13:04 -05:00
thirug010 d59d631e40 New Tuya Serial Based Devices support
Updated the Code to support most of the new Tuya Serial devices like 4Gang Serail switch, 1 Dimmer + 1 relay, 3 Gang  ...
2019-05-17 22:03:53 -05:00
Theo Arends a777bb6cdf 6.5.0.11 Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator
6.5.0.11 20190517
 * Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator impacting DS18X20, DHT, BMP and SHT3X sensor names (#5689)
2019-05-17 14:23:21 +02:00
Theo Arends 6177787744 Revert "6.5.0.11 Change sensor names using a minus"
This reverts commit 61c59fa4b9.
2019-05-17 14:06:36 +02:00
Theo Arends 61c59fa4b9 6.5.0.11 Change sensor names using a minus
6.5.0.11 20190517
 * Add user define INDEX_SEPARATOR to control Sensor Name index character which was fixed to "-" (minus) but is now changed to "_" (underscore) for future support.
 *  This change impacts DS18X20, DHT, BMP and SHT3X sensor names.
2019-05-17 12:07:37 +02:00
Theo Arends f9ca25755b Add experimental light sensor code to ADC0
Add experimental light sensor code to ADC0. See xsns_02_analog.ino for information.
2019-05-16 18:43:23 +02:00
Theo Arends 038079a865 Add rule support for single JSON value pair
Add rule support for single JSON value pair like {"SSerialReceived":"on"} by expanding it to {"SSerialReceived":{"Data":"on"}} allowing for trigger SSerialReceived#Data=on (#5638)
2019-05-15 16:31:13 +02:00
Theo Arends 68c076147f
Merge pull request #5794 from pzgdiego/patch-1
fix bug with smartconfig
2019-05-15 11:31:52 +02:00
Theo Arends bacb438a98 Update support.ino
Fix I2cValidRead (#2442)
2019-05-14 18:41:54 +02:00
Theo Arends e472d3232a Add device OverTemp (>73 Celsius) detection to selected Energy Monitoring devices
* Fix Sonoff Pow R2 / S31 invalid energy increments (#5789)
 * Add device OverTemp (>73 Celsius) detection to any Energy Monitoring device with temperature sensor powering off all outputs
2019-05-14 17:46:40 +02:00
Diego Pérez 04d48af04e
fix bug with smartconfig
Enables wifi STA mode in order to start SmartConfig correctly
2019-05-14 09:15:43 -04:00
Norbert Richter 9ed9ac6621 CSE7766 Sensor (Sonoff S31/Pow R2) prevent invalid energy load steps
prevent invalid load delta steps even checksum of datastream from CSE is valid (issue #5789)
2019-05-14 12:13:42 +02:00
Theo Arends 0b6c62f5f9 Add support for Shelly 1PM Template
Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716)
2019-05-13 18:26:07 +02:00
Theo Arends 1cdc04610e Update xsns_02_analog.ino
Fix KNX compilation
2019-05-13 16:36:17 +02:00
Theo Arends ad54ece2fb 6.5.0.10 Enable ADC0 by default
6.5.0.10 20190513
 * Enable ADC0 by default in my_user_config.h (#5671)
 * Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671)
2019-05-13 15:56:01 +02:00
Theo Arends f9f3e29eab
Merge pull request #5792 from s-hadinger/fix/lightsetdimmer
Put back LightSetDimmer, see #5787
2019-05-13 10:34:25 +01:00
Stephan Hadinger cfdc553b65 Put back LightSetDimmer, see #5787 2019-05-13 11:27:46 +02:00
Andrea Pede 09c1b4f5f9
Update _changelog.ino 2019-05-09 12:14:18 +02:00
Andrea Pede 5b5272e684
Missing the end pointer reference solves #5760
Exiting from the unescape call the content in buffer still contains the original string. The result of unescape elaboration works well, but the rest of the string is still there and in the printf in the main program infact is printed overlapped to the previous content.
TY MauroS for the hint.
2019-05-09 11:26:20 +02:00
Stephan Hadinger 9247107f3d Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:07:15 +02:00
Stephan Hadinger 678f3ec35b Fixed: WC/WW were inverted, back to RGBCW 2019-05-08 12:06:22 +02:00
Stephan Hadinger 4cf156cbdc Updated code size for USE_EMULATION 2019-05-07 09:37:10 +02:00
Stephan Hadinger 9478c34ca0 Updated changelog 2019-05-05 18:28:29 +02:00
Stephan Hadinger e23f933cde Moved Philips-Xiaomi special handling to a better location 2019-05-05 18:18:20 +02:00
Stephan Hadinger 8144402536 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into fix/better_colormode 2019-05-05 09:19:34 +02:00
Stephan Hadinger 3cff56cdae Improved doc of LightStateClass about invariants 2019-05-05 09:18:57 +02:00
Stephan Hadinger dcd10a04cd Better color-mode management for RGB and Warm/Cold LEDs 2019-05-04 23:04:53 +02:00
Stephan Hadinger 4b3c826a0e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into feature/led_gamma_10_bits 2019-05-04 17:37:05 +02:00
Stephan Hadinger 6e7de3d61a Detailed documentation of Lights calculation flow 2019-05-04 09:40:26 +02:00
Stephan Hadinger 95ee161a38 Cleaned comment 2019-05-03 20:13:05 +02:00
Stephan Hadinger 2d3065f107 Apply correct Gamma to colw/warm white to keep constand perceived luminosity 2019-05-03 20:10:13 +02:00
Stephan Hadinger bdd522c7d2 Allow full power PWM 2019-05-02 23:08:31 +02:00
Stephan Hadinger ae3d7e0122 PWM using 10 bits resolution, LST_MAX created 2019-05-02 22:50:19 +02:00
Soeren Moch 11e69babe6 Fix german wifi connect message
Use correct translation "als" when reporting a wifi connect as host.

Signed-off-by: Soeren Moch <smoch@web.de>
2019-05-01 14:57:53 +02:00
Stephan Hadinger e98acd5c40 Changed gamma correction to adaptative resolution from 8 to 11 bits 2019-04-30 23:03:08 +02:00
Theo Arends e23ea0aaef
Merge branch 'development' into feature/led_gamma_default 2019-04-29 18:40:25 +01:00
Theo Arends cfcd65dfed
Merge pull request #5722 from synekvl/development
Update cs-CZ.h
2019-04-29 18:33:06 +01:00
Theo Arends c0a4e08f4c
Merge pull request #5702 from s-hadinger/feature/refactored_light
Refactored management of lights, using classes and integers instead of floats.
2019-04-29 18:31:31 +01:00
synekvl 926c4caa07
Update cs-CZ.h 2019-04-29 11:44:04 +02:00
Stephan Hadinger d878a42a62 Fixed Color was wrongly changing Dimmer 2019-04-29 08:34:43 +02:00
Stephan Hadinger efea6bb794 Fixed CT command returned bad value 2019-04-28 11:33:38 +02:00
Stephan Hadinger bc29e499c6 Better XY colors management, code cleaning to reduce code size 2019-04-28 11:00:54 +02:00
Stephan Hadinger 5a52d1f568 Fixed PWM1 always full brightness, and Sonoff Basic / Relay not working 2019-04-27 22:48:51 +02:00
Stephan Hadinger d1b073e01d Tentative for 'xy' color space control from Alexa app (Philips Hue emulation) 2019-04-26 16:39:26 +02:00
Stephan Hadinger e4173848b9 Revert last commit, always display XY colors when colors are available 2019-04-26 09:19:16 +02:00
Stephan Hadinger 6b1efb9abc Philips Hue, don't send XY colors when in CT mode 2019-04-25 20:55:22 +02:00
Stephan Hadinger 81fb2667b2 Set gamma correction as default behavior, ie Ledtable 1 2019-04-25 18:50:04 +02:00
Theo Arends c019da7b0f
Merge pull request #5684 from MadDoct/patch-3
Change tele message of ADS1115 to allow it to work correctly with rules
2019-04-25 15:24:50 +02:00
Stephan Hadinger 4efef18d5d Fixed wrong brightness for White command 2019-04-25 14:59:39 +02:00
Stephan Hadinger e8dd82f24b Fixed Color2 should not reset Dimmer 2019-04-25 14:50:47 +02:00
Stephan Hadinger 70808ea5b0 Added feature to changelog 2019-04-25 13:13:21 +02:00
Stephan Hadinger 31e80c8c3e Refactored management of lights, using classes and integers instead of floats. 2019-04-25 13:06:35 +02:00
Stephan Hadinger 7015b1f18e Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-04-23 17:27:21 +02:00
MadDoct 393953d894
Change tele message of ADS1115 to allow it to work correctly with rules
Change tele message of ADS1115 to allow it to work correctly with rules, by removing "[", as reported by issue #5681
2019-04-21 17:55:00 +01:00
Nick Galfas b691ba4098
Updated Greek translation
Also some strings were shortened
2019-04-20 11:54:29 +03:00
Stephan Hadinger b5860b9b94 Fixed wrong behavior of Alexa app with Philips Hue emulation 2019-04-19 21:39:43 +02:00
Stephan Hadinger c8f82399f3 Fixed responding 'xy' colot space only for devices supporting colors. 2019-04-19 14:26:40 +02:00
Stephan Hadinger 5732efa27c Adding 'xy' color response for Philips Hue emulation 2019-04-18 23:11:59 +02:00
Stephan Hadinger 99a4556bab Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-04-18 21:55:32 +02:00
Stephan Hadinger 599306a81f Fixed wrong ct results when initializing device 2019-04-18 20:56:18 +02:00
Stephan Hadinger d2f1657e68 Fixed issue with simple relay in Philips Hue emulation from Alexa app 2019-04-18 17:08:32 +02:00
Theo Arends e8e7b25b80 6.5.0.9 Add command SetOption63
6.5.0.9 20190418
 * Add command SetOption63 0/1 to disable relay state feedback scan at restart (#5594, #5663)
 * Fix TasmotaSerial at 9600 bps solving DFPlayer comms (#5528)
 * Fix Shelly 2.5 overtemp
2019-04-18 16:24:46 +02:00
Theo Arends cb86fb5c2c Update xnrg_07_ade7953.ino
Fix compile error and CurrentSet resolution
2019-04-18 14:13:14 +02:00
Theo Arends 736f63e9ae Fix Shelly 2.5 overtemp detection
Fix Shelly 2.5 overtemp detection
2019-04-18 11:07:38 +02:00
Theo Arends bbd23dd745 Fix missing sans-serif font (#5664)
Fix missing sans-serif font (#5664)
2019-04-18 10:34:55 +02:00
digiblur a75dc0c4ab
Update _changelog.ino 2019-04-17 23:01:50 -05:00
digiblur 39615c0700
Add Tuya Dimmer 10 second heartbeat
Some newer dimmer modules require the stock firmware method of sending a heartbeat packet every 10-11 seconds to the secondary MCU.  This was tested on 2 other Tuya based dimmers that did not require this heartbeat packet and no adverse impacts have been found.
2019-04-17 21:41:58 -05:00
Stephan Hadinger 78ffc3085d Support for color and colortone for Philips Hue emulation via Alexa (#5600 #4809) 2019-04-17 21:21:56 +02:00
Theo Arends 5e810f1ff3 Add Shelly 2.5 overtemp functionality
* Add all temperature, humidity and pressure for global access
 * Add Shelly 2.5 overtemp functionality
 * Fix Shelly 2.5 I2C address priority issue when VEML6070 code is present by disabling VEML6070 for Shelly 2.5 (#5592)
2019-04-15 18:12:42 +02:00
Theo Arends 6adb513cd6 Add Shelly 2.5 Energy Monitoring (#5592)
Add Shelly 2.5 Energy Monitoring (#5592)
2019-04-14 18:20:24 +02:00
znanev 79c50af865
Update bg-BG.h 2019-04-14 16:53:18 +01:00
Theo Arends 4fa4397ab5 6.5.0.8 Fixes syslog and SerialDelimiter
6.5.0.8 20190413
 * Fix use of SerialDelimiter value 128 (#5634)
 * Fix lost syslog connection regression from 6.5.0.4
2019-04-13 15:52:32 +02:00
Theo Arends 2ec7d1853e
Merge pull request #5634 from revk/development
Fix use of SerialDelimiter value 128
2019-04-13 15:44:46 +02:00
Theo Arends 11146c2225 Fix lost syslog connection regression from 6.5.0.4
Fix lost syslog connection regression from 6.5.0.4
2019-04-13 15:12:25 +02:00
RevK 7d055b2271
Fix use of SerialDelimiter value 128
This was allowing printable characters when set to 128, but also allowed all characters that are not 128.
2019-04-13 06:51:11 +01:00
RevK 6d391103d7
Fix use of SerialDelimiter value 128 2019-04-13 06:50:04 +01:00
RevK 1121a14995
Fix use of SerialDelimiter value 128 2019-04-13 06:49:37 +01:00
Jason2866 a6bdb60e0b
Update de-DE.h
Better translation 
Thx @curzon01
2019-04-12 13:27:16 +02:00
Theo Arends bcc7f1846e
Merge pull request #5628 from localhost61/development
Update "minimal text" for he-HE and update fr-FR to 6.5.0.7
2019-04-12 12:14:54 +02:00
Theo Arends 36320853ec Prep for Shelly 2.5 PM
Prep for Shelly 2.5 PM
2019-04-12 11:44:50 +02:00
localhost61 3703783d03 Language update 2019-04-12 11:43:53 +02:00
Theo Arends 5e5580c785 Document Analog support
Document Analog support
2019-04-12 11:01:37 +02:00
Jason2866 04a0557c64
Update de-DE.h 2019-04-11 19:42:36 +02:00
Adrian Scillato 8ab0ce2bd0
Spanish Translation Update 2019-04-11 13:20:09 -03:00
Theo Arends 2c6df2b86b Adding Analog Temperature support for Shelly 2.5
Adding Analog Temperature support for Shelly 2.5
2019-04-11 16:59:48 +02:00
Theo Arends f1cccc19be Tune IRsend
Tune IRsend
2019-04-11 11:38:07 +02:00
Theo Arends 90223a8eaa Add more options to IRsend raw
Add more options to IRsend raw
2019-04-10 18:28:46 +02:00
Theo Arends a454ab71de Update LedMask info
- Add hexadecimal info to command LedMask
- Add LedMask to Status
2019-04-10 15:02:38 +02:00
Theo Arends df6645481e 6.5.0.7 Add command LedMask
6.5.0.7 20190410
 * Add command LedMask to assign which relay has access to power LED (#5602, #5612)
2019-04-10 14:26:36 +02:00
Theo Arends 0dbbf413a8
Merge pull request #5604 from Staars/development
do not forget to handle the last vars_event and mems_event
2019-04-09 18:40:45 +02:00
Theo Arends 542fca9cbb Enable rule trigger on SSerialReceived (#4942)
Enable rule trigger on SSerialReceived (#4942)
2019-04-09 17:47:38 +02:00
Theo Arends 51e66bcccf Update xdrv_05_irremote.ino
Code shaving
2019-04-09 15:41:01 +02:00
Theo Arends 19ab3183f4
Merge pull request #5611 from kinsamanka/irsend
Ignore non-binary char in bit stream
2019-04-09 14:54:42 +02:00
Theo Arends aa91caa35e 6.5.0.6 Add WebColor parameters to Settings
6.5.0.6 20190409
 * Add WebColor parameters to Settings making them persistent and remove the need for using a rule
 * Add alternative IRSend command syntax IRSend raw,<freq>,<header mark>,<header space>,<bit mark>,<zero space>,<one space>,<bit stream> (#5610)
2019-04-09 13:56:19 +02:00
GP Orcullo 97c1ae568c Ignore non-binary char in bit stream 2019-04-09 19:11:47 +08:00
Theo Arends ab07f7d9c6
Merge pull request #5610 from kinsamanka/irsend
Alternative to IRSend RAW command
2019-04-09 13:07:19 +02:00
GP Orcullo b3e8d3c143 Alternative to IRSend RAW command.
It is not practical to send long streams of data using the existing IRSend RAW command as it is limited by the size of the mqtt buffer.

The format for this command is:
        IRSend raw,<freq>,<hdr_mrk>,<hdr_spc>,<bit_mrk>,<zer_spc>,<one_spc>,<bit_str>
where,
        <freq>    = carrier freq (default 0, 38kHz)
        <hdr_mrk> = header mark (ms)
        <hdr_spc> = header space (ms)
        <bit_mrk> = bit mark (ms)
        <zer_spc> = zero space (ms)
        <one_spc> = one space (ms)
        <bit_str> = bit stream data (stream of ones and zeroes)

This command makes use of the output of the raw IR decoder from https://github.com/ToniA/Raw-IR-decoder-for-Arduino

USAGE:

Example rawirdecode output:

        Number of symbols: 75
        Symbols:
        Hh010101101000111011001110000000001100110000000001100000000000000010001100
        Bytes:
        00:  0101|0110 | 6A | 01101010
        01:  1000|1110 | 71 | 01110001
        02:  1100|1110 | 73 | 01110011
        03:  0000|0000 | 00 | 00000000
        04:  1100|1100 | 33 | 00110011
        05:  0000|0001 | 80 | 10000000
        06:  1000|0000 | 01 | 00000001
        07:  0000|0000 | 00 | 00000000
        08:  1000|1100 | 31 | 00110001
        6A,71,73,00,33,80,01,00,31
        Timings (in us):
        PAUSE SPACE:  0
        HEADER MARK:  8620
        HEADER SPACE: 4260
        BIT MARK:     544
        ZERO SPACE:   411
        ONE SPACE:    1496
        Decoding known protocols...
        Unknown protocol
        Bytecount: 9

Corresponding command:

        IRSend raw,0,8620,4260,544,411,1496,010101101000111011001110000000001100110000000001100000000000000010001100
2019-04-09 17:41:32 +08:00
Theo Arends 3e3610efdc Consolidate Timer Active Tab Text color to Text color
Consolidate Timer Active Tab Text color to Text color eliminating command WebColor19
2019-04-09 10:24:00 +02:00
Theo Arends 79f2dff760 Move and document WebColor within my_user_config.h
Move and document WebColor within my_user_config.h
2019-04-09 09:37:29 +02:00
Theo Arends be385ecb5c Add command WebColor
* Add rule Http#Initialized
 * Add command WebColor to change non-persistent GUI colors on the fly
   Use a rule like:
   rule3 on http#initialized do webcolor {"webcolor":["#eeeeee","#181818","#4f4f4f","#000000","#dddddd","#008000","#222222","#ff0000","#008000","#ffffff","#1fa3ec","#0e70a4","#d43535","#931f1f","#47c266","#5aaf6f","#ffffff","#999999","#000000"]} endon
   or
   rule3 on http#initialized do webcolor {"webcolor":["#eee","#181818","#4f4f4f","#000","#ddd","#008000","#222"]} endon
   to make color changes persistent)
2019-04-08 22:37:39 +02:00
Staars a5c4dcd5d2 do not forget the last vars_event and mems_event 2019-04-08 18:27:08 +02:00
Theo Arends ce53ee07e7 Fix template activation and/or module selection regression from 6.5.0.4 (#5598)
Fix template activation and/or module selection regression from 6.5.0.4 (#5598)
2019-04-08 13:26:17 +02:00
Theo Arends 3fc9db9079 Update _changelog.ino
Add compile time GUI hexadecimal only color options in my_user_config.h (#5586)
2019-04-07 17:00:14 +02:00
Theo Arends 7f903ac736 Only allow hex color values for future use
- Only allow hex color values (for future use)
- Change css background-color to background (saving code space)
2019-04-07 16:58:23 +02:00
Theo Arends 5ed3aeeb37 Update xdrv_01_webserver.ino
Fix unique html password id/name to satisfy pasword managers (#5589)
2019-04-07 16:36:54 +02:00
Theo Arends 387e3c5f99 Add more compile time GUI color options
Add more compile time GUI color options (#5586)
2019-04-06 19:19:46 +02:00
Theo Arends 43a61b3e24 6.5.0.5 Add compile time GUI color options
6.5.0.5 20190406
 * Add compile time GUI color options (#5586)
2019-04-06 18:25:26 +02:00
Theo Arends 756400de19 Attempt to fix MQTT reconnects while keeping good response
Attempt to fix MQTT reconnects while keeping good response
2019-04-06 15:22:25 +02:00
Theo Arends 148192b80d Attempt to fix MQTT reconnects
Attempt to fix MQTT reconnects
2019-04-06 13:39:59 +02:00
Theo Arends 03f76a4a97 Tune templates
Tune templates
2019-04-05 17:46:26 +02:00
Theo Arends c673ea1728 Make MI Desk Lamp optional
Make MI Desk Lamp optional
2019-04-05 15:41:01 +02:00
Theo Arends 5e1cbcf94f Make MI Desk Lamp optional
Make MI Desk Lamp optional
2019-04-05 15:27:06 +02:00
Theo Arends 15d475c3e6
Merge pull request #5584 from Jason2866/development
MiDesk Lamp not default activated
2019-04-05 13:31:48 +02:00
Theo Arends 2c227b8f75
Merge pull request #5547 from Staars/development
always check for vars_events and mems_events
2019-04-05 13:30:47 +02:00
Jason2866 82ef09b684
Make MI Desk Lamp default off
Mi Desk Lamp can be activated in my_user_config.h by setting uncommenting //#define ROTARY_V1
2019-04-05 08:41:26 +02:00
Theo Arends ce4e9b0e30 Add stable strtoull to core 2.3.0
Add stable strtoull to core 2.3.0
2019-04-04 17:52:14 +02:00
Theo Arends f455b738a5 QFix for core 2.3.0 compile error on strtoull
QFix for core 2.3.0 compile error on strtoull
2019-04-03 10:28:13 +02:00
Theo Arends 3766e1b0a1
Merge pull request #5578 from yury-sannikov/sns15-fix
Fix Sensor15 command crash due to the wrong memory specifier
2019-04-03 09:14:17 +02:00
Yury Sannikov 2c286c43f1 Fix Sensor15 command crash due to the wrong memory specifier 2019-04-02 21:16:50 -04:00
Adrian Scillato bf33e8fcd7
Update _changelog.ino 2019-04-02 21:44:01 -03:00
Adrian Scillato 43bc2a31a3
Fixed Display Bug in KNX webmenu for Phys Address 2019-04-02 21:41:52 -03:00
Theo Arends 531c4fe44e Disable unused code
Disable unused code
2019-04-02 20:53:17 +02:00
Theo Arends 2fd15c4633 Fix WifiManager Pop Up when no SSID is configured (#5575)
Fix WifiManager Pop Up when no SSID is configured (#5575)
2019-04-02 20:26:30 +02:00
Theo Arends 8ff2759ccc 6.5.0.4 Fix Configure Timer Web GUI
6.5.0.4 20190402
 * Fix Configure Timer Web GUI (#5568)
 * Add validation check when loading settings from flash
2019-04-02 15:47:39 +02:00
Theo Arends 76eec9b8ab Fix Configure Timer Gui webinterface (#5568)
Fix Configure Timer Gui webinterface (#5568)
2019-04-02 11:26:55 +02:00
Theo Arends c58b40e838 Revert "Fix Configure Timer Gui webinterface (#5568)"
This reverts commit 7c31bedc9b.
2019-04-02 11:07:30 +02:00
Theo Arends 7c31bedc9b Fix Configure Timer Gui webinterface (#5568)
Fix Configure Timer Gui webinterface (#5568)
2019-04-02 10:35:19 +02:00
Theo Arends 7f590e62f3 Change Spanish Argentina to Spanish Spain (#5565)
Change Spanish Argentina to Spanish Spain (#5565)
2019-04-01 17:41:47 +02:00
Theo Arends a380eb9566 Fix possible compile error
Fix possible compile error
2019-04-01 16:39:13 +02:00
Theo Arends 127892e0c1 Change IRsend and receive for 64-bit support
* Change IRsend and receive for 64-bit support (#5523)
 * Change IRSend Panasonic protocol to 64-bit (#5523)
2019-04-01 15:15:16 +02:00
Theo Arends 880bbe357d Change String to char
Change String to char
2019-03-31 17:57:28 +02:00
Theo Arends 8d8e060550 Revert "Test for easier MQTT reconnects"
This reverts commit b7adb10923.
2019-03-31 17:55:58 +02:00
Theo Arends b7adb10923 Test for easier MQTT reconnects
Test for easier MQTT reconnects
2019-03-31 17:51:05 +02:00
Theo Arends b9a0581280 Fix parameter exceptions (#5555)
Fix parameter exceptions (#5555)
2019-03-31 13:06:42 +02:00
Theo Arends f7c30250c1 Change some more defines to const
Change some more defines to const
2019-03-31 11:59:04 +02:00
Theo Arends 929292f7a8 Update xdrv_02_mqtt.ino
Restore MQTT attempting connection message
2019-03-30 16:32:22 +01:00
Theo Arends 2aad0567bf Change some defines to const
Change some defines to const
2019-03-30 16:29:27 +01:00
Theo Arends eb9617e3f9 Tune some functionality
Tune some functionality
2019-03-30 13:03:45 +01:00
Theo Arends d9bd959119 Fix compile error (#5544)
Fix compile error (#5544)
2019-03-30 10:02:22 +01:00
Staars 1400a15076 always check for vars_events and mems_events 2019-03-29 09:42:50 +01:00
Theo Arends b8dfc6b1b5 Change order of evaluation
Change order of evaluation
2019-03-28 15:29:08 +01:00
Theo Arends e19ba70c7f Fix exception due to UDP packet memory flooding (#5540)
Fix exception due to UDP packet memory flooding (#5540)
2019-03-28 14:39:12 +01:00
Theo Arends e8e5d1c03c 6.5.0.3 Add command Sensor20
6.5.0.3 20190328
 * Add command Sensor20 1..255 to change Nova Fitness SDS01 working period in minutes (#5452)
2019-03-28 12:06:48 +01:00
Theo Arends e631d49d0f Housekeeping
Housekeeping
2019-03-28 11:25:38 +01:00
Theo Arends 64ab5d95e5 Add optional support for Badger HR-E Water Meter
Add optional support for Badger HR-E Water Meter (#5539)
2019-03-28 11:14:09 +01:00
Jon Little a596fc7948 renamed driver from 91 to 43 2019-03-27 21:36:32 -05:00
Jon Little deaf1f3d5b Adding additional languages 2019-03-27 21:30:03 -05:00
Jon Little fb81b65bbc Cleaned up debugging output 2019-03-27 20:21:25 -05:00
Jon Little d375d95529 Updating to work with new web/mqtt api 2019-03-27 20:21:25 -05:00
Jon Little 17a5e90e86 Fixing copyright and name 2019-03-27 20:21:25 -05:00
Jon Little 3ad8046166 Adding HRE interface for en-GB 2019-03-27 20:21:25 -05:00
Theo Arends feb11dd49e wemohue tuning
wemohue tuning
2019-03-27 18:09:27 +01:00
Christoph Hofmann 43e79e8352 Fix pca9685 driver command 2019-03-27 03:39:22 +01:00
Theo Arends e1c92b701b Change NULL to nullptr
Change NULL to nullptr
2019-03-26 18:26:50 +01:00
Theo Arends f83a5bb989 More Wemo tuning
More Wemo tuning
2019-03-26 17:10:07 +01:00
Theo Arends bf8845c3bd Increase emulation stability (#5505)
Increase emulation stability (#5505)
2019-03-26 10:28:30 +01:00
Theo Arends 1c7fb82af8 6.5.0.2 Change UDP initial message handling
6.5.0.2 20190325
 * Change UDP initial message handling from string to char using static memory and add debug info (#5505)
2019-03-25 16:03:28 +01:00
Theo Arends 57cb570b8f Fix GUI corruption
Fix GUI corruption due to format string usage (#5519)
2019-03-25 11:20:03 +01:00
Theo Arends a7a07c5b96 Fix JSON message error (#5521)
Fix JSON message error regression  (#5521)
2019-03-25 10:02:12 +01:00
Theo Arends 10d32acccc Free some flash used by hass
Free some flash used by hass
2019-03-24 14:23:20 +01:00
Theo Arends dcc69bdff0 Shrink code/flash space pt.2/2
Shrink code/flash space pt.2/2
2019-03-23 17:57:31 +01:00
Theo Arends 6922e657d9 Shrink code/flash space
Shrink code/flash space
2019-03-23 17:00:59 +01:00
Theo Arends 76b7d778ec Fix incomplete syslog
Fix incomplete syslog when MQTT is disabled (#5512)
2019-03-23 12:41:35 +01:00
Theo Arends 878205335f Consolidate MqttPublishTeleState
Consolidate MqttPublishTeleState
2019-03-20 14:05:43 +01:00
Adrian Scillato f4da1d1d86
Added HASS_STATE to command STATE
The command STATE has a secondary mqtt message in the case that SETOPTION59 is 1
This adds a HASS_STATE mqtt message if HomeAssistant discovery is enabled.

This is useful for syncing HomeAssistant with all the states of a Tasmota device when HA is restarted.
The actual automation for HA explained in the wiki will also make use of this new message.
2019-03-20 00:57:26 -03:00
Theo Arends 83188c926c Update GUI
Update GUI
2019-03-19 18:02:38 +01:00
Theo Arends b7f89c0a8c 6.5.0.1 Change GUI data collection
6.5.0.1 20190319
 * Change Web GUI sensor data collection
2019-03-19 17:31:43 +01:00
Theo Arends bcd6cf0e34 Release 6.5.0
Release 6.5.0
2019-03-19 15:37:21 +01:00
Yuval 28694bff7a
Add new translate and fix some 2019-03-19 15:09:32 +02:00
Theo Arends 46b2fcac08 Second try
Second try
2019-03-19 13:03:46 +01:00
Theo Arends 47e9361d55 Revert "Update minimal text"
This reverts commit c114530e34.
2019-03-19 13:02:12 +01:00
Theo Arends c114530e34 Update minimal text
Update minimal text
2019-03-19 12:23:09 +01:00
Adrian Scillato 7f43eff739
Hiding User Configurable Pins for SHELLY 1
As explained in https://github.com/arendst/Sonoff-Tasmota/issues/5487 some users had tried to connect sensors to shelly 1, being it powered using mains AC. So, as it is very dangerous and a safety concern, those extra GPIO are being taken from the template. Comments on this is, were left on the code for people who really know what they are doing.
2019-03-17 22:10:10 -03:00
Theo Arends 99d20f803b More web chunks
More web chunks
2019-03-16 16:23:41 +01:00
Theo Arends ca5c3d1eeb 6.4.2.22 Remove support for MQTT_LIBRARY_TYPE
6.4.2.22 20190315
 * Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474)
2019-03-15 14:29:47 +01:00
Theo Arends 3dbd49f9b7 Update GUI template screen
Update GUI template screen
2019-03-15 14:10:42 +01:00
Adrian Scillato c1a2da1a46
Fix compiling issue
Deleted and extra " that prevents compiling.
2019-03-14 22:05:07 -03:00
Theo Arends 2959ec9341 Prep for release with fix some warnings
Prep for release with fix some warnings
2019-03-14 16:50:56 +01:00
Yuval 3332a54942
Update he-HE.h 2019-03-14 16:05:40 +02:00
Theo Arends 282744d5fd Houskeeping
Houskeeping
2019-03-13 18:06:20 +01:00
Theo Arends 4803b864be
Merge pull request #5440 from emontnemery/improve_hass_sensor
Add MQTT connect count to HASS sensor
2019-03-12 10:28:03 +01:00
Theo Arends 73be43b60f Fix exception caused by wrong baudrate selection
Fix exception caused by wrong baudrate selection (#5441)
2019-03-12 10:23:20 +01:00
Theo Arends 2aaca4bc2b Revert "Fix exception caused by wrong baudrate selection"
This reverts commit ffc1505872.
2019-03-12 10:22:40 +01:00
Theo Arends ffc1505872 Fix exception caused by wrong baudrate selection
Fix exception caused by wrong baudrate selection
2019-03-12 10:21:33 +01:00
Erik d4ca635db6 Add MQTT connect count to HASS sensor 2019-03-11 18:29:39 +01:00
Theo Arends 6c69b8d12d Add button control when no relay configured
Add button control when no relay configured (#4682)
2019-03-11 18:18:47 +01:00
Theo Arends 58d075deff Update xsns_22_sr04.ino
Fix debug compile error
2019-03-11 16:49:59 +01:00
Theo Arends 5927f7501c Update xdrv_12_home_assistant.ino
Quick fix for #5356
2019-03-11 15:41:06 +01:00
Theo Arends d7715d1d2a Add 0x to IRRemote and RCSwitch
Add 0x to IRRemote (SetOption29) and RCSwitch (SetOption28) received hexadecimal data (#5431)
2019-03-11 14:55:14 +01:00
Theo Arends baa5825569 Free some flash
Free some flash
2019-03-11 10:38:41 +01:00
Theo Arends d0ac200a78 Replace webserver flash string to char
Replace webserver flash string to char
2019-03-10 15:36:34 +01:00
Theo Arends 37e1b31937 Add support for sensor SCD30
* Add support for sensor SCD30 (#5434)
 * Add support for commands in sensor drivers
2019-03-10 13:33:32 +01:00
Neel Malik bbc63c2077 preliminary SCD30 support 2019-03-09 17:44:42 -08:00
Theo Arends 8a43cfb3e6 Add headers to status update data
Add headers to status update data (#5410)
2019-03-09 15:51:16 +01:00
Theo Arends ecbe6ac618 6.4.1.21 Fix exception on GUI
6.4.1.21 20190309
 * Fix exception on GUI Configure Logging and Configure Other (#5424)
2019-03-09 14:39:48 +01:00
Theo Arends aec3842bee
Merge pull request #5420 from laurentdong/Code-review
Code review: Copy string with strlcpy() instead of snprintf()
2019-03-09 12:22:07 +01:00
Laurent Dong b87afc3bcb Code review: Copy string with strlcpy() instead of snprintf()
Copying string with snprintf() is unsafy and slow because it check and replace plcaehold (%?)
2019-03-08 13:24:02 -05:00
Theo Arends 0d8545f658 Add command Template 255
Add command Template 255 to copy module configuration over to current active template and store as user template named Merged (#5371)
2019-03-08 17:42:21 +01:00
Theo Arends 69874301b9
Merge pull request #5418 from emontnemery/hass_improve_status
Add more information to status sensor
2019-03-08 16:53:26 +01:00
Theo Arends a80aac91f1 Fix additional characters in fallbacktopic
Fix additional characters in fallbacktopic, hostname and mqttclient on core 2.5.0 (#5359, #5417)
2019-03-08 16:52:37 +01:00
Theo Arends 4ba3331bc7
Merge pull request #5417 from emontnemery/fix_bad_snprintf
Fix bad snprintf in format()
2019-03-08 16:45:07 +01:00
Erik b72df698a2 Add more information to status sensor 2019-03-08 16:38:36 +01:00
Erik 168b1332e0 Fix bad snprintf in format() 2019-03-08 16:28:46 +01:00
Theo Arends 06a9fbd792 Changed logging message handling
Changed logging message handling
2019-03-08 15:15:42 +01:00
Theo Arends fb9b1c83f3 Merge branch 'development' of https://github.com/arendst/Sonoff-Tasmota into development 2019-03-07 18:59:44 +01:00
Theo Arends 89f55563f7 Add secure test
Add secure test
2019-03-07 18:59:24 +01:00
Theo Arends 578d12c4fb
Merge pull request #5414 from emontnemery/fix_hass_button
Fix broken hass button announcement
2019-03-07 18:58:11 +01:00
Erik 32c69ff0c2 Fix broken hass button announcement 2019-03-07 18:40:50 +01:00
Theo Arends ae50f663fe Merge branch 'dev-chunks' into development 2019-03-07 18:34:51 +01:00
Theo Arends 58fe50d81a Update webserver layout
Update webserver layout
2019-03-07 18:18:30 +01:00
Theo Arends cfcf125b7e Default disable new rule features
Default disable rule USE_EXPRESSION and SUPPORT_MQTT_EVENT (#5369)
2019-03-07 17:47:14 +01:00
Theo Arends 7ab884afc9 Fix compile error
Fix compile error
2019-03-06 20:38:13 +01:00
Theo Arends 2ec545d739 Fix float calculations
Fix float calculations in range from 0 to -1 (#5386)
2019-03-06 17:59:18 +01:00
Theo Arends b393cdc9f1 Replace menu button list
Replace menu button list
2019-03-04 18:32:23 +01:00
Theo Arends d790b1cfca 6.4.1.20 Webserver uses chunks
6.4.1.20 20190304
 * Changed webserver content handling from single String to small Chunks increasing RAM
2019-03-04 18:16:07 +01:00
Theo Arends 3e1e565dff Update xdrv_01_webserver.ino
Fix webpage redirect
2019-03-04 12:36:44 +01:00
killadm de220cefd0
zh-CN language updated 2019-03-03 00:35:44 +08:00
Theo Arends 9f42e6dced Fix DS18S20 temperature calculation
Fix DS18S20 temperature calculation (#5375)
2019-03-02 12:33:52 +01:00
Theo Arends d70ed77f1a Update xdrv_01_webserver.ino
Prep for chunks
2019-03-01 18:25:46 +01:00
Theo Arends 9e8ed1ae79 Kudos and houskeeping
Kudos and houskeeping
2019-03-01 15:37:22 +01:00
Theo Arends f0a7a1f2a1 Fix Energy TotalStartTime
Fix Energy TotalStartTime when commands EnergyReset0 and/or EnergyReset3 used (#5373)
2019-03-01 12:08:41 +01:00
Theo Arends 4b69a7d115 Update xdrv_04_light.ino
Fix core 2.3.0 compile error
2019-02-26 10:54:27 +01:00
Theo Arends 16e14558ea
Merge pull request #5349 from sensor-freak/development
Refactor initialization of NeoPixel instance
2019-02-26 10:30:01 +01:00
Theo Arends 5871c7ebae Add Korean language translations
Add Korean language translations (#5344)
2019-02-26 10:16:56 +01:00
Theo Arends 278e9fe95d
Merge pull request #5344 from NyaamZ/development
a Korean translation
2019-02-26 10:11:01 +01:00
Franz-Josef Kaiser cfabceca06 Refactor initialization of NeoPixel instance to make it easier to select communication speed option 2019-02-26 09:10:41 +01:00
NyaamZ 8aba96c894
Korean translate
Korean translate
2019-02-26 11:00:38 +09:00
netpok 61099c4ead Fix indentation 2019-02-25 22:36:18 +01:00
netpok 01ce2a31d3 Implement RGB CT linking 2019-02-25 22:29:39 +01:00
netpok 38433e56f7 Replace compare cycle with memcmp 2019-02-25 22:24:53 +01:00
netpok 6d1cfe5a07 Force light update on color mapping change 2019-02-25 22:24:06 +01:00
netpok d8eac1d8fc Replace if with min
saves ~30 bytes
2019-02-25 21:37:27 +01:00
Theo Arends 9a670be95b Fix buffer overflow
Fix buffer overflow (#5310)
2019-02-25 21:23:18 +01:00
Theo Arends 9f00978a79 Fix Domoticz Color regression
Fix Domoticz Color regression (#5310 )
2019-02-25 19:47:45 +01:00
Daddelgreis 61e9e8a361
GPIO_LED1
change
GPIO_LED1 to GPIO_LED1_INV 

right attitude
2019-02-25 17:56:53 +01:00
Theo Arends c0f20d31ff 6.4.1.19 Add command SetOption37
6.4.1.19 20190222
 * Add command SetOption37 for RGBCW color mapping (#5326)
2019-02-25 11:14:33 +01:00
Theo Arends 813d2fd3f1
Merge pull request #5326 from gsimon75/issue_5310_rgb_order_setoption
Added SetOption37 for RGB remapping
2019-02-25 10:55:43 +01:00
Theo Arends 6c1709a674
Merge pull request #5332 from znanev/patch-3
Update Bulgarian translation
2019-02-25 10:52:29 +01:00
Gabor Simon 48f6b09987 Initialisation and updating of color mapping added 2019-02-24 23:48:03 +00:00
znanev 0ed7920b0f
Note updated version of language file 2019-02-24 21:42:34 +00:00
netpok 430334e604 Replace vector with array
it saves 24 bytes of code
2019-02-24 21:56:44 +01:00
netpok 945e7000dd Implement full color remapper 2019-02-24 21:03:33 +01:00
localhost61 886fe48115 Update fr-FR to 6.4.1.18 2019-02-24 20:44:26 +01:00
znanev 6544d002ad
Update Bulgarian translation 2019-02-24 19:38:52 +00:00
Jason2866 d464344f1f
Update de-DE.h 2019-02-24 17:37:17 +01:00
Theo Arends bc5db6a079 Remove topic from local sensors
Remove topic from local sensors in DisplayMode 2/3 (#5212)
2019-02-24 17:29:28 +01:00
Theo Arends e16178d912
Merge pull request #5320 from laurentdong/development
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
2019-02-24 17:02:45 +01:00
Laurent 49053f163f Update language files
D_UNSUBSCRIBE_FROM
2019-02-24 10:15:39 -05:00
Theo Arends 1d0348e636 Update xdrv_01_webserver.ino
Optimizations
2019-02-24 15:32:54 +01:00
Theo Arends 9b6e5bd122 Webserver Ajax optimizations
Webserver Ajax optimizations
2019-02-24 15:05:18 +01:00
Gabor Simon 0a4a21a038
Delete .gitignore
created by mistake
2019-02-24 16:43:42 +04:00
Gabor Simon 0bb05bb604
Delete .travis.yml
meanwhile removed at adc781b8fc
2019-02-24 16:41:54 +04:00
Gabor Simon 4492a14574 Added SetOption37 for RGB remapping 2019-02-24 12:07:15 +00:00
Gabor Simon 38b81302e3 sm16716: added config option for custom rgb order 2019-02-24 09:26:10 +04:00
Laurent dd27ade7ef Rules: Trigger Event with MQTT Subscriptions
Support subscribe/unsubscribe MQTT topics and trigger specified event with the subscribed MQTT topic.
You can subscribe a MQTT topic and assign an event name. Once we received subscribed MQTT message, an event will be automatically triggered. So you can set up a rule with "ON EVENT#<event_name> DO ..." to do whatever you want based on this MQTT message. The payload is passed as a parameter once the event been triggered. If the payload is in JSON format, you are able to get the value of specified key as parameter.
For example, if you have a Tasmota based thermostat and multiple temperature sensors in different place, usually you have to set up a centre home automation system like Domoticz to control the thermostat. Right now, with this new feature, you can write a rule to do this.
Two new commands in Rules:
1. Subscribe
Subscribe a MQTT topic (with or without key) and assign an event name to it.
Command format:
	Subscribe [<event_name>, <topic> [, <key>]]
		This command will subscribe a <topic> and give it an event name <event_name>.
		The optional parameter <key> is for parse the specified key/value from MQTT message
			payload with JSON format.
		In order to parse value from two level JSON data, you can use one dot (".") to split the key into two section.
		Subscribe command without any parameter will list all topics currently subscribed.
2. Unsubscribe
Unsubscribe specified MQTT event.
Command format:
	Unsubscribe [<event_name>]
		Unsubscribe a topic subscribed by specify the event name.
		If no event specified, Unsubscribe all topics subscribed.
Examples:
1.
	Subscribe BkLight, Tasmota/BackyardLight/stat/POWER
		And define a rule like:
	Rule1 on event#BkLight=ON do ruletimer4 60 endon
2.
	Subscribe DnTemp, Tasmota/RoomSensor1/stat/SENSOR, DS18B20.Temperature
		Define a rule to deal with the MQTT message like {"Time":"2017-02-16T10:13:52", "DS18B20":{"Temperature":20.6}}
	Rule1 ON EVENT#DnTemp>=21 DO ... ENDON
2019-02-23 22:33:09 -05:00
Laurent 3298048c60 Update support_rtc.ino 2019-02-23 17:41:06 -05:00
Theo Arends 68c60c321e Handle too many command data
Handle too many command data
2019-02-23 19:19:31 +01:00
Theo Arends 93d07c1acc Webserver memory optimizations
Webserver memory optimizations
2019-02-23 18:38:36 +01:00
Theo Arends 19bdf7e803 Free flash space (WSSend)
Free flash space (WSSend)
2019-02-23 15:29:42 +01:00
Theo Arends 1cb956b541 Free flash space
Free flash space
2019-02-23 13:17:02 +01:00
Theo Arends 5d8ae266d0 Fix RemoveSpace and tune Websend
Fix RemoveSpace and tune Websend
2019-02-23 12:48:39 +01:00
Theo Arends 06bec0d95e Update _changelog.ino
Back from the future
2019-02-23 11:18:57 +01:00
Laurent 2cc15a8c34 Merge remote-tracking branch 'upstream/development' into development 2019-02-22 22:53:01 -05:00
Jörg R. Weimar f0dde50f39 Merge remote-tracking branch 'upstream/development' into development
Merge all recent changes into my branch
2019-02-22 15:29:36 +01:00
Theo Arends e315be0619 Fix command WebSend
Fix command WebSend when using a port number as regression from 6.4.1.17 (#5304)
2019-02-22 15:19:59 +01:00
Theo Arends d219d1c9b5 Update support.ino
Houskeeping
2019-02-22 12:11:15 +01:00
Theo Arends 49f0b514eb Fix some exceptions and watchdogs
* Fix some exceptions and watchdogs due to lack of stack space - part 2
 * Add command SetOption62 0/1 to disable retain on Button or Swith hold messages (#5299)
 * Add option WifiConfig 7 to allow reset of device in AP mode without admin password (#5297)
2019-02-22 12:04:05 +01:00
Theo Arends 8df6bb76d1
Merge pull request #5297 from netpok/wificonfig-7
WifiConfig 7, a reset only WifiManager for smart bulbs
2019-02-22 11:44:04 +01:00
netpok 6cbfb0308a Check no hold retain flag on hold action sending 2019-02-21 21:30:30 +01:00
netpok b3adab4097 Add flag for no hold retain 2019-02-21 21:27:52 +01:00
netpok e2bcef16bf Merge remote-tracking branch 'upstream/development' into wificonfig-7 2019-02-21 19:45:34 +01:00
netpok e9396d0ed4 Add missing localization strings 2019-02-21 19:45:21 +01:00
netpok 731154cc9b Handle authentication on reset/restart 2019-02-21 19:45:03 +01:00
netpok 4993d16ecb Implement WifiConfig 7 2019-02-21 17:49:11 +01:00
netpok e035a3253a Add password validation to WebUI 2019-02-21 15:58:37 +01:00
netpok 3c58f5b7b9 Add password validation to password command 2019-02-21 15:57:45 +01:00
Theo Arends 95da493325 Update xdrv_01_webserver.ino
Fix compile error
2019-02-21 14:56:39 +01:00
Theo Arends 05b0280019 6.4.1.18 - Fix some exceptions and watchdogs
6.4.1.18 20191221
 * Fix some exceptions and watchdogs due to lack of stack space - part 1 (#5215)
2019-02-21 14:31:31 +01:00
Theo Arends cfd3f3f4f5 Fix WebSend compile warning
Fix WebSend compile warning
2019-02-21 09:48:58 +01:00
Laurent 4e66dce049 Merge remote-tracking branch 'upstream/development' into development 2019-02-19 20:15:43 -05:00
Theo Arends 280dd25a8b Optimize RAM for expression
Optimize RAM for expression and add two more constant variables (#5275)
2019-02-19 14:49:15 +01:00
Theo Arends 06c97c4e19 Fix command WebSend
Fix command WebSend intermittent results (#5273)
2019-02-19 12:51:38 +01:00
Theo Arends 32c1e2d13c Tuning uptime and add utctime
Tuning uptime and add utctime
2019-02-19 10:48:19 +01:00
Laurent 660d0106c2 Revert "Support HttpGet command"
This reverts commit c527d4dc99.
2019-02-18 16:18:01 -05:00
Laurent 6f2f0b6fea Add two constant varibles in rules expression
Add two variables:
- UtcTime
The number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT)
- LocalTime
Seconds passed after Jan 1, 1970 midnight base on current timezone and daylight saving setting.
2019-02-18 16:17:32 -05:00
Laurent 2bc84a9aad Optimize RAM usage for Expression 2019-02-18 16:12:14 -05:00
Laurent c527d4dc99 Support HttpGet command
HttpGet command send a HTTP Get request to specified URL and return the response from website or error message if failed.
Note: This command support URL encoding, so you do not have to do encode by yourself. For example replacing all " " with %20 is no necessary.
Format:
httpget <url>
With HttpGet command you can do a lot of things.
For example:
- Retrieve your physical location:
httpget http://ipinfo.io/geo
Result is a JSON object
{
  "ip": "8.8.8.8",
  "city": "Mountain View",
  "region": "California",
  "country": "US",
  "loc": "37.3860,-122.0840",
  "postal": "94035",
  "phone": "650"
}
- Control another Sonoff switch directly:
httpget http://192.168.1.130/cm?cmnd=power off
2019-02-18 15:41:40 -05:00
andrethomas 1da8f94a05 Introduce Reset 6 2019-02-18 21:52:22 +02:00
Theo Arends 3c3b5bb8ca Add property Downtime
Add property Downtime to state and status 11 message representing the duration of wifi connection loss
2019-02-18 18:02:22 +01:00
Theo Arends 4884a94b6d Add LinkCount and MqttCount
* Add property LinkCount to state and status 11 message representing number of Wifi Link re-connections
 * Add property MqttCount to status 6 message representing number of Mqtt re-connections
2019-02-18 17:05:25 +01:00
Theo Arends 0658ae1959 Update sonoff_template.h
Fix compile error
2019-02-18 16:19:46 +01:00
Theo Arends e898dc03e7 Add Wifi Link Connection Count
Add Wifi Link Connection (Retry) count to state message. Always starts with 1 being the initial connection.
2019-02-18 15:41:41 +01:00
Theo Arends a6c7e3b5f4 Update xdrv_01_webserver.ino
Force restart on any template change to fix page refresh hang (#5222)
2019-02-18 15:13:37 +01:00
Theo Arends 483eb4dd44 Change Flags to Options
Change Flags to Options and enforce Activate for already active template (#5256)
2019-02-18 13:10:10 +01:00
Theo Arends 8d2b9e4734 Update xdrv_01_webserver.ino
Tune webserver
2019-02-18 11:35:49 +01:00
Theo Arends c37a4a4398 Update xsns_01_counter.ino
Fix non floating point use function (#5265)
2019-02-18 11:06:16 +01:00
znanev bd582980e9
Abbreviate translation for D_SENSOR_USER 2019-02-18 09:52:29 +00:00
znanev 8c73cddfed
Update Bulgarian translations 2019-02-18 09:29:23 +00:00
Theo Arends 590c883bbe
Merge pull request #5262 from gfrancesco/development
Configuration parameter to send MQTT telemetry on status change
2019-02-18 10:15:29 +01:00
Andre Thomas 5b71095e02
Make sleep for light scheme0 optional
Make sleep for light scheme0 optional with compile directive (enabled by default)
2019-02-18 08:21:57 +02:00
Andre Thomas cee9fee756
Make pwm scheme 0 sleep optional
Make pwm scheme 0 sleep optional (enabled by default)
2019-02-18 08:19:17 +02:00
gfrancesco deeceaf2a0 Add configuration parameter to send MQTT telemetry on status change (SetOption59) 2019-02-17 22:05:02 +01:00
Theo Arends 2c51b8d95d
Merge pull request #5260 from spock64/development
mqtt password GUI aligned to revised wifi version
2019-02-17 21:54:49 +01:00
localhost61 ba7c4cd49b fr-FR.h update 2019-02-17 21:32:07 +01:00
Jason 10bdb7c975 mqtt password GUI aligned to revised wifi version 2019-02-17 18:45:58 +00:00
Theo Arends 4d0ab9448d Fix unsupported sensor ids
Fix unsupported sensor ids popping up after a config restore
2019-02-17 16:43:52 +01:00
Theo Arends a201dd1222 Remove command SetOption62
Remove command SetOption62 as it's functionality is replaced by user changing the device template (#5255)
2019-02-17 16:05:53 +01:00
Theo Arends f33c59249e Fix calibration calculation
Fix calibration calculation (#5246)
2019-02-17 15:30:15 +01:00
Theo Arends 3f6db36187 Update xdrv_01_webserver.ino
Fix 404 error
2019-02-17 14:43:07 +01:00
Jason2866 94f1683616
Update de-DE.h
Template changes
2019-02-17 12:32:46 +01:00
Theo Arends 577791440e Add Configure Template menu option
Add Configure Template menu option to GUI (#5222)
2019-02-17 11:32:53 +01:00
Theo Arends e2540f0afe Update sonoff.ino
Prep for template menu
2019-02-17 10:42:55 +01:00
Xavier MULLER f94c2245af
Update fr-FR.h 2019-02-17 01:02:52 +01:00
Xavier MULLER 4ed82140af
Update fr-FR.h 2019-02-17 01:01:26 +01:00
Theo Arends ed0d50a3aa Fix template support
Fix template support
2019-02-16 18:01:54 +01:00
Theo Arends 14d5f7fb54 Fix GUI password and Add rule expression
* Fix GUI wifi password acception starting with asteriks (*) (#5231, #5242)
 * Add rule expression enabled  by define USE_EXPRESSION in my_user_config.h (#5210)
2019-02-16 16:17:17 +01:00
Theo Arends 7c9720de9d
Merge pull request #5210 from laurentdong/development
Introduce Expression in Rules - Updated
2019-02-16 15:49:46 +01:00
Jason e6029e18be Fix typos. 2019-02-16 12:51:43 +00:00
Jason 02f1052440 Amended wifi password UI to show "****".
Only store passwords which are not equal to "****".
Removes previous behaviour where wifi password with an asterisk was
ignored.
2019-02-16 12:48:16 +00:00
Theo Arends 1fde362998 Fix regression from 6.4.1.16
Fix regression from 6.4.1.16 where GPIO9 and GPIO10 connected devices did not work (#5197)
2019-02-16 11:33:29 +01:00
Theo Arends 77db7ba0ff 6.4.1.17 Change template stability
6.4.1.17 20190214
 * Change template update by removing possibility to add user module config keeping template as defined (#5222)
2019-02-14 16:48:28 +01:00
Theo Arends 166a625eb8 Revert "Hide templated GPIOs"
This reverts commit 4af4ff681d.
2019-02-14 11:13:47 +01:00
Theo Arends 4af4ff681d Hide templated GPIOs
Hide templated GPIOs in user template too (#5222)
2019-02-14 11:04:11 +01:00
Theo Arends 4e3d2c63db Fix timer GUI tab colors
Fix timer GUI tab colors
2019-02-13 17:30:07 +01:00
Jason2866 75943f5ea4
Update de-DE.h
Changed Template to Vorlage
2019-02-13 17:19:57 +01:00
Theo Arends 8cb33b86cf Fix compile error (#5216)
Fix compile error (#5216)
2019-02-13 17:03:00 +01:00
Theo Arends 74affa1440 Fix Edge and Safari margins
Fix Edge and Safari margins
2019-02-13 16:26:16 +01:00
Theo Arends c39e2da6b5 Update GUI
Update GUI
2019-02-13 16:05:25 +01:00
Theo Arends b9f6bf402a Add CFG_HOLDER to status 1
Add parameter CFG_HOLDER to status 1 message (#5206)
2019-02-13 10:50:02 +01:00
Laurent 4b4b3709ad Introduce Expression in Rules
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset),  operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^  (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
2019-02-12 21:46:42 -05:00
Jörg R. Weimar e8df8c4fa6 corrected sliding hour rounding for pixels < 60 2019-02-12 15:28:45 +01:00
Theo Arends 567bc93623 Add Template GUI update
Initial support for online template change using command Template or GUI Configure Other (#5177)
2019-02-12 11:55:47 +01:00
Jörg R. Weimar c05e42f563 Changed ws2812 clock to local time instead of UTC 2019-02-12 11:22:46 +01:00
Theo Arends 9dc445f949
Update xdsp_01_lcd.ino 2019-02-11 21:30:30 +01:00
Theo Arends be82878bd2
Merge pull request #5196 from kevinbaluha/tsl2561interop
verify that tsl2561 works with new ads1115
2019-02-11 21:28:25 +01:00
Kevin Baluha 86a56b7b71 verify that tsl2561 works with new ads1115 2019-02-11 11:22:14 -07:00