jnimmo / pyIntesisHome

Python interface for IntesisHome devices
MIT License
35 stars 21 forks source link

Implement unknown uids #15

Closed grischard closed 4 years ago

grischard commented 4 years ago

This is a continuation of #6.

My device spits out the following unknown uids. Most of the ones I've been able to find out seem useful to have. Found some through the web app, and few more of them in the API.

 'unknown_uid_12': 0, -> Remote controller lock. "If turned On, the infrared or wired remote controller of the Air conditioner will no longer be able to control the unit". Name  in web app is remotecontroller
 'unknown_uid_62': 0, -> RUNTIME_MODE_RESTRICTIONS
 'unknown_uid_66': 0 -> CONFIG_CONFIRM_OFF
 'unknown_uid_181': 0, -> Maintenance period *with* period reset, unit is hours. Needs testing.
 'unknown_uid_182': 0, -> Maintenance period *without* period reset, unit is hours. Needs testing.
 'unknown_uid_183': 0 or 1 -> something with the filter cleaning, similar to the maintenance period thing. Needs testing.
 'unknown_uid_185': 0,
 'unknown_uid_186': 0,
 'unknown_uid_187': 0,
 'unknown_uid_188': 0,
 'unknown_uid_189': 0,
 'unknown_uid_190': 0,
 'unknown_uid_1098': 0,
 'unknown_uid_50000': 1, -> external LED, 1 is on, 0 is off. "If turned Off the LED or ALL the devices are not going to blink when there is a connection error. It is advised to leave it On". Name is discoLed :)
 'unknown_uid_50001': 0, -> internal LED, 1 is on, 0 is off. "If turned On the internal LED of the device will blink when there are functioning problems. It is advised to leave it Off". Name is picLed.
 'unknown_uid_50002': 0, -> temperature offset, unit is 0.1C. Name tempOffset
 'unknown_uid_50003': 2, -> temperature limitation, 2 is on, 0 is off. Name templimitation.
 'unknown_uid_50004': 240, -> cooling temperature min, unit is 0.1C. Name cool_min
 'unknown_uid_50005': 280, -> cooling temperature max, unit is 0.1C. Name cool_max
 'unknown_uid_50006': 190, -> heating temperature min, unit is 0.1C. Name heat_min
 'unknown_uid_50007': 240, -> heating temperature min, unit is 0.1C. Name heat_max
 'unknown_uid_50008': 1,
 'unknown_uid_50010': 0 or 4,
 'unknown_uid_60002': 176, 184, 187, 207 or 222 -> RSSI. Probably 255 minus that value?

The API has these:

