# Mqtt commands by change

**URL:** <https://community.homey.app/t/mqtt-commands-by-change/13742>\
**Category:** Apps\
**Created:** [May 28, 2019, 5:45pm UTC](https://community.homey.app/t/mqtt-commands-by-change/13742 "2019-05-28T17:45:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marian](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marian/32/11090_2.png) [@Marian](https://community.homey.app/u/Marian)\
**Post date:** [May 28, 2019, 5:45pm UTC](https://community.homey.app/t/mqtt-commands-by-change/13742/1 "2019-05-28T17:45:41Z")

</div>

I started to play with Homey MQTT Hub, and it seems very promising 🙂  
It is possible to setup also the topic in the way, that the message is sent only by change? f.e. temperature, activation of motion sensor, switch on/off the light etc etc?

---

<div class="post-metadata">

**Author:** ![Rocodamelshekima](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rocodamelshekima/32/8209_2.png) [@Rocodamelshekima](https://community.homey.app/u/Rocodamelshekima)\
**Post date:** [May 28, 2019, 5:54pm UTC](https://community.homey.app/t/mqtt-commands-by-change/13742/2 "2019-05-28T17:54:25Z")

</div>

If there is a particular reason for not asking this in one of the excisting MQTT hub topics then i leave it open. Please let me know.

---

<div class="post-metadata">

**Author:** ![HarriedeGroot](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/harriedegroot/32/56160_2.png) [@HarriedeGroot](https://community.homey.app/u/HarriedeGroot)\
**Post date:** [May 28, 2019, 11:34pm UTC](https://community.homey.app/t/mqtt-commands-by-change/13742/3 "2019-05-28T23:34:20Z")

</div>

@Marian Messages are sent on startup and at capability state changes.
