Skip to main content

A simple client to the XML RPC API of Homegear.

Project description

A simple client to the XML RPC API of Homegear.

Look at the documentation for detailed information.

Quickstart

Install gearthonic via pip:

pip install gearthonic

Initialise the client:

from gearthonic import GearClient
gc = GearClient('192.168.1.100', 2001, secure=True)  # 2001 is the default port of the Homegear server

Use the predefined methods to make requests to the XML RPC API:

gc.device.list_methods()
gc.device.get_value(1, 4, 'ACTUAL_TEMPERATURE')

Alternatively you can call any method directly via the client:

gc.getValue(1, 4, 'ACTUAL_TEMPERATURE')

Documentation

The full documentation can be found at http://gearthonic.rtfd.org.

Changelog

0.1.2 (2016-07-13)

  • Fixed broken setup.py.

0.1.1 (2016-07-13)

  • Added documentation.

0.1.0 (2016-07-13)

  • Initial release to pypi.

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

gearthonic-0.1.2.tar.gz (6.2 kB view hashes)

Uploaded Source

Supported by

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