Updated external content (Jenkins build 1148)

pull/1969/head
openHAB Build Server 2022-10-02 05:01:20 +00:00
parent b86b09c9ea
commit 71f473f69f
5 changed files with 52 additions and 31 deletions

View File

@ -48,41 +48,42 @@ In order to assist you with this process the binding expose a simple login form
## Server Thing Configuration
| Config | Type | description |
|----------|----------|------------------------------|
| hostname | text | Hostname or IP address of the server (required) |
| port | integer | Port of the server (required) |
| ssl | boolean | Connect through https (required) |
| refreshSeconds | integer | Interval to pull devices state from the server |
| Config | Type | description |
|---------------------------|---------|----------------------------------------------------------------------------------------------|
| hostname | text | Hostname or IP address of the server (required) |
| port | integer | Port of the server (required) |
| ssl | boolean | Connect through https (required) |
| path | text | Base path of the server |
| refreshSeconds | integer | Interval to pull devices state from the server |
| clientActiveWithInSeconds | integer | Amount off seconds allowed since the last client activity to assert it's online (0 disabled) |
| userId | text | The user id |
| token | text | The user access token |
| userId | text | The user id |
| token | text | The user access token |
## Channels
| channel | type | description |
|----------|--------|------------------------------|
| send-notification | String | Display message in client |
| media-control | Player | Control media playback |
| playing-item-id | String | Id of the item currently playing (readonly) |
| playing-item-name | String | Name of the item currently playing (readonly) |
| playing-item-series-name | String | Name of the item's series currently playing, only have value when item is an episode (readonly) |
| playing-item-season-name | String | Name of the item's season currently playing, only have value when item is an episode (readonly) |
| playing-item-season | Number | Number of the item's season currently playing, only have value when item is an episode (readonly) |
| playing-item-episode | Number | Number of the episode item currently playing, only have value when item is an episode (readonly) |
| playing-item-genders | String | Coma separate list genders of the item currently playing (readonly) |
| playing-item-type | String | Type of the item currently playing (readonly) |
| playing-item-percentage | Dimmer | Played percentage for the item currently playing, allow seek |
| playing-item-second | Number | Current second for the item currently playing, allow seek |
| playing-item-total-seconds | Number | Total seconds for the item currently playing (readonly) |
| play-by-terms | String | Play media by terms, works for series, episodes and movies; terms search is explained bellow |
| play-next-by-terms | String | Add to playback queue as next by terms, works for series, episodes and movies; terms search is explained bellow |
| play-last-by-terms | String | Add to playback queue as last by terms, works for series, episodes and movies; terms search is explained bellow |
| browse-by-terms | String | Browse media by terms, works for series, episodes and movies; terms search is explained bellow |
| play-by-id | String | Play media by id, works for series, episodes and movies; id search is explained bellow |
| play-next-by-id | String | Add to playback queue as next by id, works for series, episodes and movies |
| play-last-by-id | String | Add to playback queue as last by id, works for series, episodes and movies |
| browse-by-id | String | Browse media by id, works for series, episodes and movies |
| channel | type | description |
|----------------------------|--------|-----------------------------------------------------------------------------------------------------------------|
| send-notification | String | Display message in client |
| media-control | Player | Control media playback |
| playing-item-id | String | Id of the item currently playing (readonly) |
| playing-item-name | String | Name of the item currently playing (readonly) |
| playing-item-series-name | String | Name of the item's series currently playing, only have value when item is an episode (readonly) |
| playing-item-season-name | String | Name of the item's season currently playing, only have value when item is an episode (readonly) |
| playing-item-season | Number | Number of the item's season currently playing, only have value when item is an episode (readonly) |
| playing-item-episode | Number | Number of the episode item currently playing, only have value when item is an episode (readonly) |
| playing-item-genders | String | Coma separate list genders of the item currently playing (readonly) |
| playing-item-type | String | Type of the item currently playing (readonly) |
| playing-item-percentage | Dimmer | Played percentage for the item currently playing, allow seek |
| playing-item-second | Number | Current second for the item currently playing, allow seek |
| playing-item-total-seconds | Number | Total seconds for the item currently playing (readonly) |
| play-by-terms | String | Play media by terms, works for series, episodes and movies; terms search is explained bellow |
| play-next-by-terms | String | Add to playback queue as next by terms, works for series, episodes and movies; terms search is explained bellow |
| play-last-by-terms | String | Add to playback queue as last by terms, works for series, episodes and movies; terms search is explained bellow |
| browse-by-terms | String | Browse media by terms, works for series, episodes and movies; terms search is explained bellow |
| play-by-id | String | Play media by id, works for series, episodes and movies; id search is explained bellow |
| play-next-by-id | String | Add to playback queue as next by id, works for series, episodes and movies |
| play-last-by-id | String | Add to playback queue as last by id, works for series, episodes and movies |
| browse-by-id | String | Browse media by id, works for series, episodes and movies |
### Terms search:
The terms search has a default behavior that can be modified sending some predefined prefixes.

