Updated external content (Jenkins build 2522)
parent
ac948ba308
commit
2021cd4624
|
@ -720,6 +720,16 @@ then
|
|||
end
|
||||
```
|
||||
|
||||
## How To Reboot Camera
|
||||
```
|
||||
rule "Reboot Camera At 12:00 AM"
|
||||
when
|
||||
Time cron "0 0 0 ? *"
|
||||
then
|
||||
getActions("ipcamera", "ipcamera:reolink:1a40bbe041").reboot()
|
||||
end
|
||||
```
|
||||
|
||||
## HABpanel
|
||||
|
||||
This section is about how to get things working in HABpanel.
|
||||
|
|
|
@ -65,6 +65,30 @@ All devices support the following channels:
|
|||
| maxpilotcurrent | Number:ElectricCurrent | yes | current offered to the vehicle via control pilot signalization |
|
||||
| maxpilotcurrentdutycyle | Number:Dimensionless | yes | duty cycle of the control pilot signal |
|
||||
|
||||
## Rule Actions
|
||||
|
||||
Certain Keba models support setting the text on the built-in display.
|
||||
The text can be set via a rule action `setDisplay`. It comes in two variants:
|
||||
|
||||
```java
|
||||
rule "Set Display Text"
|
||||
when
|
||||
System reached start level 100
|
||||
then
|
||||
val keContactActions = getActions("keba", "keba:kecontact:1")
|
||||
// Default duration
|
||||
keContactActions.setDisplay("TEXT$1")
|
||||
// Explicit duration set
|
||||
keContactActions.setDisplay("TEXT$2", 5, 10)
|
||||
end
|
||||
```
|
||||
|
||||
| Parameter | Description |
|
||||
| ------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
||||
| text | Text shown on the display. Maximum 23 ASCII characters can be used. `~` == Σ, `$` == blank, `,` == comma |
|
||||
| durationMin _(optional)_ | Defines the duration in seconds how long the text will displayed before another display command will be processed (internal MID metering relevant information may overrule this) |
|
||||
| durationMax _(optional)_ | Defines the duration in seconds how long the text will displayed if no additional display command follows. |
|
||||
|
||||
## Example
|
||||
|
||||
demo.Things:
|
||||
|
|
|
@ -267,21 +267,17 @@ xidel -e 'let $refs := (
|
|||
|
||||
| Property | Supported modules | Description |
|
||||
|---------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------|
|
||||
| `counter1PulseMultiplier` | `vmb7in`, `vmb8in-20` | The pulse multiplier for counter 1 |
|
||||
| `counter1PulseMultiplier` | `vmb7in` | The pulse multiplier for counter 1 |
|
||||
| `counter1Unit` | `vmb7in`, `vmb8in-20` | The unit for Counter 1. |
|
||||
| `counter2PulseMultiplier` | `vmb7in`, `vmb8in-20` | The pulse multiplier for counter 2 |
|
||||
| `counter2PulseMultiplier` | `vmb7in` | The pulse multiplier for counter 2 |
|
||||
| `counter2Unit` | `vmb7in`, `vmb8in-20` | The unit for Counter 2. |
|
||||
| `counter3PulseMultiplier` | `vmb7in`, `vmb8in-20` | The pulse multiplier for counter 3 |
|
||||
| `counter3PulseMultiplier` | `vmb7in` | The pulse multiplier for counter 3 |
|
||||
| `counter3Unit` | `vmb7in`, `vmb8in-20` | The unit for Counter 3. |
|
||||
| `counter4PulseMultiplier` | `vmb7in`, `vmb8in-20` | The pulse multiplier for counter 4 |
|
||||
| `counter4PulseMultiplier` | `vmb7in` | The pulse multiplier for counter 4 |
|
||||
| `counter4Unit` | `vmb7in`, `vmb8in-20` | The unit for Counter 4. |
|
||||
| `counter5PulseMultiplier` | `vmb8in-20` | The pulse multiplier for counter 5 |
|
||||
| `counter5Unit` | `vmb8in-20` | The unit for Counter 5. |
|
||||
| `counter6PulseMultiplier` | `vmb8in-20` | The pulse multiplier for counter 6 |
|
||||
| `counter6Unit` | `vmb8in-20` | The unit for Counter 6. |
|
||||
| `counter7PulseMultiplier` | `vmb8in-20` | The pulse multiplier for counter 7 |
|
||||
| `counter7Unit` | `vmb8in-20` | The unit for Counter 7. |
|
||||
| `counter8PulseMultiplier` | `vmb8in-20` | The pulse multiplier for counter 8 |
|
||||
| `counter8Unit` | `vmb8in-20` | The unit for Counter 8. |
|
||||
| `dimspeed` | `vmb1dm`, `vmb1led`, `vmb4dc`, `vmbdme`, `vmbdmi`, `vmbdmir` | The time (in seconds) needed for dimming from 0 to 100%. |
|
||||
| `refresh` | `vmb1ts`, `vmb4an`, `vmb7in`, `vmbel1`, `vmbel2`, `vmbel4`, `vmbelpir`, `vmbgp1`, `vmbgp1-2`, `vmbgp2`, `vmbgp2-2`, `vmbgp4`, `vmbgp4-2`, `vmbgp4pir`, `vmbgp4pir-2`, `vmbmeteo`, `vmbpiro`, `vmb8in-20` | Refresh interval for sensors or counters (in seconds), default 300. If set to 0 or left empty, no refresh will be scheduled. |
|
||||
|
|
|
@ -101,9 +101,9 @@
|
|||
<state pattern="%1$td.%1$tm. %1$tH:%1$tM" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="max-soc">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Charge SoC Maximum</label>
|
||||
<state pattern="%d %%"/>
|
||||
<state pattern="%d %unit%"/>
|
||||
<command>
|
||||
<options>
|
||||
<option value="50 %">50 %</option>
|
||||
|
|
|
@ -4,25 +4,25 @@
|
|||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-type id="accel">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Acceleration Score</label>
|
||||
<description>Score for smooth acceleration</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="coasting">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Coasting Score</label>
|
||||
<description>Score for driving without braking</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="constant">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Constant Score</label>
|
||||
<description>Score for driving with constant speed</description>
|
||||
<state readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="bonus">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Bonus Range</label>
|
||||
<description>Additional range vs. very sportive driver</description>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
|
|
|
@ -4,79 +4,79 @@
|
|||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-type id="mileage">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Mileage</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="range-electric">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Electric Range</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="radius-electric">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Electric Radius</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="home-distance">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Distance to Home</label>
|
||||
<state pattern="%.3f km" readOnly="true"/>
|
||||
<state pattern="%.3f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="soc">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Battery Charge Level</label>
|
||||
<state pattern="%d %%" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="charged">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<item-type unitHint="kWh">Number:Energy</item-type>
|
||||
<label>Charged Battery Energy</label>
|
||||
<state pattern="%.2f kWh" readOnly="true"/>
|
||||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="uncharged">
|
||||
<item-type>Number:Energy</item-type>
|
||||
<item-type unitHint="kWh">Number:Energy</item-type>
|
||||
<label>Uncharged Battery Energy</label>
|
||||
<state pattern="%.2f kWh" readOnly="true"/>
|
||||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="range-fuel">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Fuel Range</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="radius-fuel">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Fuel Radius</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="fuel-level">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>Fuel Level</label>
|
||||
<state pattern="%d %%" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="adblue-level">
|
||||
<item-type>Number:Dimensionless</item-type>
|
||||
<item-type unitHint="%">Number:Dimensionless</item-type>
|
||||
<label>AdBlue Level</label>
|
||||
<description>AdBlue tank level in percent </description>
|
||||
<state pattern="%d %%" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="fuel-remain">
|
||||
<item-type>Number:Volume</item-type>
|
||||
<item-type unitHint="l,gal">Number:Volume</item-type>
|
||||
<label>Remaining Fuel</label>
|
||||
<state pattern="%.2f l" readOnly="true"/>
|
||||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="fuel-open">
|
||||
<item-type>Number:Volume</item-type>
|
||||
<item-type unitHint="l,gal">Number:Volume</item-type>
|
||||
<label>Open Fuel Capacity</label>
|
||||
<state pattern="%.2f l" readOnly="true"/>
|
||||
<state pattern="%.2f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="range-hybrid">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Hybrid Range</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="radius-hybrid">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Hybrid Radius</label>
|
||||
<state pattern="%d km" readOnly="true"/>
|
||||
<state pattern="%d %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
</thing:thing-descriptions>
|
||||
|
|
|
@ -4,24 +4,24 @@
|
|||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-type id="pressure-front-right">
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<item-type unitHint="bar,psi">Number:Pressure</item-type>
|
||||
<label>Tire Pressure Front Right</label>
|
||||
<state pattern="%.1f bar" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="pressure-rear-right">
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<item-type unitHint="bar,psi">Number:Pressure</item-type>
|
||||
<label>Tire Pressure Rear Right</label>
|
||||
<state pattern="%.1f bar" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="pressure-front-left">
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<item-type unitHint="bar,psi">Number:Pressure</item-type>
|
||||
<label>Tire Pressure Front Left</label>
|
||||
<state pattern="%.1f bar" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="pressure-rear-left">
|
||||
<item-type>Number:Pressure</item-type>
|
||||
<item-type unitHint="bar,psi">Number:Pressure</item-type>
|
||||
<label>Tire Pressure Rear Left</label>
|
||||
<state pattern="%.1f bar" readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="sensor-available">
|
||||
<item-type>Number</item-type>
|
||||
|
|
|
@ -4,9 +4,9 @@
|
|||
xmlns:thing="https://openhab.org/schemas/thing-description/v1.0.0"
|
||||
xsi:schemaLocation="https://openhab.org/schemas/thing-description/v1.0.0 https://openhab.org/schemas/thing-description-1.0.0.xsd">
|
||||
<channel-type id="distance">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Trip Distance</label>
|
||||
<state readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="driven-time">
|
||||
<item-type>String</item-type>
|
||||
|
@ -31,10 +31,10 @@
|
|||
<state pattern="%.1f" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="distance-reset">
|
||||
<item-type>Number:Length</item-type>
|
||||
<item-type unitHint="km,mi">Number:Length</item-type>
|
||||
<label>Rst Distance</label>
|
||||
<description>Distance since last Reset</description>
|
||||
<state readOnly="true"/>
|
||||
<state pattern="%.1f %unit%" readOnly="true"/>
|
||||
</channel-type>
|
||||
<channel-type id="driven-time-reset">
|
||||
<item-type>String</item-type>
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
<channel-group id="clockAlarm" typeId="clockAlarm"/>
|
||||
</channel-groups>
|
||||
|
||||
<config-description-ref uri="thing-type:velbus:8channelDeviceWithCounters"/>
|
||||
<config-description-ref uri="thing-type:velbus:8channelDeviceWith8Counters"/>
|
||||
</thing-type>
|
||||
|
||||
<thing-type id="vmb8ir">
|
||||
|
|
Loading…
Reference in New Issue