- json
- keyboard
- requests
- pyautogui
- tkinter
- time
- choose_color - open the color picker, returns hex color code
- hexToInt - changes hex code to int
- rgbOn - turns on the lamp
- rgbOff - turns off the lamp
- rgbPicker - a color is sent to the input in the int format; the color of the lamp switches to sent
- I. Enter the lamp id in "yandex_lamp_id" // go to https://oauth.yandex.ru and rigister & select your device; copy ID and paste here
- II. Enter the OAuth-code in "yandex_oauth" // go to https://oauth.yandex.ru/authorize?response_type=token&client_id={yandex_lamp_id} (without {})
- I. Ctrl + 7 - Turn Off the lamp
- II. Ctrl + 8 - Turn On the lamp
- III. Ctrl + 9 - Turn on a first commonly used color // configured in the main.py (commonly_first variable)
- IV. Ctrl + 6 - Turn on a second commonly used color // configured in the main.py (commonly_second variable)
- V. Ctrl + 5 - Selecting a color using the color picker and turning it on