Commit Graph

3441 Commits

Author SHA1 Message Date
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
reloxx13 ecbe623e1d Merge branch 'arendst/development' into development 2017-12-17 03:46:03 +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
Nils Sdun 25e3918ce3 ignore lib/readme 2017-12-15 13:31:38 +01:00
Nils Sdun 2b0deb5096 Merge branch 'feature/Fix_WeMo_Emulation' into development 2017-12-15 13:15:35 +01:00
Nils Sdun f2362af36f save some bytes, merge set and get to one pattern 2017-12-15 13:13:53 +01:00
reloxx13 5dbb7737cb Merge branch 'arendst/development' into development 2017-12-14 19:15:33 +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
reloxx13 12bbfd962b Add WeMo GetBinaryState 2017-12-13 23:39:54 +01:00
reloxx13 223a0cece1 Merge branch 'arendst/development' into development 2017-12-08 16:24:18 +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 a5afc3d227 Provide SoftwareSerial without iram usage 2017-12-05 17:42:54 +01:00
reloxx13 dc6ea820b3 Merge branch 'arendst/development' into development 2017-12-04 18:39:50 +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
reloxx13 2afb29fb99 Merge branch 'feature/german-translation-fixes' into development 2017-11-29 17:58:34 +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
reloxx13 95e6002b51 fix translate fix 2017-11-29 00:08:26 +01:00
reloxx13 d34c51cda3 fix missing space 2017-11-28 23:04:00 +01:00
reloxx13 e76b2abd9f some corrections for the german translation 2017-11-28 22:49:28 +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 d93aa17c94 Disable CRC lookup table 2017-11-24 16:30:56 +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 503a0d9f00 Patch library I2Cdevlib-Core for 2.4.0-rc2 2017-11-22 10:57:39 +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