| Modifier and Type | Class and Description |
|---|---|
static class |
HomeMaticClient.DefaultServiceMessage |
| Constructor and Description |
|---|
HomeMaticClient(String urlString) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortDeleteDevice(String address) |
void |
addLink(String sender,
String receiver,
String name,
String description) |
void |
deleteDevice(String address,
int flags)
Flags:
0x01 DELETE_FLAG_RESET - reset device before delete
0x02 DELETE_FLAG_FORCE - delete even if device is not reachable
0x04 DELETE_FLAG_DEFER - delete as soon as device is reachable
|
DeviceDescription |
getDeviceDescription(String address) |
int |
getInstallMode() |
Map<String,Object> |
getLinkInfo(String sender,
String receiver) |
List<String> |
getLinkPeers(String address) |
List<Map<String,Object>> |
getLinks(String address,
int flags) |
XmlRpcStruct |
getParamset(String address,
String paramset_key) |
Map<String,ParameterDescription<?>> |
getParamsetDescription(String address,
String type) |
String |
getParamsetId(String address,
String type) |
List<ServiceMessage> |
getServiceMessages() |
<T> T |
getValue(String address,
String value_key) |
void |
init(String url,
String interfaceId) |
List<DeviceDescription> |
listDevices() |
void |
ping(String callerId) |
void |
putParamset(String address,
String paramset_key,
XmlRpcStruct set) |
void |
removeLink(String sender,
String receiver) |
boolean |
reportValueUsage(String address,
String valueId,
int refCounter) |
XmlRpcStruct |
rssiInfo() |
void |
setInstallMode(boolean on,
int time,
int mode) |
void |
setValue(String address,
String value_key,
Object value) |
public HomeMaticClient(String urlString) throws IOException
IOExceptionpublic void ping(String callerId) throws org.apache.xmlrpc.XmlRpcException
public DeviceDescription getDeviceDescription(String address) throws org.apache.xmlrpc.XmlRpcException
getDeviceDescription in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic List<DeviceDescription> listDevices() throws org.apache.xmlrpc.XmlRpcException
listDevices in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,ParameterDescription<?>> getParamsetDescription(String address, String type) throws org.apache.xmlrpc.XmlRpcException
getParamsetDescription in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic XmlRpcStruct getParamset(String address, String paramset_key) throws org.apache.xmlrpc.XmlRpcException
getParamset in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic String getParamsetId(String address, String type) throws org.apache.xmlrpc.XmlRpcException
getParamsetId in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic void putParamset(String address, String paramset_key, XmlRpcStruct set) throws org.apache.xmlrpc.XmlRpcException
putParamset in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic int getInstallMode()
throws org.apache.xmlrpc.XmlRpcException
getInstallMode in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic void setInstallMode(boolean on,
int time,
int mode)
throws org.apache.xmlrpc.XmlRpcException
setInstallMode in interface HomeMaticon - install mode active state.time - time to remain active.mode - 1: normal mode, 2: set all MASTER parameters to their default value and delete all links.org.apache.xmlrpc.XmlRpcExceptionpublic <T> T getValue(String address, String value_key) throws org.apache.xmlrpc.XmlRpcException
public void setValue(String address, String value_key, Object value) throws org.apache.xmlrpc.XmlRpcException
public boolean reportValueUsage(String address, String valueId, int refCounter) throws org.apache.xmlrpc.XmlRpcException
reportValueUsage in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic void addLink(String sender, String receiver, String name, String description) throws org.apache.xmlrpc.XmlRpcException
public void removeLink(String sender, String receiver) throws org.apache.xmlrpc.XmlRpcException
removeLink in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic List<String> getLinkPeers(String address) throws org.apache.xmlrpc.XmlRpcException
getLinkPeers in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic Map<String,Object> getLinkInfo(String sender, String receiver) throws org.apache.xmlrpc.XmlRpcException
getLinkInfo in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic List<Map<String,Object>> getLinks(String address, int flags) throws org.apache.xmlrpc.XmlRpcException
public List<ServiceMessage> getServiceMessages() throws org.apache.xmlrpc.XmlRpcException
getServiceMessages in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic void deleteDevice(String address, int flags) throws org.apache.xmlrpc.XmlRpcException
HomeMaticdeleteDevice in interface HomeMaticaddress - device addressflags - see javadocorg.apache.xmlrpc.XmlRpcExceptionpublic void abortDeleteDevice(String address) throws org.apache.xmlrpc.XmlRpcException
abortDeleteDevice in interface HomeMaticorg.apache.xmlrpc.XmlRpcExceptionpublic XmlRpcStruct rssiInfo() throws org.apache.xmlrpc.XmlRpcException
Copyright © 2018. All rights reserved.