-
-
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
Add support for Therma V (Air-water Heatpump AWHP) #213
Comments
I have a Therma V and I am starting to use this plugin. Thanks a lot sharing. |
Goodmorning! I saw a new udate, hoped this issue was solved. Unfortunately not.
|
fixed on |
Thanks! Warnings are disapeard and temperature of water for heating is correct displayed! Thank! |
Sorry, problem came back. Target temperature changed and problem is back. Target temperature is dependent of temperature outside.
|
@PvdGulik your target temperature range from 16 - 30, is that right? or 10.5 - 39.5? I saw this in device model, not sure which one is correct |
Target for heating is from 15 - 65, for cooling 5 - 27, for DHW 15 - 80. See page 6, Productspecificaties https://www.lgklimaat.nl/Media/Downloads/lg-therma-v-monobloc-s-folder-nl-klein.pdf Thanks! |
With you latest update the errors now occur above 30 degrees. Can you adjust the target maximum to 65, as specified by LG?
See also my other issue, #272 |
I'm trying to extract temperature range from api |
Thanks for your test version, unfortunately it does not work, and now the whole plug-in stops working. Hereby the logging with debug -D: `Loading logs using native method... [27/02/2024, 07:31:00] [LGThinQ] [request] get https://route.lgthinq.com:46030/v1/service/application/gateway-uri Hope you can solve it. Thanks! |
@PvdGulik I fixed it on |
It seems to work, till now errors are gone ;-) ` [27/02/2024, 12:57:38] --- [27/02/2024, 12:57:51] [LGThinQ] Initializing LGThinQ platform... [27/02/2024, 12:57:56] [LGThinQ] Loading accessory from Homebridge cache: Lucht-water H/P [27/02/2024, 12:57:57] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 8242) is running on port 51826. [27/02/2024, 12:58:02] [LGThinQ] Successfully connected to the ThinQ API. [27/02/2024, 12:59:55] --- [27/02/2024, 13:00:08] [LGThinQ] Initializing LGThinQ platform... [27/02/2024, 13:00:13] [LGThinQ] Loading accessory from Homebridge cache: Lucht-water H/P [27/02/2024, 13:00:13] [LGThinQ] Executed didFinishLaunching callback [27/02/2024, 13:00:15] Homebridge v1.7.0 (HAP v0.11.1) (Homebridge 8242) is running on port 51826. [27/02/2024, 13:00:16] [LGThinQ] [request] get https://route.lgthinq.com:46030/v1/service/application/gateway-uri [27/02/2024, 13:00:18] [LGThinQ] [request] post https://kic.lgthinq.com:46030/api/common/gatewayUriList [27/02/2024, 13:00:39] [LGThinQ] [Lucht-water H/P] Received snapshot: {"airState.2nd.miscFuncState.awhpTempSwitch":1,"airState.2nd.operation":1,"airState.2nd.tempState.airTempCoolMax":30,"airState.2nd.tempState.airTempCoolMin":16,"airState.2nd.tempState.airTempHeatMax":30,"airState.2nd.tempState.airTempHeatMin":16,"airState.2nd.tempState.target":31,"airState.2nd.tempState.waterTempCoolMax":24,"airState.2nd.tempState.waterTempCoolMin":5,"airState.2nd.tempState.waterTempHeatMax":55,"airState.2nd.tempState.waterTempHeatMin":20,"airState.2ndCircuit.onOff":0,"airState.calorie.onCurrent":3002,"airState.energy.onCurrent":1018,"airState.ess.batteryPower":0,"airState.ess.batteryPowerExt":0,"airState.ess.batteryRemain":0,"airState.ess.batteryStatus":0,"airState.ess.consumePower":0,"airState.ess.consumePowerExt":0,"airState.ess.consumeRate":0,"airState.ess.energyFlow":0,"airState.ess.energyLevel":0,"airState.ess.gridPower":0,"airState.ess.gridPowerExt":0,"airState.ess.opStatus":0,"airState.ess.solarPower":0,"airState.ess.solarPowerExt":0,"airState.miscFuncState.awhpTempSwitch":1,"airState.miscFuncState.awhpWaterControl":0,"airState.miscFuncState.extraOp":0,"airState.miscFuncState.hotWater":0,"airState.miscFuncState.powerHotWater":0,"airState.miscFuncState.silentAWHP":0,"airState.opMode":4,"airState.operation":1,"airState.tempState.airTempCoolMax":30,"airState.tempState.airTempCoolMin":16,"airState.tempState.airTempHeatMax":30,"airState.tempState.airTempHeatMin":16,"airState.tempState.current":20.5,"airState.tempState.hotWaterTarget":55,"airState.tempState.hotWaterTempMax":55,"airState.tempState.hotWaterTempMin":40,"airState.tempState.inWaterCurrent":26,"airState.tempState.outWaterCurrent":31.5,"airState.tempState.target":31,"airState.tempState.waterTempCoolMax":24,"airState.tempState.waterTempCoolMin":5,"airState.tempState.waterTempHeatMax":55,"airState.tempState.waterTempHeatMin":20,"meta":{"allDeviceInfoUpdate":false,"messageId":"4_JfmziPSMmYOLTeMfkLug"},"mid":253655146,"online":true,"static":{"countryCode":"NL","deviceType":"401"},"timestamp":1709035239627} Update: till now 15:10 nex day, still no errors! |
Which device do you want to add? Please describe:
LG Therma V. It's a Air-Water HeatPump monoblock. I have the HM123MR.U34.
Describe the solution you'd like:
The settings as in the LG Thinq app. (see pictures)
Device Data:
[31/01/2023, 07:47:34] [HB Supervisor] OS: Linux 5.15.84-v7+ arm [31/01/2023, 07:47:34] [HB Supervisor] Node.js v18.13.0 /opt/homebridge/bin/node [31/01/2023, 07:47:34] [HB Supervisor] Homebridge Path: /var/lib/homebridge/node_modules/homebridge/bin/homebridge [31/01/2023, 07:47:34] [HB Supervisor] UI Path: /opt/homebridge/lib/node_modules/homebridge-config-ui-x/dist/bin/standalone.js [31/01/2023, 07:47:46] [Homebridge UI] Homebridge Config UI X v4.50.2 is listening on :: port 8581 [31/01/2023, 07:47:48] [HB Supervisor] Starting Homebridge with extra flags: -I -P /var/lib/homebridge/node_modules -D --strict-plugin-resolution [31/01/2023, 07:47:48] [HB Supervisor] Started Homebridge v1.6.0 with PID: 29532 [31/01/2023, 07:47:53] --- [31/01/2023, 07:47:56] Loaded plugin: [email protected] [31/01/2023, 07:47:56] Registering platform 'homebridge-lg-thinq.LGThinQ' [31/01/2023, 07:48:14] [LGThinQ] Initializing LGThinQ platform... [31/01/2023, 07:48:14] [LGThinQ] Loading accessory from Homebridge cache: Lucht-water H/P [31/01/2023, 07:48:15] [LGThinQ] Executed didFinishLaunching callback [31/01/2023, 07:48:15] Publishing external accessory (name: Televisie, publishInfo: { username: 'EC:BC:A0:09:B8:C6', pincode: '***-**-***', category: 31, port: undefined, bind: [ 'eth0', [length]: 1 ], mdns: undefined, addIdentifyingMaterial: true, advertiser: undefined }). [31/01/2023, 07:48:15] Publishing bridge accessory (name: Homebridge 8242, publishInfo: { username: '0E:6C:7C:A3:82:42', port: 51826, pincode: '***-**-***', category: 2, bind: [ 'eth0', [length]: 1 ], mdns: undefined, addIdentifyingMaterial: true, advertiser: undefined }). [31/01/2023, 07:48:17] [LGThinQ] [request] get https://route.lgthinq.com:46030/v1/service/application/gateway-uri [31/01/2023, 07:48:19] [LGThinQ] [request] post https://kic.lgthinq.com:46030/api/common/gatewayUriList [31/01/2023, 07:48:21] [LGThinQ] [request] post https://nl.lgeapi.com/oauth/1.0/oauth2/token [31/01/2023, 07:48:21] [LGThinQ] [request] post https://eic.lgthinq.com:46030/api/member/login [31/01/2023, 07:48:21] [LGThinQ] [request] get https://nl.lgeapi.com/users/profile [31/01/2023, 07:48:21] [LGThinQ] Successfully connected to the ThinQ API. [31/01/2023, 07:48:22] [LGThinQ] [request] get https://eic-service.lgthinq.com:46030/v1/service/homes [31/01/2023, 07:48:22] [LGThinQ] [request] get https://eic-service.lgthinq.com:46030/v1/service/homes/160234131941356992 [31/01/2023, 07:48:22] [LGThinQ] Device data: {"deviceId":"XXXXXXXXXXXXXXXXX","deviceType":401,"modelName":"AWHP_019101_WW","subModelNm":null,"sensorType":null,"alias":"Lucht-water H/P","deviceCode":"AI05","networkType":"02","tftYn":"N","guideTypeYn":"Y","guideType":"TYPE5","pccModelYn":"N","autoOrderYn":"N","drServiceYn":"N","ssid":"XXXXXXXXXXXX","timezoneCode":"Europe/Amsterdam","timezoneCodeAlias":"Europe/Amsterdam","sdsGuide":"{\"deviceCode\":\"AI05\"}","newRegYn":"N","remoteControlType":"REMO_AWHP_WIRED_RS3","fareTarget":null,"area":"871163","sleep":null,"deviceState":"E","rmsClientId":null,"regDtUtc":"20221230125434000","regIndex":0,"blackboxYn":"Y","groupableYn":"Y","controllableYn":"Y","combinedProductYn":"N","masterYn":"Y","snapshot":{"airState.ess.opStatus":0,"airState.ess.consumeRate":0,"airState.tempState.airTempHeatMin":16,"airState.diagCode":0,"airState.ess.solarPower":0,"airState.tempState.waterTempCoolMin":10,"airState.tempState.airTempCoolMin":16,"mid":1003051594,"airState.energy.onCurrent":27,"airState.quality.sensorMon":0,"airState.ess.batteryStatus":0,"airState.miscFuncState.awhpWaterControl":3,"airState.tempState.target":30,"airState.ess.batteryPower":0,"airState.tempState.hotWaterTempMin":40,"airState.ess.consumePowerExt":0,"airState.operation":1,"airState.tempState.waterTempHeatMax":55,"airState.tempState.airTempCoolMax":30,"timestamp":1675146691371,"static":{"deviceType":"401","countryCode":"NL"},"airState.tempState.hotWaterCurrent":0,"airState.ess.solarPowerExt":0,"airState.tempState.current":19,"airState.tempState.hotWaterTempMax":55,"airState.miscFuncState.awhpTempSwitch":1,"airState.miscFuncState.extraOp":0,"airState.tempState.hotWaterTarget":55,"airState.ess.gridPower":0,"airState.tempState.waterTempHeatMin":20,"airState.ess.energyFlow":0,"airState.miscFuncState.powerHotWater":0,"airState.tempState.airTempHeatMax":30,"meta":{"allDeviceInfoUpdate":false,"messageId":"MbIqupX8SHijJsWITNxILQ"},"airState.ess.batteryRemain":0,"airState.tempState.waterTempCoolMax":24,"airState.miscFuncState.silentAWHP":1,"online":true,"airState.ess.batteryPowerExt":0,"airState.ess.gridPowerExt":0,"airState.miscFuncState.hotWater":0,"airState.opMode":4,"airState.ess.consumePower":0,"airState.ess.energyLevel":0,"airState.tempState.outWaterCurrent":27,"airState.tempState.inWaterCurrent":28},"manufacture":{"inventoryOrg":"DMZ","macAddress":"80:5B:65:XXXXXX","manufactureModel":"ZHBW128A1","manufacturedAt":"2022-12-30T11:55:12+00:00","registeredAt":"2022-12-30T12:55:14.864833+00:00","salesModel":"ZHBW128A1","serialNo":"XXXXXXXXXXX"},"online":true,"platformType":"thinq2","homeDeviceOrder":2,"roomDeviceOrder":-1,"ownershipYn":"Y","modelJsonVer":"16.5","modelJsonUri":"https://objectcontent.lgthinq.com/8ec4319b-b800-435a-ab09-21ac19482591?hdnts=exp=1735481827~hmac=bacfb6b379b9d46e52b801280760dab8e76775b5ea900dc23d0cbb79f8cf1ec3","appModuleVer":"17.78","appModuleUri":"https://objectcontent.lgthinq.com/6f9e5106-2098-4fff-8382-44224a29519d?hdnts=exp=1701394617~hmac=5b9c7381ced9740f199fbe379f86226fcb0dd261953164fbfed15b0d1bf63b7e","appRestartYn":"Y","appModuleSize":"12867303","langPackProductTypeVer":"78.1","langPackProductTypeUri":"https://objectcontent.lgthinq.com/4162b618-c49e-4efb-bdf8-f1d0131c9fc0?hdnts=exp=1737856213~hmac=8991e496d5766d6ec31105bf8aac80c1d4413396a8b84fc1fe7d1fd2abd7dd5a","langPackModelVer":null,"langPackModelUri":null,"roomId":"167243508675733743","fwInfoList":[{"checksum":"0000CB1A","order":1,"partNumber":"SAA42121706"}],"modemInfo":{"appVersion":"clip_hna_v1.9.183","modelName":"AWHP_019101_WW","modemType":"QCOM_QCA4010","ruleEngine":"y"},"existsEntryPopup":"N","fwVer":null,"modemVer":"clip_hna_v1.9.161","subDeviceCount":0,"firebaseLogKey":null,"cardType":"Small","cardControl":"Base","detailDeviceCode":null,"upgradableYn":"N","autoFwDownloadYn":"N"} [31/01/2023, 07:48:22] [LGThinQ] [Lucht-water H/P] Setting up device! [31/01/2023, 07:48:22] [LGThinQ] Restoring existing accessory: 404b8a77-57b1-13ca-9006-805b65850ccc: Lucht-water H/P (AC AWHP_019101) [31/01/2023, 07:48:22] [homebridge-lg-thinq] This plugin generated a warning from the characteristic 'Heating Threshold Temperature': characteristic was supplied illegal value: number 30 exceeded maximum of 25. See https://homebridge.io/w/JtMGR for more info. [31/01/2023, 07:48:22] [homebridge-lg-thinq] Error: at HeatingThresholdTemperature.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105) at HeatingThresholdTemperature.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2927:14) at HeatingThresholdTemperature.Characteristic.updateValue (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2328:20) at HeaterCooler.Service.updateCharacteristic (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Service.ts:795:35) at AirConditioner.updateAccessoryCharacteristic (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/devices/AirConditioner.ts:226:20) at LGThinQHomebridgePlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/platform.ts:163:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) [31/01/2023, 07:48:22] [homebridge-lg-thinq] This plugin generated a warning from the characteristic 'Current Relative Humidity': characteristic value expected valid finite number and received "undefined" (undefined). See https://homebridge.io/w/JtMGR for more info. [31/01/2023, 07:48:22] [homebridge-lg-thinq] Error: at CurrentRelativeHumidity.Characteristic.characteristicWarning (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:3011:105) at CurrentRelativeHumidity.Characteristic.validateUserInput (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2903:14) at CurrentRelativeHumidity.Characteristic.updateValue (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Characteristic.ts:2328:20) at HumiditySensor.Service.updateCharacteristic (/var/lib/homebridge/node_modules/homebridge/node_modules/hap-nodejs/src/lib/Service.ts:795:35) at AirConditioner.updateAccessoryCharacteristic (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/devices/AirConditioner.ts:274:34) at LGThinQHomebridgePlatform.discoverDevices (/var/lib/homebridge/node_modules/homebridge-lg-thinq/src/platform.ts:163:21) at processTicksAndRejections (node:internal/process/task_queues:95:5) [31/01/2023, 07:48:22] [LGThinQ] Start MQTT listener for thinq2 device [31/01/2023, 07:48:23] [LGThinQ] [request] get https://common.lgthinq.com/route [31/01/2023, 07:48:23] [LGThinQ] [request] get https://www.amazontrust.com/repository/AmazonRootCA1.pem [31/01/2023, 07:48:23] [LGThinQ] [request] post https://eic-service.lgthinq.com:46030/v1/service/users/client [31/01/2023, 07:48:23] [LGThinQ] [request] post https://eic-service.lgthinq.com:46030/v1/service/users/client/certificate [31/01/2023, 07:48:23] [LGThinQ] open mqtt connection to ssl://a3phael99lf879-ats.iot.eu-west-1.amazonaws.com:8883 [31/01/2023, 07:48:24] [LGThinQ] Successfully connected to the MQTT server. [31/01/2023, 07:48:24] [LGThinQ] mqtt connected: ssl://a3phael99lf879-ats.iot.eu-west-1.amazonaws.com:8883
Thanks!
The text was updated successfully, but these errors were encountered: