# deco-network-optimize: reconstructing Deco Network Optimization commands

> deco-network-optimize implements the TP-Link Deco app's private TMP/App-V2 Network Optimization sequence for a Deco X20-DSL. It opens an SSH direct-tcpip channel to tmpsvr, sends scan and poll commands, and requests channel optimization when the device reports an optimizable state. The accompanying protocol notes document framing, checksum and the recovered command opcodes.

- 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/Zoogara/deco-network-optimize>
- Primary source: <https://github.com/Zoogara/deco-network-optimize/blob/af0323970837330144b4a0ecb3e45987987ec221/README.md>
- Catalog page: <https://awesomerea.org/resources/deco-network-optimize-case/>
- Record JSON: <https://awesomerea.org/resources/deco-network-optimize-case/record.json>
- Chinese version: [简体中文](https://awesomerea.org/zh/resources/deco-network-optimize-case/index.md)

## Requirements & limits

- A Deco device using the TMP/App-V2 protocol and access to the master device are required; the research used an X20-DSL.
- Python 3, ssh2-python and the owner's TP-Link cloud account credentials are required.
- MIT licence.

## Primary sources

1. <https://github.com/Zoogara/deco-network-optimize/blob/af0323970837330144b4a0ecb3e45987987ec221/README.md>
2. <https://github.com/Zoogara/deco-network-optimize/blob/af0323970837330144b4a0ecb3e45987987ec221/PROTOCOL.md>

## More in Protocols

- [LEGO SPIKE medium motor: reconstructing its UART handshake](https://awesomerea.org/resources/lego-spike-medium-motor-u545re-case/index.md) · Case study
- [BLE Blood Pressure Monitor: analysing BC54 measurement packets](https://awesomerea.org/resources/ble-blood-pressure-bc54-case/index.md) · Case study
- [LD2410S: investigating radar buses and firmware](https://awesomerea.org/resources/ld2410s-reverse-engineering-case/index.md) · Case study
- [MiniToo Pixeldeck: Divoom display protocol and input research](https://awesomerea.org/resources/minitoo-pixeldeck-case/index.md) · Case study
- [fnb58-ble-logger: FNB58 Bluetooth measurement protocol](https://awesomerea.org/resources/fnb58-ble-logger-case/index.md) · Case study
- [KBM TG700 Control: Linux keyboard settings from USB protocol analysis](https://awesomerea.org/resources/kbm-tg700-control-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.
