Comments (9)
We're all excitedly awaiting this PR to be finalized and merged in to use this module as the homeassistant integration.
from python-kasa.
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.
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.
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.
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.
Agreed. Thanks for your help anyway!
from python-kasa.
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.
@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.
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)
- Expose Fan speed range from the library
- Scrubables from ha diagnostics
- 0.7.0.1 Release Summary
- 0.7.0.2 Release Summary
- Devices no longer connecting or discoverable HOT 3
- Kasa Smart Dimmer KS225 - KLAP Support HOT 11
- Error connecting to L920-5 Smart LED Strip HOT 6
- 0.7.0.3 Release Summary
- Add total consumption since reboot for tapo devices HOT 4
- 0.7.0.4 Release Summary
- KP405 appears to be supported HOT 2
- EP25 with Hardware 2.6 and a new firmware 1.0.3 fails to connect HOT 1
- 0.7.0 changes prevent changing brightness without turning on dimmer HOT 1
- Call get_latest_fw periodically cause high traffic load to the tplink cloud HOT 9
- Detect Switch State Changes HOT 2
- Support for EC70 camera HOT 1
- 0.7.0.5 Release Summary
- Discover Error: The length of the provided data is not a multiple of the block length HOT 3
- 0.7.1 Release Summary
- light.turn_on brightness: 1 no longer working
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-kasa.