Updated FHEM integration for testing

This commit is contained in:
bsamuels
2018-01-02 16:20:51 -06:00
parent 4c694cb285
commit f27d905869
33 changed files with 434 additions and 24 deletions

View File

@@ -637,6 +637,7 @@
<th>Port</th>
<th>Username (opt)</th>
<th>Password (opt)</th>
<th>Room (opt)</th>
<th>Use SSL</th>
<th>Manage</th>
</tr>
@@ -657,6 +658,9 @@
<td><input id="bridge-settings-next-fhem-password"
class="form-control" type="password" ng-model="fhem.password"
placeholder="FHEM password (opt)"></td>
<td><input id="bridge-settings-next-fhem-webhook"
class="form-control" type="text" ng-model="fhem.webhook"
placeholder="Room Name"></td>
<td><input type="checkbox"
ng-model="fhem.secure" ng-true-value=true
ng-false-value=false></td>
@@ -679,11 +683,14 @@
<td><input id="bridge-settings-new-fhem-password"
class="form-control" type="password" ng-model="newfhempassword"
placeholder="FHEM password (opt)"></td>
<td><input id="bridge-settings-new-fhem-webhook"
class="form-control" type="text" ng-model="newfhemwebhook"
placeholder="Room Name"></td>
<td><input type="checkbox"
ng-model="newfhemsecure" ng-true-value=true
ng-false-value=false></td>
<td><button class="btn btn-success" type="submit"
ng-click="addFhemtoSettings(newfhemname, newfhemip, newfhemport, newsfhemusername, newfhempassword, newfhemsecure)">Add</button></td>
ng-click="addFhemtoSettings(newfhemname, newfhemip, newfhemport, newsfhemusername, newfhempassword, newfhemwebhook, newfhemsecure)">Add</button></td>
</tr>
</table></td>
</tr>