Skip to main content

LIbrary to interact with Tecnoalarm TCS app backend

Project description

Python library to interface with myTecnoalarm TCS app cloud services

This repo provides code to interface with the cloud services of the "my Tecnoalarm TCS" app. Funcionality has been reverse-engineered and may not be complete.

How to use it

To use this library you need to authenticate to the cloud service.

First login

Open an interactive prompt and run:

from tcsession import TCSSession
s = TCSSession()
s.login(email, password)

If your account does not have 2 factor authenticator, you will be logged in. Otherwise, this will throw an OTPException

Get the code from your email and run

s.login(email, password, pin)

If everything goes right, you will have an authenticated token and app-id to re-use in the future (does not seem to expire)

extract then with

s.token
s.appid

Future logins

Simply pass your token and appid when instantiating the session

from tcsession import TCSSession
s = TCSSession(token, appid)

This will run the .re_auth() function that should re-enable the token for immediate use.

The token never changes.

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

pytcs_tecnoalarm-0.1.tar.gz (27.3 kB view details)

Uploaded Source

Built Distribution

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

pytcs_tecnoalarm-0.1-py3-none-any.whl (17.4 kB view details)

Uploaded Python 3

File details

Details for the file pytcs_tecnoalarm-0.1.tar.gz.

File metadata

  • Download URL: pytcs_tecnoalarm-0.1.tar.gz
  • Upload date:
  • Size: 27.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pytcs_tecnoalarm-0.1.tar.gz
Algorithm Hash digest
SHA256 0800ccb9591f6d2082d998edc19b1e6a78a82a63d50fef7e58125c2feb9fac55
MD5 a2a536c7d183f872054ad2408118e6df
BLAKE2b-256 2ee115357e46721604eab5c1fe8868865b2a12b5030c796743d9927470424f6e

See more details on using hashes here.

File details

Details for the file pytcs_tecnoalarm-0.1-py3-none-any.whl.

File metadata

  • Download URL: pytcs_tecnoalarm-0.1-py3-none-any.whl
  • Upload date:
  • Size: 17.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for pytcs_tecnoalarm-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3ccf2d254eac391ba20a9db2cedd8a9e640b10e1eecf3ca311ef996a58387751
MD5 2935b0e4ed4fb6db7bf10219a30af642
BLAKE2b-256 962bad0a0fb7a48932299a6452afce5824b09853ac1ad6418cd986bb2cdb10b2

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