mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
* Added information on how to get dependencies working on Python3.6. (#2720)
* Added information about new device service vapix_call.
This commit is contained in:
parent
2c631b3cdb
commit
498c7aeffa
@ -50,21 +50,23 @@ axis:
|
|||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
|
|
||||||
- **device** (*Required*): Unique name for the Axis device.
|
## {% linkable_title Configuration variables %}
|
||||||
- **host** (*Required*): The IP address to your Axis device.
|
|
||||||
- **username** (*Optional*): The username to your Axis device. Defaults to `root`.
|
- **device** (*Required*): Unique name
|
||||||
- **password** (*Optional*): The password to your Axis device. Defaults to `pass`.
|
- **host** (*Required*): The IP address to your Axis device.
|
||||||
- **trigger_time** (*Optional*): Minimum time (in seconds) a sensor should keep its positive value. Defaults to 0.
|
- **username** (*Optional*): The username to your Axis device. Default 'root'.
|
||||||
- **location** (*Optional*): Physical location of your Axis device. Default not set.
|
- **password** (*Optional*): The password to your Axis device. Default 'pass'.
|
||||||
- **include** (*Required*): This cannot be empty else there would be no use adding the device at all.
|
- **trigger_time** (*Optional*): Minimum time (in seconds) a sensor should keep its positive value. Default 0.
|
||||||
- **camera**: Stream MJPEG video to Home Assistant.
|
- **location** (*Optional*): Physical location of your Axis device. Default not set.
|
||||||
- **motion**: The built-in motion detection in Axis cameras.
|
- **include** (*Required*): This cannot be empty else there would be no use adding the device at all.
|
||||||
- **vmd3**: ACAP Motion Detection app which has better algorithms for motion detection.
|
- **camera**: Stream MJPEG video to Home Assistant.
|
||||||
- **pir**: PIR sensor that can trigger on motion.
|
- **motion**: The built-in motion detection in Axis cameras.
|
||||||
- **sound**: Sound detector.
|
- **vmd3**: ACAP Motion Detection app which has better algorithms for motion detection.
|
||||||
- **daynight**: Certain cameras have day/night mode if they have built-in IR lights.
|
- **pir**: PIR sensor that can trigger on motion.
|
||||||
- **tampering**: Signals when camera believes that it has been tampered with.
|
- **sound**: Sound detector.
|
||||||
- **input**: Trigger on whatever you have connected to device input port.
|
- **daynight**: Certain cameras have day/night mode if they have built-in IR lights.
|
||||||
|
- **tampering**: Signals when camera believes that it has been tampered with.
|
||||||
|
- **input**: Trigger on whatever you have connected to device input port.
|
||||||
|
|
||||||
A full configuration example could look like this:
|
A full configuration example could look like this:
|
||||||
|
|
||||||
@ -85,6 +87,10 @@ axis:
|
|||||||
location: köket
|
location: köket
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<p class='note'>
|
||||||
|
If you are using Python3.6 you might need to replace the 34m with 36m in the _gi.*.so filename in the gi folder.
|
||||||
|
</p>
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
Any specific levels for triggers needs to be configured on the device.
|
Any specific levels for triggers needs to be configured on the device.
|
||||||
</p>
|
</p>
|
||||||
@ -92,3 +98,18 @@ Any specific levels for triggers needs to be configured on the device.
|
|||||||
<p class='note'>
|
<p class='note'>
|
||||||
It is recommended that you create a user on your Axis device specifically for Home Assistant. For all current functionality it is enough to create a user belonging to user group viewer.
|
It is recommended that you create a user on your Axis device specifically for Home Assistant. For all current functionality it is enough to create a user belonging to user group viewer.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
## {% linkable_title Device services %}
|
||||||
|
Available services: `vapix_call`.
|
||||||
|
|
||||||
|
#### {% linkable_title Service `axis/vapix_call` %}
|
||||||
|
Send a command using [Vapix](https://www.axis.com/support/developer-support/vapix). For details please read the API specifications.
|
||||||
|
|
||||||
|
| Service data attribute | Optional | Description |
|
||||||
|
|---------------------------|----------|--------------------------------------------------|
|
||||||
|
| `name` | no | Name of device to communicate with. |
|
||||||
|
| `param` | no | What parameter to operate on. |
|
||||||
|
| `cgi` | yes | Which cgi to call on device. Default is `param.cgi`. |
|
||||||
|
| `action` | yes | What type of call. Default is `update`. |
|
||||||
|
|
||||||
|
Response to call can be subscribed to on event `vapix_call_response`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user