You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: "Instructions how to integrate Vanderbilt SPC binary sensors into Home Assistant."
5
+
date: 2017-05-18 22:05
6
+
sidebar: true
7
+
comments: false
8
+
sharing: true
9
+
footer: true
10
+
logo: vanderbilt_spc.png
11
+
ha_release: 0.47
12
+
ha_category: Binary Sensor
13
+
ha_iot_class: "Local Push"
14
+
---
15
+
16
+
The `spc` platform allows you to get data from your [Vanderbilt SPC](http://www.spc-intruder-detection.com/ssp-spc/) binary sensors from within Home Assistant.
17
+
18
+
Check the [type/class](/components/binary_sensor/) list for a possible visualization of your zone. Currently motion, smoke and door sensors are supported.
19
+
20
+
The requirement is that you have setup your [SPC hub](/components/spc/).
Copy file name to clipboardExpand all lines: source/_components/cover.mqtt.markdown
+2
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,8 @@ Configuration variables:
47
47
- **qos** (*Optional*): The maximum QoS level of the state topic. Default is `0`. Will also be used when publishing messages.
48
48
- **retain** (*Optional*): If the published message should have the retain flag on or not. Default is `false`.
49
49
- **value_template** (*Optional*): Defines a [template](/docs/configuration/templating/#processing-incoming-data) to extract a value from the payload.
50
+
- **set_position_topic** (*Optional*): The MQTT topic to publish position commands to.
51
+
- **set_position_template** (*Optional*): Defines a [template](/topics/templating/) to define the position to be sent to the `set_position_topic` topic. Incoming position value is available for use in the template `{{position}}`. If no template is defined, the numeric position (0-100) will be written directly to the topic.
50
52
- **tilt_command_topic** (*Optional*): The MQTT topic to publish commands to control the cover tilt.
51
53
- **tilt_status_topic** (*Optional*): The MQTT topic subscribed to receive tilt status update values.
52
54
- **tilt_min** (*Optional*): The minimum tilt value. Default is `0`
-**language** (*Required*): Dyson account language country code. Known working codes: `FR`, `NL`, `UK`, `AU`. But others codes should work.
40
+
-**devices** (*Optional*): List of devices
41
+
-**device_id** (*Required*): Device ID. Available in the mobiles applications (*Settings* page)
42
+
-**device_ip** (*Required*): Device IP address
43
+
44
+
`devices` list is optional but you'll have to provide them if discovery is not working (warnings in the logs and the devices are not available in Home Assistant web interface).
45
+
To find devices IP address, you can use your router or `nmap`:
Copy file name to clipboardExpand all lines: source/_components/image_processing.opencv.markdown
+38-3
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,44 @@ footer: true
10
10
logo: opencv.png
11
11
ha_category: Image Processing
12
12
featured: false
13
-
ha_release: 0.44
13
+
ha_release: 0.47
14
14
---
15
15
16
-
The `opencv` image processing platform allows you to create a standalone image processor without the linked camera entity as mentioned in the [OpenCV page](https://home-assistant.io/components/opencv).
16
+
[OpenCV](http://www.opencv.org) is an open source computer vision image and video processing library.
17
17
18
-
Please refer to the [component](/components/opencv/) configuration on how to setup the image processor.
18
+
Some pre-defined classifiers can be found here: https://github.com/opencv/opencv/tree/master/data
19
+
20
+
### {% linkable_title Configuration %}
21
+
22
+
To setup OpenCV with Home Assistant, add the following section to your `configuration.yaml` file:
23
+
24
+
```yaml
25
+
# Example configuration.yaml entry
26
+
image_processing:
27
+
- platform: opencv
28
+
name: Front Door Faces
29
+
source:
30
+
- entity_id: camera.front_door
31
+
classifier:
32
+
mom: /path/to/classifier.xml
33
+
```
34
+
35
+
- **name** (*Required*): The name of the OpenCV image processor.
36
+
- **source** array (*Required*): List of image sources.
37
+
- **entity_id** (*Required*): A camera entity id to get picture from.
38
+
- **name** (*Optional*): This parameter allows you to override the name of your `image_processing` entity.
39
+
- **classifier** (*Optional*): Dictionary of name to path to the classifier xml file. If this field is not provided, a face classifier will be downloaded from OpenCV's github repo.
40
+
41
+
**classifier** may also be defined as a dictionary of names to classifier configurations:
42
+
43
+
```yaml
44
+
mom:
45
+
file: /path/to/classifier/xml
46
+
neighbors: 4
47
+
min_size: (40, 40)
48
+
scale: 1.1f
49
+
```
50
+
51
+
- **file** (*Required*): The path to the classifier xml file.
52
+
- **scale** (*Optional*): The scale to perform when processing, this is a `float` value that must be greater than or equal to `1.0`, default is `1.1`.
53
+
- **neighbors** (*Optional*): The minimum number of neighbors required for a match, default is `4`. The higher this number, the more picky the matching will be; lower the number, the more false positives you may experience.
Copy file name to clipboardExpand all lines: source/_components/image_processing.seven_segments.markdown
+4-2
Original file line number
Diff line number
Diff line change
@@ -42,8 +42,10 @@ Configuration variables:
42
42
- **y_position** (*Optional*): Y coordinate of the upper left corner of the area to crop. Defaults to `0`.
43
43
- **height** (*Optional*): Height of the area to crop. Defaults to `0`.
44
44
- **width** (*Optional*): Width of the area to crop. Defaults to `0`.
45
+
- **rotate** (*Optional*): Rotation of the image. Defaults to `0`.
45
46
- **threshold** (*Optional*): Threshold for the difference between the digits and the background. Defaults to `0`.
46
47
- **digits** (*Optional*): Number of digits in the display. Defaults to `-1`.
48
+
- **extra_arguments** (*Optional*): Other arguments to use. Like `-D`, `dilation`, `erosion`, `greyscale`, `make_mono`, etc.
47
49
- **source** array (*Required*): List of image sources.
48
50
- **entity_id** (*Required*): A camera entity id to get picture from.
49
51
- **name** (*Optional*): This parameter allows you to override the name of your `image_processing` entity.
@@ -54,15 +56,15 @@ Configuration variables:
54
56
It's suggested that the first attempt to determine the needed parameters is using `ssocr` directly. This may require a couple of iterations to get the result
0 commit comments