Skip to content

Commit

Permalink
[renault] Add defaults config values to README and Add catorgory to c…
Browse files Browse the repository at this point in the history
…hannels.

Signed-off-by: Doug Culnane <doug@culnane.net>
  • Loading branch information
dougculnane committed Dec 26, 2022
1 parent cb4e1b8 commit 50a6714
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 10 deletions.
18 changes: 9 additions & 9 deletions bundles/org.openhab.binding.renault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@ No discovery

You require your MyRenault credential, locale and VIN for your MyRenault registered car.

| Parameter | Description | Required |
|-------------------|----------------------------------------------------------------------------|-------------------------|
| myRenaultUsername | MyRenault Username. | Yes |
| myRenaultPassword | MyRenault Password. | Yes |
| locale | MyRenault Location (language_country). | Yes |
| vin | Vehicle Identification Number. | Yes |
| refreshInterval | Interval the car is polled in minutes. | Yes (default available) |
| updateDelay | How long to wait for commands to reach car and update to server in seconds.| Yes (default available) |
| kamereonApiKey | Kamereon API Key. | Yes (default available) |
| Parameter | Description | Default |
|-------------------|----------------------------------------------------------------------------|----------------------------------|
| myRenaultUsername | MyRenault Username. | |
| myRenaultPassword | MyRenault Password. | |
| locale | MyRenault Location (language_country). | |
| vin | Vehicle Identification Number. | |
| refreshInterval | Interval the car is polled in minutes. | 10 |
| updateDelay | How long to wait for commands to reach car and update to server in seconds.| 30 |
| kamereonApiKey | Kamereon API Key. | VAX7XYKGfa92yMvXculCkEFyfZbuM7Ss |

## Channels

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,16 @@
<channel-type id="batteryavailableenergy">
<item-type>Number:Energy</item-type>
<label>Battery Energy Available</label>
<state pattern="%.1f kWh" readOnly="true"></state>
<state pattern="%.1f %unit%" readOnly="true"></state>
<category>Energy</category>
</channel-type>
<channel-type id="batterystatusupdated">
<item-type>DateTime</item-type>
<label>Battery Status Updated</label>
<description>Timestamp of the last battery status update</description>
<category>Time</category>
<state pattern="%1$tH:%1$tM %1$td.%1$tm.%1$tY" readOnly="true"></state>
<category>Time</category>
</channel-type>
<channel-type id="plugstatus">
<item-type>String</item-type>
Expand All @@ -119,6 +121,7 @@
<option value="UNKNOWN">Unknown</option>
</options>
</state>
<category>PowerOutlet</category>
</channel-type>
<channel-type id="chargingstatus">
<item-type>String</item-type>
Expand Down Expand Up @@ -202,6 +205,7 @@
<label>Location Updated</label>
<description>Timestamp of the last location update</description>
<state pattern="%1$tH:%1$tM %1$td.%1$tm.%1$tY" readOnly="true"></state>
<category>Time</category>
</channel-type>
<channel-type id="lockstatus">
<item-type>String</item-type>
Expand All @@ -214,6 +218,7 @@
<option value="UNKNOWN">Unknown</option>
</options>
</state>
<category>Lock</category>
</channel-type>
<channel-type id="updatenow">
<item-type>Switch</item-type>
Expand Down

0 comments on commit 50a6714

Please sign in to comment.