Python wrapper for connecting to Telldus Live
Project description
Python wrapper for Telldus Live
tellive-py is a Python wrapper for Telldus Live, “a user friendly service for automating your TellStick connected gear using the Internet”.
- Official home page: https://github.com/erijo/tellive-py
- Python package index: https://pypi.python.org/pypi/tellive-py
Please report any problem as a GitHub issue report.
Features
- Includes the script tellive_core_connector for connecting a e.g. a Tellstick Duo to Telldus Live without needing Telldus Center. Supports both devices and sensors.
- Open source (GPLv3+).
Requirements
- Python 3.2+
- tellcore-py
Installation
$ pip install tellive-py
Example
To run the included program for connecting a TellStick to Telldus Live:
$ tellive_core_connector ~/.config/tellive.conf
The API can also be used by your own program. This how you would connect to Telldus Live and register the client (with PUBLIC_KEY and PRIVATE_KEY from here):
client = TellstickLiveClient(PUBLIC_KEY, PRIVATE_KEY) (server, port) = client.connect_to_first_available_server() client.register(version="0.1")
Changelog
0.2.0 (2014-02-02)
- tellive_core_connector now uses official keys from Telldus, so you no longer need to use private tokens.
- Log using the standard logging module.
- Reconnect if connection is lost for some reason.
- Fixed problem with Python 3.2.
- Added support for reload request from server.
- Only report sensors that are named in the config file.
0.1.1 (2014-01-28)
- Fix some packaging issues.
0.1.0 (2014-01-28)
- Initial release.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size tellive-py-0.2.0.tar.gz (21.2 kB) | File type Source | Python version None | Upload date | Hashes View hashes |