Commit Graph

243 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 d392cf2f77 v3.9.4 2017-01-28 14:41:01 +01:00