Skip to main content

Tigo TAP->CCA RS485 Power Report Decoder

Project description

tappipe

Python library for decoding Tigo TAP->CCA RS485 Power Report packets More info available at https://github.com/kicomoco/tappipe

A big thank you to willglyn (https://github.com/willglynn/taptap) whose work in documenting the protocol and taptap program (written in rust) allowed me to create this python version.

PIP

This package has been built and uploaded to pypi, and can be installed with pip.

pip install tappipe

Please Note: obviously this command may be different on your system, pip, pip3, python -m pip, python3 -m pip....adjust as necessary!

Example Scripts

In the examples folder is an example mqtt script, that takes command line arguments for specifying MQTT server and the serial port to open

usage: tappipe [-h] -s MQTT_SERVER [-p MQTT_PORT] [-u MQTT_USERNAME]
               [-w MQTT_PASSWORD] -t MQTT_PREFIX -c SERIAL_PORT

What is returned?

The processor takes a byte array (in the mqtt example it is read from the serial port), and when it has a valid frame this is returned as an object.

Within the object it can be checked for the type of frame, the type of pv data (if exists), cmd type etc and then access the data packets in a parsed format for Power Reports.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tappipe-0.0.5.tar.gz (19.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tappipe-0.0.5-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file tappipe-0.0.5.tar.gz.

File metadata

  • Download URL: tappipe-0.0.5.tar.gz
  • Upload date:
  • Size: 19.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tappipe-0.0.5.tar.gz
Algorithm Hash digest
SHA256 70c2fb245e6f06dc59b4fb2099b65f0cfdec53afaecd045e8c4d86c881feb5d3
MD5 d78bdea73beaf42b6faab8e39b79d4b8
BLAKE2b-256 b8c77221d46baecc509f5816c1f40cc0deaa32ce235e1d90f65b569e602fbae7

See more details on using hashes here.

File details

Details for the file tappipe-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: tappipe-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for tappipe-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c8dbc9a9a584d91e3027b7a91f8b1bec5522249775717b21ee698e1a6f99a9cc
MD5 3c8f65087c216dee8e59321932ce7df1
BLAKE2b-256 7c359d6ec147e1be197ed97278b50b8f692746a0d6203a9a7f509c84261fe26c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page