-
-
Notifications
You must be signed in to change notification settings - Fork 88
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Discovery performance improvement + v2 backward compatibility
* removed state field from getting pulled in discovery request * added UoM default value logic based on dimension and regional settings * streamlined rest request options now accepting gzip compressed data * restructured project to clearly separate v2/v3 * fixed documentation missing quotes on metadata parameters examples Signed-off-by: jsetton <[email protected]>
- Loading branch information
Showing
56 changed files
with
2,120 additions
and
164 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
|
@@ -15,10 +15,14 @@ | |
* Default options, copy to config.js for deployment | ||
* baseURL [https://myopenhab.org/rest] | ||
* REST base URL, uncomment this to connect directly to a openHAB server. | ||
* userpass | ||
* Optional username:password for the REST server | ||
* user | ||
* Optional username for the REST server | ||
* by default oauth2 tokens will be used for authentication, uncomment this | ||
* to use standard BASIC auth when talking directly to a openHAB server. | ||
* to use standard basic auth when talking directly to a openHAB server. | ||
* pass | ||
* Optional password for the REST server | ||
* by default oauth2 tokens will be used for authentication, uncomment this | ||
* to use standard basic auth when talking directly to a openHAB server. | ||
* certFile [ssl/client.pfx] | ||
* Optional SSL client certificate file path for the REST server | ||
* use this for certificate auth when talking directly to a openHAB server. | ||
|
@@ -30,6 +34,7 @@ | |
module.exports = { | ||
openhab: { | ||
//baseURL: 'https://openhab.example.com/rest', | ||
//userpass: '[email protected]:Password1' | ||
//user: '[email protected]', | ||
//pass: 'Password1' | ||
} | ||
}; |
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
Oops, something went wrong.