mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 14:26:51 +00:00
Create camera.mqtt.markdown (#2425)
* Create camera.mqtt.markdown * Update camera.mqtt.markdown
This commit is contained in:
parent
ab9a65add0
commit
5a1ba749af
33
source/_components/camera.mqtt.markdown
Normal file
33
source/_components/camera.mqtt.markdown
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "MQTT"
|
||||||
|
description: "Instructions how to use an MQTT image message as a Camera within Home Assistant."
|
||||||
|
date: 2017-04-14 00:45
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: mqtt.png
|
||||||
|
ha_category: Camera
|
||||||
|
ha_release: 0.43
|
||||||
|
---
|
||||||
|
|
||||||
|
The `mqtt` camera platform allows you to integrate the content of an image file sent through MQTT into Home Assistant as a camera. Everytime 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](https://play.google.com/store/apps/details?id=it.barbaro.zanzito).
|
||||||
|
|
||||||
|
To enable this camera in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
|
```yaml
|
||||||
|
# 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
|
||||||
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user