Axis Communications devices are surveillance cameras and other security-related network connected hardware. Sensor API works with firmware 5.50 and newer.
Home Assistant will automatically discover their presence on your network.
You can also manually configure your devices by adding the following lines to your
# Example configuration.yaml entry axis: m1065lw: host: IP ADDRESS include: - camera
(string)(Required)A unique name
(string)(Required)The IP address to your Axis device.
(string)(Optional)The username to your Axis device.
Default value: root
(string)(Optional)The password to your Axis device.
Default value: pass
(integer)(Optional)Minimum time (in seconds) a sensor should keep its positive value.
Default value: 0
(integer)(Optional)Configure port web server of device is accessible from.
Default value: 80
(string)(Optional)Physical location of your Axis device.
(map)(Required)This cannot be empty else there would be no use adding the device at all.
Stream MJPEG video to Home Assistant.
The built-in motion detection in Axis cameras.
ACAP Motion Detection app which has better algorithms for motion detection.
PIR sensor that can trigger on a motion.
Certain cameras have day/night mode if they have built-in IR lights.
Signals when camera believes that it has been tampered with.
Trigger on whatever you have connected to device input port.
A full configuration example could look like this:
# Example configuration.yaml entry axis: m1065lw: host: IP ADDRESS username: USERNAME password: PASSWORD include: - camera - motion - pir - sound - daynight trigger_time: 0 location: köket
Any specific levels for triggers needs to be configured on the device.
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.
Send a command using Vapix. For details please read the API specifications.
|Service data attribute||Optional||Description|
||no||Name of device to communicate with.|
||no||What parameter to operate on.|
||yes||Which cgi to call on the device. Default is
||yes||What type of call. Default is
Response to call can be subscribed to on event
169.x.x.x address is discovered. On your camera, go to System Options -> Advanced -> Plain Config. Change the drop-down box to
network and click
Select Group. If
Network Interface I0 ZeroConf contains the
169.x.x.x IP address, unchecked the box next to
Enabled for this section and click