home-assistant.io/source/_components/camera.mqtt.markdown
Jorim Tielemans db30e60a44 More various improvements (#6991)
Things starting with 'ca'
2018-10-21 17:03:41 +02:00

1.4 KiB

layout title description date sidebar comments sharing footer logo ha_category ha_release ha_iot_class
page MQTT Camera Instructions on how to use an MQTT image message as a Camera within Home Assistant. 2017-04-14 00:45 true false true true mqtt.png Camera 0.43 depends

The mqtt camera platform allows you to integrate the content of an image file sent through MQTT into Home Assistant as a camera. Every time a message under the topic in the configuration is received, the image displayed in Home Assistant will also be updated.

This can be used with an application or a service capable of sending images through MQTT, for example Zanzito.

{% linkable_title Configuration %}

To enable this camera in your installation, add the following to your configuration.yaml file:

# Example configuration.yaml entry
camera:
  - platform: mqtt
    topic: zanzito/shared_locations/my-device

{% configuration %} topic: description: MQTT topic to subscribe to. required: true type: string name: description: Name of the camera. required: false type: string unique_id: description: > An ID that uniquely identifies this camera. If two cameras have the same unique ID Home Assistant will raise an exception. required: false type: string {% endconfiguration %}