Merge branch 'current' into next

This commit is contained in:
Franck Nijhof 2021-05-26 01:41:37 +02:00
commit 1484ce7793
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
6 changed files with 9 additions and 37 deletions

View File

@ -99,7 +99,7 @@ Available key codes |
`Back`
`InstantReplay`
`Info`
`Backspace`
`BackSpace`
`Search`
`Enter`

View File

@ -31,6 +31,10 @@ Or, when using Docker containers:
docker exec -it <containername> pylacrosse -d /dev/ttyUSB0 scan
```
If you are using the Home Assistant OS or Supervised installation method, these
methods are not available for you. The use of an additional computer to figure
out the ID is advised.
For TX 29 DTH-IT sensors you can also read the ID from the display and calculate the ID as followed: `hex2dec(ID_on_display) / 4`.
## Configuration

View File

@ -188,21 +188,6 @@ name:
default: myStrom Switch
{% endconfiguration %}
Check if you are able to access the device located at `http://IP_ADRRESS`. The details about your switch is provided as a JSON response.
```bash
$ curl -X GET -H "Content-Type: application/json" http://IP_ADDRESS/report
{
"power": 0,
"relay": false
}
```
or change its state:
```bash
curl -G -X GET http://IP_ADDRESS/relay -d 'state=1'
```
### Get the current power consumption

View File

@ -38,7 +38,6 @@ Disable a RainMachine program. This will mark the program switch as
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `program_id ` | no | The program to disable |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.disable_zone`
@ -48,7 +47,6 @@ Disable a RainMachine zone. This will mark the zone switch as
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `zone_id ` | no | The program to disable |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.enable_program`
@ -57,7 +55,6 @@ Enable a RainMachine program.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `program_id ` | no | The program to enable |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.enable_zone`
@ -66,7 +63,6 @@ Enable a RainMachine zone.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `zone_id ` | no | The zone to enable |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.pause_watering`
@ -75,7 +71,6 @@ Pause all watering activities for a number of seconds.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `seconds` | no | The number of seconds to pause |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.start_program`
@ -84,7 +79,6 @@ Start a RainMachine program.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `program_id ` | no | The program to start |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.start_zone`
@ -94,16 +88,11 @@ Start a RainMachine zone for a set number of seconds.
|---------------------------|----------|-------------------------------------------------------------|
| `zone_id` | no | The zone to start |
| `zone_run_time` | yes | The number of seconds to run; defaults to 60 seconds |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.stop_all`
Stop all watering activities.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.stop_program`
Stop a RainMachine program.
@ -111,7 +100,6 @@ Stop a RainMachine program.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `program_id ` | no | The program to stop |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.stop_zone`
@ -120,16 +108,11 @@ Stop a RainMachine zone.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `zone_id ` | no | The zone to stop |
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
### `rainmachine.unpause_watering`
Unpause all watering activities.
| Service Data Attribute | Optional | Description |
|---------------------------|----------|-------------------------------------------------------------|
| `entity_id` | yes | An entity belonging to the RainMachine controller to adjust |
## Switch
The `rainmachine` switch platform allows you to control programs and zones within a [RainMachine smart Wi-Fi sprinkler controller](https://www.rainmachine.com/).

View File

@ -46,11 +46,11 @@ service_name:
required: false
type: template
username:
description: The username for HTTP authentication.
description: The username for basic HTTP authentication (digest is not supported).
required: false
type: string
password:
description: The password for HTTP authentication.
description: The password for basic HTTP authentication (digest is not supported).
required: false
type: string
timeout:

View File

@ -17,7 +17,7 @@ Watson is a paid service via IBM Cloud but there is a decent [free tier](https:/
## Setup
For supported formats and voices please go to [IBM Cloud About section](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-about#about).
For supported formats and voices please go to [IBM Cloud About section](https://cloud.ibm.com/docs/text-to-speech?topic=text-to-speech-voices#languageVoices).
To get started please read the [Getting started tutorial](https://cloud.ibm.com/docs/services/text-to-speech?topic=text-to-speech-gettingStarted#gettingStarted).
@ -43,7 +43,7 @@ watson_url:
description: "The endpoint to which the service will connect."
required: false
type: string
default: "`https://stream.watsonplatform.net/text-to-speech/api`"
default: "`https://api.us-south.text-to-speech.watson.cloud.ibm.com`"
watson_apikey:
description: "Your secret apikey generated on the IBM Cloud admin console."
required: true