From dccf6fb7cd324128d1f79b23ce5289b1b627f40f Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 30 Oct 2019 22:22:18 +0100 Subject: [PATCH] Add command SetOption74 0/1 Add command SetOption74 0/1 to enable DS18x20 internal pull-up and remove define DS18B20_INTERNAL_PULLUP (#6795) --- tasmota/_changelog.ino | 1 + tasmota/my_user_config.h | 1 - tools/decode-status.py | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/_changelog.ino b/tasmota/_changelog.ino index a18d6d4bf..76b314a72 100644 --- a/tasmota/_changelog.ino +++ b/tasmota/_changelog.ino @@ -4,6 +4,7 @@ * Change default GUI to dark theme * Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767) * Add frequency to ADE7953 energy monitor as used in Shelly 2.5 by ljakob (#6778) + * Add command SetOption74 0/1 to enable DS18x20 internal pull-up and remove define DS18B20_INTERNAL_PULLUP (#6795) * * 6.7.1.1 20191026 * Change ArduinoSlave to TasmotaSlave (Experimental) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index e159bdbe9..33f00ca4f 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -353,7 +353,6 @@ // -- One wire sensors ---------------------------- #define USE_DS18x20 // Add support for DS18x20 sensors with id sort, single scan and read retry (+2k6 code) // #define W1_PARASITE_POWER // Optimize for parasite powered sensors -// #define DS18B20_INTERNAL_PULLUP // Use INPUT_PULLUP internal pullup resistor // -- I2C sensors --------------------------------- #define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram) diff --git a/tools/decode-status.py b/tools/decode-status.py index f360de701..b50d920db 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -126,7 +126,7 @@ a_setoption = [[ "Enable Weekend Energy Tariff", "Select different Modbus registers for Active Energy", "Enable HTTP CORS", - "", + "Enable internal pullup for single DS18x20 sensor", "","","","", "","", "Enable shutter support",