Commit Graph

109 Commits

Author SHA1 Message Date
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 c4b3d42693 v5.12.0i - Add Timers webpage
5.12.0i
 * Add commands Timer 0 to clear timer and Timer 1..16 to copy
timer
 * Add optional Timer configuration webpage to be enabled in
user_config.h with define USE_TIMERS_WEB
 * Change webpage parameter
communication
2018-03-28 18:01:38 +02:00
Theo Arends f30135791d v5.12.0e - Add HTML local language header
5.12.0e
 * Add HTML language header in local language (#2123)
2018-03-10 14:51:40 +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
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 5c60979682 v5.12.0b
5.12.0b
 * Add Webserver upload preflight request support (#1927)
 * Add
Home Assistant clear other device (#1931)
2018-02-16 17:35:51 +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 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 ecb18db4b2 Language pre-processor test fails - reverted 2018-01-20 18:01:39 +01:00
arendst 080296754c Fix possible compiler error #1654 2018-01-20 15:57:11 +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 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 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 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 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 b07d6220e9 Fix BME680 Pressure and minor HTNL optimizations
* Fix BME680 pressure data (#1356)
 * Minor webpage HTML optimizations
(#1358)
2017-12-14 10:48:57 +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 a4d44cdde5 Add friendlyname to tab and show it's name
Add friendlyname to tab, show it's name and whodonit (#1275)
2017-11-29 17:34:32 +01:00
arendst 02ed2c09ba Revert "Add friendlyname to tab and show it's name"
This reverts commit 2fa96e9b50.
2017-11-29 17:31:18 +01:00
arendst 2fa96e9b50 Add friendlyname to tab and show it's name
Add friendlyname to tab, show it's name and who donit (#1275)
2017-11-29 17:28:51 +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 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 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 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