MQTT Camera


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.

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 Variables

topic

(string)(Required)MQTT topic to subscribe to.

name

(string)(Optional)Name of the camera.

unique_id

(string)(Optional)An ID that uniquely identifies this camera. If two cameras have the same unique ID Home Assistant will raise an exception.