# Mqtt monitoring / syncing states, need bit of help

**URL:** <https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105>\
**Category:** General\
**Created:** [24 October 2019 19:30 UTC](https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105 "2019-10-24T19:30:51Z")\
**Posts on this page:** 1\
**Showing post:** 14

<div class="post-metadata">

**Author:** ![krizniq](https://avatars.discourse-cdn.com/v4/letter/k/ec9cab/32.png) [@krizniq](https://discourse.nodered.org/u/krizniq)\
**Post date:** [25 October 2019 15:22 UTC](https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105/14 "2019-10-25T15:22:15Z")

</div>

well I indeed can understand how that works but in your follow there is comparison between two topic and else

in case three topics logic would be 1 == 2 and 2 == 3 and 1 == 3  
which sound bit complicated and full off if - elses, so I was asking basically if that's the way or if its there better one  
😉

---

_[View the full topic](https://discourse.nodered.org/t/mqtt-monitoring-syncing-states-need-bit-of-help/17105)._
