Skip to content

T310 not detected with H200 Hub #1409

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
andrewome opened this issue Dec 28, 2024 · 5 comments · Fixed by #1411
Closed

T310 not detected with H200 Hub #1409

andrewome opened this issue Dec 28, 2024 · 5 comments · Fixed by #1411
Labels
bug Something isn't working

Comments

@andrewome
Copy link

andrewome commented Dec 28, 2024

My T310 temperature and humidity sensor has been paired with my H200 hub, however python-kasa is not picking it up.

I've ran kasa --username <username> --password <password> --host <host> --debug and do not see it being picked up.

I can see the device listed on my tapo app and it is reporting temperature and humidity properly though.

I find it weird because my D230 is detected though.

Do advise on further troubleshooting steps. Thanks!

@rytilahti
Copy link
Member

With --debug on, so you see mentions about T310 in the log output? If you don't mind, please follow https://python-kasa.readthedocs.io/en/stable/contribute.html#contributing-fixture-files to help us with missing fixture files. This should also drop one for your T310 if it's detected correctly.

@andrewome
Copy link
Author

andrewome commented Dec 28, 2024

There's no mentions about my T310 in the debug output. For context I only have two devices paired with my H200 atm - D230 and T310.

I've tried getting the fixture files, however there were a bunch of errors. Attached is the output from running python -m devtools.dump_devinfo and the output from running kasa with the --debug flag.

debug.txt
dev_dumpinfo.txt

@rytilahti
Copy link
Member

Looking at the debug.log, the getChildDeviceList (and getChildDeviceComponentList) response contains only a single element (for that doorbell camera) even when it says sum: 2 indicating that there's another device connected to it, so that's the reason why it's not visible. Now, how to fix that, I don't have any idea, sorry.

On why the dump_devinfo is failing (with handshake failure even when the cli tool works), @sdb9696 might have an idea on that.

@rytilahti rytilahti added the bug Something isn't working label Dec 28, 2024
@sdb9696
Copy link
Collaborator

sdb9696 commented Jan 3, 2025

@andrewome could you try out a PR I've just created to try to address this. The easiest command unless you want to checkout the source is:

uvx --from "python-kasa[speedups,shell] @ git+https://github.com/python-kasa/python-kasa.git@feat/smartcam_lists" kasa --host <ip address> --username <your username> --password <your password>

@andrewome
Copy link
Author

@sdb9696 The T310 is being listed under the children now. I've attached the --debug logs for good measure.

debug_log.txt

@sdb9696 sdb9696 mentioned this issue Jan 6, 2025
sdb9696 added a commit that referenced this issue Jan 6, 2025
## [0.9.1](https://github.com/python-kasa/python-kasa/tree/0.9.1) (2025-01-06)

[Full Changelog](0.9.0...0.9.1)

**Release summary:**

- Support for hub-attached wall switches S210 and S220
- Support for older firmware on Tapo cameras
- Bugfixes and improvements

**Implemented enhancements:**

- Add support for Tapo hub-attached switch devices [\#1421](#1421) (@sdb9696)
- Use repr\(\) for enum values in Feature.\_\_repr\_\_ [\#1414](#1414) (@rytilahti)
- Update SslAesTransport for older firmware versions [\#1362](#1362) (@sdb9696)

**Fixed bugs:**

- T310 not detected with H200 Hub [\#1409](#1409)
- Backoff after xor timeout and improve error reporting [\#1424](#1424) (@bdraco)
- Fix incorrect obd src echo [\#1412](#1412) (@rytilahti)
- Handle smartcam partial list responses [\#1411](#1411) (@sdb9696)

**Added support for devices:**

- Add S220 fixture [\#1419](#1419) (@rytilahti)
- Add S210 fixture [\#1418](#1418) (@rytilahti)

**Documentation updates:**

- Improve exception messages on credential mismatches [\#1417](#1417) (@rytilahti)

**Project maintenance:**

- Add C210 2.0 1.3.11 fixture [\#1406](#1406) (@sdb9696)
- Add HS210\(US\) 3.0 1.0.10 IOT Fixture [\#1405](#1405) (@ZeliardM)
- Change smartcam detection features to category config [\#1402](#1402) (@sdb9696)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants