From 2dc1bd71ee5fe8fab997c965a2d5e6dead501259 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Fri, 27 Oct 2023 10:29:46 +0200 Subject: [PATCH] changelog, dev.4g --- CHANGELOG_LATEST.md | 8 +++++++- src/devices/boiler.cpp | 22 +++++++++++++++++++--- src/version.h | 2 +- 3 files changed, 27 insertions(+), 5 deletions(-) diff --git a/CHANGELOG_LATEST.md b/CHANGELOG_LATEST.md index 83de5608e..3ffef4fdf 100644 --- a/CHANGELOG_LATEST.md +++ b/CHANGELOG_LATEST.md @@ -10,9 +10,12 @@ - telegrams for RC100H, hc2, etc. (seen on discord, not tested) - names for BC400, GB192i.2, read temperatures for low loss header and heatblock [#1317](https://github.com/emsesp/EMS-ESP32/discussions/1317) - option for `forceheatingoff` [#1262](https://github.com/emsesp/EMS-ESP32/issues/1262) -- remote thermostat emulation for RC3xx +- remote thermostat emulation RC100H for RC3xx [#1278](https://github.com/emsesp/EMS-ESP32/discussions/1278) - publish time for shower - autodetect board_profile, store in nvs, add telnet command option, add E32V2 +- heatpump high res energy counters [#1348, #1349. #1350](https://github.com/emsesp/EMS-ESP32/issues/1348) +- optional bssid in network settings +- extension module EM100 [#1315](https://github.com/emsesp/EMS-ESP32/discussions/1315) ## Fixed @@ -24,3 +27,6 @@ - update to platform 6.4.0, arduino 2.0.14 / idf 4.4.6 - small changes for arduino 3.0.0 / idf 5.1 compatibility (not backward compatible to platform 6.3.2 and before) +- AP start after 10 sec, stay until station/eth connected +- tested wifi-all-channel-scan (3.6.3-dev4 a-e), removed again because of connect issues +- mqtt disconnect stops queue diff --git a/src/devices/boiler.cpp b/src/devices/boiler.cpp index a76289f70..7eabdf572 100644 --- a/src/devices/boiler.cpp +++ b/src/devices/boiler.cpp @@ -285,9 +285,6 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &nrgTotal_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(nrgTotal), DeviceValueUOM::KWH); register_device_value(DeviceValueTAG::TAG_BOILER_DATA_WW, &nrgWw_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(nrgWw), DeviceValueUOM::KWH); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &nrgHeat_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(nrgHeat), DeviceValueUOM::KWH); - register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &meterTotal_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(meterTotal), DeviceValueUOM::KWH); - register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &meterComp_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(meterComp), DeviceValueUOM::KWH); - register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &meterEHeat_, DeviceValueType::ULONG, DeviceValueNumOp::DV_NUMOP_DIV100, FL_(meterEHeat), DeviceValueUOM::KWH); /* * Hybrid heatpump with telegram 0xBB is readable and writeable in boiler and thermostat @@ -362,6 +359,24 @@ Boiler::Boiler(uint8_t device_type, int8_t device_id, uint8_t product_id, const // heatpump info if (model() == EMS_DEVICE_FLAG_HEATPUMP) { + register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, + &meterTotal_, + DeviceValueType::ULONG, + DeviceValueNumOp::DV_NUMOP_DIV100, + FL_(meterTotal), + DeviceValueUOM::KWH); + register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, + &meterComp_, + DeviceValueType::ULONG, + DeviceValueNumOp::DV_NUMOP_DIV100, + FL_(meterComp), + DeviceValueUOM::KWH); + register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, + &meterEHeat_, + DeviceValueType::ULONG, + DeviceValueNumOp::DV_NUMOP_DIV100, + FL_(meterEHeat), + DeviceValueUOM::KWH); register_device_value(DeviceValueTAG::TAG_DEVICE_DATA, &upTimeControl_, DeviceValueType::TIME, @@ -1019,6 +1034,7 @@ void Boiler::check_active() { nrgWwF_ += ((double)((uint32_t)wwBurnPow * nomPower_ * (uuid::get_uptime() - powLastReadTime_)) / 3600) / 1000UL; has_update(nrgHeat_, (uint32_t)(nrgHeatF_ + 0.5)); has_update(nrgWw_, (uint32_t)(nrgWwF_ + 0.5)); + has_update(nrgTotal_, (uint32_t)(nrgHeatF_ + nrgWwF_ + 0.5)); // check for store values time_t now = time(nullptr); tm * tm_ = localtime(&now); diff --git a/src/version.h b/src/version.h index 74e8e77ac..1e6467851 100644 --- a/src/version.h +++ b/src/version.h @@ -1 +1 @@ -#define EMSESP_APP_VERSION "3.6.3-dev.4f" +#define EMSESP_APP_VERSION "3.6.3-dev.4g"