-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow custom IP during pairing, robustness in discovery
- Loading branch information
1 parent
8760c18
commit 314cd34
Showing
7 changed files
with
130 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,9 @@ | |
"mac": { | ||
"manufacturer": [ | ||
[ | ||
54, | ||
206, | ||
75 | ||
40, | ||
245, | ||
55 | ||
] | ||
] | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<script type="application/javascript"> | ||
Homey.setTitle("Uponor setup") | ||
Homey.setSubtitle("Select the pairing method") | ||
|
||
function setCustomIP() { | ||
var address = document.getElementById("address").value | ||
Homey.emit("custom_ip_address", address) | ||
} | ||
</script> | ||
|
||
<p> | ||
Automated discovery mode scans for known Uponor devices in the local network. | ||
This does not always work depending on the network configuration. | ||
If you do not see your Uponor devices in the list, please try entering the IP address before continuing. | ||
</p> | ||
|
||
|
||
<form class="homey-form"> | ||
<fieldset class="homey-form-fieldset"> | ||
<div class="homey-form-group"> | ||
<label class="homey-form-label" for="address">IP Address</label> | ||
<input class="homey-form-input" id="address" type="text" value="" onblur="setCustomIP()" /> | ||
</div> | ||
</fieldset> | ||
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters