Skip to content

Script to control any RGB device using the keyboard via the Yandex API

Notifications You must be signed in to change notification settings

Djama1GIT/rgb_yandex_controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

RGB Yandex Controller

libs:

  • json
  • keyboard
  • requests
  • pyautogui
  • tkinter
  • time

functions main.py

  • 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

For the script to work

Main functionality:

  • 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

P.S. This script is convenient to use in the converted to .exe format

Releases

No releases published

Packages

No packages published

Languages