Commit Graph

400 Commits

Author SHA1 Message Date
Theo Arends c6a14c5fe7 Fix possible exception
Fix possible exception due to buffer overflow (#3659)
2018-09-02 11:52:24 +02:00
Theo Arends 2212af4860 Clear GPIO on multi boot loop
Clear GPIO on multi boot loop
2018-08-30 14:47:48 +02:00
Theo Arends f7c38f24f3 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 14:27:33 +02:00
Theo Arends 3abdaaffb7 Revert "6.1.1.14 Add boot loop detection"
This reverts commit b9a875d6fb.
2018-08-30 13:19:09 +02:00
Theo Arends b9a875d6fb 6.1.1.14 Add boot loop detection
Add boot loop detection and try to fix
2018-08-30 12:22:24 +02:00
Theo Arends 55b43734d8 6.1.1.13 - Fixes
6.1.1.13 20180828
 * Fix 6.1.1.12 regression of Mem and Var default handling (#3618)
 * Optimizations
2018-08-28 11:10:32 +02:00
Theo Arends f8666c0410 Some requested additions
* Add optional MQTT_TELE_RETAIN to Energy Margins message (#3612, 3614)
 * Add Individual HSBColorX commands (#3430, #3615)
 * Add RuleX debug options 8,9,10 (StopOnError) to control RuleX execution status after an exception restart (#3607)
2018-08-28 10:26:33 +02:00
Theo Arends 9b54ab9038 Some optimizations
Some optimizations
2018-08-27 16:07:23 +02:00
Theo Arends d4931f7b11 Fix handling default names Pt.2
Fix handling default names Pt.2
2018-08-27 14:53:09 +02:00
Theo Arends 9978381c94 Fix handling deafult names
Fix handling use of default names when using names starting with shortcut character (#3392, #3600)
2018-08-27 13:06:22 +02:00
Theo Arends d69e88b50b 6.1.1.12 - Add debounce time
6.1.1.12 20180827
 * Add commands ButtonDebounce 40..1000 and SwitchDebounce 40..1000 to have more control over debounce timing. Default is 50mS (#3594)
2018-08-27 12:01:20 +02:00
Theo Arends ea43540b43 Update WS2812 driver
Update WS2812 driver for new state time
2018-08-26 17:32:49 +02:00
Theo Arends bbd2529914 Sleep fixes part 2 and 3 of 3
* Change scheduler phase 2/3 - Fixed when sleep is enabled: Blinktime (#3581)
 * Change scheduler phase 3/3 - Some sensor update timings: AdcEvery 200 -> 250, Senseair 300 -> 250, SDM120 300 -> 250, SDM630 300 -> 250
2018-08-26 17:10:18 +02:00
Theo Arends f090050e69 6.1.1.11 - Sleep fixes part 1
6.1.1.11 20180826
 * Change scheduler phase 1 - Fixed when sleep is enabled: Uptime, Delay, PulseTime and TelePeriod (#3581)
2018-08-26 15:42:35 +02:00
Theo Arends 4defda2f1a Rewrite some GPIO options
Rewrite GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP
2018-08-25 13:08:06 +02:00
Theo Arends ae6fcd4d60 Change sleep command
Change command sleep from restart after change to not restart after change (#3554)
2018-08-24 16:38:55 +02:00
Theo Arends ef842daa32 Fix test
Fix test
2018-08-23 17:47:45 +02:00
Theo Arends 6a5c0d29e8 6.1.1.9 - Fixes and Additions
6.1.1.9
 * Allow user override of define MAX_RULE_TIMERS (#3561)
 * Allow user override of define MAX_RULE_VARS
 * Add GPIO options ButtonXn, SwitchXn and CounterXn to select INPUT mode instead of INPUT_PULLUP (#2525)
 * Fix OtaMagic when file path contains a dash (-) (#3563)
2018-08-23 16:05:51 +02:00
Norbert Richter 52413f103e Fixed OtaMagic handling having minus "-" within OtaUrl 2018-08-23 14:31:50 +02:00
Theo Arends 6d98864a04 Fix iFan02 power on state
Fix iFan02 power on state (#3412, #3530)
2018-08-20 15:51:46 +02:00
Theo Arends bb87f99ee0 Fix version numbering
Fix version numbering
2018-08-17 11:10:21 +02:00
Theo Arends 3efb84fb93 Change version representation
Change version representation from 1.1.1a to 1.1.1.1 for better change reference
2018-08-12 14:05:15 +02:00
Theo Arends 9147635d5c Add ifan02 Fanspeed +/-
Add ifan02 Fanspeed +/- as command option to increase or decrease fenspeed (#3415)
2018-08-11 16:12:10 +02:00
Theo Arends 55ef063c0e Add command SerialSend4
Add command SerialSend4 to send binary serial data (#3345)
2018-07-28 15:43:13 +02:00
Erik 76c102c09c Support send / receive of binary serial data 2018-07-27 12:17:34 +02:00
Theo Arends cb192c5c2d Update decode-status.py
Update decode-status.py
2018-07-25 12:42:53 +02:00
Theo Arends 9376b6f7c0 Fix invalid JSON
Fix command TimeDst/TimeStd invalid JSON (#3322)
2018-07-25 10:04:35 +02:00
Theo Arends 99e81ba86e Fix CCS811 env compensation
Fix CCS811 temperature and humidity compensation
2018-07-24 18:41:50 +02:00
Theo Arends cdae4f3f46 Add support for CCS811
Add support for CCS811 sensor (#3309)
2018-07-23 17:42:12 +02:00
gemu2015 d21a04e872 ccs811
completely new from arends/development
2018-07-23 16:27:15 +02:00
Theo Arends 612374cfbf Revisit Timers off/on
6.1.1c
 * Add command Timers 0/1 to globally disable or enable armed timers (#3270)
2018-07-20 16:12:37 +02:00
Theo Arends afdb197a6c v6.6.1b - Change wifi options
6.1.1b
 * Add default Wifi Configuration tool as define WIFI_CONFIG_NO_SSID in user_config.h if no SSID is configured (#3224)
 * Add user selection of Wifi Smartconfig as define USE_SMARTCONFIG in user_config.h
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled
 *   or Wifi Smartconfig if webserver is disabled
 *   or Wifi Serial input if Smartconfig is disabled
 * Remove WPS and SmartConfig from sonoff-minimal saving 56k code space
2018-07-15 15:21:48 +02:00
Theo Arends f75ab4f25f v6.1.1a - Sync with v6.1.1
Sync with v6.1.1
2018-07-14 18:07:25 +02:00
Theo Arends e876b5aa77 v6.1.0b - WPS optional
6.1.0b
 * Add user selection of WPS as define USE_WPS in user_config.h in preparation for core v2.4.2 (#3221)
 * Change default Wifi config option from WPS to Wifi Manager if WPS is disabled (or Wifi Smartconfig if webserver is disabled)
 * Remove WPS from sonoff-minimal saving 33k code space
 * Revert wifi changes implemented in v6.0.0a due to possible bad initial wifi connections
2018-07-14 15:35:56 +02:00
Theo Arends bee95c5b56 Add TM1638 switch support
Add TM1638 switch support (#2226)
2018-07-12 14:52:35 +02:00
Theo Arends f9ce86a6e8 Add wifi/mqtt status blinkyblinky
6.1.0a
 * Add wifi and mqtt status led blinkyblinky to be disabled by SetOption31 1. Does not work when LedPower is On (deliberate) (#871, #2230, #3114, #3155)
 * Remove not needed functionality from Sonoff-minimal to save space
2018-07-07 17:30:58 +02:00
Theo Arends 2058b9fa95 Updated to v6.1.0a
Updated to v6.1.0a
2018-07-06 18:00:50 +02:00
Theo Arends d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +02:00
Theo Arends c896437124 v6.0.0c - Add spare SetOptions
6.0.0c
* Add support for bitflags SetOption50 .. SetOption81 (#3118)
2018-07-03 12:48:56 +02:00
Theo Arends c8871ae9e8 Fix iFan02 friendlyname
Fix iFan02 friendlyname
2018-07-01 15:18:50 +02:00
Theo Arends d3d876f030 Add Sonoff iFan02 support
Add support for Sonoff iFan02 as module 44 introducing command FanSpeed
0..3 (#2839)
2018-07-01 15:06:44 +02:00
Theo Arends 8b7645b05d Quick fix to re-instate iFan02 RC
Quick fix to re-instate iFan02 RC
2018-06-30 19:09:48 +02:00
Theo Arends eb42ec6a1c Add restriction
Add restriction
2018-06-30 18:54:22 +02:00
Theo Arends 0fc019e418 Initial Sonoff iFan02 support
Initial Sonoff iFan02 support (#2839)
2018-06-30 18:50:10 +02:00
Theo Arends 2a62356172 Allow increase in friendlynames
Allow increase in friendlynames (#3098)
2018-06-30 14:17:26 +02:00
Theo Arends 1c6f752ba8 Add enforce Hass discovery as light group
Add command SetOption30 to enforce Hass discovery as light group (#1784)
2018-06-29 11:15:27 +02:00
Theo Arends 3e96e04690 Add experimental (untested) TM1638 support
Add experimental (untested) TM1638 switch support (#2226)
2018-06-28 17:40:37 +02:00
Theo Arends 6e9602418d v6.0.0b - Support up to 8 switches
6.0.0b
* Change number of switches from 4 to 8 (#2885, #3086)
2018-06-28 14:28:14 +02:00
Theo Arends 20a53950ff Fix possible wifi connection problem
Fix possible wifi connection problem (#1366)
2018-06-28 12:25:50 +02:00
Theo Arends 54ef429fdc Add increment and decrement counter
6.0.0a
* Add increment and decrement value to command Counter (#2838)
2018-06-26 17:17:23 +02:00
Theo Arends dc1c2abda7 Add heap and stack debug information
Add heap and stack debug information
2018-06-26 11:48:09 +02:00
Theo Arends e818f0da55 Fix rules induced LWT message
Fix rules induced LWT message
2018-06-25 18:00:20 +02:00
Theo Arends 176c39dfe3 Add hex/decimal receive control for RF and IR
6.0.0a
* Add command SetOption28 to switch between hex or decimal Sonoff Bridge
RF received data format (#3008)
* Add command SetOption29 to switch between hex or decimal IR received
data format
2018-06-25 12:33:23 +02:00
Theo Arends d4119fe54d Add SnfBrdg EFM8BB1 fw tools
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
2018-06-04 18:10:38 +02:00
Theo Arends 976f167ae3 Minor fixes
Minor fixes
2018-06-03 17:09:10 +02:00
Theo Arends d4e414a6d5 v6.0.0a - Add CRC to Settings
6.0.0a
* Add CRC to Settings making future upgrades more fail-safe
* Remove version 3, 4 and pre 5.2 settings auto-upgrade. See
https://github.com/arendst/Sonoff-Tasmota/wiki/Upgrade#migration-path
* Change default CFG_HOLDER from 0x20161209 to 4617 (=0x1209) - no
impact on default upgrades
2018-06-02 16:59:09 +02:00
Theo Arends ed56322f12 Add command source information
5.14.0b
* Add source information to command execution to be shown with logging
option 3 (#2843)
2018-05-28 15:52:42 +02:00
Theo Arends 41496acdee File renames and Add command WebSend
5.14.0b
* Add command WebSend [<host>(:<port>,<user>:<password>)] <command>
(#2821)
2018-05-28 11:35:23 +02:00
Theo Arends 9f329d5fb0 Add rule support for IrReceive and RfReceive
5.14.0b
 * Add rule support for IrReceive and RfReceive (#2758)
2018-05-24 16:23:20 +02:00
Theo Arends ca08b77aad Add two more rule sets
5.14.0b
 * Increase rule storage space to 3 rule sets of 512 characters
using commands rule1, rule2 and rule3
2018-05-24 14:25:52 +02:00
Theo Arends 4fbc51a874 Add optional token %id% to fulltopic
5.14.0a
* Add optional token %id% substituting the unique MAC address for topic
names by Michael Graf (#2794)
2018-05-21 17:52:24 +02:00
Theo Arends 496b41dfbd Add compiled feature information
5.14.0a
 * Add compiled feature information to Status 4
2018-05-17 15:36:45 +02:00
Theo Arends 457f438bac v5.14.0a - Sync with release 2018-05-15 17:13:51 +02:00
Theo Arends 12ffefe081 Add more user input validation
5.13.1c
 * Add more user input validation to commands TimeStd and
TimeDst
2018-05-15 12:32:53 +02:00
Theo Arends d7afc664f5 Add user entry DST/STD
5.13.1c
 * Add user entry DST/STD using commands TimeStd and TimeDst
with options like 0,0,3,1,2,120 (#2721)
2018-05-14 23:22:29 +02:00
Theo Arends 20eb04b7ef v5.13.1b - Prep for user entry DST/STD
Prep for user entry DST/STD (#2721)
2018-05-13 19:43:48 +02:00
Theo Arends a6e0156576 Add SetOption16 Power legacy/indexed mode
5.13.1a
* Add SetOption26 to enforce use of indexes even when only one relay is
present (#1055)
2018-05-13 17:38:44 +02:00
Theo Arends 0aea9ba572 Add hardware serial option to MHZ-19
Add hardware serial option to MHZ-19 (#2659)
2018-05-09 13:43:22 +02:00
Theo Arends 016b1dd029 Optimize command handling
Optimize command handling
2018-05-09 10:49:43 +02:00
Theo Arends 0c0f2236bd Lost updates 2018-05-06 16:18:17 +02:00
Theo Arends d935004e4a Fix rule backlog issue and add On/Off test
5.13.1a
* Fix rule power trigger when no backlog command is used (#2613)
* Add rule state test for On/Off in addition to 0/1 (#2613)
2018-05-06 16:07:42 +02:00
Theo Arends 036b958f76 v5.13.1a - Update otaurl
5.13.1a
 * Change user_config.h otaurl to
http://sonoff.maddox.co.uk/tasmota/sonoff.bin (#2588, #2602)
2018-05-02 10:15:50 +02:00
Theo Arends d629b8ce2a v5.13.0a - Fix JSON buffer size
5.13.0a
 * Fix JSON buffers size too small for execution in some
situations (#2580)
2018-05-01 11:28:36 +02:00
Theo Arends 962a50452c v5.13.0
Sync with master
2018-04-30 17:35:42 +02:00
Theo Arends 040a7adaf1 v5.12.0o - Fix Energy Today overflow
5.12.0o
 * Fix Energy Today and Yesterday overflow (#2543)
2018-04-30 12:07:48 +02:00
Theo Arends 67aaa2777c Revert "Fix Energy Today and Yesterday overflow"
This reverts commit c86a9f8e53.
2018-04-30 11:10:38 +02:00
Theo Arends c86a9f8e53 Fix Energy Today and Yesterday overflow
5.12.0o
 * Fix Energy Today and Yesterday overflow (#2543)
2018-04-29 15:29:43 +02:00
Theo Arends c835235141 v5.12.0n - Change ADS1115 and Counter JSON
5.12.0n
 * Change ESP8266 Analog JSON message from {"Analog0:123"} to
{"ANALOG":{"A0:123"}} to accomodate rules (#2560)
 * Change Counter JSON
message from {"Counter1":0,"Counter3":0} to {"COUNTER":{"C1":0,"C3":0}}
to accomodate rules
 * Change ADS1115 JSON message from
{"ADS1115":{"Analog0":123,"Analog1":123}} to
{"ADS1115":{"A0":123,"A1":123}}
2018-04-28 15:55:38 +02:00
Theo Arends 4675dbea1c Add rules variables and teleperiod trigger
5.12.0m
* Add rule variables and teleperiod trigger to accomodate user HA
messages
2018-04-27 18:06:19 +02:00
Theo Arends f9c702f8eb v5.12.0m - Add MQTT_TELE_RETAIN
5.12.0m
* Add define MQTT_TELE_RETAIN compile option default set to 0 (#1071)
2018-04-25 12:06:53 +02:00
Theo Arends 9549ab3ad3 Remove display of passwords (#2505)
Remove display of passwords (#2505)
2018-04-21 18:17:24 +02:00
Theo Arends a8b83aa036 Add support for Sonoff Pow R2 (#2340)
5.12.0m
* Add support for Sonoff Pow R2 (#2340)
2018-04-20 16:55:27 +02:00
Theo Arends 76f699bf02 Remove debug code and do some clean-up
Remove debug code and set H801 GPIO0 to GPIO_USER (#1503)
2018-04-19 22:29:09 +02:00
Theo Arends 8bc6475850 v5.12.0m - Add KNX support and Random Timer
5.12.0m
 * Reinit timers to accomodate random window (#2447)
 * Add
random window to timers (#2447)
 * Add optional KNX IP Protocol Support
(#2402)
2018-04-18 17:28:45 +02:00
Theo Arends 5858ecdb79 Fix negative Lat an Long value entry
5.12.0l
 * Fix negative Latitude and Longitude value entry (#2461)
2018-04-17 15:34:18 +02:00
Theo Arends 946fcd2fe4 v5.12.0l - Increase rules save area to 511 chars
5.12.0l
 * Release rules up to 511 characters
 * Prepare for feature
release - call on translators to update their language files
2018-04-14 14:39:16 +02:00
Theo Arends 08456e55e6 v5.12.0k - Add rules
5.12.0k
* Add commands Publish, Rule, RuleTimer and Event. See Wiki about Rule
restriction, usage and examples
2018-04-13 17:42:11 +02:00
Theo Arends 208f64fd8f Fix empty friendlyname (#2420) 2018-04-11 17:56:18 +02:00
Theo Arends 7a9ee6b669 v5.12.0k - Fix two define changes
5.12.0k
 * Prepare for simple rules by enlarging Settings area to now
2048 bytes
 * Fix freeing more code space when emulation is disabled
(#1592)
 * Fix compile error when not defined USE_TIMERS (#2400)
2018-04-10 11:45:53 +02:00
Theo Arends 524979aa5f v5.12.0j - Add Sunrise/set timer option
5.12.0j
 * Add optional Sunrise and Sunset timers with commands Latitide
and Longitude to be enabled with define USE_SUNRISE in user_config.h
(#2317)
2018-04-05 12:49:43 +02:00
Theo Arends 8ddd121953 Change user_config_override usage
5.12.0i
 * Change user_config_override usage by providing
user_config_override_sample.h (#2228)
2018-04-02 11:24:36 +02:00
Theo Arends 96212834cf Change Backlog max commands to 30
5.12.0i
 * Change max number of commands in Backlog from 15 to 30
2018-03-31 18:59:37 +02:00
Theo Arends 71f0ab7b2c Change Reset on Button Hold time to 40 seconds
5.12.0i
 * Change default Reset configuration time from 4 seconds to 40
seconds on Button hold (#2268)
2018-03-29 17:23:47 +02:00
Theo Arends 9f0fdd597c Change Reset on Button Hold time to 40 seconds
5.12.0i
 * Change default Reset configuration time from 4 seconds to 40
seconds on Button hold (#2268)
2018-03-29 17:21:03 +02:00
Theo Arends dabb4deefc Cleanup restart for non-HAss users
Cleanup restart for non-HAss users
2018-03-29 14:01:38 +02:00
Theo Arends a935f92998 v5.12.0i - Add HAss Button discovery
5.12.0i
 * Add Home Assistant MQTT Discovery for Buttons (#2277)
2018-03-29 13:03:13 +02:00
Theo Arends d564615b7d v5.12.0i - Add timers
5.12.0i
 * Add 16 timers using commands Timer and Timers (#1091)
2018-03-23 17:20:20 +01:00
Theo Arends d89534164a v5.12.0h - Add optional Arduino OTA
5.12.0h
 * Add optional Arduino OTA support to be enabled in
user_config.h (#1998)
2018-03-21 17:58:39 +01:00
Theo Arends 7d7f5f2207 5.12.0h - Add all FriendlyNames to Status
5.12.0h
 * Add all FriendlyNames to Status information (#2208)
 * Change
status display of Ssid and SetOption
2018-03-21 10:42:56 +01:00
Theo Arends 2c4b8a4a3b v5.12.0h - Add HSBColor and Channel commands
5.12.0h
 * Add PWM status to command State if PWM enabled (#2203)
 * Add
command HSBColor Hue,Sat,Bri (#1642, #2203)
 * Add command Channel
0..100 to control dimmer value for individual color channels (#2111,
#2203)
2018-03-20 16:28:18 +01:00
Theo Arends 2ba4d6fb47 v5.12.0h - Add Serial Bridges
5.12.0h
 * Add support for Software Serial bridge using commands
SerialDelimiter, SBaudrate and SSerialSend. Supports 8N1 and text only
(#2190)
 * Add support for Hardware Serial bridge using commands
SerialDelimiter, Baudrate and SerialSend. Supports 8N1 and text only
(#2182)
2018-03-20 14:31:11 +01:00
Theo Arends d3ef9caa34 v5.12.0g - Add hardware serial mqtt bridge
5.12.0g
 * Add support for MQTT to hardware serial bridge using commands
Baudrate and SerialSend. Currently supports 8N1 and text only (#2182)
2018-03-18 13:47:30 +01:00
Theo Arends bdb652547e v5.12.0f - Add BRG and RBG support
5.12.0f
 * Add compile time support for WS2812 BRG and RBG led
configurations to be defined in user_config.h (#1690)
2018-03-17 15:22:29 +01:00
Theo Arends 42ad9e1a66 Revert "v5.12.0f - Add BRG support"
This reverts commit 55c43ded0e.
2018-03-17 15:10:08 +01:00
Theo Arends 55c43ded0e v5.12.0f - Add BRG support
5.12.0f
 * Add support for WS2812 BRG led configuration to be defined as
NEO_BRG in user_config.h (#1690)
2018-03-17 15:00:53 +01:00
Theo Arends 3eccfb0b87 v5.12.0e - Add Restart Reason to Status 1
5.12.0e
 * Add Restart Reason to Status 1 report (#2161)
2018-03-14 17:28:30 +01:00
Theo Arends fa25b8c043 v5.12.0e - Add display remaining time to PulseTime
5.12.0e
 * Add display of remaining pulse time to command PulseTime
(#2085)
2018-03-11 15:46:58 +01:00
Theo Arends b51f060e04 v5.12.0e - Add second TLS fingerprint
5.12.0e
 * Add a second TLS fingerprint to allow switching keys in TLS
mode (#2033, #2102)
2018-03-09 18:08:17 +01:00
Theo Arends c60c8af237 v5.12.0d - Add alternative MQTT libraries
5.12.0d
* Add support for optional MQTT drivers to be selected in user_config.h
(#1992)
2018-03-02 15:38:37 +01:00
Theo Arends 9014ad3a8e v5.12.0d - Adds and Fix
5.12.0d
 * Prep for optional MQTT drivers by separating mqtt code from
sonoff.ino to file xdrv_00_mqtt.ino
 * Add compiler check for stable
lwIP version v1.4 (#1940)
 * Add diacritics to Polish language file
(#2005)
 * Add Hungarian language file (#2024)
 * Fix MQTT TLS
fingerprint validation (#2033)
2018-02-27 14:59:46 +01:00
Theo Arends ac848572c9 v5.12.0c - Fix hold time action and wifi
5.12.0c
 * Fix intermittent exception when dns lookup is used while sleep is enabled
 * Fix 5.4.0 regression turning off single press after button hold during 4x hold time
 * Fix possible wifi connection problem by erasing sdk configuration parameters
2018-02-24 16:37:33 +01:00
arendst 4c75873027 v5.12.0c - Fix intermittent sleep exception
5.12.0c
 * Fix intermittent exception when dns lookup is used while
sleep is enabled
2018-02-20 16:19:48 +01:00
arendst feb7184f45 v5.12.0b - Fix Hass define compile error
5.12.0b
 * Fix compile error when define HOME_ASSISTANT_DISCOVERY_ENABLE
is not set (#1937)
2018-02-17 14:09:39 +01:00
arendst 1c81b0cdd9 v5.12.0b - Add Restart time
5.12.0b
 * Add Restart time to Status 1 (#1938)
 * Change Sonoff SC JSON
format (#1939)
2018-02-17 13:47:11 +01:00
arendst b8d016914e v5.12.0b - Add Russian language
5.12.0b
 * Add Russian language file (#1909)
2018-02-15 12:29:07 +01:00
arendst cdacd3ed3a v5.12.0b - Add optional formatting
5.12.0b
 * Add serial debug info
 * Add optional usage of %d or %X
suffices in MQTT client to append chipid (#1871)
 * Add optional usage
of %d or %X suffices in MQTT topic to append chipid (#1871)
 * Add
optional usage of %d or %04d in ota url to be replaced with chipid
(#1871)
 * Add user configurable serial GPIOs to MagicHome and Arilux
modules (#1887)
2018-02-13 14:30:30 +01:00
arendst 193fdc9118 v5.12.0a - Fixes and changes
5.12.0a
 * Change platformio option sonoff-ds18x20 to sonoff-xxl
enabling ds18x20 and all other sensors in one image
 * Fix providing web
page configuratin option for Friendly Name when no device (relay or
light) is configured (#1850)
 * Change default paremeters in
user_config.h to undefined for easy installation (#1851)
 * Change max
user configurable hold time from 10 to 25 seconds (#1851)
2018-02-10 15:13:27 +01:00
arendst 741344ae59 v5.12.0a - Sync with new release 2018-02-09 17:16:39 +01:00
arendst 51d3419c9d v5.11.1j - Fix console string length (#1819)
5.11.1j
* Prep for release
* Fix regression from 5.11.1h web console and http input max length from
100 to 254 characters (#1819)
2018-02-08 12:45:26 +01:00
arendst cb51b892f9 v5.11.1j - Change uptime to seconds
5.11.1j
 * Prep for release
 * Change uptime from hour to second
resulting in a display of 123T13:45:21 where 123 is days
 * Fix Arilux
RF induced exception by moving interrupt handler to iram on non
esp/arduino lib v2.3.0
 * Add NTP sync based on chip id (#1773)
2018-02-07 17:50:02 +01:00
arendst 150de9c99d v5.11.1i - Fix log roll-over restart (#1793)
Fix Software Watchdog restart around log roll-over (#1793)
2018-02-06 13:50:05 +01:00
arendst 0d6275fe5e v5.11.1i - Fixes Energy, PWM and Tsl2561
5.11.1i
* Fix some Energy Monitoring related issues (#1677)
* Fix TSL2561 device detection (#1644)
* Fix command PWM response if no PWM channel is configured (#1783)
2018-02-06 10:06:22 +01:00
arendst 265e0a03f7 Checked Sonoff 4CH Pro functionality 2018-02-04 22:44:15 +01:00
arendst d2aeb8439a v5.11.1i - Energy Monitoring Fixes
5.11.1i
* Fix some Energy Monitoring related issues
* Add command SetOption21 1 to allow Energy Monitoring when power is off
on Sonoff Pow and Sonoff S31 (#1420)
2018-02-04 18:09:09 +01:00
arendst 12f13a37b9 v5.11.1i - Add S31 support and some fixes
5.11.1i
 * Update TasmotaSerial library to 1.1.0
 * Rename commands
HlwPCal, HlwUCal and HlwICal to PowerCal, VoltageCal and CurrentCal to
be used for both Pow and S31 calibration
 * Rename commands HlwPSet,
HlwUSet and HlwISet to PowerSet, VoltageSet and CurrentSet to be used
for both Pow and S31 calibration
 * Add support for Sonoff S31 Smart
Socket with Power Consumption Detection (#1626)
 * Fix IRReceive Data
value (#1663)
 * Fix compiler warnings (#1774)
2018-02-03 23:25:05 +01:00
arendst 88429fb24c Faster console output. Support longer sensor names 2018-02-01 16:18:00 +01:00
arendst b8f323a024 v5.11.1h - Weblog redesign saving RAM
5.11.1h
 * Rewrite webserver argument processing gaining 5k code space
(#1705)
 * Redesign weblog storage (#1730)
 * Fix command SetOption20
(#1741)
2018-01-30 14:14:55 +01:00
arendst abdbe628db v5.11.1g - Add PMS5003 support and updates
5.11.1g
 * Add support for PMS5003 particle concentration sensor
 *
Reinstate console weblog to 20 lines after some webpage rewrite
 * Add
command SetOption20 to allow update of Dimmer/Color/Ct without turning
power on (#1719)
 * Update language files nl-NL (#1723) and es-AR
(#1722)
2018-01-27 17:52:48 +01:00
arendst d66ef2347e v5.11.1f - Revert chunks (#1706)
5.11.1f
 * Revert chunked webserver pages as it fails on many browsers
due to chunks being too small (#1706)
 * Reduce initial console weblog
from 20 to 13 lines due to memory constraints
2018-01-26 15:21:57 +01:00
arendst 2cac51619c v5.11.1e Fixes new commands
5.11.1e
 * Replaced command Ina219Mode with command Sensor13
 * Add
command Sensor15 2 to start MHZ19(B) Zero Point Calibration
 * Add
chunked webserver pages for large pages saving memory
 * Fix Non-English
JSON temperature unit attachement
 * Fix Sonoff Pow Energy Today and
Energy Total reading after restart (#1648)
 * Rewrite function pointers
to save code space and memory (#1683)
 * Add option define
HOME_ASSISTANT_DISCOVERY_ENABLE in user_config.h (#1685)
 * Fix SOnoff
Pow Energy Period roll-over (#1688)
2018-01-24 17:31:20 +01:00
arendst c14234394a v5.11.1d - Add command State and fixes
5.11.1d
 * Add locale Decimal Separator to Web sensor page
 * Add
command State to retrieve device state information (same data as
teleperiod state and status 11 in slightly different JSON format)
 *
Extent state information with Light parameters
 * Fix IRSend parameter
translation (#1636)
 * Add optional login to Webserver AP mode (#1587,
#1635)
 * Fix BME680 teleperiod resistance measuring (#1647)
2018-01-20 12:12:39 +01:00
arendst 1538d30c96 v5.11.1c - Fixes and experimental Hass Discovery
5.11.1c
 * Make command color parameter input less strict to ease Hass
support
 * Add ColorTemperature to light status message
 * Change
PubSubClient.h define MQTT_MAX_PACKET_SIZE from 512 to 1000 for Hass
support
 * Make define MESSZ dependent on PubSubClient.h define
MQTT_MAX_PACKET_SIZE
 * Fix logging line length around 400 characters
 *
Change module name Wemos D1 mini into Generic (#1220)
 * Revert HTML
change from width=100% to style=width:100% supporting HTML5 (#1358)
 *
Add experimental (still Hass python exceptions) Home Assistant Discovery
for switch and light to be enabled by command SetOption19 1 (#1534)
 *
Updated French Translation (#1561)
 * Fix DS18B20 temperature JSON
decimal dot (#1561)
 * Add Spanish language file (#1589)
 * Update
Italian Language file (#1594)
 * Consolidate WIFI_MANAGER_SEC into
WIFI_CONFIG_SEC (#1616)
 * Fix Energy JSON message (#1621)
2018-01-18 16:19:28 +01:00
arendst 4fba6f2758 v5.11.1b - Several fixes and French languga
5.11.1b
 * Add command PowerOnState option 5 which inverts PulseTime and
allows for delayed always on after power on
 * Changed
OSWATCH_RESET_TIME (Blocked loop) from 30 to 120 seconds to allow slow
networks (#1556)
 * Add French language file (#1561)
 * Fix truncated
command names and wrong response for DomoticzSwitchIdx (#1571)
 * Add
HTTP Allow Cross Origin removed from ESP8266/Arduino 2.4.0 (#1572)
 *
Fix %-sign issue as printf escape character in Humidity and Sonoff SC
(#1579)
2018-01-13 15:53:02 +01:00
arendst aed070cc90 Add automagic two step OTA and Chinese locale
5.11.1a
 * Add automagic two step Web server OTA upgrade using
filename-minimal image if OTA free space is too small
 * Add chinese
language file (#1551)
2018-01-10 14:10:25 +01:00
arendst f4f4039599 v5.11.1a
Align with master
2018-01-08 11:44:18 +01:00
arendst c1083c6e1c v5.11.0a
Align with master
2018-01-07 14:56:23 +01:00
arendst b583bc48f4 v5.10.0j - MQTT/JSON language consolidation complete
5.10.0j
 * Allow conditional code based on core version
 * Removed all
MQTT, JSON and Command language defines from locale files (#1473)
2018-01-06 17:34:42 +01:00
arendst 349230de72 v5.10.0i - Fixes and rearrangements
5.10.0i
 * Add device function pointers
 * Moved Command and JSON
English language defines to one file (i18n.h)
 * Update it-IT.h language
file (#1449)
 * Fix Wemo and Hue emulation by adding M-Search response
delay (#1486)
2018-01-05 12:26:19 +01:00
arendst b1585e8113 5.10.0h - Fix Wemo Emulation (#1486)
5.10.0h
 * Fix Wemo Emulation for Gen 2 devices (#1486)
2018-01-02 16:08:27 +01:00
arendst 24a6960749 v5.10.0g - Alexa 2nd Gen support
5.10.0g
 * Add 2nd Gen Alexa support to Wemo emulation discovery (#1357,
#1450)
2017-12-30 12:47:19 +01:00
arendst 5639b6d966 v5.10.0f
5.10.0f
 * Differentiate between JSON text defines and other text
defines to allow for English JSON while using different locale (#1449)

* Fix display of build date and time in non-english locale (#1465)
2017-12-29 14:35:05 +01:00
arendst 20619ac41b v5.10.0e
5.10.0e
 * Add Italian language file (#1449)
 * Fix Wemo Emulation once
again closest to issue (#1357)
2017-12-28 13:43:51 +01:00
arendst 122b2a610c v5.10.0d
5.10.0d
 * Renamed commands Color2,3,4 to Color3,4,5
 * Add command
Color2 to set color while keeping same dimmer value
 * Add led signal to
Carbon Dioxide (CO2) sensors (see user_config.h)
 * Fix Wemo Emulation
again (#1357)
 * Updated German translation (#1438)
2017-12-27 14:10:55 +01:00
arendst 67d8fa0d64 v5.10.0c
5.10.0c
 * Consolidate device serial (MH-Z19, SenseAir and Pzem004T)
into TasmotaSerial library
 * Consolidate PWM device recognition
 * Fix
Wemo Emulation (#1357)
 * Add support for Arilux LC06 (#1414)
2017-12-25 17:41:12 +01:00
arendst 7723d52453 Add support for SenseAir S8 CO2 sensor
* Add support for SenseAir S8 CO2 sensor to be enabled with define
USE_SENSEAIR in user_config.h
 * Add support for Domoticz Air Quality
sensor to be used by MH-Z19(B) and SenseAir sensors
2017-12-22 14:55:24 +01:00
arendst 0129fc9825 Change some output to JSON Array (#1363)
* Change output to valid JSON Array if needed (#1363)
2017-12-18 18:20:28 +01:00
arendst df397e9add Missed update 2017-12-17 16:08:39 +01:00
arendst 2e7248190c Changes in Wemo and HTTP response to JSON
* Change Wemo SetBinaryState to distinguish from GetBinaryState (#1357)

* Change output of HTTP command to valid JSON only (#1363)
2017-12-17 16:01:30 +01:00
arendst f9ce916e0b v5.10.0b - Add PZEM004T support
5.10.0b
 * Change Sonoff Pow Energy MQTT data JSON message and
consolidate Status 8 into Status 10
 * Add optional support for PZEM004T
energy sensor to enable with define USE_PZEM004T in user_config.h (#614)
2017-12-16 15:51:45 +01:00
arendst 6331ee7c8f Add experimental MH-Z19(B) support
Add (experimental) support for sensor MH-Z19(B) to be enabled with
define USE_MHZ19 in user_config.h (#561, #1248)
2017-12-04 17:25:06 +01:00