Working fine with MAX3165 and a PT100 probe.
Using a modified version of Adafruit MAX31865 library. Added a default
constructor in order to allow lazy initialization once GPIO definitions
were loaded.
Tested on a Sonoff TH PCB Board 2.1 2018-06-15 using the following GPIO
mapping:
GPIO Orig Func SSPI I/O HEADER HEADER2 S-JACK
15 BOOT MODE CLK O 1
14 MISO I 2 TIP
4 MOSI O 3 RING1
VCC 1 VCC 4 RING3
2 DBG BOOT ~CS O 5 EXP-LOG
GND 4 GND RING2
HEADER2 is a 4-pin .1 header glued in the middle of the PCB to connect
to several GPIO locations on the Sonoff TH PCB.
TODO: Merge with MAX31855 code.
* Add command DisplayWidth to set pixel width on supported devices
* Add command DisplayHeight to set pixel height on supported devices
* Add Oled reset GPIO option "OLED reset"
Support use an expression as paramter in some rule commands, include Var<x>, Mem<x> and Ruletimer<x>.
Expression is constructed by constants (float number), variables (var<x>, mem<x>, Time, Uptime, Sunrise, Sunset), operators and round brackets.
Currently support 6 operators, order by priority from high to low:
^ (power)
% (modulo)
*, /
+, -
Commands examples:
Var1 3.14 * (MEM1 * (10 + VAR2 ^2) - 100) % 10 + uptime / (2 + MEM2)
Ruletimer4 Time - Sunrise + MEM2/2
Fix NewPing-1.9.1 library.properties to avoid compiler warning about possibly not supporting ESP8266 whereas we know now that it does. This causes the compiler warning (which may alarm some users unnecessarily) that NewPing claims to run on avr and stm32.
The new toolchain (2.5.0-2) used from core 2.5.0 does not want bitwise operations to be performed on non-integer variables so we cast the double used in send_2byte_float() to a (long) as it should be.
* Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
* Bump TasmotaSerial version from 2.1.0 to 2.2.0
When using KNX in cores > 2.3.0, the ESPAsyncUDP Library was used instead of the WIFIUDP Library. As now ESPAsyncUDP is no longer mantained and also it does not work in last version of the Arduino STAGE Core, now for all cores KNX will use the WIFIUDP Library.
6.2.1.17 20181017
* Enable updated non-blocking PubSubClient as default MQTT client
* Update TasmotaModbus and TasmotaSerial libraries for support of serial 8N2 communication
* Add support for Pzem-003/017 DC Energy monitoring module (#3694)
* Change support for Pzem-014/016 AC Energy monitoring module (#3694)
6.2.1.16 20181015
* Add TasmotaModbus library for very basic modbus wrapper for TasmotaSerial
* Change xsns_17_senseair.ino to use TasmotaModbus library
* Fix xnrg_05_pzem2.ino for PZEM-014/016 support using TasmotaModbus library (#3694)
6.0.0a
* Add support for uploading Sonoff Bridge firmware found in
tools/fw_efm8bb1 folder build by Portisch using Web Gui File Upload
(#2886)
* Add command RfRaw to control Portisch firmware features
Updated esp-knx-ip library with a merged version that allows to select multicast library to use:
* WIFI UDP (for esp lib 2.3.0 and up)
* AsyncUDP (for esp lib 2.4.0 and up)
The selection can be done with a definition key in the file esp-knx-ip.h
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)
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
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)
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)
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)
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)
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)
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)
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)