mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 16:29:51 +03:00
added boiler temp for Bosch - https://github.com/proddy/EMS-ESP/issues/206
This commit is contained in:
16
src/ems.cpp
16
src/ems.cpp
@@ -1282,8 +1282,16 @@ void _process_UBAMonitorFast(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
EMS_Boiler.curBurnPow = _toByte(4);
|
||||
EMS_Boiler.selBurnPow = _toByte(3); // burn power max setting
|
||||
|
||||
// set boiler temp only if we actually have a real value
|
||||
if (_toShort(11) != EMS_VALUE_USHORT_NOTSET) {
|
||||
EMS_Boiler.boilTemp = _toShort(11); // 0x8000 if not available
|
||||
}
|
||||
|
||||
EMS_Boiler.flameCurr = _toShort(15);
|
||||
|
||||
// system pressure. FF means missing
|
||||
EMS_Boiler.sysPress = _toByte(17); // this is *10
|
||||
|
||||
// read the service code / installation status as appears on the display
|
||||
EMS_Boiler.serviceCodeChar[0] = char(_toByte(18)); // ascii character 1
|
||||
EMS_Boiler.serviceCodeChar[1] = char(_toByte(19)); // ascii character 2
|
||||
@@ -1292,9 +1300,6 @@ void _process_UBAMonitorFast(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
// read error code
|
||||
EMS_Boiler.serviceCode = _toShort(20);
|
||||
|
||||
// system pressure. FF means missing
|
||||
EMS_Boiler.sysPress = _toByte(17); // this is *10
|
||||
|
||||
// at this point do a quick check to see if the hot water or heating is active
|
||||
_checkActive();
|
||||
}
|
||||
@@ -1305,7 +1310,12 @@ void _process_UBAMonitorFast(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
*/
|
||||
void _process_UBAMonitorSlow(_EMS_RxTelegram * EMS_RxTelegram) {
|
||||
EMS_Boiler.extTemp = _toShort(0); // 0x8000 if not available
|
||||
|
||||
// set boiler temp only if we actually have a real value
|
||||
if (_toShort(2) != EMS_VALUE_USHORT_NOTSET) {
|
||||
EMS_Boiler.boilTemp = _toShort(2); // 0x8000 if not available
|
||||
}
|
||||
|
||||
EMS_Boiler.pumpMod = _toByte(9);
|
||||
EMS_Boiler.burnStarts = _toLong(10);
|
||||
EMS_Boiler.burnWorkMin = _toLong(13);
|
||||
|
||||
Reference in New Issue
Block a user