public class HomeMaticClientCli extends Object
| Constructor and Description |
|---|
HomeMaticClientCli(HomeMatic client) |
| Modifier and Type | Method and Description |
|---|---|
void |
abortDeleteDevice(String address) |
void |
addLink(String sender,
String receiver,
String name,
String description) |
HomeMatic |
client(String none) |
void |
deleteDevice(String address,
int flags) |
Map<String,Object> |
getLinkInfo(String sender,
String receiver) |
void |
getLinks(String address,
int flags) |
void |
getServiceMessages() |
void |
list()
Read and print the list of known devices along with their type and version.
|
void |
params(String addr)
Read and print all available parameter descriptions from a device.
|
void |
read(String addr)
Read and print all available parameter sets from a device.
|
void |
readValue(String address,
String valueKey) |
org.osgi.framework.ServiceRegistration<HomeMaticClientCli> |
register(org.osgi.framework.BundleContext ctx) |
org.osgi.framework.ServiceRegistration<HomeMaticClientCli> |
register(org.osgi.framework.BundleContext ctx,
String commandScope) |
void |
removeLink(String sender,
String receiver) |
void |
set(String address,
String valueId,
Object value) |
void |
tim()
Toggle installation mode.
|
void |
valueUsage(String address,
String valueId,
int refCounter) |
public HomeMaticClientCli(HomeMatic client)
public org.osgi.framework.ServiceRegistration<HomeMaticClientCli> register(org.osgi.framework.BundleContext ctx, String commandScope)
public org.osgi.framework.ServiceRegistration<HomeMaticClientCli> register(org.osgi.framework.BundleContext ctx)
public void list()
throws Exception
Exceptionpublic void params(String addr) throws Exception
addr - device addressExceptionpublic void read(String addr) throws Exception
addr - device addressExceptionpublic void valueUsage(String address, String valueId, int refCounter) throws Exception
Exceptionpublic void set(String address, String valueId, Object value) throws Exception
Exceptionpublic void addLink(String sender, String receiver, String name, String description) throws Exception
Exceptionpublic void removeLink(String sender, String receiver) throws Exception
Exceptionpublic Map<String,Object> getLinkInfo(String sender, String receiver) throws Exception
ExceptionCopyright © 2018. All rights reserved.