I’ve been working with getting push notifications from Axis devices (www.axis.com), and have a basic component available that would hope you guys would be interested in trying out. My goal is to get this integrated into home assistant when I’m satisfied with the level of integration this component delivers.
You can find my gitlab project here: https://gitlab.com/Kane610/axis-component
I will move this over from gitlab to home assistants GitHub further down the line.
All settings for video and sensors are configured directly in camera right now.
I learned how HASS works and took a lot of inspiration from the Vera component, so thanks @Pavoni!
Firmware requirement: approx 5.50
sudo apt-get install python3-gst-1.0 gir1.2-gstreamer-1.0
gstreamer1.0-plugins-ugly gstreamer1.0-tools python3-gi
You might also need to link your packages to your site packages
ln -s /usr/lib/python3/dist-packages/gi /srv/homeassistant/lib/python3.4/site-packages
Example configuration.yaml entry
name (Optional): The Axis device’s name to display in the front end
host (Optional): The Axis device’s IP address. Default is 192.168.0.90
username (Optional): The Axis device’s username. Default is root
password (Optional): The Axis device’s password. Default is pass
location (Optional): The Axis device’s physical location.
- camera (Optiona):
- motion (Optiona): Motion detection sensor
- pir (Optiona): PIR sensor
- audio (Optiona): Audio sensor
- Observe that it is not recommended to keep the root users password as default
and for all features in this component there are no need to expose a user above
viewer privileges (might change with development).
Possible additional features:
Additional sensor support: Input ports, Day night state for IR lights,
Live stream access, tampering, recording and storage alerts
Triggering of output ports and relays
Media player platform for TTS to speaker
Audio stream from camera for voice control