-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new kind of device ? #5
Comments
I don't have an a/c device to test. Your MQTT events give me a pretty good idea of what the model looks like, but could you please try the code in the |
@stefxx If you could post the above for your a/c unit that would be helpful too. Or anyone else with LG air conditioner! |
This is the raw device data of my 2 ACs Devices:
|
Here you go. Three v1 a/c units and one v2 unit. I changed the deviceids and mac addresses. I assume the rest is not specific to my system...
|
Hello, Thanks for your answers and your reactivity @tinkerborg ! Here is my dump:
|
Thanks, this should be helpful. Can someone also grab a modeljson descriptor for one of these devices? I can't get one via the URI as you need both a model # and device ID. I've modified the |
Here 👍
|
Perfect, thanks. Got a couple more things to work on first, one of which is unit testing. This thread should provide all the test fixtures needed to work on support for these devices. |
hi thinkerborg I have refrigerator. Here is device dump.
model protocol is missing. |
Thanks for the refrigerator info @uqpqpu - will let you know if I need any more info. I didn't have much time to work on this project last week, but am working on it again this week. Working on device models next, stay tuned. |
Device: POT_056905_WW (Air Conditioner)
|
I own an LG Air Purifier, here is the device data: Device dump{ 'appType': 'NUTS', 'modelCountryCode': 'WW', 'countryCode': 'US', 'modelName': 'AIR_910604_WW', 'deviceType': 402, 'deviceCode': 'LI02', 'alias': 'Air Purifier', 'deviceId': '00000000-0000-0000-0000-000000000000', 'fwVer': '', 'imageFileName': 'home_appliances_img_gpm.png', 'ssid': 'SSID_NAME', 'softapId': '', 'softapPass': '', 'macAddress': '01:23:45:56:78:9a', 'networkType': '02', 'timezoneCode': 'Europe/Moscow', 'timezoneCodeAlias': 'Russia/Moscow', 'utcOffset': 3, 'utcOffsetDisplay': '+03:00', 'dstOffset': 3, 'dstOffsetDisplay': '+03:00', 'curOffset': 3, 'curOffsetDisplay': '+03:00', 'sdsGuide': '{"deviceCode":"LI02"}', 'newRegYn': 'N', 'remoteControlType': '', 'userNo': 'USER_ID', 'tftYn': 'N', 'deviceState': 'E', 'snapshot': { 'airState.quality.PM1': 8.0, 'airState.lightingState.signal': 1.0, 'airState.quality.PM2': 12.0, 'airState.miscFuncState.airUVDisinfection': 1.0, 'airState.reservation.sleepTime': 0.0, 'airState.filterMngStates.maxTimeTop': 84.0, 'airState.miscFuncState.cleanDry': 1.0, 'airState.reservation.targetTimeToStart': 0.0, 'airState.filterMngStates.maxTime': 1440.0, 'airState.filterMngStates.useTimeBottom': 38.0, 'airState.opMode': 12.0, 'airState.wMode.humidification': 0.0, 'airState.quality.sensorMon': 1.0, 'airState.tempState.unit': 0.0, 'meta': { 'allDeviceInfoUpdate': False, 'messageId': 'cpHjFPT8S4C3KoqYcwmIaw' }, 'online': True, 'timestamp': 1591094848306.0, 'airState.filterMngStates.useTimeTop': 0.0, 'airState.tempState.target': 0.0, 'airState.miscFuncState.airRemoval': 0.0, 'airState.quality.PM10': 16.0, 'airState.quality.overall': 1.0, 'airState.quality.odor': 3.0, 'airState.filterMngStates.useTimeMiddle': 0.0, 'airState.windStrength': 8.0, 'static': { 'deviceType': '402', 'countryCode': 'US' }, 'airState.tempState.current': 20.0, 'airState.filterMngStates.maxTimeBottom': 720.0, 'airState.operation': 1.0, 'airState.filterMngStates.useTime': 758.0, 'airState.reservation.targetTimeToStop': 0.0, 'airState.filterMngStates.maxTimeMiddle': 84.0, 'airState.miscFuncState.watertankLight': 0.0, 'airState.humidity.desired': 50.0, 'mid': 253238678.0, 'airState.filterMngStates.desorption': 0.0, 'airState.diagCode': 0.0, 'airState.miscFuncState.airFast': 0.0, 'airState.humidity.current': 67.0 }, 'online': True, 'platformType': 'thinq2', 'area': 334505, 'regDt': 20200505125401.0, 'blackboxYn': 'Y', 'modelProtocol': '', 'receipeVersion': 0, 'activeSaving': 'OFF', 'smartCareV2': 'OFF', 'order': 0, 'drServiceYn': 'N', 'regDtUtc': '20200505095401', 'groupableYn': 'N', 'controllableYn': 'N', 'combinedProductYn': 'N', 'masterYn': 'Y', 'tclcount': 0 } Model JSON descriptor{ "Info": { "productType": "AirPurifier", "productCode": "LI02", "country": "WW", "modelType": "", "model": "Normal", "modelName": "Full Model", "networkType": "WIFI", "version": "3.6" }, "Module": { "WPM": { "GPM_CEN01_Main": "002", "GPM_FIL01_Main": "002", "GPM_FIL02_Date": "002", "GPM_FIL02_MultiFilter": "002", "GPM_FOT01_Main": "002", "GPM_POG01_Main": "002", "GPM_POL01_Guide": "002", "GPM_POL01_Inside": "002", "GPM_POL01_Outside": "002", "GPM_POL02_SelectCity": "002", "GPM_REC_Main": "002", "GPM_SCH01_Main": "002", "GPM_SCH02_AddEdit": "002", "GPM_SCH03_Delete": "002", "GPM_SCH04_Main": "002", "GPM_SCH05_OffTime": "002", "GPM_SCH06_OnTime": "002", "GPM_SCH07_SleepTime": "002", "GUG_FIL01": "002", "GUG_FIL02": "002", "GPM_SET01_Main": "002", "GPM_SET02_PushList": "002", "GPM_SET03_SensorMon": "002" }, "Menu": [ "GPM_FOL01", "GPM_SCH01_Main", "GPM_POG01_Main", "GPM_FIL01_Main", "GCM_SDS01_SdsMain", "GPM_SET01_Main" ] }, "Exception": { "comment": "쾌속모드 동작후, 바람세기 조절시, 쾌속모드 해제된다." }, "Value": { "support.airState.opMode": { "_comment": "FuncSync_운전모드", "data_type": "enum", "value_mapping": { "0": "@NON", "10": "@AP_MAIN_MID_OPMODE_CLEAN_W", "12": "@AP_MAIN_MID_OPMODE_SILENT_W", "13": "@AP_MAIN_MID_OPMODE_HUMIDITY_W" } }, "support.airState.opModeExt": { "_comment": "FuncSync_운전모드 추가", "data_type": "enum", "value_mapping": { "0": "@NON" } }, "support.airState.windStrength": { "_comment": "FuncSync_바람세기", "data_type": "enum", "value_mapping": { "0": "@NON", "3": "@AP_MAIN_MID_WINDSTRENGTH_LOW_W", "5": "@AP_MAIN_MID_WINDSTRENGTH_MID_W", "7": "@AP_MAIN_MID_WINDSTRENGTH_HIGH_W", "9": "@AP_MAIN_MID_WINDSTRENGTH_AUTO_W" } }, "support.airState.circulate.strength": { "_comment": "FuncSync_순환바람세기", "data_type": "enum", "value_mapping": { "0": "@NON" } }, "support.airState.circulate.rotate": { "_comment": "FuncSync_순환방향", "data_type": "enum", "value_mapping": { "0": "@NONSUPPORT" } }, "support.racMode": { "_comment": "FuncSync_RAC모드", "data_type": "enum", "value_mapping": { "0": "@NON", "11": "@AP_FASTEST", "12": "@AP_AIRREMOVAL", "13": "@AP_AIRUVDISINFECTION", "14": "@AP_CLEANDRY", "15": "@AP_HUMIDITYFASTEST" } }, "support.airState.filterMngStates.desorption": { "_comment": "FuncSync_제품상태", "data_type": "enum", "value_mapping": { "0": "@NON", "1": "@AP_DUST_FILTER_STATUS", "2": "@AP_COVER_STATUS", "3": "@AP_TOP_FILTER_STATUS", "4": "@AP_MID_FILTER_STATUS", "5": "@AP_BOTTOM_PRE_FILTER_STATUS" } }, "support.reserve": { "_comment": "FuncSync_예약 정보", "data_type": "enum", "value_mapping": { "0": "@NON", "5": "@AP_OFF_ON_TIME", "6": "@AP_SCHEDULER", "8": "@AP_SLEEP_TIMER_AIRCLEAN" } }, "support.light": { "_comment": "FuncSync_라이팅", "data_type": "enum", "value_mapping": { "0": "@NON", "3": "@SIGNAL_LIGHTING_ONOFF" } }, "support.humidityCtrl": { "_comment": "FuncSync_습도제어자리수", "data_type": "enum", "value_mapping": { "0": "@NON", "1": "@1_0UNIT_CONTROL", "2": "@2_0UNIT_CONTROL", "3": "@3_0UNIT_CONTROL", "4": "@4_0UNIT_CONTROL", "5": "@5_0UNIT_CONTROL", "6": "@6_0UNIT_CONTROL", "7": "@7_0UNIT_CONTROL", "8": "@8_0UNIT_CONTROL", "9": "@9_0UNIT_CONTROL", "10": "@10_0UNIT_CONTROL" } }, "support.humidity.control": { "_comment": "FuncSync_습도제어자리수", "data_type": "enum", "value_mapping": { "0": "@NON" } }, "support.airState.tempState.unit": { "_comment": "FuncSync_화씨 섭씨", "data_type": "enum", "value_mapping": { "0": "@NON" } }, "support.tempCtrl": { "_comment": "FuncSync_1도 0.5도", "data_type": "enum", "value_mapping": { "0": "@NON" } }, "support.airState.groupType": { "_comment": "FuncSync_그룹타입", "data_type": "enum", "value_mapping": { "0": "@PAC", "3": "@AWHP", "4": "@HWANKI" } }, "support.accumMode": { "_comment": "FuncSync_전력량사용여부", "data_type": "enum", "value_mapping": { "0": "@NOT_SUPPORT" } }, "support.airState.miscFuncSate.extraOp": { "_comment": "FuncSync_비상운전기능 지원", "data_type": "enum", "value_mapping": { "0": "@NOT_SUPPORT", "1": "@SUPPORT" } }, "support.mFilter": { "_comment": "FuncSync_M필터지원", "data_type": "enum", "value_mapping": { "0": "@NON", "1": "@SUPPORT", "3": "@SUPPORT_TOP_HUMIDIFILTER", "4": "@SUPPORT_MID_HUMIDIFILTER", "5": "@SUPPORT_BOTTOM_PREFILTER", "6": "@SUPPORT_BOTTOM_DUSTCOLLECTION" } }, "support.airPolution": { "_comment": "FuncSync_공기오염도", "data_type": "enum", "value_mapping": { "0": "@NON", "1": "@POLUTION_SUPPORT", "2": "@PM1_0_SUPPORT", "3": "@PM2_5_SUPPORT", "4": "@PM10_SUPPORT", "5": "@TOTAL_CLEAN_SUPPORT", "6": "@SENSOR_HUMID_SUPPORT", "7": "@SENSOR_TEMP_SUPPORT", "8": "@SENSOR_MONITORING_SET_SUPPORT", "10": "@10" } }, "support.airState.notification.detailList": { "_comment": "FuncSync_푸쉬 지원", "data_type": "enum", "value_mapping": { "0": "@NON", "3": "@PATLOL", "6": "@NOT_WATER", "9": "@TOP_FILTER", "10": "@MID_FILTER", "11": "@BOTTOM_PRE_FILTER", "12": "@BOTTOM_DUST_FILTER", "13": "@HUMIDITY_RECOMMAND" } }, "support.smartFunc": { "_comment": "FuncSync_진단_포타지원", "data_type": "enum", "value_mapping": { "0": "@NON", "1": "@SDS_WIFI", "2": "@FOTA", "3": "@SDS_BUZZER" } }, "airState.operation": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@operation_off", "1": "@operation_on" } }, "airState.opMode": { "data_type": "enum", "label": "운전 모드", "value_mapping": { "0": "@AC_MAIN_OPERATION_MODE_COOL_W", "1": "@AC_MAIN_OPERATION_MODE_DRY_W", "2": "@AC_MAIN_OPERATION_MODE_FAN_W", "3": "@AC_MAIN_OPERATION_MODE_AI_W", "4": "@AC_MAIN_OPERATION_MODE_HEAT_W", "5": "@AC_MAIN_OPERATION_MODE_AIRCLEAN_W", "6": "@AC_MAIN_OPERATION_MODE_ACO_W", "7": "@AC_MAIN_OPERATION_MODE_AROMA_W", "8": "@AC_MAIN_OPERATION_MODE_ENERGY_SAVING_W", "9": "@AP_MAIN_MID_OPMODE_CLEAN_W", "10": "@AP_MAIN_MID_OPMODE_SLEEP_W", "11": "@AP_MAIN_MID_OPMODE_SILENT_W", "12": "@AP_MAIN_MID_OPMODE_HUMIDITY_W", "13": "@AP_MAIN_MID_OPMODE_CIRCULATOR_CLEAN_W", "14": "@AP_MAIN_MID_OPMODE_BABY_CARE_W", "15": "@AP_MAIN_MID_OPMODE_DUAL_CLEAN_W", "16": "@AP_MAIN_MID_OPMODE_AUTO_W", "17": "@AP_MAIN_MID_OPMODE_SMART_DEHUM_W", "18": "@AP_MAIN_MID_OPMODE_FAST_DEHUM_W", "19": "@AP_MAIN_MID_OPMODE_CILENT_DEHUM_W", "20": "@AP_MAIN_MID_OPMODE_CONCENTRATION_DRY_W", "21": "@AP_MAIN_MID_OPMODE_CLOTHING_DRY_W", "27": "@AP_MAIN_OPERATION_MODE_SMART_W", "28": "@AP_MAIN_OPERATION_MODE_FAST_W", "29": "@AP_MAIN_MID_OPMODE_HUMIDITY_NORMAL_W" } }, "airState.windStrength": { "data_type": "enum", "label": "바람 세기", "value_mapping": { "0": "@AP_MAIN_MID_WINDSTRENGTH_LOWST_LOW_W", "1": "@AP_MAIN_MID_WINDSTRENGTH_LOWST_W", "2": "@AP_MAIN_MID_WINDSTRENGTH_LOW_W", "3": "@AP_MAIN_MID_WINDSTRENGTH_LOW_MID_W", "4": "@AP_MAIN_MID_WINDSTRENGTH_MID_W", "5": "@AP_MAIN_MID_WINDSTRENGTH_MID_HIGH_W", "6": "@AP_MAIN_MID_WINDSTRENGTH_HIGH_W", "7": "@AP_MAIN_MID_WINDSTRENGTH_POWER_W", "8": "@AP_MAIN_MID_WINDSTRENGTH_AUTO_W", "9": "@AP_MAIN_MID_WINDSTRENGTH_LONGPOWWER_W", "10": "@AP_MAIN_MID_WINDSTRENGTH_SHOWER_W", "11": "@AP_MAIN_MID_WINDSTRENGTH_FOREST_W", "12": "@AP_MAIN_MID_WINDSTRENGTH_TURBO_W", "13": "@AP_MAIN_MID_WINDSTRENGTH_FASTWIND_W" } }, "airState.humidity.desired": { "_comment": "##희망습도_기본", "data_type": "range", "default": "30", "value_validation": { "min": 30, "max": 70, "step": 5 } }, "airState.circulate.strength": { "data_type": "enum", "label": "서큘레이터 세기", "value_mapping": { "0": "@AP_MAIN_MID_CIRCULATORSTRENGTH_LOWST_LOW_W", "1": "@AP_MAIN_MID_CIRCULATORSTRENGTH_LOWST_W", "2": "@AP_MAIN_MID_CIRCULATORSTRENGTH_LOW_W", "3": "@AP_MAIN_MID_CIRCULATORSTRENGTH_LOW_MID_W", "4": "@AP_MAIN_MID_CIRCULATORSTRENGTH_MID_W", "5": "@AP_MAIN_MID_CIRCULATORSTRENGTH_MID_HIGH_W", "6": "@AP_MAIN_MID_CIRCULATORSTRENGTH_HIGH_W", "7": "@AP_MAIN_MID_CIRCULATORSTRENGTH_POWER_W", "8": "@AP_MAIN_MID_CIRCULATORSTRENGTH_AUTO_W", "9": "@AP_MAIN_MID_CIRCULATORSTRENGTH_LINK_W" } }, "airState.circulate.rotate": { "data_type": "enum", "label": "순환 회전", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.antiBugs": { "data_type": "enum", "label": "모기퇴치", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.tempState.current": { "_comment": "현재온도", "data_type": "range", "default": "0", "value_validation": { "min": -40, "max": 60, "step": 1 } }, "airState.outside.temperature.current": { "data_type": "range", "default": "0", "value_validation": { "min": -40, "max": 60, "step": 1 } }, "airState.groupType": { "_comment": "그룹타입 실질적으로 쓰지 않음", "data_type": "enum", "value_mapping": { "12": "@grouptype_aircare" } }, "airState.filterMngStates.useTime": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 4000, "step": 1 } }, "airState.filterMngStates.maxTime": { "data_type": "enum", "label": "필터 최대값", "value_mapping": { "0": 0, "4000": 4000 } }, "airState.filterMngStates.type": { "data_type": "enum", "label": "필터 종류", "comment": "1 : 교체필터 , 2: 무교체필터", "value_mapping": { "1": 1, "2": 2 } }, "airState.miscFuncState.airRemoval": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.airFast": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.sleepMode": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.airUVDisinfection": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.reservation.absoluteStartTime": { "_comment": "오전 12시 30분은 0030, 오후12시30분은 1230 ,오후 4시30분은 1630 off는 0 ", "data_type": "range", "value_validation": { "min": 0, "max": 2400 } }, "airState.reservation.absoluteStopTime": { "label": "꺼짐예약(시각)", "_comment": "오전 12시 30분은 0030, 오후12시30분은 1230 ,오후 4시30분은 1630 off는 0 ", "data_type": "range", "value_validation": { "min": 0, "max": 2400 } }, "airState.reservation.sleepTime": { "_comment": "1시간일 경우 60으로 데이터 받음, 2,4,8,12 시간 적용필요함. ", "data_type": "range", "default": 0, "value_validation": { "min": 0, "max": 420 } }, "airState.lightingState.signal": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.cleanDry": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.miscFuncState.petMode": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_ON_W" } }, "airState.quality.PM1": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.quality.PM2": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.quality.PM10": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.quality.sensorMon": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_SETTING_SENSORMON_OPERATIONING_W", "1": "@AP_SETTING_SENSORMON_ALWAYS_W" } }, "airState.quality.airMon": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_SETTING_SENSORMON_OPERATIONING_W", "1": "@AP_SETTING_SENSORMON_ALWAYS_W" } }, "airState.outside.quality.PM2": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.humidity.current": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 100, "step": 1 } }, "airState.quality.overall": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.quality.odor": { "data_type": "range", "default": "0", "comment": "냄새", "value_validation": { "min": 0, "max": 1000, "step": 1 } }, "airState.filterMngStates.desorption": { "data_type": "enum", "default": "0", "comment": "탈착감지", "value_mapping": { "0": "@AP_OFF_W", "1": "@AP_POP_ALARM_FILTER_W", "2": "@AP_POP_ALARM_COVER_W", "3": "@AP_POP_ALARM_FILTER_COVER_W", "4": "@AP_POP_ALARM_HUMIDY_FILTER_W", "5": "@AP_POP_ALARM_FILTER_W", "6": "@AP_POP_ALARM_COVER_W", "7": "@AP_POP_ALARM_FILTER_W", "8": "@AP_POP_ALARM_HUMIDY_FILTER_W", "9": "@AP_POP_ALARM_FILTER_W", "10": "@AP_POP_ALARM_FILTER_W", "11": "@AP_POP_ALARM_FILTER_W", "12": "@AP_POP_ALARM_HUMIDY_FILTER_W", "13": "@AP_POP_ALARM_FILTER_W", "14": "@AP_POP_ALARM_FILTER_W", "15": "@AP_POP_ALARM_FILTER_W", "16": "@AP_POP_ALARM_FILTER_W", "17": "@AP_POP_ALARM_FILTER_W", "18": "@AP_POP_ALARM_FILTER_W", "19": "@AP_POP_ALARM_FILTER_W", "20": "@AP_POP_ALARM_FILTER_W", "21": "@AP_POP_ALARM_FILTER_W", "22": "@AP_POP_ALARM_FILTER_W", "23": "@AP_POP_ALARM_FILTER_W", "24": "@AP_POP_ALARM_FILTER_W", "25": "@AP_POP_ALARM_FILTER_W", "26": "@AP_POP_ALARM_FILTER_W", "27": "@AP_POP_ALARM_FILTER_W", "28": "@AP_POP_ALARM_FILTER_W", "29": "@AP_POP_ALARM_FILTER_W", "30": "@AP_POP_ALARM_FILTER_W", "31": "@AP_POP_ALARM_FILTER_W", "32": "@AP_POP_ALARM_FILTER_W", "33": "@AP_POP_ALARM_FILTER_W", "34": "@AP_POP_ALARM_FILTER_W", "35": "@AP_POP_ALARM_FILTER_W", "36": "@AP_POP_ALARM_FILTER_W", "37": "@AP_POP_ALARM_FILTER_W", "38": "@AP_POP_ALARM_FILTER_W", "39": "@AP_POP_ALARM_FILTER_W", "40": "@AP_POP_ALARM_FILTER_W", "41": "@AP_POP_ALARM_FILTER_W", "42": "@AP_POP_ALARM_FILTER_W", "43": "@AP_POP_ALARM_FILTER_W", "44": "@AP_POP_ALARM_FILTER_W", "45": "@AP_POP_ALARM_FILTER_W", "46": "@AP_POP_ALARM_FILTER_W", "47": "@AP_POP_ALARM_FILTER_W", "48": "@AP_POP_ALARM_FILTER_W", "49": "@AP_POP_ALARM_FILTER_W", "50": "@AP_POP_ALARM_FILTER_W", "51": "@AP_POP_ALARM_FILTER_W", "52": "@AP_POP_ALARM_FILTER_W", "53": "@AP_POP_ALARM_FILTER_W", "54": "@AP_POP_ALARM_FILTER_W", "55": "@AP_POP_ALARM_FILTER_W", "56": "@AP_POP_ALARM_FILTER_W", "57": "@AP_POP_ALARM_FILTER_W", "58": "@AP_POP_ALARM_FILTER_W", "59": "@AP_POP_ALARM_FILTER_W", "60": "@AP_POP_ALARM_FILTER_W", "61": "@AP_POP_ALARM_FILTER_W", "62": "@AP_POP_ALARM_FILTER_W", "63": "@AP_POP_ALARM_FILTER_W" } }, "airState.outside.humidity.current": { "data_type": "range", "default": "0", "value_validation": { "min": 0, "max": 100, "step": 1 } }, "airState.diagCode": { "data_type": "enum", "default": "0", "value_mapping": { "0": "@NORMAL", "9": "@ERROR_EEPROM", "10": "@ERROR_FAN", "11": "@ERROR_E11", "12": "@ERROR_CIRCULATION_FAN", "15": "@ERROR_E15", "255": "@NORMAL" } }, "airState.quality.CO2Step": { "data_type": "range", "default": "0", "comment": "CO2", "value_validation": { "min": 0, "max": 5000, "step": 1 } }, "airState.miscFuncState.extraOp": { "comment": "중앙제어운전_NoticePanel", "data_type": "enum", "default": "0", "value_mapping": { "0": "@AP_OFF_W", "2": "@AP_MAIN_LOCKVALUE_CEN_ALL_W", "8": "@AP_MAIN_LOCKVALUE_CEN_SETWINDSTRENGTH_W", "10": "@AP_MAIN_LOCKVALUE_CEN_ALL_SETWINDSTRENGTH_W", "16": "@AP_MAIN_LOCKVALUE_CEN_SETOPMODE_W", "18": "@AP_MAIN_LOCKVALUE_CEN_ALL_SETOPMODE_W", "24": "@AP_MAIN_LOCKVALUE_CEN_SETWINDSTRENGTH_SETOPMODE_W", "26": "@AP_MAIN_LOCKVALUE_CEN_ALL_SETWINDSTRENGTH_SETOPMODE_W", "256": "@AP_MAIN_LOCKVALUE_CEN_CENCTRL_W", "1024": "@AP_MAIN_LOCKVALUE_CEN_POWERONOFF_W", "1026": "@AP_MAIN_LOCKVALUE_CEN_ALL_POWERONOFF_W", "1280": "@AP_MAIN_LOCKVALUE_CEN_CENCTRL_POWERONOFF_W", "1282": "@AP_MAIN_LOCKVALUE_CEN_ALL_CENCTRL_POWERONOFF_W" } } }, "Monitoring": { "type": "JSON", "protocol": [ { "path": "airState.operation", "value": "airState.operation" }, { "path": "airState.opMode", "value": "airState.opMode" }, { "path": "airState.humidity.desired", "value": "airState.humidity.desired" }, { "path": "airState.windStrength", "value": "airState.windStrength" }, { "path": "airState.circulate.strength", "value": "airState.circulate.strength" }, { "path": "airState.circulate.rotate", "value": "airState.circulate.rotate" }, { "path": "airState.miscFuncState.antiBugs", "value": "airState.miscFuncState.antiBugs" }, { "path": "airState.miscFuncState.airRemoval", "value": "airState.miscFuncState.airRemoval" }, { "path": "airState.miscFuncState.airFast", "value": "airState.miscFuncState.airFast" }, { "path": "airState.miscFuncState.sleepMode", "value": "airState.miscFuncState.sleepMode" }, { "path": "airState.miscFuncState.airUVDisinfection", "value": "airState.miscFuncState.airUVDisinfection" }, { "path": "airState.lightingState.signal", "value": "airState.lightingState.signal" }, { "path": "airState.reservation.absoluteStartTime", "value": "airState.reservation.absoluteStartTime" }, { "path": "airState.reservation.absoluteStopTime", "value": "airState.reservation.absoluteStopTime" }, { "path": "airState.reservation.sleepTime", "value": "airState.reservation.sleepTime" }, { "path": "airState.diagCode", "value": "airState.diagCode" }, { "path": "airState.quality.PM1", "value": "airState.quality.PM1" }, { "path": "airState.quality.PM2", "value": "airState.quality.PM2" }, { "path": "airState.quality.PM10", "value": "airState.quality.PM10" }, { "path": "airState.quality.sensorMon", "value": "airState.quality.sensorMon" }, { "path": "airState.quality.airMon", "value": "airState.quality.airMon" }, { "path": "airState.humidity.current", "value": "airState.humidity.current" }, { "path": "airState.tempState.current", "value": "airState.tempState.current" }, { "path": "airState.quality.odor", "value": "airState.quality.odor" }, { "path": "airState.filterMngStates.desorption", "value": "airState.filterMngStates.desorption" }, { "path": "airState.miscFuncState.cleanDry", "value": "airState.miscFuncState.cleanDry" }, { "path": "airState.miscFuncState.petMode", "value": "airState.miscFuncState.petMode" }, { "path": "airState.quality.overall", "value": "airState.quality.overall" }, { "path": "airState.quality.CO2Step", "value": "airState.quality.CO2Step" }, { "path": "airState.miscFuncState.extraOp", "value": "airState.miscFuncState.extraOp" } ] }, "ControlWifi": { "type": "JSON", "action": {} }, "Push": [ { "category": "3", "label": "@AP_SETTING_ALARM_RECOMMEND_W", "groupCode": "40201", "pushList": [ { "0003": "@AP_SETTING_ALARM_DUST_W" } ] }, { "category": "6", "label": "@AP_SETTING_ALARM_WATERTANK_LACK_W", "groupCode": "40203", "pushList": [ { "0008": "@AP_SETTING_ALARM_WATERTANK_LACK_W" } ] }, { "category": "9", "label": "@AP_SETTING_ALARM_FILTER_TOP_CHANGE_W", "groupCode": "40204", "pushList": [ { "0009": "@AP_SETTING_ALARM_FILTER_CHANGE_W" } ] }, { "category": "10", "label": "@AP_SETTING_ALARM_FILTER_MID_CHANGE_W", "groupCode": "40205", "pushList": [ { "0010": "@AP_SETTING_ALARM_FILTER_CHANGE_W" } ] }, { "category": "11", "label": "@AP_SETTING_ALARM_PRE_FILTER_CHANGE_W", "groupCode": "40206", "pushList": [ { "0011": "@AP_SETTING_ALARM_FILTER_CHANGE_W" } ] }, { "category": "12", "label": "@AP_SETTING_ALARM_DUST_FILTER_CHANGE_W", "groupCode": "40207", "pushList": [ { "0012": "@AP_SETTING_ALARM_FILTER_CHANGE_W" } ] }, { "category": "13", "label": "추천 운전 알림", "groupCode": "40250", "pushList": [ { "0013": "@AP_SETTING_ALARM_DUST_W" } ] } ], "SmartMode": { "MODE010": { "_comment": "외출모드", "actionName": "@AP_ALARM_MODE_W", "control": [ { "ctrlKey": "favoriteCtrl", "command": "Set", "dataSetList": { "airState.operation": "1", "airState.opMode": "10", "airState.windStrength": "8", "airState.reservation.sleepTime": "480" } } ] }, "MODE020": { "_comment": "귀가모드", "actionName": "@AP_ALARM_MODE_W", "control": [ { "ctrlKey": "favoriteCtrl", "command": "Set", "dataSetList": { "airState.operation": "1", "airState.opMode": "9", "airState.windStrength": "8", "airState.reservation.sleepTime": "0" } } ] }, "MODE030": { "_comment": "휴가모드", "actionName": "@AP_ALARM_MODE_W", "control": [ { "ctrlKey": "basicCtrl", "command": "Set", "dataKey": "airState.operation", "dataValue": "0" } ] }, "MODE040": { "_comment": "취침모드", "actionName": "@AP_ALARM_MODE_W", "control": [ { "ctrlKey": "favoriteCtrl", "command": "Set", "dataSetList": { "airState.operation": "1", "airState.opMode": "10", "airState.windStrength": "8", "airState.reservation.sleepTime": "480" } } ] }, "MODE050": { "_comment": "쾌적모드", "actionName": "@AP_ALARM_MODE_W", "control": [ { "ctrlKey": "basicCtrl", "command": "Set", "dataKey": "airState.operation", "dataValue": "1" } ] } }, "Config": { "fota": true, "audibleDiagnosis": true, "forceShowCIC": true } } |
@tinkerborg, can I help you with anything? I can do Python, maybe I can try and implement support for devices that are present in this issue? 🙂 |
Has this worked with anyone that has an LG Dehumidifier? I'm having issues with it detecting my device. LG PuriCare 2019 50-Pint Pump and Wi-Fi in Black Energy Star Dehumidifier |
@town3r |
I correctly found my air conditioner. Big thanks for your work on this project !
However, I would need some guidance to create a proper device as you did with your "laundry" device. The file "laundry.py" seems a bit empty. I am not sure what is the state of the art on this project as it is quite a new one (less than a month ago!). Are you able to get a proper output of your device state?
If you are interested by the output of the monitoring of my device:
(deviceId hidden)
The text was updated successfully, but these errors were encountered: