-
-
Notifications
You must be signed in to change notification settings - Fork 49
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
Please add support for PREMTA201 (deluxe thermostat for ducted HVAC) #316
Comments
The issue is coming from the helper class. The PREMTA201 thermostat is clearly not returning any of the device types in that list. I believe that this thermostat will behave like an AC in every way (although I have yet to find any LG documentation about that). What device type is the thermostat returning? I can't find that information. Setting that case = to 'airconditioner' would probably solve the problem. |
looked into your data, I don't see any snapshot data of thermostat device (device type = 605), not sure how they can control it via thinq app |
Hey,I’ve attached some screenshots of what I’m seeing in the ThinQ app. The thermostats are associated with the units they control. So when I tap on the thermostat, it just takes me to the ducted unit that it controls. Both the ducted units themselves, and the thermostats auto populate in your configuration GUI in homebridge.
Are the ducted units returning a device type value?
|
Describe Your Problem:
I have 2 LG Ducted HVAC units, operated by the LG Premium Thermostat (PREMTA201). The thermostats are supported by the ThinQ app, and I have successfully added and controlled them via the app. When I try to add them in the plug-in, it says they are not supported.
Logs:
[18/11/2024, 09:05:37] [homebridge-lg-thinq] Successfully connected to the ThinQ API.
[18/11/2024, 09:05:37] [homebridge-lg-thinq] [request] get https://aic-service.lgthinq.com:46030/v1/service/homes
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [request] get https://aic-service.lgthinq.com:46030/v1/service/homes/172193303871465464
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Device [Deluxe Wired Controller]: 9ea7548b-ac95-12a1-8a06-fc84a7308478: Deluxe Wired Controller (undefined RMC_427655)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] {"modelAppType":"NUTS","brandType":"common","deviceId":"9ea7548b-ac95-12a1-8a06-fc84a7308478","deviceType":605,"modelName":"RMC_427655_WW","subModelNm":null,"sensorType":null,"alias":"Deluxe Wired Controller","deviceCode":"AI13","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"AquaticConejos","timezoneCode":"America/Los_Angeles","timezoneCodeAlias":"USA/Los_Angeles","sdsGuide":"{"deviceCode":"AI13"}","newRegYn":"Y","remoteControlType":null,"fareTarget":null,"area":"2254016","sleep":null,"deviceState":"T","rmsClientId":null,"regDtUtc":"20241118160643000","regIndex":2,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"online":false},"manufacture":null,"online":false,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"1.0","modelJsonUri":"https://objectcontent.lgthinq.com/8a34d6cc-051e-4cf9-b727-940904884bcd?hdnts=exp=1777172445~hmac=aae247ffa6f657ff62f67c4e16ae3da456509f5267612abb82edefeec95ca3c6","appModuleVer":null,"appModuleUri":null,"appRestartYn":null,"appModuleSize":null,"langPackProductTypeVer":"10.8","langPackProductTypeUri":"https://objectcontent.lgthinq.com/5710501f-4094-4e56-ab41-c0af3027f5d3?hdnts=exp=1776214817~hmac=17c37e87c3a2654b0ac3a6d08746dae361e501e6aeaa1926eccf4b01cdc9019c","langPackModelVer":null,"langPackModelUri":null,"roomId":"","fwInfoList":null,"modemInfo":null,"modemConfig":null,"existsEntryPopup":"N","fwVer":null,"modemVer":"deluxe_global_v2.002","subDeviceCount":1,"firebaseLogKey":null,"cardType":"Small","cardControl":"Base","detailDeviceCode":"RMC","upgradableYn":"N","autoFwDownloadYn":"N","homeMovableYn":"Y","protocolVersion":null,"btAddress":null,"isTLV":null,"jsonList":null,"registrationFailCode":"RFC001","mdFotaYn":null,"demandType":null,"activatedContents":null,"modelControlValidateUri":null,"modelControlValidateVer":null,"matterYn":"N","groups":[]}
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [Deluxe Wired Controller] Setting up device!
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Device not supported: thinq2: 9ea7548b-ac95-12a1-8a06-fc84a7308478: Deluxe Wired Controller (undefined RMC_427655)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Device [Ben’s Office HVAC]: d8cb3689-2690-1f3f-8a1f-d48d2661129c: Ben’s Office HVAC (AC CST_570004)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] {"modelAppType":"NUTS","brandType":"common","deviceId":"d8cb3689-2690-1f3f-8a1f-d48d2661129c","deviceType":401,"modelName":"CST_570004_WW","subModelNm":null,"sensorType":null,"alias":"Ben’s Office HVAC","deviceCode":"AI04","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE4","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"AquaticConejos","timezoneCode":"America/Los_Angeles","timezoneCodeAlias":"USA/Los_Angeles","sdsGuide":"{"deviceCode":"AI04"}","newRegYn":"N","remoteControlType":"BE","fareTarget":null,"area":"2254016","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20241117031631000","regIndex":0,"blackboxYn":"Y","groupableYn":"Y","controllableYn":"Y","combinedProductYn":"N","masterYn":"Y","snapshot":{"airState.windStrength":6,"airState.tempState.limitMin":32,"airState.tempState.unit":0,"airState.diagCode":0,"airState.ductZone.state":0,"airState.lightingState.displayControl":12,"mid":139336610,"airState.wMode.airClean":0,"airState.quality.sensorMon":0,"airState.tempState.target":23,"airState.humidity.current":0,"airState.operation":1,"airState.wDir.swirl":0,"airState.wDir.vStep":0,"timestamp":1731949509500,"airState.powerSave.basic":0,"airState.wDir.upDown":0,"airState.quality.PM10":0,"airState.notification":0,"airState.powerSave.hum":0,"static":{"deviceType":"401","countryCode":"US"},"airState.tempState.hotWaterCurrent":0,"airState.tempState.current":35.5,"airState.miscFuncState.extraOp":0,"airState.wDir.leftRight":0,"airState.miscFuncState.dRED":0,"airState.tempState.limitMax":60,"airState.reservation.sleepTime":0,"airState.bellSound.appControl":0,"airState.miscFuncState.autoDry":0,"meta":{"allDeviceInfoUpdate":false,"messageId":"tdGST0V3QfuHx0vxv4ZjfA"},"airState.quality.PM1":0,"airState.quality.PM2":0,"online":true,"airState.opMode":6,"airState.filterMngStates.maxTime":2400,"airState.filterMngStates.useTime":2364,"airState.tempState.twoSetState":0},"manufacture":null,"online":true,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"21.6","modelJsonUri":"https://objectcontent.lgthinq.com/ef7d63ac-ea38-4815-aad6-61b16552e969?hdnts=exp=1788569339~hmac=189ed81b4f51c0cdb818541ad5241b80974f30e58f46387e5fd6bba74deaec33","appModuleVer":"17.78","appModuleUri":"https://objectcontent.lgthinq.com/6f9e5106-2098-4fff-8382-44224a29519d?hdnts=exp=1761876072~hmac=673c9bda4649168162d0a731113f44d9adc6062b3e4781a81cf97a771a9e63ce","appRestartYn":"Y","appModuleSize":"12867303","langPackProductTypeVer":"109.0","langPackProductTypeUri":"https://objectcontent.lgthinq.com/43507dab-4d70-4ec9-920e-fdc3f78f6a5b?hdnts=exp=1793760827~hmac=d35171a04f773042c867c5d78c8f3c25f89aa7dc1583614c8131d22ad1b7bde4","langPackModelVer":null,"langPackModelUri":null,"roomId":"","fwInfoList":[{"checksum":"0000F987","order":1,"partNumber":"SAA39619347"}],"modemInfo":{"appVersion":"clip_hna_v1.9.210","modelName":"CST_570004_WW","modemType":"QCOM_QCA4010","ruleEngine":"y"},"modemConfig":{"device_status":"y","online_check":"y","support_dst":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":"clip_hna_v1.9.205","subDeviceCount":0,"firebaseLogKey":null,"cardType":"Large","cardControl":"Control","detailDeviceCode":"CST_1","upgradableYn":"N","autoFwDownloadYn":"N","homeMovableYn":"Y","protocolVersion":null,"btAddress":null,"isTLV":null,"jsonList":null,"registrationFailCode":"","mdFotaYn":"Y","demandType":"QCOM_QCA4010","activatedContents":null,"modelControlValidateUri":null,"modelControlValidateVer":null,"matterYn":"N","groups":[]}
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [Ben’s Office HVAC] Setting up device!
[18/11/2024, 09:05:38] [homebridge-lg-thinq] 9ea7548b-ac95-12a1-8a06-fc84a7308478 - unregistered!
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Restoring existing accessory: d8cb3689-2690-1f3f-8a1f-d48d2661129c: Ben’s Office HVAC (AC CST_570004)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Device [Great Room Thermostat 18k]: f897ef3e-5dfa-1839-a4e6-a0cdf3f48591: Great Room Thermostat 18k (undefined RMC_427655)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] {"modelAppType":"NUTS","brandType":"common","deviceId":"f897ef3e-5dfa-1839-a4e6-a0cdf3f48591","deviceType":605,"modelName":"RMC_427655_WW","subModelNm":null,"sensorType":null,"alias":"Great Room Thermostat 18k","deviceCode":"AI13","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE1","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"AquaticConejos","timezoneCode":"America/Los_Angeles","timezoneCodeAlias":"USA/Los_Angeles","sdsGuide":"{"deviceCode":"AI13"}","newRegYn":"N","remoteControlType":null,"fareTarget":null,"area":"2254016","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20241117035116000","regIndex":2,"blackboxYn":"Y","groupableYn":"N","controllableYn":"N","combinedProductYn":"N","masterYn":"Y","snapshot":{"online":true},"manufacture":null,"online":true,"platformType":"thinq2","homeDeviceOrder":-1,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"1.0","modelJsonUri":"https://objectcontent.lgthinq.com/8a34d6cc-051e-4cf9-b727-940904884bcd?hdnts=exp=1777172445~hmac=aae247ffa6f657ff62f67c4e16ae3da456509f5267612abb82edefeec95ca3c6","appModuleVer":null,"appModuleUri":null,"appRestartYn":null,"appModuleSize":null,"langPackProductTypeVer":"10.8","langPackProductTypeUri":"https://objectcontent.lgthinq.com/5710501f-4094-4e56-ab41-c0af3027f5d3?hdnts=exp=1776214817~hmac=17c37e87c3a2654b0ac3a6d08746dae361e501e6aeaa1926eccf4b01cdc9019c","langPackModelVer":null,"langPackModelUri":null,"roomId":"","fwInfoList":null,"modemInfo":{"appVersion":"deluxe_global_v2.002","modelName":"RMC_427655_WW","modemType":"NXP-IMX6SOLOX","ruleEngine":"n"},"modemConfig":null,"existsEntryPopup":"N","fwVer":null,"modemVer":"deluxe_global_v2.002","subDeviceCount":1,"firebaseLogKey":null,"cardType":"Small","cardControl":"Base","detailDeviceCode":"RMC","upgradableYn":"N","autoFwDownloadYn":"N","homeMovableYn":"Y","protocolVersion":null,"btAddress":null,"isTLV":null,"jsonList":null,"registrationFailCode":"","mdFotaYn":null,"demandType":null,"activatedContents":null,"modelControlValidateUri":null,"modelControlValidateVer":null,"matterYn":"N","groups":[]}
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [Great Room Thermostat 18k] Setting up device!
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Device not supported: thinq2: f897ef3e-5dfa-1839-a4e6-a0cdf3f48591: Great Room Thermostat 18k (undefined RMC_427655)
[18/11/2024, 09:05:38] [homebridge-lg-thinq] f897ef3e-5dfa-1839-a4e6-a0cdf3f48591 - unregistered!
[18/11/2024, 09:05:38] [homebridge-lg-thinq] Start MQTT listener for thinq2 device
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [request] get https://common.lgthinq.com/route
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [request] get https://www.amazontrust.com/repository/AmazonRootCA1.pem
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [request] post https://aic-service.lgthinq.com:46030/v1/service/users/client
[18/11/2024, 09:05:38] [homebridge-lg-thinq] [request] post https://aic-service.lgthinq.com:46030/v1/service/users/client/certificate
[18/11/2024, 09:05:38] [homebridge-lg-thinq] open mqtt connection to ssl://a3phael99lf879-ats.iot.us-west-2.amazonaws.com:8883
[18/11/2024, 09:05:39] [homebridge-lg-thinq] Successfully connected to the MQTT server.
[18/11/2024, 09:05:39] [homebridge-lg-thinq] mqtt connected: ssl://a3phael99lf879-ats.iot.us-west-2.amazonaws.com:8883
Plugin Config:
"country": "US",
"language": "en-US",
"auth_mode": "token",
"refresh_token": "58cf106255e7b954e306c2e661ade1310ff996ee67a7a95f63d6ca7fe376f5990eb613b681b50e8063f1a5e13bfd07cf",
"username": "xxxxx",
"password": "xxxxx",
"devices": [
{
"id": "9ea7548b-ac95-12a1-8a06-fc84a7308478",
"name": "Bedroom Thermostat 12k",
"ac_energy_save": true,
"ac_air_clean": true
},
{
"id": "9ea7548b-ac95-12a1-8a06-fc84a7308478:05",
"name": "Bedroom HVAC 12k",
"type": "AC",
"ac_energy_save": true,
"ac_air_clean": true
},
{
"id": "d8cb3689-2690-1f3f-8a1f-d48d2661129c",
"name": "Ben’s Office HVAC",
"type": "AC",
"ac_energy_save": true,
"ac_air_clean": true
},
{
"id": "f897ef3e-5dfa-1839-a4e6-a0cdf3f48591",
"name": "Great Room Thermostat 18k",
"ac_energy_save": true,
"ac_air_clean": true
},
{
"id": "f897ef3e-5dfa-1839-a4e6-a0cdf3f48591:05",
"name": "Great Room HVAC 18k",
"type": "AC",
"ac_energy_save": true,
"ac_air_clean": true
}
],
"thinq1": false,
"refresh_interval": 60,
"platform": "LGThinQ",
"_bridge": {
"username": "0E:1E:68:A3:A1:29",
"port": 33549
Screenshots:
Environment:
The text was updated successfully, but these errors were encountered: