Skip to content

YOGYUI/python_thinq_api_tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python_thinq_api_tester

LG ThinQ API Test Application (python)

Clone repository

$ git clone https://github.com/YOGYUI/python_thinq_api_tester.git

Requirements

Python 3.7.x ~ 3.11.x (application is developed on 3.10.11 environment)
Python Package below are necessary.

requests
paho-mqtt
pyopenssl
PyQt5
$ pip install -r requirements.txt

Usage

  1. Replace all required strings like refresh token, oauth secure key in main.py
    api_key = "replace to your api key"
    api_client_id = "replace to your api cliend it"
    refresh_token = "replace to your thinq refresh token"
    oauth_secret_key = "replace to your oauth secret key"
    app_client_id = "replace to your application client id"
    app_key = "replace to your application key"
    See link to get these values from ThinQ API server.
  2. Run application
    $ python3 main.py
  3. Press Start button to initiate ThinQ API.
    At first time, certification (*.pem) files will be downloaded on local storage (Include/Cert/) like below.
    pem_files.png
    When initialized, list of devices will be showed. gui_init.png
  4. Send command with Data Key and Data Value.
    send_command.png

Notes

Only single home in ThinQ configuration is now available.
(Multiple home configuration is not implemented)

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages