fibaro HC2 support

This commit is contained in:
diamond
2017-05-04 03:19:03 +03:00
parent ebeb6be7a7
commit d36769e2a0
29 changed files with 1041 additions and 8 deletions

View File

@@ -7,6 +7,10 @@
href="#!/veradevices">Vera Devices</a></li>
<li ng-if="bridge.showVera" role="presentation"><a
href="#!/verascenes">Vera Scenes</a></li>
<li ng-if="bridge.showFibaro" role="presentation"><a
href="#!/fibarodevices">Fibaro Devices</a></li>
<li ng-if="bridge.showFibaro" role="presentation"><a
href="#!/fibaroscenes">Fibaro Scenes</a></li>
<li ng-if="bridge.showHarmony" role="presentation"><a
href="#!/harmonyactivities">Harmony Activities</a></li>
<li ng-if="bridge.showHarmony" role="presentation"><a
@@ -130,6 +134,35 @@
</tr>
</table></td>
</tr>
<tr>
<td>Fibaro Names and IP Addresses</td>
<td><table
class="table table-bordered table-striped table-hover">
<thead>
<tr>
<th>Name</th>
<th>IP</th>
<th>Manage</th>
</tr>
</thead>
<tr ng-repeat="fibaro in bridge.settings.fibaroaddress.devices">
<td>{{fibaro.name}}</td>
<td>{{fibaro.ip}}</td>
<td><button class="btn btn-danger" type="submit"
ng-click="removeFibarotoSettings(fibaro.name, fibaro.ip)">Del</button></td>
</tr>
<tr>
<td><input id="bridge-settings-next-fibaro-name"
class="form-control" type="text" ng-model="newfibaroname"
placeholder="A Fibaro"></td>
<td><input id="bridge-settings-next-fibaro-ip"
class="form-control" type="text" ng-model="newfibaroip"
placeholder="192.168.1.2"></td>
<td><button class="btn btn-success" type="submit"
ng-click="addFibarotoSettings(newfibaroname, newfibaroip)">Add</button></td>
</tr>
</table></td>
</tr>
<tr>
<td>Harmony Names and IP Addresses</td>
<td><table