API Reference

class gearthonic.GearClient(host, port, secure=False)[source]

Client for the XML RPC API provided by Homegear.

call(method_name, *args, **kwargs)[source]

Call the given method using the ServerProxy.

Parameters:
  • method_name – Method to be called
  • args – Arguments passed through
  • kwargs – Keyword arguments passed through
Returns:

Return value of the XML RPC method

register_server(uri, name)[source]

Register a XmlRPC-Server for callbacks

Parameters:
  • uri – URI of the server
  • name – Server name
Returns: