# Panasonic HC-X2 / HC-X20 Remote Control: HC-ROP protocol client

> Panasonic HC-X2 / HC-X20 Remote Control implements a Python client for the cameras' HC-ROP/P2Control protocol. It sends XML control commands over TCP, decodes UDP telemetry and recording events, and documents the handshake and command set. The author reports testing it on HC-X2 and HC-X20 bodies.

- Type: Case study
- Targets: Protocol
- Category: Independent reconstruction cases
- Relationship: Independent reconstruction project
- Sources reviewed: 2026-11-06
- Added to the catalog: 2026-11-08
- Original resource: <https://github.com/magichao326/panasonic-hc-x2-control>
- Primary source: <https://github.com/magichao326/panasonic-hc-x2-control/blob/87a72b6d2588b057ea251b39c3d8b34134734286/README.md>
- Catalog page: <https://awesomerea.org/resources/panasonic-hc-x2-control-case/>
- Record JSON: <https://awesomerea.org/resources/panasonic-hc-x2-control-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/panasonic-hc-x2-control-case/index.md)

## Requirements & limits

- **Prerequisites:** Python 3.8 or newer and access to an HC-X2 or HC-X20 with IP REMOTE enabled and a user account.
- **Testing evidence:** The author reports testing HC-X2 and HC-X20; other HC-X and AG-CX models remain untested.
- **Limits:** Live preview is not implemented.
- **License:** MIT license.

## Primary sources

1. <https://github.com/magichao326/panasonic-hc-x2-control/blob/87a72b6d2588b057ea251b39c3d8b34134734286/README.md>
2. <https://github.com/magichao326/panasonic-hc-x2-control/blob/87a72b6d2588b057ea251b39c3d8b34134734286/PROTOCOL.md>
3. <https://github.com/magichao326/panasonic-hc-x2-control/blob/87a72b6d2588b057ea251b39c3d8b34134734286/LICENSE>

## More in Protocols

- [open-m711pro: reconstructing Redragon M711 Pro USB control](https://awesomerea.org/resources/open-m711pro-case/index.md) · Case study
- [vestaboard-offline: local control of a Vestaboard display](https://awesomerea.org/resources/vestaboard-offline-case/index.md) · Case study
- [Better RGB: reconstructing the Tongfang/ITE8291 keyboard lighting protocol](https://awesomerea.org/resources/better-rgb-case/index.md) · Case study
- [aiowapy: a Python implementation of WhatsApp Multi-Device protocols](https://awesomerea.org/resources/aiowapy-whatsapp-protocol-case/index.md) · Case study
- [redmi-buds-linux: rebuilding Redmi earbud controls over JieLi RCSP](https://awesomerea.org/resources/redmi-buds-linux-case/index.md) · Case study
- [iPod Classic LCD: recovering the display pinout and bus protocol](https://awesomerea.org/resources/ipod-classic-lcd-protocol-case/index.md) · Case study

## About this entry

The description was reviewed against primary sources.
Original editorial content: MIT. Linked projects, papers and assets retain their own rights and licenses.
