-
Notifications
You must be signed in to change notification settings - Fork 46
Bridge
Rethink server now includes a built-in "bridge" mode, which allows selected devices to be "bridged" to the official services. This may serve two purposes:
- The device may be controlled both via rethink/HomeAssistant and the official LG app
- The communications triggered by the offical app can be observed and reverse-engineered.
First, the rethink-cloud server needs to be installed, and the device must complete the provisioning process. See the installation guide for details.
Note that the provisioning process appears to be common between various ThinQ devices, and so it may actually work even if the device isn't supported by rethink.
Important: you will need to know the "deviceType" of the device. This is usually a 3-digit number, it will be printed out during the provisioning process (Thinq2).
After you complete provisioning, you should see your device in the management panel:
Note that this needs to be done only once, even if you have multiple devices. Open the management interface and select the "Log into your account" button.
You will need to enter the country code matching your LG account, then click "Log in"
At this point, a pop-up window will open. You may need to unblock it in your browser. Continue the login process on the LG login page.
The login process will complete with a blank page. Copy its URL.
And paste into the rethink panel.
Finally, click continue. If everything goes well, you should see "Status: Ok".
Simply toggle the big switch in the "Bridge" column. For Thinq2 devices, you will need to enter the deviceType now:
A series of "toast" notifications will report on the registration process.
You can now open the ThinQ app to verify that the connection was successful.
The bridge mode needs to store your account & your devices' authentication data. The storage location is specified in the configuration file, by default it's the state directory.