From e498b28864129daa45571222595210e04f30c1a5 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Sat, 7 Nov 2020 11:35:33 +0100 Subject: [PATCH] Add support for EZO PMP sensors Add support for EZO PMP sensors by Christopher Tremblay (#9760) --- BUILDS.md | 1 + CHANGELOG.md | 1 + RELEASENOTES.md | 1 + tasmota/support_features.ino | 10 ++++++---- tools/decode-status.py | 4 ++-- 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/BUILDS.md b/BUILDS.md index 2f55cc8a8..55be2ae7a 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -141,6 +141,7 @@ | USE_EZOO2 | - | - | - | - | - | - | - | | USE_EZOORP | - | - | - | - | - | - | - | | USE_EZOPH | - | - | - | - | - | - | - | +| USE_EZOPMP | - | - | - | - | - | - | - | | USE_EZOPRS | - | - | - | - | - | - | - | | USE_EZORGB | - | - | - | - | - | - | - | | USE_EZORTD | - | - | - | - | - | - | - | diff --git a/CHANGELOG.md b/CHANGELOG.md index b3e148445..0f2785810 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,7 @@ All notable changes to this project will be documented in this file. ## [9.1.0.1] ### Added - Zigbee support for Mi Door and Contact (#9759) +- Support for EZO PMP sensors by Christopher Tremblay (#9760) ### Changed - Core library from v2.7.4.5 to v2.7.4.7 diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 9ab1c99f0..962432de8 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -60,6 +60,7 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota ## Changelog v9.1.0.1 ### Added - Zigbee support for Mi Door and Contact (#9759) +- Support for additional EZO sensors by Christopher Tremblay ### Changed - Core library from v2.7.4.5 to v2.7.4.7 diff --git a/tasmota/support_features.ino b/tasmota/support_features.ino index f636752e7..61ccc74a6 100644 --- a/tasmota/support_features.ino +++ b/tasmota/support_features.ino @@ -647,15 +647,17 @@ void ResponseAppendFeatures(void) feature7 |= 0x00000040; // xsns_78_ezoprs.ino #endif #if defined(USE_I2C) && defined(USE_EZOFLO) - feature7 |= 0x00000080; + feature7 |= 0x00000080; // xsns_78_ezoflo.ino #endif #if defined(USE_I2C) && defined(USE_EZODO) - feature7 |= 0x00000100; + feature7 |= 0x00000100; // xsns_78_ezodo.ino #endif #if defined(USE_I2C) && defined(USE_EZORGB) - feature7 |= 0x00000200; + feature7 |= 0x00000200; // xsns_78_ezorgb.ino +#endif +#if defined(USE_I2C) && defined(USE_EZOPMP) + feature7 |= 0x00000400; // xsns_78_ezopmp.ino #endif -// feature7 |= 0x00000400; // feature7 |= 0x00000800; // feature7 |= 0x00001000; diff --git a/tools/decode-status.py b/tools/decode-status.py index 4f94e32d4..b657da571 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -236,7 +236,7 @@ a_features = [[ ],[ "USE_EZOORP","USE_EZORTD","USE_EZOHUM","USE_EZOEC", "USE_EZOCO2","USE_EZOO2","USE_EZOPRS","USE_EZOFLO", - "USE_EZODO","USE_EZORGB","","", + "USE_EZODO","USE_EZORGB","USE_EZOPMP","", "","","","", "","","","", "","","","", @@ -269,7 +269,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v20201102 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v20201107 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))