UNPKG

iobroker.lg-thinq

Version:
753 lines (607 loc) 25.4 kB
![Logo](../../admin/lg-thinq.png) # ioBroker.lg-thinq [Back to README](/README.md) # Introduction The adapter creates all data points with the template from the data point `modelJsonUri` (deviation for devices) and uses the translation with the template from the data point `langPackModelUri` (deviation for devices). It is therefore possible that data points are created under REMOTE that have no function or are not available for the device. # Summary - [Instance Settings](#instance-settings) - [Setting LG-Thinq](#instance-setting-lg-thinq) - [Thinq1 Interval](#interval-thinq1-lg-thinq) - [States](#states) - [State Device 101 Refrigerator/Freezer](#device-101-refrigeratorfreezer-thinq1--thinq2) - [Remote Statistic](#101-remote-statistic-thinq2) - [Remote basic commands](#101-remote-control-thinq1--thinq2) - [Snapshot](#101-snapshot-thinq1--thinq2) - [State Device 201 Signature](#device-201-washer-signature-thinq2) - [Remote basic commands](#201-remote-control-signature-thinq2) - [State Device 201 Washer](#device-201-washer-thinq1--thinq2) - [Remote Statistic](#201-remote-statistic-thinq2) - [Remote basic commands](#201-remote-control-thinq1--thinq2) - [Snapshot](#201-snapshot-thinq1--thinq2) - [State Device 202 Dryer](#device-202-dryer-thinq1--thinq2) - [Remote Statistic](#202-remote-statistic-thinq2) - [Remote basic commands](#202-remote-control-thinq1--thinq2) - [Snapshot](#202-snapshot-thinq1--thinq2) - [State Device 401 air conditioner thinq2](#device-401-air-conditioner-thinq2) - [Remote Statistic](#401-remote-statistic-thinq2) - [Remote basic commands](#401-remote-control-thinq2) - [Remote Holiday](#401-remote-holiday-thinq2) - [Snapshot](#401-snapshot-thinq2) - [State Device 401 air conditioner thinq1](#device-401-air-conditioner-thinq1) - [Remote Statistic](#401-remote-statistic-thinq1) - [Remote basic commands](#401-remote-control-thinq1) - [Snapshot](#401-snapshot-thinq1) - [State Device 406 Head pump](#device-406-heat-pump-thinq2) - [Remote Statistic](#406-remote-statistic-thinq2) - [Remote basic commands](#406-remote-basicctrl-thinq2) - [Remote schedule settings](#406-remote-reservationctrl-thinq2) - [Snapshot](#406-snapshot-thinq2) - [Weather](#weather) # Instance Settings ### Instance Setting LG-Thinq [Summary](#summary) - `LG ThinQ Email`: Enter APP email - `LG ThinQ Password`: Enter APP password - `Update interval in minutes`: Recommended: At 60 minutes. If interval thinq1 is set to 0 then here is 0.5/1 minute - `Update interval in seconds for Thinq1 (per device 1 Second)`: Interval for thinq1 users - `Country`: Enter country - default DE - `Language`: Enter language - default de_DE - `Platform`: Enter platform - default LGThinQ - `Delete session data`: If there are problems with the login, please delete the session data (lg-thinq.0.session wird geleert) ![instance_config_1.png](img/instance_config_1.png) ![instance_config_2.png](img/instance_config_2.png) ### Interval thinq1 LG-Thinq [Summary](#summary) - `interval.active` How many devices are currently receiving updates - `interval.inactive` How many devices are currently not receiving updates - `interval.interval` Change interval from instance setting. After an adapter restart, the instance setting is applied. - `interval.last_update` Latest update - `interval.status_devices` - `OK` Interval OK - `Fail - 0100` Request fail - WorkID is recreated - `Fail - 0106` Not conneted device - WorkID is recreated - `Error` Error WorkID - WorkID is recreated - `Error <code>` Unknown error - WorkID is recreated - `Result Error` Receive error - WorkID is recreated - `Parse error` Parse error - WorkID is recreated - `Unknown` Unknown error - WorkID is recreated - `Request` Receive is unknwon - WorkID is recreated - `{}` Unknown - WorkID is recreated ![interval.png](img/interval.png) # States ![states.png](img/states.png) ### Device 101 Refrigerator/Freezer thinq1 & thinq2 [Summary](#summary) ### 101 All Folders thinq1 & thinq2 ![101_folder.png](img/101_folder.png) ### 101 Remote Folder thinq1 & thinq2 ![101_remote.png](img/101_remote.png) ### 101 Remote Statistic thinq2 [Summary](#summary) - `remote.Statistic.command` Which history should be loaded - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. ![101_remote.png](img/101_remote.png) ![101_remote_command.png](img/101_remote_command.png) ![101_remote_period.png](img/101_remote_period.png) Example JSON Door open ```json { "item": [ { "usedDate": "2023-11", "doorType": "DID_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-12", "doorType": "DID_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-11", "doorType": "FREEZER_DOOR", "openCount": "62", "openTime": "713937" }, { "usedDate": "2023-12", "doorType": "FREEZER_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-11", "doorType": "FRIDGE_DOOR", "openCount": "1037", "openTime": "12421700" }, { "usedDate": "2023-12", "doorType": "FRIDGE_DOOR", "openCount": "27", "openTime": "304857" }, { "usedDate": "2023-11", "doorType": "CONVERTIBLE_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-12", "doorType": "CONVERTIBLE_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-11", "doorType": "ONE_DOOR", "openCount": "0", "openTime": "0" }, { "usedDate": "2023-12", "doorType": "ONE_DOOR", "openCount": "0", "openTime": "0" } ] } ``` ### 101 Remote Control thinq1 & thinq2 [Summary](#summary) - `remote.expressMode` Express Mode on/off/rapid on -> thinq1 state snapshot.IcePlus - `remote.freezerTemp` Change the temperature of the freezer (Celsius only) - `remote.fridgeTemp` Change the temperature of the refrigerator (Celsius only) ![101_remote_control.png](img/101_remote_control.png) ### 101 Snapshot thinq1 & thinq2 [Summary](#summary) ![101_snapshot_1.png](img/101_snapshot_1.png) ![101_snapshot_2.png](img/101_snapshot_2.png) ### Device 201 Washer Signature thinq2 [Summary](#summary) ### 201 Remote Control Signature thinq2 - Can be controlled like the 201. However, the following values ​​must be set in the `Course` folder. - In the course folder: initialBit on INITIAL_BIT_ON - In the course folder: remoteStart on REMOTE_START_ON ### Device 201 Washer thinq1 & thinq2 [Summary](#summary) ### 201 All Folders thinq1 & thinq2 ![201_folder.png](img/201_folder.png) ### 201 Remote Folder thinq1 & thinq2 ![201_remote_states.png](img/201_remote_states.png) ### 201 Remote Statistic thinq2 [Summary](#summary) - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. ![201_remote_statistic.png](img/201_remote_statistic.png) ```json { "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0, "item": [ { "usedDate": "2023-12-04", "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0 }, { "usedDate": "2023-12-05", "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0 }, { "usedDate": "2023-12-06", "count": 2, "power": 2, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 2 }, { "usedDate": "2023-12-07", "count": 2, "power": 2, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 2 }, { "usedDate": "2023-12-08", "count": 5, "power": 5, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 5 }, { "usedDate": "2023-12-09", "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0 }, { "usedDate": "2023-12-10", "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0 } ] } ``` ### 201 Remote Control thinq1 & thinq2 [Summary](#summary) - `remote.Favorite` Only works when a favorite has been selected in the APP and when the machine is turned on. - `remote.LastCourse` The last 10 programs can be selected. - `remote.WMDownload_Select` Selection of all available programs (STD=Standard/DL=Download programs) When one of the 3 data points is filled, the selected program is written to the Course folder. You can then make adjustments here. However, not all data points in the `Course` folder can be changed. Please test for yourself which data the washing machine accepts. - `remote.WMDownload` By pressing, the program in the 'Course' folder is transferred to the washing machine and shown on the display (washing machine must be on). - `remote.WMStart` Start washer - `remote.WMStop` Stop washer - `remote.WMWakeup` Wake up washer ![201_remote_states.png](img/201_remote_states.png) ![201_remote_course.png](img/201_remote_course.png) ### 201 Snapshot thinq1 & thinq2 [Summary](#summary) ![201_snapshot_1.png](img/201_snapshot_1.png) ![201_snapshot_2.png](img/201_snapshot_2.png) ![201_snapshot_3.png](img/201_snapshot_3.png) ### Device 202 Dryer thinq1 & thinq2 [Summary](#summary) ### 202 All Folders thinq1 & thinq2 ![202_folder.png](img/202_folder.png) ### 202 Remote Folder thinq1 & thinq2 ![202_remote.png](img/202_remote.png) ### 202 Remote Statistic thinq2 [Summary](#summary) - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. ![202_remote_statistic.png](img/202_remote_statistic.png) ```json { "count": 0, "power": 0, "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 0, "item": [ { "usedDate": "2023-12-08", "count": 5, "power": 2587, // 2587 / 1000 kwh "energyWater": 0, "energyDetergent": 0, "energySoftener": 0, "powerWh": 0, "periodicEnergyData": 2587 } ] } ``` ### 202 Remote Control thinq1 & thinq2 [Summary](#summary) - `remote.Favorite` Only works when a favorite has been selected in the APP and when the machine is turned on. - `remote.LastCourse` The last 10 programs can be selected. - `remote.WMDownload_Select` Selection of all available programs (STD=Standard/DL=Download programs) When one of the 3 data points is filled, the selected program is written to the Course folder. You can then make adjustments here. However, not all data points in the `Course` folder can be changed. Please test for yourself which data the dryer accepts. - `remote.WMDownload` No function - `remote.WMStart` By pressing, the program in the 'Course' folder is transferred to the dryer and shown on the display (dryer must be on). - `remote.WMStop` Stop Dryer - `remote.WMWakeup` Wake up Dryer ![202_remote_control.png](img/202_remote_control.png) ![202_remote_course.png](img/202_remote_course.png) ### 202 Snapshot thinq1 & thinq2 [Summary](#summary) ![201_snapshot_1.png](img/201_snapshot_1.png) ![201_snapshot_2.png](img/201_snapshot_2.png) ![201_snapshot_3.png](img/201_snapshot_3.png) ### Device 401 Air conditioner thinq2 [Summary](#summary) ### 401 All Folders thinq2 ![401_thinq2_folder.png](img/401_thinq2_folder.png) ### 401 Remote Folder thinq2 ![401_thinq2_remote.png](img/401_thinq2_remote.png) ### 401 Remote Statistic thinq2 [Summary](#summary) - `remote.Statistic.command` Which history should be loaded - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. ![401_thinq2_remote_statistic.png](img/401_thinq2_remote_statistic.png) ```json [ { "usedDate": "2023-04", "energyData": "0", "operationTime": "0" }, { "usedDate": "2023-05", "energyData": "0", "operationTime": "0" }, { "usedDate": "2023-06", "energyData": "3800", "operationTime": "13873" } ] ``` ### 401 Remote Control thinq2 [Summary](#summary) - `remote.basicCtrl.operation` 0 for off and 1 for on - `remote.basicCtrl.opMode` 0 for off and 4 for on - `remote.basicCtrl.hotWater` 0 for off and 1 for on - `remote.basicCtrl.hotWaterTarget` desired temperature - `remote.basicCtrl.powerHotWater` Boost 0 for off and 1 for on - `remote.basicCtrl.target` desired temperature - If the error message 400 appears in the log, then this data point is not compatible with the device. ![401_thinq2_remote_control_1.png](img/401_thinq2_remote_control_1.png) ![401_thinq2_remote_control_3.png](img/401_thinq2_remote_control_3.png) ### 401 Remote Holiday thinq2 [Summary](#summary) - `remote.break.holiday_silent_update` The current data must always be loaded from the cloud first. - `remote.break.holiday_silent_data` Current schedule from the cloud. - `remote.break.holiday_startdate` Enter the start date for vacation mode here. The date cannot be in the past (Format DD.MM.YY HH:MM) - `remote.break.holiday_enddate` Enter the end date for vacation mode here. The date cannot be in the past and must be greater than the start date (Format DD.MM.YY HH:MM) - `remote.break.holiday_heating` Heating on/off (as in the APP) - `remote.break.holiday_water` Hot water on/off (as in the APP) - `remote.break.holiday_onoff` Only the above mentioned Fill data points and then activate/deactivate vacation mode here - `remote.break.silent_mode_starttime` Enter the start time for the low-noise mode here. (Format HH:MM) - `remote.break.silent_mode_endtime` Enter the end time for quiet mode here. Of course it should be larger than the start date. (Format HH:MM) - `remote.break.silent_mode_onoff` Enable/disable quiet mode - `remote.break.holiday_sendJSON` Intended for experts only. The JSON has an array consisting of JSON Type 1, 2 and 3. 1 stands for the runtimes, 2 for vacation mode and type 3 for quiet mode. You could now add additional JSONs to Type 1 and thus generate more switching times. ![401_thinq2_remote_control_2.png](img/401_thinq2_remote_control_2.png) ### 401 Snapshot thinq2 [Summary](#summary) ![401_thinq2_snapshot_1.png](img/401_thinq2_snapshot_1.png) ![401_thinq2_snapshot_2.png](img/401_thinq2_snapshot_2.png) ![401_thinq2_snapshot_3.png](img/401_thinq2_snapshot_3.png) ![401_thinq2_snapshot_4.png](img/401_thinq2_snapshot_4.png) ![401_thinq2_snapshot_5.png](img/401_thinq2_snapshot_5.png) ### Device 401 Air conditioner thinq1 [Summary](#summary) ### 401 Remote Statistic thinq1 [Summary](#summary) - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. - `remote.Statistic.ownrequest` Own query of data. Open the file from the `modelJsonUri` link and apply cmd, cmdOpt and value. - `remote.Statistic.ownresponse` Result of `remote.Statistic.ownrequest` ![401_thinq1_remote_statistic.png](img/401_thinq1_remote_statistic.png) ```json [ { "month": 0, "day": "03", "hour": 0, "min": "16", "kwh": 0.1 }, { "month": 0, "day": "04", "hour": 0, "min": "59", "kwh": 0.2 }, { "month": 0, "day": "06", "hour": 0, "min": "15", "kwh": 0.1 }, { "month": 0, "day": "07", "hour": 0, "min": "40", "kwh": 0.1 }, { "month": 0, "day": "09", "hour": 0, "min": "35", "kwh": 0.2 }, { "month": 0, "day": "10", "hour": 0, "min": "60", "kwh": 0.2 }, { "month": 0, "day": "11", "hour": 0, "min": "60", "kwh": 0.2 }, { "month": 0, "day": "12", "hour": 0, "min": "90", "kwh": 0.3 } ] ``` # ownrequest JSON ```json { "method": "POST", // POST or GET Axios Request "url": "rti/rtiControl", // URL "data": { "lgedmRoot": { "deviceId": null, // Adapter replaces null "workId": null, // Adapter replaces null "cmd": "Config", // Change possible "cmdOpt": "Get", // Change possible "value": "InOutInstantPower", // Change possible "isControlFree": "Y" // DO NOT change } } } ``` ### 401 Remote Control thinq1 ![401_thinq1_folder.png](img/401_thinq1_folder.png) [Summary](#summary) Which data points belong to set... data points is stated in the name of the data point. lg-thinq.0.xxx.remote.SetWDirLeftRight -> {"`WDirLeftRight`":"{{WDirLeftRight}}","`WDirUpDown`":"0"} - Turn on example: - `remote.settings.Operation` set to 1 - `remote.SetOperation` then set this data point to true - Turn off example: - `remote.settings.Operation` set to 0 - `remote.SetOperation` then set this data point to true - Example changing temperature: - `remote.settings.TempCfg` Enter temperature - `remote.SetTempCfg` then set this data point to true - Other example: - `remote.settings.WDirUpDown` set to 0 - `remote.settings.WDirLeftRight` 0 or 1 - `remote.SetWDirLeftRight` then set this data point to true ![401_thinq1_remote.png](img/401_thinq1_remote.png) ### 401 Snapshot thinq1 [Summary](#summary) ![401_thinq1_snapshot_1.png](img/401_thinq1_snapshot_1.png) ![401_thinq1_snapshot_2.png](img/401_thinq1_snapshot_2.png) ![401_thinq1_snapshot_3.png](img/401_thinq1_snapshot_3.png) ![401_thinq1_snapshot_4.png](img/401_thinq1_snapshot_4.png) ![401_thinq1_snapshot_5.png](img/401_thinq1_snapshot_5.png) ![401_thinq1_snapshot_6.png](img/401_thinq1_snapshot_6.png) ![401_thinq1_snapshot_7.png](img/401_thinq1_snapshot_7.png) ### Device 406 Heat pump thinq2 [Summary](#summary) ### 406 All Folders thinq2 ![406_folder.png](img/406_folder.png) ### 406 Remote Folder thinq2 ![406_folder_remote.png](img/406_folder_remote.png) ### 406 Remote Statistic thinq2 [Summary](#summary) - `remote.Statistic.command` Which history should be loaded - hourly - `remote.Statistic.endDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - `remote.Statistic.startDate` Enter the date for hourly, end and start must be the same Format: 2023.12.01 - Or daily - `remote.Statistic.endDate` Enter date daily - Format: 2023.12.06 - `remote.Statistic.startDate` Enter date daily - Format: 2023.12.01 - Or monthly - `remote.Statistic.endDate` Enter date monthly - Format: 2023.12.01 - `remote.Statistic.startDate` Enter date monthly - Format: 2023.10.01 - `remote.Statistic.period` Select period - `remote.Statistic.sendRequest` Send selection - `remote.Statistic.jsonResult` Statistics as JSON. If the attributes are empty then your device does not support them or an incorrect date was specified. ![406_remote_statistic](img/406_remote_statistic.png) ### 406 Remote basicCtrl thinq2 [Summary](#summary) - `remote.basicCtrl.hotWaterTarget` Setting the temperature - `remote.basicCtrl.opMode` Set mode ![406_remote_basicctrl](img/406_remote_basicctrl.png) ### 406 Remote reservationCtrl thinq2 [Summary](#summary) - `remote.reservationCtrl.add_new_schedule` Create a new schedule. 3 new data points will then be created that must be filled out. Then press `send_new_schedule` to save the new slot. If it is not sent, these new data points will be deleted after a restart. - `remote.reservationCtrl.del_new_schedule` Delete a slot again. Then press `send_new_schedule` again so that the data is saved. - `remote.reservationCtrl.send_new_schedule` Press to save changes. - `remote.reservationCtrl.01_end Enddatum` Example 22:30. - `remote.reservationCtrl.01_start Startdatum` Example 21:30. - `remote.reservationCtrl.01_state` Enable/Disable ![406_remote_reservationctrl](img/406_remote_reservationctrl.png) ### 406 Snapshot thinq2 [Summary](#summary) ![406_snapshot_1.png](img/406_snapshot_1.png) ![406_snapshot_2.png](img/406_snapshot_2.png) ### Weather [Summary](#summary) lg-thinq.0.xxx.area must be filled! - `weather.device` Choose area. If all devices have the same area, only one device is displayed. - `weather.humidity` Humidity - `weather.temperature` Temperature - `weather.unit` Select Celsius or Fahrenheit - `weather.update` Request an LG senden (device und unit müssen gefüllt sein!) ![weather.png](img/weather.png)