Giter VIP home page Giter VIP logo

Comments (9)

draco2003 avatar draco2003 commented on September 20, 2024 1

We're all excitedly awaiting this PR to be finalized and merged in to use this module as the homeassistant integration.

from python-kasa.

K4CZP3R avatar K4CZP3R commented on September 20, 2024 1

And here is the original implementation of Android App:
https://github.com/K4CZP3R/tapo-p100-java-poc

And the write up:
https://k4czp3r.xyz/posts/reverse-engineering-tp-link-tapo/

from python-kasa.

GDYendell avatar GDYendell commented on September 20, 2024

I have tried an nmap scan on my P100 and it shows all closed except for 80. I have managed to capture some pcap files of traffic to and from the static IP, but I can't make sense of it. Presumably it is encrypted in a similar way as described here https://github.com/softScheck/tplink-smartplug. I tried loading to dissector, but it doesn't seem to do anything. I don't know if I should be seeing something about TP-link protocol, or if that is only after the dissector is working.

from python-kasa.

rytilahti avatar rytilahti commented on September 20, 2024

I have understood from somewhere that this series of devices is using a different app than the kasa app on mobile, and that it is also likely using a different communication protocol.

A few questions:

  • I'm assuming the library in its current state is not working for you? Does any of the commands work?
  • Can the bulb be controlled with the app even when they are not connected to the cloud? I.e., is there a local communication protocol?
  • If the above is true, is it's probably worth investigating how it communicates. Maybe it's using the same protocol but a different port? Or maybe it's something completely different, in which case it's hard to say without further investigation what's the best way to proceed adding support for them (and/or if that should be a project of its own instead of adding support for a new protocol to this project).

from python-kasa.

rytilahti avatar rytilahti commented on September 20, 2024

We discussed about this on discord, the conclusion was that it's using a different protocol and is thus out of the scope of this project. If the state changes, feel free to re-open this.

from python-kasa.

GDYendell avatar GDYendell commented on September 20, 2024

Agreed. Thanks for your help anyway!

from python-kasa.

rytilahti avatar rytilahti commented on September 20, 2024

Looks like other product families are also starting to use a new, 80/tcp using protocol to plug a security issue, so I think it's worth to reopen this issue just in case the new protocol is the same as used by the P/tapo series.

@GDYendell could you check out if this PR allows communication with your devices: #117 ?

from python-kasa.

GDYendell avatar GDYendell commented on September 20, 2024

@rytilahti I would be happy to try it out. How do I run that branch of the integration on my home assistant instance?

from python-kasa.

GSzabados avatar GSzabados commented on September 20, 2024

To anyone who is interested about the Tapo P100's protocol, you can find a working solution here:

https://github.com/fishbigger/TapoP100

There is a working HA integration as well:

https://github.com/fishbigger/HomeAssistant-Tapo-P100-Control

from python-kasa.

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.