# MQTT Client setup (with Sonoff/ Tasmota Rules)

**URL:** <https://community.homey.app/t/mqtt-client-setup-with-sonoff-tasmota-rules/12802>\
**Category:** Apps\
**Created:** [May 7, 2019, 6:34pm UTC](https://community.homey.app/t/mqtt-client-setup-with-sonoff-tasmota-rules/12802 "2019-05-07T18:34:05Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![Leo838](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/leo838/32/12912_2.png) [@Leo838](https://community.homey.app/u/Leo838)\
**Post date:** [May 11, 2019, 3:17pm UTC](https://community.homey.app/t/mqtt-client-setup-with-sonoff-tasmota-rules/12802/12 "2019-05-11T15:17:50Z")

</div>

Here’s how I used this setup

> [@Howto: Extend the use of a Wemos D1 mini using rules & MQTT Client](https://community.homey.app/t/howto-extend-the-use-of-a-wemos-d1-mini-using-rules-mqtt-client/13016):
>
> Hello all, I didn’t come across this anywhere so I thought I’d share how I used a light dependent resistor ([https://en.wikipedia.org/wiki/Photoresistor](https://en.wikipedia.org/wiki/Photoresistor)) connected to a Wemos D1 mini flashed with Tasmota ([https://github.com/arendst/Sonoff-Tasmota/wiki/Wemos-D1-Mini](https://github.com/arendst/Sonoff-Tasmota/wiki/Wemos-D1-Mini)) to trigger my lights. This technique could be extended to alot of sensors connected to similar Tasmota devices. Currently in the Sonoff Homey app sensors are not directly supported so a suitable work around is required. My D1 has an…

---

_[View the full topic](https://community.homey.app/t/mqtt-client-setup-with-sonoff-tasmota-rules/12802)._
