Implemented support for rooms

I implemented full api support for rooms. That means:
- Create/Modify/Delete rooms/lightgroups
- Get information about group list / individual group
- Group actions: Change lighting for the whole group (except setting scenes, because scenes are not implemented in ha-bridge right now)
For now the rooms/groups can only be configured through the api and apps, it's not visible/changeable through the web gui.
This commit is contained in:
Florian Förderreuther
2017-07-27 23:20:02 +02:00
parent 3a5262ff33
commit 20ad6891e8
14 changed files with 879 additions and 69 deletions

View File

@@ -24,6 +24,9 @@ public class BridgeSettingsDescriptor {
@SerializedName("upnpdevicedb")
@Expose
private String upnpdevicedb;
@SerializedName("upnpgroupdb")
@Expose
private String upnpgroupdb;
@SerializedName("veraaddress")
@Expose
private IpList veraaddress;
@@ -163,6 +166,12 @@ public class BridgeSettingsDescriptor {
public void setUpnpDeviceDb(String upnpDeviceDb) {
this.upnpdevicedb = upnpDeviceDb;
}
public String getUpnpGroupDb() {
return upnpgroupdb;
}
public void setUpnpGroupDb(String upnpGroupDb) {
this.upnpgroupdb = upnpGroupDb;
}
public IpList getVeraAddress() {
return veraaddress;
}