From 62d4e1a1d101e3c9a1ef7df6170fbed1cfcaccff Mon Sep 17 00:00:00 2001 From: Mick Vleeshouwer Date: Sun, 22 Dec 2024 01:14:45 +0100 Subject: [PATCH] Add additional state enums for Hitachi heating system (#1484) * Add additional enums for HitachiHeatingSystem * Add additional states --- pyoverkiz/enums/state.py | 76 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 75 insertions(+), 1 deletion(-) diff --git a/pyoverkiz/enums/state.py b/pyoverkiz/enums/state.py index 5b94cb85..469d0040 100644 --- a/pyoverkiz/enums/state.py +++ b/pyoverkiz/enums/state.py @@ -266,18 +266,92 @@ class OverkizState(StrEnum): MODBUSLINK_POWER_HEAT_PUMP = "modbuslink:PowerHeatPumpState" MODBUSLINK_PROGRAMMING_SLOTS = "modbuslink:ProgrammingSlotsState" MODBUSLINK_SMART_GRID_OPTION = "modbuslink:SmartGridOptionState" + MODBUS_ALARM_NUMBER = "modbus:AlarmNumberState" MODBUS_AUTO_MANU_MODE_ZONE_1 = "modbus:AutoManuModeZone1State" + MODBUS_CAUSE_OF_STOPPAGE = "modbus:CauseOfStoppageState" + MODBUS_CENTRAL_SETTING_1 = "modbus:CentralSetting1State" + MODBUS_CENTRAL_SETTING_2 = "modbus:CentralSetting2State" + MODBUS_CENTRAL_SETTING_3 = "modbus:CentralSetting3State" + MODBUS_COMPRESSOR_CURRENT_VALUE = "modbus:CompressorCurrentValueState" + MODBUS_COMPRESSOR_FREQUENCY = "modbus:CompressorFrequencyState" + MODBUS_COMPRESSOR_RUNNING_CURRENT = "modbus:CompressorRunningCurrentState" + MODBUS_CONTROL_BLOCK_MENU = "modbus:ControlBlockMenuState" + MODBUS_CONTROL_COMMUNICATION_ALARM_BIT = "modbus:ControlCommunicationAlarmBitState" MODBUS_CONTROL_DHW = "modbus:ControlDHWState" MODBUS_CONTROL_DHW_SETTING_TEMPERATURE = "modbus:ControlDHWSettingTemperatureState" + MODBUS_CONTROL_UNIT = "modbus:ControlUnitState" + MODBUS_CONTROL_UNIT_MODE = "modbus:ControlUnitModeState" + MODBUS_DEFROSTING = "modbus:DefrostingState" MODBUS_DHW_MODE = "modbus:DHWModeState" + MODBUS_DISCHARGE_GAS_TEMPERATURE = "modbus:DischargeGasTemperatureState" + MODBUS_DISCHARGE_PRESSURE = "modbus:DischargePressureState" + MODBUS_DISCHARGE_TEMPERATURE = "modbus:DischargeTemperatureState" + MODBUS_ECO_MODE_OFFSET = "modbus:EcoModeOffsetState" + MODBUS_ECO_MODE_OFFSET_TARGET = "modbus:EcoModeOffsetTargetState" + MODBUS_EVAPORATING_TEMPERATURE = "modbus:EvaporatingTemperatureState" + MODBUS_EVAPORATION_TEMPERATURE = "modbus:EvaporationTemperatureState" + MODBUS_GAS_TEMPERATURE = "modbus:GasTemperatureState" + MODBUS_HARDWARE_VERSION = "modbus:HardwareVersionState" + MODBUS_HLINK_COMMUNICATION_ALARM = "modbus:HLinkCommunicationAlarmState" + MODBUS_INDOOR_EXPANSION_VALVE = "modbus:IndoorExpansionValveState" + MODBUS_INDOOR_EXPANSION_VALVE_OPENING = "modbus:IndoorExpansionValveOpeningState" + MODBUS_INVERTER_OPERATION_FREQUENCY = "modbus:InverterOperationFrequencyState" + MODBUS_LCD_CENTRAL_MODE = "modbus:LCDCentralModeState" + MODBUS_LCD_SOFTWARE_NUMBER = "modbus:LCDSoftwareNumberState" + MODBUS_LIQUID_TEMPERATURE = "modbus:LiquidTemperatureState" + MODBUS_LIQUID_TEMPERATURE_THMI = "modbus:LiquidTemperatureTHMIState" + MODBUS_MIXING_VALVE_POSITION = "modbus:MixingValvePositionState" + MODBUS_OPERATION = "modbus:OperationState" + MODBUS_OUTDOOR_AMBIENT_TEMPERATURE = "modbus:OutdoorAmbientTemperatureState" + MODBUS_OUTDOOR_EXPANSION_VALVE = "modbus:OutdoorExpansionValveState" + MODBUS_OUTDOOR_UNIT_AMBIENT = "modbus:OutdoorUnitAmbientState" + MODBUS_PCB1_SOFTWARE_NUMBER = "modbus:PCB1SoftwareNumberState" + MODBUS_PRODUCT_SPEC_CODE = "modbus:ProductSpecCodeState" + MODBUS_RETRY_CODE = "modbus:RetryCodeState" MODBUS_ROOM_AMBIENT_TEMPERATURE_STATUS_ZONE_1 = ( "modbus:RoomAmbientTemperatureStatusZone1State" ) - MODBUS_THERMOSTAT_SETTING_STATUS_ZONE_1 = "modbus:ThermostatSettingStatusZone1State" + MODBUS_ROOM_THERMOSTAT_SET_TEMPERATURE_C1 = ( + "modbus:RoomThermostatSetTemperatureC1State" + ) + MODBUS_ROOM_THERMOSTAT_SET_TEMPERATURE_C2 = ( + "modbus:RoomThermostatSetTemperatureC2State" + ) + MODBUS_ROOM_THERMOSTAT_TEMPERATURE_C1 = "modbus:RoomThermostatTemperatureC1State" + MODBUS_ROOM_THERMOSTAT_TEMPERATURE_C2 = "modbus:RoomThermostatTemperatureC2State" + MODBUS_SECOND_AMBIENT_AVERAGE_TEMPERATURE = ( + "modbus:SecondAmbientAverageTemperatureState" + ) + MODBUS_SECOND_AMBIENT_TEMPERATURE = "modbus:SecondAmbientTemperatureState" + MODBUS_SOFTWARE_NUMBER = "modbus:SoftwareNumberState" + MODBUS_SOFTWARE_VERSION = "modbus:SoftwareVersionState" + MODBUS_SPACE_MODE = "modbus:SpaceModeState" + MODBUS_STATUS_BLOCK_MENU = "modbus:StatusBlockMenuState" + MODBUS_STATUS_COMMUNICATION_ALARM_BIT = "modbus:StatusCommunicationAlarmBitState" + MODBUS_STATUS_UNIT_MODE = "modbus:StatusUnitModeState" + MODBUS_SUCTION_PRESSURE = "modbus:SuctionPressureState" + MODBUS_SUCTION_TEMPERATURE = "modbus:SuctionTemperatureState" + MODBUS_SYSTEM_CONFIGURATION = "modbus:SystemConfigurationState" + MODBUS_SYSTEM_STATUS_2 = "modbus:SystemStatus2State" + MODBUS_TAHOMA_ROOM_THERMOSTAT_AVAILABLE = ( + "modbus:TahomaRoomThermostatAvailableState" + ) MODBUS_THERMOSTAT_SETTING_CONTROL_ZONE_1 = ( "modbus:ThermostatSettingControlZone1State" ) + MODBUS_THERMOSTAT_SETTING_STATUS_ZONE_1 = "modbus:ThermostatSettingStatusZone1State" + MODBUS_UNIT_MODEL = "modbus:UnitModelState" + MODBUS_VIRTUAL_ECO_COMFORT_MODE = "modbus:VirtualEcoComfortModeState" + MODBUS_WATER_FLOW_LEVEL = "modbus:WaterFlowLevelState" + MODBUS_WATER_INLET_UNIT_TEMPERATURE = "modbus:WaterInletUnitTemperatureState" + MODBUS_WATER_OUTLET_HP_TEMPERATURE = "modbus:WaterOutletHpTemperatureState" + MODBUS_WATER_OUTLET_TEMPERATURE_2 = "modbus:WaterOutletTemperature2State" + MODBUS_WATER_OUTLET_TEMPERATURE_3 = "modbus:WaterOutletTemperature3State" + MODBUS_WATER_OUTLET_UNIT_TEMPERATURE = "modbus:WaterOutletUnitTemperatureState" + MODBUS_WATER_PUMP_SPEED = "modbus:WaterPumpSpeedState" + MODBUS_WATER_TEMPERATURE_SETTING = "modbus:WaterTemperatureSettingState" MODBUS_YUTAKI_TARGET_MODE = "modbus:YutakiTargetModeState" + MODBUS_YUTAKI_VIRTUAL_OPERATING_MODE = "modbus:YutakiVirtualOperatingModeState" MYFOX_ALARM_STATUS = "myfox:AlarmStatusState" MYFOX_ALERT_TRESPASS = "myfox:AlertTrespassState"