Star on GitHubStar2.4k stars

Case study

tuya-ipc-p2p-sdk: Python camera client for Tuya’s P2P protocol

tuya-ipc-p2p-sdk implements a Python client for Tuya IPC cameras’ native P2P video protocol. It logs in through the mobile gateway, exchanges MQTT signaling, connects through a TCP relay with KCP conversations, authenticates a media channel, and decrypts and reassembles MJPEG frames. The implementation draws on a byte-level protocol reference in the author’s companion Go client.

Targets
Protocol
Category
Independent reconstruction cases
Relationship
Independent reconstruction project
Sources reviewed
Evidence class
C2 code & docs, no demo or download
Stars
1
Last commit
2026-11-08
Language
Python
License (GitHub)
MIT

GitHub data as of 2026-11-10

Copy as MarkdownView JSONCite

Evidence

Observed
Code, documentation and a download method observed; no demo found.
Checked
2026-11-08

How evidence classes are assigned

Requirements & limits

  • Prerequisites: Python 3.12 or newer and credentials for the account owning the camera are required.
  • Limits: Live validation covers MJPEG hardware and the us region; H264 cameras and other regions remain untested.
  • Limits: The public API is alpha and may change across 0.x releases.
  • License: MIT license.

Cite

BibTeX

@misc{tuya-ipc-p2p-sdk-case,
  title = {{tuya-ipc-p2p-sdk: Python camera client for Tuya’s P2P protocol}},
  howpublished = {\url{https://github.com/roquerodrigo/tuya-ipc-p2p-sdk}},
  url = {https://github.com/roquerodrigo/tuya-ipc-p2p-sdk},
  urldate = {2026-11-06},
  note = {Awesome REA entry: \url{https://awesomerea.org/resources/tuya-ipc-p2p-sdk-case/}}
}

Plain text

tuya-ipc-p2p-sdk: Python camera client for Tuya’s P2P protocol. https://github.com/roquerodrigo/tuya-ipc-p2p-sdk (accessed 2026-11-06). Awesome REA entry: https://awesomerea.org/resources/tuya-ipc-p2p-sdk-case/

Useful? Star Awesome REA on GitHub2.4k

About this entry

The description was reviewed against primary sources.

Report an outdated entry Suggest a translation fix

Primary sources

  1. README.md GitHub · roquerodrigo/tuya-ipc-p2p-sdk · Revision 58c5e65

More in Protocols

All 720 entries in ProtocolsProtocols case studies (645)

↑↓ move↵ open⌘↵ new tab