Commit Graph

329 Commits

Author SHA1 Message Date
arendst bb6418116f Fix compile error due to missing define #1692 2018-01-25 10:56:20 +01:00
arendst a3ea339102 Enable MHZ19(B) Zeropoint calibration task 2018-01-24 17:38:52 +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 f4f4039599 v5.11.1a
Align with master
2018-01-08 11:44:18 +01:00
arendst 13c45d2b9a v5.11.0a
Align with master
2018-01-07 15:15:01 +01:00
arendst 4fb2da71c7 v5.11.0a
Align with master
2018-01-07 15:08:11 +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 85d75ffc95 Add WS2812 scheme define (#1463)
* Add define for additional number of WS2812 schemes (#1463)
2017-12-29 14:55:39 +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 1e336f5e20 Add support for sensor SHT3x (#1314)
* Add support for sensor SHT3x (#1314)
2017-12-28 17:08:32 +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 421c498e5d Add and init retry counter to MH-Z19(B) 2017-12-19 12:45:13 +01:00
arendst e0f14b2e87 Add retry counter 2017-12-19 12:42:01 +01:00
arendst 41e315bdf4 Add final support for MH-Z19(B)
* Add support for sensor MH-Z19(B) to be enabled with define USE_MHZ19
in user_config.h (#561, #1248)
2017-12-19 12:14:41 +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
Theo Arends bd661fc263 Lost change 2017-12-16 20:16:10 +01:00
Theo Arends ca643ab223 Lost changes 2017-12-16 20:11:12 +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 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 97513fa2ff Update and Add SHT3X_V3 driver (#1314)
* Add alternative support for SHT3x enabled with define USE_SHT3X_V2 in
user_config.h (#1314)
 * Add alternative support for SHT3x enabled with
define USE_SHT3X_V3 in user_config.h (#1314)
2017-12-08 14:43:46 +01:00
arendst 7013f4a178 Removed obsolete file 2017-12-08 14:16:17 +01:00
arendst 0747e0fc68 Updated MH-Z19 drivers
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Add support
for sensor MH-Z19(B) using serial interface to be enabled with define
USE_MHZ19_HARD_SERIAL in user_config.h (#561, #1248)
 * Add
(experimental) support for sensor MH-Z19(B) using SoftwareSerial to be
enabled with define USE_MHZ19_SOFT_SERIAL_OBSOLETE in user_config.h
(#561, #1248)
 * Add (experimental) support for sensor MH-Z19(B) using
stripped SoftwareSerial to be enabled with define USE_MHZ19_SOFT_SERIAL
in user_config.h (#561, #1248)
 * Add support for iTead SI7021
temperature and humidity sensor by consolidating DHT22 into AM2301 and
using former DHT22 as SI7021 (#735)
 * Fix BME280 calculation (#1051)
 *
Add support for BME680 using adafruit libraries (#1212)
 * Change
ADS1115 default voltage range from +/-2V to +/-6V (#1289)
 * Add
multipress support and more user configurable options to Sonoff Dual R2
(#1291)
 * Fix Sonoff Bridge missed learned key if learned data contains
0x55 (End of Transmission) flag (#1095, #1294)
 * Add support for
TSL2561 using adafruit library (#661, #1311)
 * Add alternative support
for SHT3x (#1314)
2017-12-08 14:14:10 +01:00
arendst 4cf64af51e Add iram option to MHZ19(B) driver (#1248)
Add iram option to MHZ19(B) driver (#1248)
2017-12-06 17:45:47 +01:00
arendst 3890170ea4 Add BME680 support 2017-12-06 17:16:16 +01:00
arendst c04fcd0dcf Add support for BME680
5.10.0a
 * Add (experimental) support for sensor SHT3x
 * Add support
for sensor MH-Z19(B) using serial interface to be enabled with define
USE_MHZ19 in user_config.h (#561, #1248)
 * Add (experimental) support
for sensor MH-Z19(B) using SoftwareSerial to be enabled with define
USE_MHZ19 in user_config.h (#561, #1248)
 * Add support for iTead SI7021
temperature and humidity sensor by consolidating DHT22 into AM2301 and
using former DHT22 as SI7021 (#735)
 * Fix BME280 calculation (#1051)
 *
Add support for BME680 using adafruit libraries (#1212)
 * Change
ADS1115 default voltage range from +/-2V to +/-6V (#1289)
 * Add
multipress support and more user configurable options to Sonoff Dual R2
(#1291)
 * Fix Sonoff Bridge missed learned key if learned data contains
0x55 (End of Transmission) flag (#1095, #1294)
 * Add support for
TSL2561 using adafruit library (#661, #1311)
 * Add alternative support
for SHT3x (#1314)
2017-12-06 17:14:41 +01:00
arendst 7c79131bfe Add support for TSL2561 (#661, #1311)
Add support for TSL2561 (#661, #1311)
2017-12-06 14:04:58 +01:00
arendst cad8164882 Add sht3x_v2 for testing
Possibly fix loss of sht3x sensor (#1314)
2017-12-06 13:59:33 +01:00
arendst 53c5728349 Add experimental SoftwareSerial MH-Z19(B) support
Add experimental support for sensor MH-Z19(B) using SoftwareSerial to be
enabled with define USE_MHZ19 in user_config.h (#561, #1248)
2017-12-05 17:46:26 +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 25a0e5bf7f Fix Sonoff Bridge learned key recognition
* Fix Sonoff Bridge missed learned key if learned data contains 0x55
(End of Transmission) flag (#1095, #1294)
2017-12-03 15:00:31 +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 f9070769b0 Corrections to German Language file 2017-11-29 17:44:44 +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 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 4d3b696c80 Add missed updated files 2017-11-24 17:31:50 +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 53b100fdeb Fix DHT sensor timeout recognition
Fix DHT sensor timeout recognition by distinguish "signal already there"
from "timeout" (#1233)
2017-11-22 11:02:23 +01:00
arendst 9ab00b533c Fix EnergyReset type unsigned long 2017-11-22 11:00:48 +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 e6f95fcace The latest core file updates 2017-11-17 17:55:38 +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 e27192e48d Default disable INA219 2017-11-11 12:37:09 +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 d5cf0fc57f Expand bridge functionality 2017-10-30 11:42:34 +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 133ba11a6c Add retry to DHT11/21/22 sensors
Might fix issue (#961)
2017-10-27 12:13:36 +02:00
arendst 844ec2f868 Minor additions 2017-10-27 12:12:07 +02: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 e7c0bb01b9 Fix Color3 and Color4
Fix Color3 and Color4 and add more strict syntax check (#1019)
2017-10-24 14:57:10 +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 766e05b997 v5.8.0k - Missed one
Add retain to ENERGY messages controlled by command SensorRetain (#1013)
2017-10-12 14:38:28 +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 b7a5b8c358 Fix sending IRcode to Domoticz 2017-10-08 17:20:05 +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 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 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 a0dcdb59b2 v5.7.1h - Additional files
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:38:35 +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 bef489b006 v5.7.1b - Add timeout to some sensors
5.7.1b
 * Add timeout to DHT and DS18B20 sensors (#852)
2017-09-10 17:27:56 +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
altelch 924b4c8b7f Fix for Alexa detection of HUE Emulation and fix for Update Request in Hue App 2017-09-09 15:36:30 +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