View File

@ -37,6 +37,10 @@ Note: The whole functionality is based on data that was reverse engineered, so u
This binding only supports one thing type "Luxtronik Heatpump" (heatpump).
## Discovery
This binding will try to detect heat pumps that are reachable in the same IPv4 subnet.
## Thing Configuration
Each heatpump requires the following configuration parameters:

View File

@ -184,6 +184,15 @@ If secureToken property is enabled, make sure that time on device running openHA
is enabled, all requests contain timestamp and bridge will only accept requests with small time difference. If it is not possible to
keep time synchronized, disable secureToken feature.
### NukiId conversion when migrating from old binding version
Older versions of binding used nukiId in hexadecimal format (as displayed in Nuki app, e.g. 5C4BC4B3). The new version
expects nukiId to be in decimal format (e.g. 1548469427), since that's the format returned from API.
The binding does the conversion automatically, but only if your nukiId contains any letters A-F, otherwise the binding
has no way to tell whether the id is in hexadecimal or decimal format. If your nukiId in hexadecimal format
contains only numbers, you'll have to convert it to decimal format manually, or preferably delete the old Thing
and use discovery to recreate it.
## Full Example
A manual setup through files could look like this:

View File

@ -1177,6 +1177,8 @@
<channel id="ffmpegMotionAlarm" typeId="ffmpegMotionAlarm"/>
<channel id="externalMotion" typeId="externalMotion"/>
<channel id="motionAlarm" typeId="motionAlarm"/>
<channel id="thresholdAudioAlarm" typeId="thresholdAudioAlarm"/>
<channel id="audioAlarm" typeId="audioAlarm"/>
<channel id="activateAlarmOutput" typeId="activateAlarmOutput"/>
<channel id="activateAlarmOutput2" typeId="activateAlarmOutput2"/>
<channel id="doorBell" typeId="doorBell"/>
@ -1727,6 +1729,7 @@
<channel id="enableFieldDetectionAlarm" typeId="enableFieldDetectionAlarm"/>
<channel id="fieldDetectionAlarm" typeId="fieldDetectionAlarm"/>
<channel id="enableAudioAlarm" typeId="enableAudioAlarm"/>
<channel id="thresholdAudioAlarm" typeId="thresholdAudioAlarm"/>
<channel id="audioAlarm" typeId="audioAlarm"/>
<channel id="activateAlarmOutput" typeId="activateAlarmOutput"/>
<channel id="enableExternalAlarmInput" typeId="enableExternalAlarmInput"/>

View File

@ -23,6 +23,10 @@
<description>Connect through https</description>
<default>false</default>
</parameter>
<parameter name="path" type="text" required="false">
<label>Base Path</label>
<description>Base path of the server</description>
</parameter>
<parameter name="refreshSeconds" type="integer" min="10" max="300" required="true">
<label>Refresh Seconds</label>
<description>Interval to pull devices state from the server</description>