This is a simple project that gives easy access to the tellprox API in Python. The Tellprox project, which can be used in place of Telldus Live, can be found here: https://github.com/p3tecracknell/tellprox
There is not much code, but after using this for a good while it seemed good to clean up a bit and push upstream.
Installation
pip install pytellprox
Usage
from tellprox import TellProx
tellprox_device_id=1
tellprox_host='localhost'
tellprox_port='8080'
tellprox = TellProx(host=tellprox_host, port=tellprox_port)
# if you need HTTPS you can pass protocol='https' as well
# enable/disable devices:
tellprox.enable_device(tellprox_device_id)
tellprox.toggle_device(tellprox_device_id)
# list devices
devices = tellprox.list_devices()
for device in devices:
print(device['name'])
# get info for a device
device_info = tellprox.get_device(tellprox_device_id)
print(device_info['name'])
# list sensors
sensors = tellprox.list_sensors()
# get data from first sensor in list
sensor_data = tellprox.get_sensor(sensors[0]['id'])
Metadata
Release files for pytellprox 0.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pytellprox-0.6.tar.gz | 2.8 kB | Without provenance | Details for pytellprox-0.6.tar.gz |
Release files / pytellprox-0.6.tar.gz
| Download URL | pytellprox-0.6.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8393a168a921d8e796071b73ac9a4506f0b98306816c710a6ae6eef74911e58
|
|
BLAKE2b-256 checksum How to use checksums |
fca0daf1bd382ffd5b14feb40f3464b7c20cd868f89c4f92e67f2d6254925339
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.2
|
Security for pytellprox 0.6
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.