Controlling An L530E From My Computer (Python)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

Controlling An L530E From My Computer (Python)

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
Controlling An L530E From My Computer (Python)
Controlling An L530E From My Computer (Python)
2022-09-11 17:24:43
Model: Tapo L530E  
Hardware Version:
Firmware Version:

Hello everybody,

 

I am trying to make an app so I can control my light from my computer - I have a tapo L530E smart bulb. 

 

I will be using the coding language python to create a GUI to control my light, although I cant find a way to actually control my light through python. I have looked through many different github pages, although none of them seem to work for the L530E, or they are not in python. Preferably, I would like a API that I can use in my code that is fully python, works well with the L530E, and is easy to use and understand.

 

If anybody knows anything or thinks they could help me, please reply!

 

  2      
  2      
#1
Options
1 Reply
Re:Controlling An L530E From My Computer (Python)
2022-12-01 10:29:20

Try

PyP100

 

This includes:

 

Bulbs - L530, L510E etc.

from PyP100 import PyL530

l530 = PyL530.L530("192.168.X.X", "email@gmail.com", "Password123")

l530.handshake() #Creates the cookies required for further methods
l530.login() #Sends credentials to the plug and creates AES Key and IV for further methods

#All the bulbs have the same basic functions as the plugs and additionally allow for the following functions.
l530.setBrightness(50) #Sets the brightness of the connected bulb to 50% brightness
l530.setColorTemp(2700) #Sets the color temperature of the connected bulb to 2700 Kelvin (Warm White)
l530.setColor(30, 80) #Sets the color of the connected bulb to Hue: 30°, Saturation: 80% (Orange)

 

  0  
  0  
#2
Options

Information

Helpful: 2

Views: 1333

Replies: 1

Related Articles