Hi folks!
The camera allows you to play sounds, but there is no functionality to control this at all. I found a command that makes it play any sound through the camera. You can add this to Home Assistant automation. For example, you can play the sound of leaving the order at the door. All you need to do is record an audio file with the following characteristics
Format : AAC LC
Format/Info : Advanced Audio Codec Low Complexity
Format version : Version 4
Codec ID : 2
Bit rate mode : Variable
Channel(s) : 1 channel
Channel layout : M
Sampling rate : 16.0 kHz
upload the file to the camera via wget
cd /etc/ch/ru/
wget http://www.YOUR_URL.com/output.aac
chown 1000:1000 output.aac
create a Python script (/config/python_scripts/amera_telnet_play_sound.py) in Home Assistant with the following content
Hi folks! The camera allows you to play sounds, but there is no functionality to control this at all. I found a command that makes it play any sound through the camera. You can add this to Home Assistant automation. For example, you can play the sound of leaving the order at the door. All you need to do is record an audio file with the following characteristics
upload the file to the camera via wget
create a Python script (/config/python_scripts/amera_telnet_play_sound.py) in Home Assistant with the following content
and add the following lines to configuration.yaml.
Restart HA. After that, we will be able to call this script to play the audio file.