zxdavb / ramses_cc

HA integration for CH/DHW and HVAC systems that use the RAMSES II RF protocol
GNU General Public License v3.0
80 stars 17 forks source link

Missing sensor for bypass_mode Orchon 22f7 #191

Open rfcdejong opened 5 months ago

rfcdejong commented 5 months ago

I cannot find a way in HomeAssist to read the current setting of bypass_mode, only the bypass_position, but that is not what I want to react on for my state.

Looking at the code it should be possible to get the information of the bypass mode

In the method parser_22f7 the information is parsed. Am I missing something?

# RQ --- 37:171871 32:155617 --:------ 22F7 001 00
# RP --- 32:155617 37:171871 --:------ 22F7 003 00FF00  # also: 000000, 00C8C8

# .W --- 37:171871 32:155617 --:------ 22F7 003 0000EF  # bypass off
# .I --- 32:155617 37:171871 --:------ 22F7 003 000000
# .W --- 37:171871 32:155617 --:------ 22F7 003 00C8EF  # bypass on
# .I --- 32:155617 37:171871 --:------ 22F7 003 00C800
# .W --- 37:171871 32:155617 --:------ 22F7 003 00FFEF  # bypass auto
# .I --- 32:155617 37:171871 --:------ 22F7 003 00FFC8

This is more of a feature request or me being kinda new in Home assistant with ramses_cc and ramses_rf