File tree 1 file changed +41
-0
lines changed 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : page
3
+ title : " Dispatcher IP Camera"
4
+ description : " Instructions how to integrate internal dispatcher cameras within Home Assistant."
5
+ date : 2017-03-08 00:00
6
+ sidebar : true
7
+ comments : false
8
+ sharing : true
9
+ footer : true
10
+ ha_category : Camera
11
+ logo : camcorder.png
12
+ ha_release : 0.40
13
+ ha_iot_class : " depends"
14
+ ---
15
+
16
+ <p class =' note ' >
17
+ This platform is meant for developers only.
18
+ </p >
19
+
20
+ The ` dispatcher ` camera platform allows developers to create virtual camera's.
21
+
22
+ You would normally not add this camera to your configuration directly but have it be discovered by one of the components that uses it.
23
+
24
+ ``` yaml
25
+ # Example configuration.yaml entry
26
+ camera :
27
+ - platform : dispatcher
28
+ signal : name_of_dispatcher_signal
29
+ ` ` `
30
+
31
+ To update the image from another piece of code, run this from an async context:
32
+
33
+ ` ` ` python
34
+ from homeassistant.helpers.dispatcher import async_dispatcher_send
35
+
36
+ async_dispatcher_send(hass, 'name_of_dispatcher_signal', image_data)
37
+ ```
38
+
39
+ Configuration variables:
40
+ - ** signal** (* Required* ): The signal name of dispatcher signal they send image data to this camera.
41
+ - ** name** (* Optional* ): This parameter allows you to override the name of your camera.
You can’t perform that action at this time.
0 commit comments