public enum UID {
        ON_OFF(1),
        USER_MODE(2),
        FAN_SPEED(4),
        VANE_UD(5),
        VANE_LR(6),
        VANE_PULSE_UD(7),
        VANE_PULSE_LR(8),
        SETPOINT_TEMP(9),
        AMBIENT_TEMP(10),
        ALARM_STATUS(14),
        ERROR_CODE(15),
        QUIET_MODE(34),
        CONFIG_SETPOINT_LOWER_LIMIT(35),
        CONFIG_SETPOINT_UPPER_LIMIT(36),
        OUTDOOR_TEMP(37),
        CLIMA_WORKING_MODE(42),
        TANK_WORKING_MODE(44),
        TANK_WATER_TEMPERATURE(45),
        SOLAR_STATUS(46),
        THERMOSHIFT_HEAT_ECO(48),
        THERMOSHIFT_HEAT_POWERFUL(50),
        THERMOSHIFT_COOL_ECO(49),
        THERMOSHIFT_COOL_POWERFUL(51),
        THERMOSHIFT_TANK_ECO(52),
        THERMOSHIFT_TANK_POWERFUL(53),
        ERROR_RESET(54),
        OPERATING_MODE(58),
        HEAT_8_10(60),
        CONFIG_MODE_MAP(61),
        RUNTIME_MODE_RESTRICTIONS(62),
        CONFIG_HORIZONTAL_VANES(63),
        CONFIG_VERTICAL_VANES(64),
        CONFIG_QUIET(65),
        CONFIG_CONFIRM_OFF(66),
        CONFIG_FAN_MAP(67),
        INSTANT_POWER_CONSUMPTION(68),
        ACCUMULATED_POWER_CONSUMPTION(69),
        WEEKLY_POWER_CONSUMPTION(70),
        CONFIG_OPERATING_MODE(75),
        CONFIG_VANES_PULSE(77),
        AQUAREA_HEAT_CONSUMPTION(82),
        AQUAREA_COOL_CONSUMPTION(81),
        AQUAREA_TANK_CONSUMPTION(80),
        FAHRENHEIT_TYPE(137),
        EXTREMES_PROTECTION_STATUS(140),
        EXTREMES_PROTECTION(148),
        BINARY_INPUT(149),
        CONFIG_BINARY_INPUT(153),
        UID_BINARY_INPUT_ON_OFF(168),
        UID_BINARY_INPUT_OCCUPANCY(169),
        UID_BINARY_INPUT_WINDOW(170),
        UID_BINARY_INPUT_SLEEP_MODE(191),
        RSSI(60002);
gianfrdp commented 4 years ago

Hello, I use, for my Aquarea, these customized values:

INTESIS_MAP = {
     1: {'name': 'power', 'values': {0: 'off', 1: 'on'}},
     2: {'name': 'mode', 'values': {0: 'auto', 1: 'heat', 2: 'dry', 3: 'fan', 4: 'cool'}},
     4: {'name': 'fan_speed', 'values': {0: "auto", 1: "quiet", 2: "low", 3: "medium", 4: "high", 5: "5", 6:"6"}},
     5: {'name': 'vvane', 'values': {0: "auto/stop", 10: "swing", 1: "manual1", 2: "manual2", 3: "manual3", 4: "manual4", 5: "manual5"}},
     6: {'name': 'hvane', 'values': {0: "auto/stop", 10: "swing", 1: "manual1", 2: "manual2", 3: "manual3", 4: "manual4", 5: "manual5"}},
     9: {'name': 'setpoint', 'null': 32768},
    10: {'name': 'temperature'},
    12: {'name': 'remote_controller_lock'},
    13: {'name': 'working_hours'},
    14: {'name': 'alarm_status'},.
    15: {'name': 'error_code'},.
    34: {'name': 'quiet', 'values': {0: "off", 1: "on"}},.
    35: {'name': 'setpoint_min'},
    36: {'name': 'setpoint_max'},
    37: {'name': 'outdoor_temperature'},.
    38: {'name': 'water_outlet_temperature'},.
    39: {'name': 'water_inlet_temperature'},.
    42: {'name': 'climate', 'values': {0: "comfort", 1: "eco", 2: "powerful"}},.
    44: {'name': 'tank', 'values': {0: "comfort", 1: "eco", 2: "powerful", -32768: "N/A"}},.
    45: {'name': 'tank_temperature'},.
    46: {'name': 'solar_status'},.
    48: {'name': 'heat_thermo_shift_eco'},
    49: {'name': 'cool_thermo_shift_eco'},
    50: {'name': 'heat_thermo_shift_powerful'},
    51: {'name': 'cool_thermo_shift_powerful'},
    52: {'name': 'tank_thermo_shift_eco'},
    53: {'name': 'tank_thermo_shift_powerful'},
    54: {'name': 'error_reset'},.
    55: {'name': 'heat_thermo_shift'},.
    56: {'name': 'cool_water_setpoint_temperature'},.
    57: {'name': 'tank_setpoint_temperature'},.
    58: {'name': 'user_mode', 'values': {0: "maintenance", 1: "heat", 2: "heat+tank", 3: "tank", 4: "cool+tank", 5: "cool", 6: "auto", 7: "auto+tank"}},.
    60: {'name': 'heat_8_10'},
    61: {'name': 'config_mode_map'},
    62: {'name': 'runtime_mode_restrictions'},
    63: {'name': 'config_horizontal_vanes'},
    64: {'name': 'config_vertical_vanes'},
    65: {'name': 'config_quiet'},.
    66: {'name': 'config_confirm_off'},.
    67: {'name': 'config_fan_map'},
    68: {'name': 'instant_power_consumption'},
    69: {'name': 'accumulated_power_consumption'},.
    75: {'name': 'config_operating_mode'},
    77: {'name': 'config_vanes_pulse'},
    80: {'name': 'aquarea_tank_consumption'},.
    81: {'name': 'aquarea_cool_consumption'},.
    82: {'name': 'aquarea_heat_consumption'},.
    83: {'name': 'heat_high_water_set_temperature'},.
    84: {'name': 'heating_off_temperature'},.
    87: {'name': 'heater_setpoint_temperature'},.
    90: {'name': 'water_target_temperature'},.
    95: {'name': 'heat_interval', 'values': {1: 30, 2: 60, 3: 90, 4: 120, 5: 150, 6: 180, 7: 210, 8: 240,
             9: 270, 10: 300, 11: 330, 12: 360, 13: 390, 14: 420, 15: 450, 16: 480, 17: 510, 18: 540, 19: 570,
             20: 600, -32768: "N/A"}},.
   107: {'name': 'aquarea_working_hours'},.
   123: {'name': 'ext_thermo_control', 'values': {85: "off", 170: "on"}},.
   124: {'name': 'tank_present', 'values': {85: "off", 170: "on"}},.
   125: {'name': 'solar_priority', 'values': {85: "off", 170: "on", -32768: "N/A"}},.
   134: {'name': 'heat_low_outdoor_set_temperature'},.
   135: {'name': 'heat_high_outdoor_set_temperature'},.
   136: {'name': 'heat_low_water_set_temperature'},.
   137: {'name': 'fahrenheit_type'},.
   140: {'name': 'extremes_protection_status'},
   144: {'name': 'error_code'},.
   148: {'name': 'extremes_protection'},
   149: {'name': 'binary_input'},
   153: {'name': 'config_binary_input'},
   168: {'name': 'uid_binary_input_on_off'},
   169: {'name': 'uid_binary_input_occupancy'},
   170: {'name': 'uid_binary_input_window'},
   181: {'name': 'mainenance_w_reset'},.
   182: {'name': 'mainenance_wo_reset'},.
   183: {'name': 'filter_clean'},.
   191: {'name': 'uid_binary_input_sleep_mode'},
 50000: {'name': 'external_led', 'values': {0: "off", 1: "on"}},.
 50001: {'name': 'internal_led', 'values': {0: "off", 1: "on"}},.
 50002: {'name': 'internal_temperature_offset'},
 50003: {'name': 'temp_limitation', 'values': 0: "off", 2: "on"},.
 50004: {'name': 'cool_temperature_min'},.
 50005: {'name': 'cool_temperature_max'},.
 50006: {'name': 'heat_temperature_min'},.
 50007: {'name': 'heat_temperature_min'},.
 60002: {'name': 'rssi'}
}
jnimmo commented 4 years ago

That’s really useful thanks, I’ll incorporate this

On Wed, 4 Dec 2019 at 1:31 AM, gianfrdp notifications@github.com wrote:

Hello, I use, for my Aquarea, these customized values:

INTESIS_MAP = { 1: {'name': 'power', 'values': {0: 'off', 1: 'on'}}, 2: {'name': 'mode', 'values': {0: 'auto', 1: 'heat', 2: 'dry', 3: 'fan', 4: 'cool'}}, 4: {'name': 'fan_speed', 'values': {0: "auto", 1: "quiet", 2: "low", 3: "medium", 4: "high", 5: "5", 6:"6"}}, 5: {'name': 'vvane', 'values': {0: "auto/stop", 10: "swing", 1: "manual1", 2: "manual2", 3: "manual3", 4: "manual4", 5: "manual5"}}, 6: {'name': 'hvane', 'values': {0: "auto/stop", 10: "swing", 1: "manual1", 2: "manual2", 3: "manual3", 4: "manual4", 5: "manual5"}}, 9: {'name': 'setpoint', 'null': 32768}, 10: {'name': 'temperature'}, 12: {'name': 'remote_controller_lock'}, 13: {'name': 'working_hours'}, 14: {'name': 'alarm_status'},. 15: {'name': 'error_code'},. 34: {'name': 'quiet', 'values': {0: "off", 1: "on"}},. 35: {'name': 'setpoint_min'}, 36: {'name': 'setpoint_max'}, 37: {'name': 'outdoor_temperature'},. 38: {'name': 'water_outlet_temperature'},. 39: {'name': 'water_inlet_temperature'},. 42: {'name': 'climate', 'values': {0: "comfort", 1: "eco", 2: "powerful"}},. 44: {'name': 'tank', 'values': {0: "comfort", 1: "eco", 2: "powerful", -32768: "N/A"}},. 45: {'name': 'tank_temperature'},. 46: {'name': 'solar_status'},. 48: {'name': 'heat_thermo_shift_eco'}, 49: {'name': 'cool_thermo_shift_eco'}, 50: {'name': 'heat_thermo_shift_powerful'}, 51: {'name': 'cool_thermo_shift_powerful'}, 52: {'name': 'tank_thermo_shift_eco'}, 53: {'name': 'tank_thermo_shift_powerful'}, 54: {'name': 'error_reset'},. 55: {'name': 'heat_thermo_shift'},. 56: {'name': 'cool_water_setpoint_temperature'},. 57: {'name': 'tank_setpoint_temperature'},. 58: {'name': 'user_mode', 'values': {0: "maintenance", 1: "heat", 2: "heat+tank", 3: "tank", 4: "cool+tank", 5: "cool", 6: "auto", 7: "auto+tank"}},. 60: {'name': 'heat_8_10'}, 61: {'name': 'config_mode_map'}, 62: {'name': 'runtime_mode_restrictions'}, 63: {'name': 'config_horizontal_vanes'}, 64: {'name': 'config_vertical_vanes'}, 65: {'name': 'config_quiet'},. 66: {'name': 'config_confirm_off'},. 67: {'name': 'config_fan_map'}, 68: {'name': 'instant_power_consumption'}, 69: {'name': 'accumulated_power_consumption'},. 75: {'name': 'config_operating_mode'}, 77: {'name': 'config_vanes_pulse'}, 80: {'name': 'aquarea_tank_consumption'},. 81: {'name': 'aquarea_cool_consumption'},. 82: {'name': 'aquarea_heat_consumption'},. 83: {'name': 'heat_high_water_set_temperature'},. 84: {'name': 'heating_off_temperature'},. 87: {'name': 'heater_setpoint_temperature'},. 90: {'name': 'water_target_temperature'},. 95: {'name': 'heat_interval', 'values': {1: 30, 2: 60, 3: 90, 4: 120, 5: 150, 6: 180, 7: 210, 8: 240, 9: 270, 10: 300, 11: 330, 12: 360, 13: 390, 14: 420, 15: 450, 16: 480, 17: 510, 18: 540, 19: 570, 20: 600, -32768: "N/A"}},. 107: {'name': 'aquarea_working_hours'},. 123: {'name': 'ext_thermo_control', 'values': {85: "off", 170: "on"}},. 124: {'name': 'tank_present', 'values': {85: "off", 170: "on"}},. 125: {'name': 'solar_priority', 'values': {85: "off", 170: "on", -32768: "N/A"}},. 134: {'name': 'heat_low_outdoor_set_temperature'},. 135: {'name': 'heat_high_outdoor_set_temperature'},. 136: {'name': 'heat_low_water_set_temperature'},. 137: {'name': 'fahrenheit_type'},. 140: {'name': 'extremes_protection_status'}, 144: {'name': 'error_code'},. 148: {'name': 'extremes_protection'}, 149: {'name': 'binary_input'}, 153: {'name': 'config_binary_input'}, 168: {'name': 'uid_binary_input_on_off'}, 169: {'name': 'uid_binary_input_occupancy'}, 170: {'name': 'uid_binary_input_window'}, 181: {'name': 'mainenance_w_reset'},. 182: {'name': 'mainenance_wo_reset'},. 183: {'name': 'filter_clean'},. 191: {'name': 'uid_binary_input_sleep_mode'}, 50000: {'name': 'external_led', 'values': {0: "off", 1: "on"}},. 50001: {'name': 'internal_led', 'values': {0: "off", 1: "on"}},. 50002: {'name': 'internal_temperature_offset'}, 50003: {'name': 'temp_limitation', 'values': 0: "off", 2: "on"},. 50004: {'name': 'cool_temperature_min'},. 50005: {'name': 'cool_temperature_max'},. 50006: {'name': 'heat_temperature_min'},. 50007: {'name': 'heat_temperature_min'},. 60002: {'name': 'rssi'} }

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jnimmo/pyIntesisHome/issues/15?email_source=notifications&email_token=AAAO2D7C6BRGCIOGENIL3DTQWZGRDA5CNFSM4JTUTZS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFZGWKI#issuecomment-561146665, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAO2D2RJFLVQTX3OWYNS23QWZGRDANCNFSM4JTUTZSQ .

grischard commented 4 years ago

Did you mean to close this @jnimmo ?

jnimmo commented 4 years ago

Yep, these have all been included in the library now :)