A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
APACHE-2.0 License
A Homebridge plugin for controlling/monitoring LG ThinQ device via their ThinQ platform.
⚠️ This library works with v2 of the LG ThinQ API. But some v1 device may backward compatible, please check table Implementation Status below.
A plugin for interacting with the "LG ThinQ" system, which can control new LG smart device. API used in this plugin is not official, I reversed from their "LG ThinQ" mobile app.
npm i -g homebridge-lg-thinq
✔️ I highly recommend using homebridge-config-ui-x to make these changes.
⚠️ Or you can manual edit it, add json below to config.json (not recommend)
{
"auth_mode": "token",
"refresh_token": "**refresh*token**",
"username": "lg username",
"password": "lg password",
"country": "US",
"language": "en-US",
"thinq1": false,
"devices": [
{
"id": "device id"
}
],
"platform": "LGThinQ"
}
auth_mode
Required. You can choose between token
and account
refresh_token
Required if auth_mode
= token
. The refresh_token
of your account.username
Required if auth_mode
= account
. LG thinQ accountpassword
Required if auth_mode
= account
. LG thinQ passwordcountry
Required. Your account country alpha-2 code, e.g., US for the USA.language
Required. Your account language code, e.g., en-US, vi-VN.devices
List devices you want add to homebridge, leave it empty if you want add all devices. See Wiki for specific device configuration.thinq1
Optional. Enable thinq1 device supportplatform
value always LGThinQ
Device | Implementation | Status | Control | Thinq2 | Thinq1 |
---|---|---|---|---|---|
Refrigerator | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Air Purifier | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Washer & Dryer | ✔️ | ✔️ | 🚫 | ✔️ | ✔️ |
Dishwasher | ✔️ | ✔️ | 🚫 | ✔️ | 🚫 |
Dehumidifier | ✔️ | ✔️ | ⚠️ | ✔️ | 🚫 |
AC | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
Oven | ✔️ | ✔️ | ✔️ | ⚠️ | ⚠️ |
Microwave | ✔️ | ✔️ | ✔️ | ⚠️ | ⚠️ |
for more device support please open issue request.
If you have a question, please start a discussion or leave a message at discord channel. If you would like to report a bug, please open an issue.
$ thinq
Usage: thinq [options] [command]
Options:
-c, --country <type> Country code for account (default: "US")
-l, --language <type> Language code for account (default: "en-US")
-h, --help display help for command
Commands:
login <username> <password> Obtain refresh_token from LG account
auth Obtain refresh_token from account logged by Google Account, Apple ID
help [command] display help for command