Skip to content

Commit

Permalink
Merge branch 'main' into feature/lwz-cooling
Browse files Browse the repository at this point in the history
  • Loading branch information
pail23 authored Jul 4, 2024
2 parents bcd3841 + e548b9c commit 2a561c2
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions custom_components/stiebel_eltron_isg/lwz_coordinator.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@
CONSUMED_WATER_HEATING,
CONSUMED_WATER_HEATING_TODAY,
CONSUMED_WATER_HEATING_TOTAL,
DEWPOINT_TEMPERATURE_HK1,
DEWPOINT_TEMPERATURE_HK2,
ECO_COOLING_TEMPERATURE_TARGET_HK1,
ECO_COOLING_TEMPERATURE_TARGET_HK2,
ECO_TEMPERATURE_TARGET_HK1,
Expand Down Expand Up @@ -226,11 +228,20 @@ async def read_modbus_system_values(self) -> dict:
result[EXTRACT_AIR_ACTUAL_FAN_SPEED] = decoder.decode_16bit_uint()
result[EXTRACT_AIR_TARGET_FLOW_RATE] = decoder.decode_16bit_uint()
result[EXTRACT_AIR_HUMIDITY] = decoder.decode_16bit_uint()
# skip 23-30
decoder.skip_bytes(16) #
# skip 23-24
decoder.skip_bytes(4)
# 25-26
result[DEWPOINT_TEMPERATURE_HK1] = get_isg_scaled_value(
decoder.decode_16bit_int()
)
result[DEWPOINT_TEMPERATURE_HK2] = get_isg_scaled_value(
decoder.decode_16bit_int()
)
# skip 27-30
decoder.skip_bytes(8)
# 31
compressor_starts_high = decoder.decode_16bit_uint()
decoder.skip_bytes(4) #
decoder.skip_bytes(4)
compressor_starts_low = decoder.decode_16bit_uint()
if compressor_starts_high == 32768:
result[COMPRESSOR_STARTS] = compressor_starts_high
Expand Down

0 comments on commit 2a561c2

Please sign in to comment.