Commit Graph

280 Commits

Author SHA1 Message Date
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 d08cefb0df Rewrite BME680 driver
Rewrite BME680 driver now using latest Bosch BME680 library (#2969)
2018-07-04 18:41:00 +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 20a53950ff Fix possible wifi connection problem
Fix possible wifi connection problem (#1366)
2018-06-28 12:25:50 +02:00
Theo Arends 862623b295 Add rule variables and add minutes
6.0.0a
* Add time in minutes to rule Time#Initialized, Time#set and Time#Minute
(#2669)
* Add rule variables %time% for minutes since midnight, %uptime%,
%sunrise% and %sunset% giving time in minutes (#2669)
2018-06-26 16:22:53 +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 45e2812939 Add debug facilities
Add optional debug facilities and CPU load loop info (#2979)
2018-06-24 17:50:42 +02:00
ascillato b0e979673a Revert "Merge branch 'development' into development"
This reverts commit 3ca69e499b, reversing
changes made to 7d8495b263.
2018-06-05 18:54:35 -03:00
ascillato 1c20dbe3a2 Revert "Revert Changes"
This reverts commit 1c337ae28e.
2018-06-05 18:54:30 -03:00
ascillato 1c337ae28e Revert Changes 2018-06-05 17:04:34 -03:00
Adrian Scillato 16d8b8df4e
Sync to Tasmota
Sync to Tasmota
2018-06-03 13:09:55 -03:00
Theo Arends 976f167ae3 Minor fixes
Minor fixes
2018-06-03 17:09:10 +02:00
Adrian Scillato 8d59f463c8
Add CPU_LOAD Log 2018-06-01 19:47:43 -03:00
Theo Arends f3c4001b4a Fix HWRestart on rule event
5.14.0b
* Fix Hardware Watchdog restart when using event command (#2853)
2018-05-29 17:24:42 +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
Johann Weging 91b07f2943 Add SDS0X1 gpio pins to support.ino 2018-05-27 14:19:53 +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 be895fdcc0 Move GetUsedInModule to support.ino
Move GetUsedInModule to support.ino (#2810)
2018-05-24 11:24:03 +02:00
Theo Arends 1c6af967be Add program to decode some status messages
5.14.0a
* Add feature information to Status 4
* Add tools folder with python script decode-status.py for decoding some
status fields like SetOption and Features
* Add python script fw-server.py in tools folder to create a simple OTA
server (#2759)
* Fix vars on rules (#2769)
* Fix bug in KNX menu (#2770)
2018-05-19 17:31:55 +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 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
Adrian Scillato 0cfc921461
Fix DST and STD times for Southern Hemisphere
Fix issue #2684 DST and STD times for Southern Hemisphere
2018-05-13 00:12:02 -03:00
Theo Arends d18707f977 Fix KNX reconnection issue
5.13.1a
* Fix KNX reconnection issue (#2679)
2018-05-11 15:00:41 +02:00
Theo Arends c51bcd77d1 Add Hardware Serial Fallback to TasmotaSerial
5.13.1a
* Update TasmotaSerial to 2.0.0 allowing Hardware Serial Fallback when
correct connection are configured
2018-05-10 17:21:26 +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 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 e6e126391d Fix compile error when ADC enabled and No rules
5.13.1a
 * Fix compile error when ADC is enabled and Rules are disabled
(#2608)
2018-05-03 15:21:45 +02:00
Theo Arends 2c94ecfb6d Fix uptime 17651+ days
5.12.0o
 * Fix NTP sync to Thu Jan 01 08:00:10 1970 results in uptime
17651+ days (core2.4.1/sdk2.2.1)
2018-04-30 14:18:46 +02:00
Theo Arends 36da4794d2 Fix some language files
Fix language files and allow Analog#A0div10 from 0 to 100
2018-04-29 13:45:36 +02:00
Theo Arends 44598e5fc4 Add ANALOG#A0div10 trigger to rules
5.12.0n
* Add ANALOG#A0div10 trigger to rules to be used in rule like on
analog#a0div10 do publish cmnd/ailight/dimmer %value% endon
2018-04-28 18:18:37 +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 e1011d3cdd Disable sleep on core 2.4.1
5.12.0m
* Disable sleep when using Esp/Arduino core 2.4.1 (#2559)
2018-04-28 11:17:16 +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 c8277472b9 Better Fix config filename truncation
Better Fix config filename truncation (#2484)
2018-04-20 17:43:20 +02:00
Theo Arends 8f985abc1f Fix config filename truncation
5.12.0m
* Fix configuration filename truncation when it contains spaces (#2484,
#2490)
2018-04-19 21:41:59 +02:00
Theo Arends c1bdc07cdf Revert "Fix config filename truncation"
This reverts commit 729d0340f1.
2018-04-19 21:33:20 +02:00
Theo Arends 729d0340f1 Fix config filename truncation
5.12.0m
* Fix configuration filename truncation when it contains spaces (#2484,
#2490)
2018-04-19 21:31:31 +02:00
Theo Arends 107379276b Fix sunrise and sunset calculation (#2461)
5.12.0l
 * Fix sunrise and sunset calculation (#2461)
2018-04-17 17:05:24 +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 2049730877 Fix DS18x20 temperature updates (#
5.12.0k
 * Change Timer parameter name from Power to Action
 * Fix
update temperature on DS18x20 drivers (#2328)
2018-04-12 14:01:43 +02:00
Theo Arends ee7227254f Minor changes to prep for rules
Change German day display to two character (#2403)
2018-04-11 10:11:20 +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 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 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 ad40a85161 v5.12.0e - Add wifi Retry time offset
5.12.0e
 * Add additional time offset to Wifi Retry based on device mac
address (#2089)
2018-03-11 15:23:17 +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 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 0908c336ee v5.11.1j - Provide user driver/sensor hooks 91-99
Provide user driver/sensor hooks 91-99 (#1828)
2018-02-08 15:20:03 +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 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 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 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 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 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 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 2376a14ec1 Fix I2cWrite
Fix I2CWrite8 and 16 (#1267)
2017-11-28 21:57:35 +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 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 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 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 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 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 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 74acc90d23 Fix yield panics 2017-09-26 17:50:39 +02:00
arendst 31b01b5178 Revert "Fix yield panics"
This reverts commit c40f1f9c5c.
2017-09-26 17:49:52 +02:00
arendst c40f1f9c5c Fix yield panics 2017-09-26 17:47:11 +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 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 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 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 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 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 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 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 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 70ccdfe9b9 v5.1.3
5.1.3 20170520
* Add Domoticz Counter
2017-05-20 14:03:34 +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 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 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 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 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 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 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 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 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 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 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 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 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 d392cf2f77 v3.9.4 2017-01-28 14:41:01 +01:00