From ee7b42ca67e2461265b3a759d68a07ddab568416 Mon Sep 17 00:00:00 2001 From: Daniel Perna Date: Mon, 25 Jul 2016 12:44:18 +0200 Subject: [PATCH] Added example message for publishing client (#671) --- source/_components/device_tracker.mqtt.markdown | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/source/_components/device_tracker.mqtt.markdown b/source/_components/device_tracker.mqtt.markdown index 7c0eed7d1d4..2019f1ef573 100644 --- a/source/_components/device_tracker.mqtt.markdown +++ b/source/_components/device_tracker.mqtt.markdown @@ -31,3 +31,12 @@ Configuration variables: - **devices** (*Required*): List of devices with their topic. - **qos** (*Optional*): The QoS level of the topic. + +Example JSON you can publish to the topic (e.g. via mqtt.publish service): + +```json +{ + "topic": "/location/paulus", + "payload": "home" +} +```