sHedC / python-masterthermconnect

MasterTherm HeatPump API
MIT License
3 stars 2 forks source link

Additional Mappings and Updates #14

Closed sHedC closed 1 year ago

sHedC commented 1 year ago

Update the Mappings with the following

DEVICE_DATA_MAP = { "hp_power_state": ["bool", "D_3"], "hp_function": ["int", "I_51"], # 0: heating, #1: cooling, #3: auto "cooling_mode": ["bool", "D_4"], "domestic_hot_water": { "function": ["bool", "D_66"], "enabled": ["bool", "D_275"], "current_temp": ["float", "A_126"], "required_temp": ["float", "A_129"], "min": ["float", "A_296"], "max": ["float", "A_297"] }, "pool_function": ["bool", "D_43"], "compressor_running": ["bool", "D_5"], "compressor2_running": ["bool", "D_32"], "circulation_pump_running": ["bool", "D_10"], "fan_running": ["bool", "D_8"], "defrost_mode": ["bool", "D_11"], "aux_heater_1": ["bool", "D_6"], "aux_heater_2": ["bool", "D_7"], "outside_temp": ["float", "A_3"], "requested_temp": ["float", "A_5"], "actual_temp": ["float", "A_1"], "dewp_control": ["bool", "D_196"], "hdo_on": ["bool", "D_15"], "runtime_info": { "compressor_run_time": ["int", "I_11"], "compressor_start_counter": ["int", "I_12"], "pump_runtime": ["int", "I_13"], "aux1_runtime": ["int", "I_100"], "aux2_runtime": ["int", "I_101"], }, "season_info": { "hp_season": ["bool", "D_24"], "hp_seasonset": ["int", "I_50"], "hp_season_winter": ["float", "A_82"], "hp_season_summer": ["float", "A_83"] }, "error_info": { "some_error": ["bool", "D_20"], "three_errors": ["bool", "D_21"], "reset_3e": ["bool", "D_19"], "safety_tstat": ["bool", "D_77"], "alarm_a": ["int", "I_20"], "alarm_b": ["int", "I_21"], "alarm_c": ["int", "I_22"], "alarm_d": ["int", "I_23"], "alarm_e": ["int", "I_24"], "alarm_f": ["int", "I_25"], "alarm_g": ["int", "I_26"], "alarm_h": ["int", "I_27"], "alarm_i": ["int", "I_28"], "alarm_j": ["int", "I_39"], "alarm_k": ["int", "I_40"], "alarm_l": ["int", "I_41"], "alarm_m": ["int", "I_42"] }, "heating_circuits": DEVICE_DATA_HCMAP,