mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-04-30 00:07:35 +00:00
1.1 KiB
1.1 KiB
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | ha_release | ha_iot_class |
---|---|---|---|---|---|---|---|---|---|---|---|
page | MQTT Camera | Instructions 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.
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 (Required): MQTT topic to subscribe to.
- name (Optional): Name of the camera