Ariela has build-in MJPEG stream server, which will allow sending images from back or front camera of your phone. This server can also be used and integrated in Home Assistant with no additional components.
In order to enable the MJPEG streaming, go to Ariela -> Settings -> MJPEG Camera Streaming. If all successful, something like this should appear.
By default, all functionality is disabled. In order to enable it, click of the “MJPEG Camera Streaming” option.
Fallowing configurations are available for MJPEG Camera server:
|Stream Source||Use this setting to choose the streaming source of the server. This could be one of your phone / tablet camera.|
|Stream Resolution||Use this setting to choose the streaming resolution. Available |
|Compression Quality||Use this setting to choose the compression quality. Valid values : 10 – 100 where 10 is the lower compression (and lower quality) and 100 is best compression (and higher quality)|
|Stream Port||Choose a unique port where Ariela will create the MJPEG stream server. Default value: 8099|
|Flash||Enable this setting if you want the flash to be enabled while streaming back |
3.0 Motion Detection
If the MJPEG streaming server is running you can also enable motion detection sensors (mobile_app & MQTT) which will be updated whenever motion is detected. Please check the sensors section for more details: http://ariela.surodev.com/category/sensors/
4.0 Home Assistant Configuration
In order to have the MJPEG server configured in Home Assistant and displayed as a camera, open configuration.yaml from your Home Assistant installation and paste fallowing code:
camera: - platform: mjpeg mjpeg_url: http://192.168.43.182:8099/camera.mjpg name: Ariela MJPEG Camera
Note: replace the IP with your phone / tablet IP. Also do not forget to change the port (8099) with the value you set as the stream port in the MJPEG server settings.