Giter VIP home page Giter VIP logo

Comments (6)

petretiandrea avatar petretiandrea commented on June 14, 2024

TL135

You must run the script and report here the output

from home-assistant-tapo-p100.

simpat1zq avatar simpat1zq commented on June 14, 2024

I installed the plugp100 library and then ran that script, but I get an error:

...ImportError: cannot import name 'TapoApiClient' from 'plugp100'...

So I did some Googling, and found that in a previous ticket, they were asked to install "pip install plugp100==2.5.1"

So I tried that and reran the script. This time it gave me the same error for LightEffect. But the script that was posted with that version didn't have the LightEffect import in there. So I'm guessing there is a specific version of plugp100 I need for this version of your script.

That said, I was in the Tapo app today, trying to add the bulb, and I noticed that the when you try to add the bulbs, this one is listed as "Tapo L535/TL135". and #657 is for the L535, and that looks like it's targeted for your next release. Does that mean that when that bulb is in there, that this one will work as well?

Just let me know if you need any other info from me.

from home-assistant-tapo-p100.

petretiandrea avatar petretiandrea commented on June 14, 2024

Try this

import os

from plugp100.api.light_effect_preset import LightEffectPreset
from plugp100.api.tapo_client import TapoClient
from plugp100.common.credentials import AuthCredential
from plugp100.discovery.arp_lookup import ArpLookup
from plugp100.discovery.tapo_discovery import TapoDiscovery


async def main():
    # create generic tapo api

    credentials = AuthCredential("<tapo_email>", "<tapo_password>")
    client = TapoClient.create(credentials, "<tapo_device_ip>")

    print(await client.get_device_info())


if __name__ == "__main__":
    loop = asyncio.new_event_loop()
    loop.run_until_complete(main())
    loop.run_until_complete(asyncio.sleep(0.1))
    loop.close()

from home-assistant-tapo-p100.

esondag avatar esondag commented on June 14, 2024

I am also interested in getting the TL135 bulbs working. I am not sure what to do to help, but I can figure it out with some guidance. Thank you for your consideration!

from home-assistant-tapo-p100.

petretiandrea avatar petretiandrea commented on June 14, 2024

I am also interested in getting the TL135 bulbs working. I am not sure what to do to help, but I can figure it out with some guidance. Thank you for your consideration!

You must execute the python script reported above

from home-assistant-tapo-p100.

petretiandrea avatar petretiandrea commented on June 14, 2024

Released on 2.14.0

from home-assistant-tapo-p100.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.