Skip to content

Commit

Permalink
[Binding addons starting with "G"] Correct linter errors only (openha…
Browse files Browse the repository at this point in the history
…b#2956)

Signed-off-by: Brad Gilmer <[email protected]>
  • Loading branch information
bgilmer77 authored and martinvw committed Dec 14, 2017
1 parent 6427276 commit 3907d93
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 79 deletions.
51 changes: 28 additions & 23 deletions addons/binding/org.openhab.binding.gardena/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ This binding allows you to integrate, view and control Gardena Smart Home device

Devices connected to Gardena Smart Home, currently:

| Thing type | Name |
|------------|------|
| bridge | smart Home Gateway |
| mower | smart Sileno(+) Mower |
| watering_computer | smart Water Control |
| sensor | smart Sensor |
| electronic_pressure_pump | smart Pressure Pump |
| Thing type | Name |
|--------------------------|-----------------------|
| bridge | smart Home Gateway |
| mower | smart Sileno(+) Mower |
| watering_computer | smart Water Control |
| sensor | smart Sensor |
| electronic_pressure_pump | smart Pressure Pump |

The schedules are not yet integrated!

Expand All @@ -25,15 +25,15 @@ An account must be specified, all things for an account are discovered automatic

There are several settings for an account:

| Name | Required | Description |
| --- | --- | --- |
| **email** | yes | The email address for logging into the Gardena Smart Home |
| **password** | yes | The password for logging into the Gardena Smart Home |
| **sessionTimeout** | no | The timeout in minutes for a session to Gardena Smart Home (default = 30) |
| **connectionTimeout** | no | The timeout in seconds for connections to Gardena Smart Home (default = 10) |
| **refresh** | no | The interval in seconds for refreshing the data from Gardena Smart Home (default = 60) |
| Name | Required | Description |
|-----------------------|----------|----------------------------------------------------------------------------------------|
| **email** | yes | The email address for logging into the Gardena Smart Home |
| **password** | yes | The password for logging into the Gardena Smart Home |
| **sessionTimeout** | no | The timeout in minutes for a session to Gardena Smart Home (default = 30) |
| **connectionTimeout** | no | The timeout in seconds for connections to Gardena Smart Home (default = 10) |
| **refresh** | no | The interval in seconds for refreshing the data from Gardena Smart Home (default = 60) |

## Example
**Example**

### Things

Expand Down Expand Up @@ -77,12 +77,12 @@ Number Battery_Level "Battery [%d %%]" {channel="gardena:mower:home:myMower:batt

## Sensor refresh

You can send a REFRESH command to items linked to these Sensor channels:
You can send a REFRESH command to items linked to these Sensor channels:

* ambient_temperature#temperature
* soil_temperature#temperature
* humidity#humidity
* light#light
* ambient_temperature#temperature
* soil_temperature#temperature
* humidity#humidity
* light#light

In the console:

Expand All @@ -98,7 +98,6 @@ import org.eclipse.smarthome.core.types.RefreshType
sendCommand(ITEM_NAME, RefreshType.REFRESH)
```


### Debugging and Tracing

If you want to see what's going on in the binding, switch the loglevel to TRACE in the Karaf console
Expand All @@ -113,6 +112,12 @@ Set the logging back to normal
log:set INFO org.openhab.binding.gardena
```

**Note:** The Online/Offline status is not always valid. I'm using the ```connection_status``` property Gardena sends for each device, but it seems not to be very reliable. My watering control for example shows offline, but it is still working. I have to press the button on the device, then the status changed to online. My mower always shows online, regardless of whether it is switched on or off. This is not a binding issue, it must be fixed by Gardena.
**Note:** The Online/Offline status is not always valid. I'm using the ```connection_status``` property Gardena sends for each device, but it seems not to be very reliable.
My watering control for example shows offline, but it is still working.
I have to press the button on the device, then the status changed to online.
My mower always shows online, regardless of whether it is switched on or off.
This is not a binding issue, it must be fixed by Gardena.

When the binding sends a command to a device, it communicates only with the Gardena online service. It has not control over, whether the command is sent from the online service via your gateway to the device. It's the same as if you send the command in the Gardena App.
When the binding sends a command to a device, it communicates only with the Gardena online service.
It has not control over, whether the command is sent from the online service via your gateway to the device.
It's the same as if you send the command in the Gardena App.
Loading

0 comments on commit 3907d93

Please sign in to comment.