Commit Graph

539 Commits

Author SHA1 Message Date
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
arendst 7df979ed25 Fix BME280 calculation (#1051)
* Fix BME280 calculation (#1051)
2017-12-03 16:17:47 +01:00
arendst 253d60fd2b Add experimental SI7021 support
* Add (experimental) support for iTead SI7021 temperature and humidity
sensor (#735)
 * Change ADS1115 default voltage range from +/-2V to
+/-6V (#1289)
2017-12-03 14:06:15 +01:00
arendst c102fc5f9e v5.10.0a - Fixes ADS1115 and Sonoff Dual R2
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Change ADS1115
default voltage range from +/-2V to +/-4V (#1289)
 * Add multipress
support and more user configurable options to Sonoff Dual R2 (#1291)
2017-12-02 12:40:33 +01:00
arendst 5731c975e4 Revert "v5.10.0a - Fixes ADS1115 and Sonoff Dual R2"
This reverts commit 73547c8bd7.
2017-12-02 12:38:50 +01:00
arendst 73547c8bd7 v5.10.0a - Fixes ADS1115 and Sonoff Dual R2
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Change ADS1115
default voltage range from +/-2V to +/-4V (#1289)
 * Add multipress
support and more user configurable options to Sonoff Dual R2 (#1291)
2017-12-02 12:38:29 +01:00
arendst 7117179c1d v5.10.0a Add sensor SHT3X
5.10.0a
 * Add (experimental) support for sensor SHT3x
2017-12-01 15:59:53 +01:00
arendst 0f531e24e5 v5.9.1j - Add Dual R2, Rewrite DS18x20 and fixes
5.9.1j
 * Revert changes to xsns_05_ds18x20.ino and rename to
xsns_05_ds18x20_legacy.ino still needing library OneWire and providing
legacy JSON message:
 *
"DS18x20":{"DS1":{"Type":"DS18B20","Address":"284CC48E04000079","Temperature":19.5},"DS2":{"Type":"DS18B20","Address":"283AC28304000052","Temperature":19.6}}

* Add new xdrv_05_ds18x20.ino free from library OneWire and add the
following features:
 *  Add support for DS1822
 *  Add forced setting of
12-bit resolution for selected device types (#1222)
 *  Add read
temperature retry counter (#1215)
 *  Fix lost sensors by performing
sensor probe at restart only thereby removing dynamic sensor probe
(#1215)
 *  Fix sensor address sorting using ascending sort on sensor
type followed by sensor address
 *  Rewrite JSON resulting in shorter
message allowing more sensors in default firmware image:
 *
"DS18B20-1":{"Id":"00000483C23A","Temperature":19.5},"DS18B20-2":{"Id":"0000048EC44C","Temperature":19.6}

* Add additional define in user_config.h to select either single sensor
(defines disabled), new multi sensor (USE_DS18X20) or legacy multi
sensor (USE_DS18X20_LEGACY)
 * Add support for Sonoff Dual R2 (#1249)
 *
Fix ADS1115 detection (#1258)
2017-11-27 17:46:51 +01:00
arendst 512566c727 v5.9.1i - Rewrite DS18x20 sensor code
5.9.1i
 * Fix Arilux LC11 restart exception 0 after OTA upgrade
 *
Disabled CRC lookup-table in OneWire.h (#define ONEWIRE_CRC8_TABLE 0) to
save some code space
 * Rewrite xsns_05_ds18x20.ino adding support for
DS1822, correct address calculation and force setting 12-bit resolution
(#1222)
 * DS18x20 sensor reconfiguration now only probed at restart
removing dynamic connection and intermittent sensor loss (#1215)
2017-11-24 17:26:20 +01:00
arendst 869aa4d6fb v5.9.1h - Add switchmode 7
5.9.1h
 * Patch library I2Cdevlib-Core for esp8266-core 2.4.0-rc2
 * Add
option PUSHBUTTON_TOGGLE (SwitchMode 7) to allow toggling on any switch
change (#1221)
 * Fix DHT sensor timeout recognition by distinguish
"signal already there" from "timeout" (#1233)
2017-11-22 15:34:07 +01:00
arendst 8366ee116a v5.9.1g - Add Pow Energy set and Clock tuning
5.9.1g
 * Fix typo ALIRFRCV into ARIRFRCV
 * Add nicer clock support for
larger hand widths
 * Add better clock support for different pixel
counts (#1226)
 * Remove command EnergyReset 1..3
 * Add commands
EnergyReset1 0..42500, EnergyReset2 0..42500 and EnergyReset3
0..42500000
 *  to (Re)set Energy Today, Yesterday or Total respectively
in Wh (#406, #685, #1202)
 * Add SettingsSaveAll routine to command
SaveData to be used before controlled power down (#1202)
2017-11-21 16:06:51 +01:00
arendst 299bed1c05 v5.9.1f - Update libraries and a fix
5.9.1f
 * Upgrade library ArduinoJson to 5.11.2
 * Upgrade library
IRRemoteEsp8266 to 2.2.1 + 2 commits but tweaked some protocols to keep
code usage small
 * Upgrade library NeoPixelBus to 2.2.9
 * Upgrade
library OneWire to 2.3.3 + 6 commits
 * Formalize library PubSubClient
to 2.6 + 9 commits and additional delay
 * Add optional ADS1115 driver
as alternative for unsupported I2Cdevlib in esp8266-core 2.4.0-rc2
 *
Fix wrong response name for command HlwISet (#1214)
2017-11-19 18:02:03 +01:00
arendst 9c74a4a041 v5.9.1e - Fixes and Additions
5.9.1e
 * Add + (plus) and - (minus) to command color to select 1 out of
12 preset colors
 * Add + (plus) and - (minus) to command ct to control
ColdWarm led ColorTemperature (+34/-34)
 * Tune Arilux RF code
 * Fix
possible iram1_0_seg compile error by shrinking ICACHE_RAM_ATTR code
 *
Update core_esp8266_wiring_digital.c to latest (staged) level
 *
Workaround Sonoff Bridge Learn Mode hang caused by unrecognised RF code
(#1181)
 * Fix blank console log window by using XML character encoding
(#1187)
2017-11-17 17:52:31 +01:00
arendst db4a3a4a1e v5.9.1d - Add Arilux LC11 support
5.9.1d
 * Add support for Arilux LC11 (CLearing RF home code when
selecting no Arilux module)
 * Add fixed color options 1..12 to command
Color
 * Add + (plus) and - (minus) to commands Dimmer (+10/-10), Speed
and Scheme
2017-11-15 23:07:45 +01:00
arendst 39d30328e4 v5.9.1c - Add support for WS2812 RGBW
5.9.1c
 * Add support for WS2812 RGBW ledstrips to be enabled in
user_config.h with define USE_WS2812_CTYPE (#1156)
2017-11-11 16:02:18 +01:00
arendst 83a9c0693a v5.9.1b - Add INA219 support
5.9.1b
 * Remove spaces in JSON messages
 * Add support for INA219
Voltage and Current sensor to be enabled in user_config.h
2017-11-11 12:33:30 +01:00
arendst 7098d058b1 v5.9.1a - Fix PWM Watchdog Timeout
5.9.1a
 * Fix PWM watchdog timeout if Dimmer is set to 100 or Color set
to 0xFF (#1146)
2017-11-08 11:57:16 +01:00
arendst 19533cc995 v5.9.0b - Fixes and add ADS1115 A/D converter
5.9.0b
 * Add support for ADS1115 to be enabled in user_config.h and
needs libraries i2cdevlib-Core and i2cdevlib-ADS1115 (#338, #660)
 * Fix
Exception 26 and empty console screen after usage of command
WakeupDuration (#1133)
 * Fix some changed iTead web links in README.md
(#1137)
2017-11-07 15:57:24 +01:00
arendst ee93b64800 v5.9.0a - Streamline External Sensor Support 2017-11-04 16:36:51 +01:00
arendst 68cdc6130c v5.9.0a - Add Sensor Service and Fix config download
5.9.0a
* Add external sensor function pointer interface to enable easy sensor
addition
* Fix Backup Configuration file download failure by defining proper file
size (#1115)
2017-11-03 18:07:25 +01:00
arendst ebe642c995 v5.8.0q Fixes and Shrinking code
5.8.0q
 * Shrink code by 4k using command lookup tables
 * Add retry
counter to DHT11/21/22 sensors (#1082)
 * Add commands RfSync, RfLow,
RfHigh, RfHost and RfCode to allow sending custom RF codes (#1001)
2017-10-29 18:18:46 +01:00
arendst ae12b958cd v5.8.0p - Prep for release
5.8.0p
 * Fix initial PwmFrequency and PwmRange
 * Add support for
Arilux AL-LC01 RGB Led controller (#370)
 * Add light turn Off Fade
(#925)
 * Change IrSend Panasonic command to IrSend
{"Protocol":"Panasonic", "Bits":16388, "Data":<Panasonic data>}
 *
where 16388 is 0x4004 hexadecimal (#1014)
2017-10-26 16:33:33 +02:00
arendst cf350dc584 v5.8.0o - Add VEML6070 and more light schemes
5.8.0o
 * Remove max string length of 14 for Domoticz sensor
descriptions
 * Add light scheme options (Color cycle Up, Down, Random)
and moving WS2812 schemes up by 3
 * Add support for VEML6070 I2C Ultra
Violet level sensor (#1053)
2017-10-25 14:27:30 +02:00
arendst 1296432da2 v5.8.0n - Add language, device and clock commands
5.8.0n
 * Fix minimum TelePeriod of 10 seconds set by web page
 * Shrink
information web page by 1k code space
 * Removed Arduino IDE version too
low warning as it interferes with platformio.ini platform =
espressif8266_stage
 * Add commands Color2, Color3, Color4, Width2,
Width3, Width4 and SetOption16 to set Ws2812 Clock parameters (#1019)
 *
Add Polish language file (#1044, #1047)
 * Add support for KMC 70011
Power Monitoring Smart Plug (#1045)
 * Corrected German language file
(#1054)
2017-10-23 12:18:15 +02:00
arendst fc89330056 v5.8.0m - Rewrite and Additions
5.8.0m
 * Rewrite code (partly) using Google C++ Style Guide
(https://google.github.io/styleguide/cppguide.html)
 * Allow empty
MqttHost name by using option 0
 * Allow Mqtt server mDNS lookup only
when MqttHost name is empty (#1026)
 * Change Ws2812 clock with more
flexible version (#1019)
 * Add German language file (#1022)
 * Support
connecting to MQTT brokers without userid and/or password (#1023)
 * Add
commands PwmRange 1,255..1023 and PwmFrequency 1,100..4000 (#1025)
2017-10-18 18:22:34 +02:00
arendst 66d9ff14ac v5.8.0l - Update module config webpage
5.8.0l
* Update HTML/CSS to enable nicer form field entry
* Fix inverted relay status after restart or power on as regression from
5.8.0d (#909)
* Add send protocol Panasonic to IRsend (#1014)
* Fix relay power control when light power control is also configured as
regression from 5.8.0 (#1016)
2017-10-14 11:26:49 +02:00
arendst 60426fca2f v5.8.0k - Clean up
Add retain to ENERGY messages controlled by command SensorRetain (#1013)
2017-10-12 14:09:19 +02:00
arendst 804bd8fb53 v5.8.0k - Add support for 8 relays
5.8.0k
 * Add support for up to 8 relays (#995)
 * Fix Blocked Loop when
erasing large flash using command reset 2 (#1002)
2017-10-12 11:29:40 +02:00
arendst ca431184e6 v5.8.0j - Fixes and Prep for more relays
5.8.0j
 * Set default altitude to 0 to be used with pressure sensors
 *
Document flash settings area for future use
 * Prepare for 32-bit power
control (#995)
 * Introduce sonoff.h master header
 * Fix TLS MQTT SSL
fingerprint test (#808, #970)
 * Fix pressure calculation for some BMP
versions regression introduced with version 5.8.0i (#974)
 * Fix
Domoticz Dimmer set to same level not powering on (#945)
2017-10-10 15:40:02 +02:00
arendst ff52288efe v5.8.0i - Some fixes and Add Sealevel Pressure
5.8.0i
 * Add Domoticz counter sensor to IrReceive representing Received
IR Protocol and Data
 * Fix Southern Hemisphere TIME_STD/TIME_DST
(#968)
 * Add Sea level pressure calculation (#974)
 * Fix virtual relay
status message used with Color/Dimmer control (#989)
 * Fix command
IRSend and IRHvac case sensitive parameter regression introduced with
version 5.8.0 (#993)
2017-10-08 16:51:05 +02:00
arendst 3bc7dd4e83 v5.8.0h - Add IR Receive
5.8.0h
 * Rename command IRRemote to IRSend (#956)
 * Add IR Receiver
support. Disable in user_config.h (#956)
 * Change default PWM
assignment for Witty Cloud to support optional Color/Dimmer control
(#976)
 *   GPIO12 (Green) from GPIO_PWM4 to GPIO_PWM2
 *   GPIO13
(Blue)  from GPIO_PWM5 to GPIO_PWM3
 *   GPIO15 (Red)   from GPIO_PWM3
to GPIO_PWM1
2017-10-06 17:28:00 +02:00
arendst 7817199b59 Expand timezone range to -13/13
Fix timezone range from -12/12 to -13/13 (#968)
2017-10-05 14:10:42 +02:00
arendst 9e845f3c1e v5.8.0g - Fix some PWM issues
5.8.0g
 * Fix inverted PWM index (#960)
 * Fix some PWM related issues
(#967)
2017-10-05 13:28:31 +02:00
arendst c82fe7f46e v5.8.0f - Add inverted PWM support
5.8.0f
 * Set all saved power settings to Off when SetOption0
(SaveState) = 0 (#955)
 * Allow PWM initialization after restart (#955)

* Add support for inverted PWM (#960)
2017-10-04 17:29:49 +02:00
arendst 12af1af01b v5.8.0e - SnfBrdge RF code as Domoticz Counter
5.8.0e
 * Add Domoticz counter sensor to Sonoff Bridge representing
Received RF code (#943)
 * Add support for Luani HVIO board
(https://luani.de/projekte/esp8266-hvio/) (#953)
2017-10-02 16:45:03 +02:00
arendst 48faeaa2ce v5.8.0d - Add Color/Dimmer control to PWM
5.8.0d
 * Remove previous GPIO configuration when another module is
selected
 * Fix inverted relay power on state (#909)
 * Change default
PWM assignments for H801 RGB(CW) led controller to support optional
Color/Dimmer control
 *   GPIO04 (W2)    from GPIO_PWM2 to GPIO_USER to
be user configurable for GPIO_PWM5 (second White - Warm if W1 is Cold)

*   GPIO12 (Blue)  GPIO_PWM3 no change
 *   GPIO13 (Green) from
GPIO_PWM4 to GPIO_PWM2
 *   GPIO14 (W1)    from GPIO_PWM1 to GPIO_USER
to be user configurable for GPIO_PWM4 (first White - Cold or Warm)
 *
GPIO15 (Red)   from GPIO_PWM5 to GPIO_PWM1
 * Change default PWM
assignments for MagicHome RGB(W) led controller to support optional
Color/Dimmer control
 *   GPIO05 (Green) from GPIO_PWM4 to GPIO_PWM2
 *
GPIO12 (Blue)  from GPIO_PWM5 to GPIO_PWM3
 *   GPIO13 (White) GPIO_USER
to be user configurable for GPIO_PWM4 (White - Cold or Warm)
 *   GPIO14
(Red)   from GPIO_PWM3 to GPIO_PWM1
 * Add command SetOption15 0
(default) for command PWM control or SetOption15 1 for commands
Color/Dimmer control to PWM RGB(CW) leds (#941)
2017-10-01 14:32:36 +02:00
arendst 107b746083 v5.8.0c
5.8.0c
 * Add warning to webpage when USE_MINIMAL is selected (#929)
 *
Fix compile error when DOMOTICZ_UPDATE_TIMER is not defined (#930)
 *
Fix alignment of web page items in some browsers (#935)
 * Add smoother
movement of hour hand in WS2812 led clock (#936)
 * Add support for
Magic Home RGBW Led controller (#940)
2017-09-30 13:32:53 +02:00
arendst e974dcb7b7 v5.8.0b - Add Domoticz Voltage and Current
5.8.0b
 * Fix command FullTopic entry when using serial or console
interface
 * Fix possible UDP syslog blocking
 * Add debug information
to MQTT subscribe
 * Add Domoticz sensors for Voltage and Current (#903)
2017-09-26 15:10:58 +02:00
Theo Arends 33e116ccb9 v5.8.0a - Fix GPIOx JSON response
5.8.0a
 * Add translations to I2Cscan
 * Add translation to BH1750 unit
lx
 * Set default WS2812 pixel count to WS2812_LEDS
 * Fix command GPIOx
JSON response (#897)
2017-09-23 11:12:16 +02:00
arendst 9bad9e18c6 v5.7.1j - Fix On/Off for different language
5.7.1j
 * Remove the need for NeoPixelBus library for Hue support
 *
Reintroduce xdrv_ws2812 for flexible future library changes
 * Fix basic
On, Off, Toggle, Blink and BlinkOff commands when other language is
selected (#874)
2017-09-18 18:06:46 +02:00
arendst 87e89cda56 v5.7.1i - Add blink to WS2812 and Sonoff Leds
5.7.1i
* Add blink to WS2812 and Sonoff Led (#643)
2017-09-16 18:19:15 +02:00
arendst e232f22da2 v5.7.1h
5.7.1h
 * Consolidate WS2812 (xdrv_ws2812) into Sonoff Led
(xdrv_snfled)
 * Invert WS2812 fade speed to align with Sonoff led
(Speed 1 = fast, Speed 8 = slow)
 * Remove upper case MQTT receive
buffer
2017-09-16 17:34:03 +02:00
arendst e015b574e6 v5.7.1g - Add wificonfig option 5 (WIFI_WAIT)
5.7.1g
 * Add option WIFI_WAIT (5) to command WifiConfig to allow
connection retry to same AP without restart or update flash (#772, #869)
2017-09-16 14:19:47 +02:00
arendst cb0410a5dc v5.7.1f - Add dimmer parameter to Wakeup
5.7.1f
 * Reduce code and string length for output of commands Modules
and GPIOs
 * Add optional dimmer parameter to command Wakeup for
AiLight, Sonoff B1, Led and BN-SZ01 (#867)
2017-09-14 15:35:38 +02:00
arendst 2d5fc29976 v5.7.1e - Add Sonoff SC debugging
5.7.1e
 * Add Sonoff SC debug information
 * Change syslog service
2017-09-14 14:20:27 +02:00
arendst c16fd3d99e v5.7.1d
5.7.1d
 * Fix watchdog timeout caused by lack of stack space by now
using global buffers (#853)
 * Removed webserver syslog disable as now
no longer needed
 * Increased default MQTT message size from 368 to 405
bytes while keeping DMQTT_MAX_PACKET_SIZE = 512 (because we can)
 * Fix
MQTT Offline or Remove MQTT retained topic code
 * Allow command
SwitchTopic in group mode (#861)
 * Allow command SwitchMode if no
switches are defined (#861)
2017-09-13 14:19:34 +02:00
arendst 616b16d08d v5.7.1c - Extent port range
5.7.1c
 * Allow LogPort and MqttPort up to 65535 and add LogPort tot
Status 3 (#859)
2017-09-12 10:19:16 +02:00
arendst 105c5d7129 v5.7.1b - Add timeout to some sensors
5.7.1b
 * Add timeout to DHT and DS18B20 sensors (#852)
2017-09-10 17:20:03 +02:00
arendst 0151188652 v5.7.1a
5.7.1a
 * Fix Domoticz loop when Emulation is selected
 * Add GPIO14 to
Sonoff Dual (#797, #839)
 * Add support for Witty Cloud (#794)
 * Add
support for Yunshan Wifi Relay (#802)
 * Add GPIO16 input pulldown
(#827)
2017-09-10 15:51:44 +02:00
arendst 8585465967 v5.7.1
5.7.1 20170909
 * Remove leading spaces from MQTT data
 * Fix webconsole
special character entry
 * Allow # as prefix for color value
 * Fix
Alexa detection and Hue App Update Request (#698, #854)
2017-09-09 18:46:29 +02:00
arendst 53b0dad348 v5.7.0b - Add optional # to color value
5.7.0b
 * Add snfled UNDOCA
 * Allow # as prefix for color value for
ws2812 too
2017-09-08 17:14:39 +02:00
arendst 4f6acfa7d9 v5.7.0a - Add optional # to color
5.7.0a
 * Remove leading spaces from MQTT data
 * Fix webconsole special
character entry
 * Allow # as prefix for color value
2017-09-08 12:57:08 +02:00
arendst 92ff7f0adc v5.7.0
5.7.0 20170907
* Shrink module configuration webpage
* Fix settings order during startup to allow for displaying debug
messages
* Fix some string length issues
* Add more string length tests by using strncpy
* Add Ai-Thinker RGBW led (AiLight)
* Add Power check and add PulseTime to power check at startup (#526)
* Add Supla Espablo support (#755)
* Add more precision to Sonoff Pow period and power results using
command WattRes 0|1 (#759)
* Add basic internationalization and localization (#763)
* Add more Sonoff Pow range checking (#772)
* Fix invalid JSON (#786, #822)
* Add duplicate check to received RF signal within 2 seconds for Sonoff
Bridge (#810)
2017-09-07 18:53:59 +02:00
arendst ee914714ab v5.6.1l - Tried to fix excepetion 3
5.6.1l
* Fix some string length issues
* Add more string length tests by using strncpy
* Tried to fix Exception 3 as I can't reproduce (#830)
2017-09-06 17:37:41 +02:00
arendst 95d54230fc v5.6.1k - Fix preprocessor language selection
5.6.1k
* Fix preprocessor language selection
2017-09-02 17:16:18 +02:00
arendst 1facc146cc Fix Linux compile error
5.6.1j
* Fix compile error on Linux due to language folder name
* Add basic internationalization and localization (#763)
* Fix invalid JSON (#822)
2017-09-02 15:06:57 +02:00
arendst 0fbbc23b2c Add I18n and fix invalid JSON
5.6.1i
* Add basic internationalization and localization (#763)
* Fix invalid JSON (#822)
2017-09-02 14:37:02 +02:00
arendst 740a0c6283 Add PulseTime to power check at startup
5.6.1h
* Add PulseTime to power check at startup (#526)
2017-08-30 11:08:18 +02:00
arendst 300bb8818f Fix Sonoff Bridge duplicates and check power at startup
5.6.1g
* Add power check at startup (#526)
* Add duplicate check to received RF signal within 2 seconds for Sonoff
Bridge (#810)
2017-08-29 16:35:45 +02:00
Theo Arends 9c3b1852b1 Revert HLW power changes
5.6.1f
* Fix JSON error (#786)
* Revert changes from 5.6.1e but extent HLW power timer to 10 seconds
(#796)
2017-08-27 10:00:11 +02:00
arendst 65681a7054 Remove HLW Power Timer (#759) 2017-08-24 15:09:39 +02:00
arendst 0de07df099 Fix possible Pow Exception 0 2017-08-24 11:09:52 +02:00
Theo Arends 0c59eb5585 Add more precision to Sonoff Pow period and power results using command WattRes 0|1 (#759) 2017-08-20 11:40:50 +02:00
arendst 3f365b6228 Add Supla Espablo support (#755) 2017-08-19 18:08:06 +02:00
arendst dbab55758a Shrink module configuration webpage 2017-08-19 16:29:51 +02:00
arendst d96191888d v5.6.1
5.6.1 20170818
* Change module list order in webpage
* Fix Sonoff T1 1CH and 2CH configuration (#751)
*
* 5.6.0 20170818
* Fix Sonoff Pow intermittent exception 0
* Change Sonoff Pow sending Domoticz telemetry data only
* Add Ai-Thinker RGBW led (AiLight) (experimental)
* Add NeoPixelBus library to Sonoff Led for Hue support
* Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge
* Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676)
* Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color
Temperature
* Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1
* Add CT parameter to Hue
* Add Sonoff T1 support (#582)
* Add AnalogInput0 if configured as Analog Input to webpage (#697, #746)
* Add command SetOption14 0|1 to enable interlock mode (#719, #721)
* Fix Mitsubishi HVAC IR power controll (#740)
2017-08-18 18:04:49 +02:00
arendst fa0b7d7784 v5.6.0
5.6.0 20170818
* Fix Sonoff Pow intermittent exception 0
* Change Sonoff Pow sending Domoticz telemetry data only
* Add Ai-Thinker RGBW led (AiLight) (experimental)
* Add NeoPixelBus library to Sonoff Led for Hue support
* Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge
* Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676)
* Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color
Temperature
* Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1
* Add CT parameter to Hue
* Add Sonoff T1 support (#582)
* Add AnalogInput0 if configured as Analog Input to webpage (#697, #746)
* Add command SetOption14 0|1 to enable interlock mode (#719, #721)
* Fix Mitsubishi HVAC IR power controll (#740)
2017-08-18 14:52:57 +02:00
arendst 06d0c62dfa Add global interlock
Use command SetOption14 1 to enable interlock mode
2017-08-18 12:55:08 +02:00
arendst e0f759a318 Invert Sonoff T1 led state 2017-08-18 10:40:21 +02:00
arendst 963476e688 v5.5.2i
5.5.2i
* Fix Sonoff Pow intermittent exception 0
* Change Sonoff Pow sending Domoticz telemetry data only
* Add Sonoff B1 RGBCW led support with command Color RRGGBBCCWW (#676)
* Add command CT 152..500 to Sonoff Led and Sonoff B1 to control Color
Temperature
* Add Cold-Warm slider to web page for Sonoff Led and Sonoff B1
* Add CT parameter to Hue
* Add Ai-Thinker RGBW led (AiLight) (experimental)
* Add NeoPixelBus library to Sonoff Led for Hue support (saves 1k code
space)
* Add user configurable GPIO4 and GPIO5 to module Sonoff Bridge
* Fix Mitsubishi HVAC IR power controll (#740)
* Add Sonoff T1 support (#582)
2017-08-16 22:56:32 +02:00
arendst ebee148be8 Add Sonoff B1 features 2017-08-16 17:05:36 +02:00
arendst 99c9b1671c Add Sonoff B1 Support. AiLight is experimental 2017-08-15 22:09:52 +02:00
arendst 5fdc5e890a Add AiLight and update Sonoff B1 (experimental) 2017-08-13 15:31:49 +02:00
Theo Arends 700e51b091 Add Sonoff B1 b using different pins 2017-08-13 13:11:44 +02:00
Theo Arends 941deba815 Still testing Sonoff B1 2017-08-13 11:19:34 +02:00
arendst 7825bc0f0a Experimental Sonoff B1 support 2017-08-12 17:55:20 +02:00
arendst 13ed472eb9 Fix Sonoff Pow period data display 2017-08-10 16:21:31 +02:00
arendst 2efb5cd1cd Fix Sonoff Pow exception 0 where epc1=0x40107345 2017-08-10 09:12:18 +02:00
arendst c0b1ceba8b v5.5.2
5.5.2 20170808
* Extent max number of WS2812 pixels from 256 to 512 (#667)
* Add OTA handling if server responds with no update available (#695)
* Removed undocumented command FlashMode (#696)
* Fix compile time error message due to increased message buffer size
(#703)
2017-08-08 16:31:43 +02:00
Theo Arends d28aaf0625 Revert "v5.5.1a" 2017-08-08 16:11:24 +02:00
Theo Arends 05073b7ab7 Revert "Ota remove flash mode" 2017-08-08 16:08:08 +02:00
Theo Arends eab7250102 v5.5.1b
5.5.1b
 * Extent max number of WS2812 pixels from 256 to 512 (#667)
 * Add OTA handling if server responds with no update available (#695)
 * Removed undocumented command FlashMode (#696)
 * Fix compile time error message due to increased message buffer size (#703)
2017-08-08 14:50:21 +02:00
Theo Arends 48635f0906 Merge pull request #703 from don-willingham/update_error
Increase minimum packet size to 475 in #error
2017-08-08 14:28:28 +02:00
Don Willingham 25632ff7f8 Increase minimum packet size to 475 in #error 2017-08-07 22:05:32 -04:00
Theo Arends 24520bfcfa v5.5.1a
5.5.1a
* Extent max number of WS2812 pixels from 256 to 512 (#667)
2017-08-05 20:11:20 +02:00
arendst 934d6e3f15 v5.5.1
5.5.1 20170805
* Fix Sonoff Rf Bridge issues
* Add Sonoff RF Bridge MQTT messages on received and learned RF signal
* Add command VoltRes 0|1 to select voltage resolution to 0.1 V (#654)
* Add averaging to Analog input (#686)
* Add Energy tele data on Sonoff Pow Threshold change (#688)
* Fix inconsistent property names in Messages (#690)
2017-08-05 15:11:50 +02:00
arendst 0a9ec10b0a v5.5.0
5.5.0 20170730
* Reduce code space by removing the following commands as they are
replaced by SetOption alternatives:
*   SaveState = SetOption0
*   ButtonRestrict = SetOption1
*   Units = SetOption2
*   MQTT = SetOption3
*   MQTTResponse = SetOption4
*   TempUnit = SetOption8
* Smoothing WS2812 animation poll, invert fade speed and max allowed
wakeup time down to 3000 seconds
* Fix initial button press detection
* Add support for Sonoff RF Bridge 433 using command RfKey
* Fix regression from 5.0.7 by increasing message buffer size from 360
to 368 to accomodate 4 x DS18x20 sensors (#637)
* Add GroupTopic to Topic test when using ButtonTopic/SwitchTopic to
send either ON/OFF or TOGGLE (#642)
* Adjust HLW calibration limits to accomodate HuaFan device and add
commands HlwPSet, HlwUSet and HlwISet (#654)
2017-07-30 17:55:37 +02:00
arendst 22ef93a2c4 v5.4.0
5.4.0 20170725
* Fix command reset regression introduced in 5.2.0
* Increase polling from 0.1 second to 0.05 second
* Add multipress to all buttons
* Fix button 1 double press behaviour on multi relay devices
* Add support for Hua Fan Smart Socket (#479)
* Add support for Sonoff 4ch Pro (#565)
* Add command SetOption13 1 to allow immediate action on single button
press
*   (disables multipress, hold and unrestricted commands) (#587)
2017-07-25 18:05:47 +02:00
arendst 7e6b3a2bb1 v5.3.0
5.3.0 20170715
* Major Hue rewrite which might introduce Alexa problems. If so,
initiate an issue
* Add support for Sonoff Led and BN-SZ01 Ceiling Led brightness control
to Hue
* Fix Sonoff Led Power, Dimmer and Color MQTT response (#176)
* Add commands Delay and Backlog to allow multiple commands at once
separated by ";" (#593)
* Use default flashmode DOUT to solve restart hangs on esp8285 chips
(#453, #598)
* Change Web console column width from 99 to 300 (#599)
2017-07-15 15:07:30 +02:00
arendst 39a65e230b v5.2.4
5.2.4 20170703
* Removed flash mode update after selecting different module solving
esp8285 related problems
* Add device type flag to sonoff_template.ino
* Change Sonoff Led Wakeup and add support for Sonoff BN-SZ01 Led
2017-07-03 11:45:15 +02:00
arendst ee883bdcb8 v5.2.3
5.2.3 20170630
* Change Sonoff Led color conversion code
* Fix SetOption12 handling
* Simplify auto configuration upgrade
* Add option Upgrade <version_number> to only upgrade to any higher
version (Old PR #213)
* Change FallbackTopic to cmnd/<MQTTClient>/<command> <parameter>
bypassing FullTopic and Prefix (#538)
2017-06-30 17:54:19 +02:00
arendst e914053041 v5.2.2
5.2.2 20170625
* Add configuration SaveAddress to Status 1 and Information Page
* Change Sonoff Led Color conversion from AtoH to strtol
* Fix possible wrong uploads due to configuration overwrites (#542)
* Fix payload negative numbers (#547)
2017-06-25 23:07:51 +02:00
arendst 2195ddd496 v5.2.2
5.2.2 20170625
* Add configuration SaveAddress to Status 1 and Information Page
* Change Sonoff Led Color conversion from AtoH to strtol
* Fix possible wrong uploads due to configuration overwrites (#542)
* Fix payload negative numbers (#547)
2017-06-25 23:01:41 +02:00
arendst 92958f4bdd v5.2.1
5.2.1 20170622
* Fix Restore Configuration in case of lower version
* Revert auto configuration upgrade allowing easy upgrade which was
removed in version 5.2.0
* Fix config auto upgrade from versions below version 4.1.1 (#530)
2017-06-22 22:00:09 +02:00
arendst b88ec7f5a9 v5.2.0
5.2.0 20170619
* Add command SetOption12 1 to disable newly released configuration
flash rotate to reduce flash wear
* Fix command CounterDebounce by removing test for active GPIO (#524)
* Add command SetOption33 1..250 to allow user configure POW
Max_Power_Retry count (#525)
2017-06-19 22:54:49 +02:00
arendst d763fd52eb v5.1.7
5.1.7 20170616
* Prep removal of SetOptions alternatives
* Restore webpage upgrade error messages removed in 5.1.5
* Add hold button functionality to buttons 2 to 4
* Add command SetOption32 1..100 to set Key Hold Time from 0.1 seconds
to 10 seconds (#200)
* Allow slashes in Topic, GroupTopic, ButtonTopic and SwitchTopic (#507)
* Changed webpage form actions from post to get and use relative path
url (#434, #522)
2017-06-16 14:33:49 +02:00
arendst 98d06e8809 v5.1.6
5.1.6 20170606
* Shrink code
* Removed online configuration of Domoticz In and Domoticz Out MQTT
strings
* Removed commands DomoticzInTopic and DomoticzOutTopic
* Add define KEY_HOLD_TIME to configure button hold threshold before
sending MQTT Hold message
* Add command StateText4 to configure button MQTT Hold text (=
MQTT_CMND_HOLD)
* Add command SetOption11 0|1 to swap pushbutton single and double press
functionality (#200)
* Add command SwitchMode<x> 5 (PUSHBUTTONHOLD) and 6
(PUSHBUTTONHOLD_INV) (#489)
2017-06-06 23:23:23 +02:00
arendst 0f103db4c6 v5.1.5
5.1.5 20170604
* Shrink code in preparation to ESP8266-Arduino 2.4.0-rc1
* Add effect parameter to HUE Device (#464)
2017-06-04 17:40:27 +02:00
arendst 44b69bfd97 v5.1.4
5.1.4 20170601
* Removed pre-compiled versions from repository as they are available
within the release
* Changed HUE Device type to color supporting version (#464)
* Fix compile error when BE_MINIMAL is selected (#467, #476)
* Add multiple compiled versions to release using updated Travis script
and platformio.ini (#467)
2017-06-01 17:37:30 +02:00
arendst 70ccdfe9b9 v5.1.3
5.1.3 20170520
* Add Domoticz Counter
2017-05-20 14:03:34 +02:00
arendst 26d3a8c191 v5.1.2
5.1.2 20170519
* Fix Counter/Timer JSON message and update Counter/Timer on webpage
* Fix WS2812 Domoticz related regression issues
2017-05-19 16:09:25 +02:00
arendst 88648a8099 v5.1.1
5.1.1 20170517
* Allow command FullTopic in group mode
* Prepare for more use of RTC memory
* Add independant WS2812 led string power control (#386, #390)
* Add command Counter<x> to control up to four GPIO falling edge
interrupt counters or timers (#459)
* Add command CounterType<x> to select between pulse counting or pulse
timing
* Add command CounterDebounce to select global counter debounce time in
mSec
2017-05-17 22:49:22 +02:00
arendst f6f6616c9d v5.1.0
5.1.0 20170513
* Fix Offline/Removal of retained topic when FullTopic is changed
* Add FullTopic to MQTT Configuration and Information web page
* Adde license model GPLv3 (#188)
2017-05-13 13:02:10 +02:00
arendst 103c5606ac v5.0.7
5.0.7 20170511
* Fix possible exception 28 on empty command
* Add command SetOption0 as replacement for SaveState
* Add command SetOption1 as replacement for ButtonRestrict
* Add command SetOption2 as replacement for Units
* Add command SetOption4 as replacement for MqttResponse
* Add command SetOption8 as replacement for TempUnit
* Add command SetOption10 On|Off to select between Offline or Removing
previous retained topic (#417, #436)
2017-05-11 17:47:34 +02:00
arendst 32c3a66ead v5.0.6
5.0.6 20170510
* Remove hyphen in case of a single DHT sensor connecetd (#427)
* Add command MqttRetry <seconds> to change default MQTT reconnect retry
timer from minimal 10 seconds (#429)
2017-05-10 14:19:36 +02:00
arendst bc9d44d74a v5.0.5
5.0.5 20170508
* Add command FullTopic with tokens %topic% (replaced by command Topic
value) and
*  %prefix% (replaced by command Prefix<x> values) for more flexible
topic definitions (#244)
*  See wiki > MQTT Features
https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT-Features for more
information
2017-05-08 13:21:45 +02:00
arendst 7ce5b4cba5 v5.0.4
5.0.4 20170505
* Add Sonoff Pow Energy Total up to 40 MWh
* Add command EnergyReset 1|2|3 to reset Energy counters (#406)
* Fix Domoticz Energy logging (#411)
* Add command PowerOnState 4 to keep relay always on and disabling all
power control (#418)
2017-05-05 17:57:05 +02:00
arendst 77da1dfdc1 v5.0.3
5.0.3 20170504
* Add command SensorRetain on|off to enable retaining of mqtt message
tele/sonoff/SENSOR (#74)
* Change WifiConfig timeout from 60 seconds to 180 seconds (#212)
* Change Sonoff Touch command Ledstate functionality by turning led on
if power is off (#214)
* Add 4 seconds delay after power on before enabling button to
workaround Wemos D1 mini RTS circuit (#380)
2017-05-04 13:58:26 +02:00
arendst c61a39a06d v5.0.2
5.0.2 20170503
* Reset SaveData, SaveState and MqttResponse to default values due to
rearranging settings
* Moved some settings flag area
* Add command TempUnit Celsius|Fahrenheit for selecting Celsius or
Fahrenheit (#347)
* Add command TempRes 0..3 for selecting Temperature Resolution (#347)
* Add command HumRes 0..3 for selecting Humidity Resolution (#347)
* Add command PressRes 0..3 for selecting Pressure Resolution (#347)
* Add command EnergyRes 0..5 for selecting Energy Resolution (#347)
* Add "TemperatureUnit":"C|F" to sensor JSON output (#347)
* Add support for up to three DHT type sensors each using a different
GPIO (#339, #404)
2017-05-03 18:19:13 +02:00
arendst 1dcde6aac4 v5.0.1
5.0.1 20170429
* Adjust Sonoff SC messages to prepare for display feature
* Move static data from RAM to Flash
* Fix PowerOnState for some devices not reporting "Power on" state
(#284, #380, #383)
2017-04-29 14:40:53 +02:00
arendst ecc6bb5fdc v5.0.0
5.0.0 20170425
* Memory status message update
* Fix setting migration to better preserve settings during move (#382)
* Best practice is first doing a Backup Configuration before installing
version 5.0.0
* Reset save count after setting move
* Start using new linker script without SPIFFS
2017-04-25 18:24:42 +02:00
arendst 862fe9473f Revert "Revert "Remove new linker - Use previous linker (1m64)""
This reverts commit 9ea07161cf.
2017-04-25 18:09:19 +02:00
arendst 9ea07161cf Revert "Remove new linker - Use previous linker (1m64)"
This reverts commit f670e4c920.
2017-04-25 18:06:58 +02:00
arendst f670e4c920 Remove new linker - Use previous linker (1m64) 2017-04-24 22:46:33 +02:00
arendst 8dd291b5c7 v4.2.0
4.2.0 20170424
* Prepare for SPIFFS removal by moving settings to EEPROM area
* Fix compilation error when webserver is disabled (#378)
2017-04-24 18:25:53 +02:00
arendst 824368125b v4.1.3
4.1.3 20170410
* Add user configuarble GPIO to module S20 Socket and Slampher
* Add support for Sonoff SC (#112)
* Set PWM frequency from 1000Hz to 910Hz as used on iTead Sonoff Led
firmware (#122)
* Set Sonoff Led unconfigured floating outputs to 0 to reduce exceptions
due to power supply instabilities (#122)
* Add Access Point Mac Address to Status 11 and Telemetry (#329)
* Fix DS18B20 negative temperature readings (#334)
2017-04-10 17:25:31 +02:00
arendst fcb380ce2c v4.1.2
4.1.2 20170403
* Rename Unrecognised command to Unknown command
* Remove all command lists
* Remove command SmartConfig (superseded by WifiConfig)
* Fix boot loop when selecting module Sonoff 4CH or Sonoff Touch on non
ESP8285 hardware
* Add optional support for Toshiba and Mitsubishi HVAC IR control (needs
updated IRanother  (#257)
* Add all configured switches to Domoticz Configuration web page (#305)
* Fix compile error when selecting WS2812 DMA (#313)
2017-04-03 16:38:15 +02:00
arendst a8f2293a66 v4.1.1
4.1.1 20170329
* Fix default Telemetry for command Prefix3
* Fix webserver Module parameters for disabled select
* Fix sensor status for enabled switches
* Remove Light as alternative for Power (save code space)
* Remove migration option from pre V3 (code cleanup)
* Remove unofficial SPIFFS support (code cleanup)
* Remove command list when unknown command is entered (save code space)
* Rename Status11 json from StatusPWR to unique StatusSTS
* Rename command Gateway to IPAddres2, Subnetmask to IPAddress3 and
DnsServer to IPAddress4 (save code space)
* Add Command MqttResponse to select either command or RESULT topic as
response (#258)
* Add command StateText1 to StateText3 to assign MQTT_STATUS_OFF,
MQTT_STATUS_ON and MQTT_CMND_TOGGLE respectively (#286)
* Remove restart after IPAddress changes (#292)
* Add support for MAX31850 in xsns_ds18x20.ino (#295)
* Fix possible uptime update misses (#302)
2017-03-29 18:42:05 +02:00
arendst ae27ec26a4 v4.1.0
4.1.0 20170325
* Change static IP addresses in user_config.h from list (using commas)
to string (using dots)
* Unify display result of commands Modules, Module and Gpios
* Rewrite Module selection web page to bring size down from 18651 to
4319 bytes (!) (#234, #240)
* Add basic support for (Lixada) H801 RGBWW controller (#252)
* Add command Prefix1 to Prefix3 to assign SUB_PREFIX, PUB_PREFIX and
PUB_PREFIX2 respectively (#255)
* Add static ip addresses to flash (#262)
* Add commands IpAddress, Gateway, Subnetmask and DnsServer to select
static ip addresses (#273)
2017-03-25 17:24:11 +01:00
arendst 99b7474ac4 v4.0.8
4.0.8 20170321
* Fix entering non-numeric webpassword
* Force selection between TLS or Webserver due to memory restraint
(#240)
* Allow entering empty string using "0" for selected commands (#242)
* Fix exception when posting commands to web console containing % (#250)
2017-03-21 16:17:28 +01:00
arendst 742a87df8a v4.0.7
4.0.7 20170319
* Increased Sonoff Led PWM frequency from 432 to 1000
* Fix possible watch dog reboot after changing module type on web page
* Fix reporting of GPIO usage from web page
* Fix Sonoff Led blank during firmware upgrade
* Fix Sonoff Led flicker and possible flash corruption by using latest
Arduino-esp8266 versions
*   of pwm core files included in sonoff library (#211)
* Add PWM output control with commands PWM1 to PWM5 using user
selectable GPIOs (#211)
* Fix exceptions due to low values of commands HlwPCal (10000), HlwUCal
(1000) and HlwICal (2500) (#223)
* Add Switch state to sensor status (#227, #233)
* Add user configuarble GPIO to module Sonoff Touch (#228)
* Add define WEB_PORT to user_config.h to change default web server port
from 80 (#232)
* Fix failed Ota Firmware upgrade started from Web page (#235)
2017-03-19 18:19:08 +01:00
arendst c4cdd4459c v4.0.6
4.0.6 20170316
* Fix to better find device by Wifi hostname
* Fix compile error when some I2C devices are disabled
* Add (experimental) support for SHT1X emulating I2C (#97)
* Add ADC to ElectroDragon (#203)
* Add support for Sonoff Dev (#206)
2017-03-16 16:23:11 +01:00
arendst 67fe118dfe v4.0.5
4.0.5 20170314
* Add command Status 11 to show power status with Vcc if define
USE_ADC_VCC is enabled (default)
* Add ADC input to Sonoff SV and Wemos D1 mini - Needs recompile with
define USE_ADC_VCC disabled (#137)
* Add MQTT host:port to timeout message (#199)
2017-03-14 18:03:25 +01:00
arendst 5e4157ebe4 Revert "v4.0.5"
This reverts commit 18a1f5e5df.
2017-03-14 15:40:24 +01:00
arendst 18a1f5e5df v4.0.5
4.0.5 20170314
* Add command Status 11 to show power status with Vcc if define
USE_ADC_VCC is enabled (default)
* Add ADC input to Sonoff SV and Wemos D1 mini - Needs recompile with
define USE_ADC_VCC disabled (#137)
* Add MQTT host:port to timeout message (#199)
2017-03-14 12:36:06 +01:00
arendst b85fef0479 v4.0.4
4.0.4 20170312
* Add pulse timers for up to 4 relays (#106)
* Fix Sonoff Led power state when dimmer or color is 0 (#176)
* Add command NtpServer<x> to configure up to three NTP servers (#177)
* Delete module User Test as module Wemos D1 mini has same/more user
configurable GPIO (#178)
* Add more user configurable GPIO to module ElectroDragon (#183)
2017-03-12 18:36:33 +01:00
arendst 59bb20d2cb v4.0.3
4.0.3 20170309
* Renamed Module NodeMCU to WeMos D1 mini
* Add GPIO1 as user option to some modules
* Add Buttons, Relays and Leds to user configurable options (#159)
* Add description on Module parameters web page to some well known GPIOs
(#107, #171)
2017-03-09 17:48:04 +01:00
arendst ac84010015 v4.0.2
4.0.2 20170308
* Restore correct seriallog level after Serial logging was disabled
* Add simple dimmer slider to Sonoff Led web page
* Reduced root webpage size by 31%
* Expand Status 2 with Build date/time and core version
* Fix webserver redirection when not in WifiManager mode (#156)
* Add command ButtonRestrict On/Off to restrict access to button hold
and button multi press options above 2 (#161)
* Fix DS18S20 negative temperature readings (#165)
* Fix crlf compilation error due to bad syntax (#144, #167)
2017-03-08 16:20:45 +01:00
arendst 47d711b1b2 v4.0.1
4.0.1 20170305
* Fix char default sizes and set MESSZ to 360 (#143)
* Fix SerialLog setting status
* Disable syslog when emulation is active
* Add DS18B20 web page display refresh
2017-03-05 15:07:30 +01:00
arendst acb5252b54 v4.0.0
4.0.0 20170303
* Add define to remove config migration code for versions below 3.0 (See
Wiki-Upgrade-Migration path)
* Free memory by switching from String to char[]
* Raised Sonoff Led PWM frequency from 200Hz to 432Hz in search of
stability (hardware watchdog timeouts) (#122)
* Increase message size and suggested minimum MQTT_MAX_PACKET_SIZE to
512 (#114, #124)
* Remove runtime warning message regarding MQTT_MAX_PACKET_SIZE too
small as it is now moved to compile time (#124)
* Fix possible panics with web console and http commands while UDP
syslog is active (#127)
* Add optional static IP address (#129)
* Add define ENERGY_RESOLUTION in user_config.h to allow user control
over precision (#136)
2017-03-03 12:35:23 +01:00
arendst fc3b7e22ab v3.9.22
3.9.22 20170228
* Update web console
* Fix Status 4 JSON message
* Add Exception info during restart if available
* Add osWatch service to detect loop hangs that might happen during
(OTA) upgrades
* Add WiOn support for relay and switch only (#82, #102)
* Allow for user specified relay count up to four in sonoff_template.h
(#109)
* Add support for HTU21 compatible I2C sensors SI7013, SI7020 and SI7021
(#118)
* Add NodeMCU or Wemos configuration option (#119)
2017-02-28 16:01:48 +01:00
arendst 3fefb9b931 v3.9.21
3.9.21 20170224
* Add ajax to web root page and web console (#79)
* Add commands SwitchMode1..4 and enable user switches 2, 3 and 4 (#84,
#88)
* Fix MQTT upgrade when webserver is active
2017-02-24 18:17:48 +01:00
arendst 3f73e48bfa v3.9.20
3.9.20 20170221
* Add minimal basic authentication to Web Admin mode (#87)
* Fix Hue and add HSB support (#89)
2017-02-21 18:14:33 +01:00
arendst 18aaf05622 v3.9.19
3.9.19 20170219
* Sonoff Led: Made GPIO04, 05 and 15 available for user
* Sonoff Led: Add commands Fade, Speed, WakupDuration, Wakeup and
LedTable
2017-02-19 17:49:17 +01:00
arendst 3997f48809 v3.9.18
3.9.18 20170218
* Fix ledstate 0 to turn off led
* Fix Sonoff Led dimmer range (#16)
* Change Sonoff Led command Dimmer to act on both cold and warm color
* Add Sonoff Led command Color CCWW where CCWW are hexadecimal values
fro 00 - FF
* Reduce Sonoff Led flickering by disabling interrupts during flash save
and disabling
*   Led during OTA upgrade and Web upload (#16)
2017-02-18 18:08:55 +01:00
arendst edca508f57 v3.9.17
3.9.17 20170217
* Fix possible ArduinoJSON related memory fragmentation
* Changed console logging using less memory
* Add GPIO04 as user selectable for Sonoff Dual (#75)
2017-02-17 17:18:41 +01:00
arendst 381bb4b50c v3.9.16
3.9.16 20170214
* Update latching relay handler
* Add support for IR led using IRremoteESP8266 library (#59)
* Add Hue argument passing using ArduinoJSON library (#59)
2017-02-14 14:27:08 +01:00
arendst 533855c210 v3.9.15
3.9.15 20170213
* Change JSON float values from string to number according to
http://json.org (#56)
* Add support for exs latched relay module
https://ex-store.de/ESP8266-WiFi-Relay-V31 (#58)
* Add support for inverted relays
* Changed MAX_LOG_LINES from 70 to 60 to preserve memory
2017-02-13 17:25:46 +01:00
arendst bb5251c2c8 v3.9.14
3.9.14 20170211
* Add False and True as alternatives for 0/Off and 1/On (#49)
* Fix Status10 JSON format (#52)
* Fix DS18x20 using OneWire library (#53)
2017-02-11 15:06:23 +01:00
arendst cbd1904b42 v3.9.13
3.9.13 20170210
* Add FlashChipSize to Status 4
* Removed redundant DHT2 option and code
* Add Sonoff SV GPIO pin 05 configuration (#40)
* Add configuration file backup and restore via web page
* Fix latency due to light_sleep mode even if sleep was set to zero
(#50)
2017-02-10 17:03:34 +01:00
arendst 971ffef4a9 v3.9.12
3.9.12 20170208
* Fix compile error when webserver is disabled (#30)
* Fix possible ESP8285 flash problem by updating Flash Chip Mode to DOUT
during OTA upload
* Fix hostname issues by not allowing user entry of string formatting
and removing from user_config.h (#36)
2017-02-08 12:56:51 +01:00
arendst 5dc7b633bb v3.9.11
3.9.11 20170204
* Fix command I2Cscan
* Fix not allowed spaces in Topic, ButtonTopic and SwitchTopic
* Make all TELEMETRY, STATUS and COMMAND message topics unique (#4)
* Advertise command topic to be used by iobroker (#299)
* Fix butten (non)detection if no GPIO_KEY1 is defined (#13)
* Change WeMo serialnumber from 7 decimal chars to 8 hexadecimal chars
(#18)
* Update web page with Build Date/Time, Emulation and mDNS Discovery and
Advertise information (#21)
2017-02-04 17:23:29 +01:00
arendst b2b3170d8e Merge remote-tracking branch 'origin/master'
sync
2017-02-04 17:19:58 +01:00
arendst 213e8d8095 v3.9.11
3.9.11 20170204
* Fix command I2Cscan
* Fix not allowed spaces in Topic, ButtonTopic and SwitchTopic
* Make all TELEMETRY, STATUS and COMMAND message topics unique (#4)
* Advertise command topic to be used by iobroker (#299)
* Fix butten (non)detection if no GPIO_KEY1 is defined (#13)
* Change WeMo serialnumber from 7 decimal chars to 8 hexadecimal chars
(#18)
* Update web page with Build Date/Time, Emulation and mDNS Discovery and
Advertise information (#21)
2017-02-04 17:09:54 +01:00
arendst f9e8cbdfc9 v3.9.10
3.9.10 20170130
* Add WS2812 Color Type selection (RGB or GRB) to user_config.h (#7)
* Hue api changes to support HUE App(s) (#8)
2017-01-30 17:22:17 +01:00
arendst aaf75f6acb v3.9.9
3.9.9 20170130
* Add command status 10 showing sensor data
* Fix hlw status messages if hlw is disabled
* Remove GPIO07 and GPIO08 from user selectable (#5)
2017-01-30 10:58:35 +01:00
arendst 571666870b v3.9.8
3.9.8 20170130
* Remove GPIO07 and GPIO08 from user selectable (#5)
2017-01-30 09:25:59 +01:00
arendst 7d7d14ae38 v3.9.7
3.9.7 20170129
* Fix possible WS2812 exceptions when using emulation
* Add command Emulation to dynamic configure Belkin WeMo and Hue Bridge
for Alexa
2017-01-29 21:36:12 +01:00
arendst b68c5d49b2 v3.9.6
3.9.6 20170129
* Add dynamic sleep for WS2812 animation (#1)
2017-01-29 14:52:31 +01:00
arendst eaf9e3d6cf v3.9.5
3.9.5 2017018
* Fix error message in case of wrong Domoticz command
2017-01-28 16:31:11 +01:00
arendst d392cf2f77 v3.9.4 2017-01-28 14:41:01 +01:00