# Is there away to get mqtt tag to show as a device in homey (Weather data)

**URL:** <https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309>\
**Category:** Questions & Help\
**Created:** [May 18, 2019, 5:38pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309 "2019-05-18T17:38:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [May 18, 2019, 5:38pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309/1 "2019-05-18T17:38:38Z")

</div>

I have a Davis Vantage 2 weather station and use Weather-Display to log the data and putting in on my website ( www.sundshult.se ) and I also put all data in a MYSQL database and Weather-display writes to text files all data.  
Now I want to use that data in my Homey.  
For example when wind is over 8 m/s take awnings in or when is starts to rain send a mail  
I have searched after a solution to get weather data into my Homey but can find any.  
Weather-display can also do MQTT, can I send mqtt to my mosquitto broker and then let my Homey read them and use the tags as a device ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 18, 2019, 6:29pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309/2 "2019-05-18T18:29:01Z")

</div>

> [@Kalle\_Kronbeck](#):
>
> Weather-display can also do MQTT, can I send mqtt to my mosquitto broker and then let my Homey read them and use the tags as a device ?

That should be possible with the [MQTT Client app](https://apps.athom.com/app/nl.scanno.mqtt), which can subscribe to MQTT topics and start flows when a message is posted to a topic.

---

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [May 18, 2019, 7:02pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309/3 "2019-05-18T19:02:47Z")

</div>

Is it possible to see a tag as a device, for example windspeed och rain? Would be nice on dashboard to see windspeed, temp, rain etc  
I am new to MQTT… does Homey read the mqtt tag and then can use it, like if rain change from 0mm to 0.2mm a flow does something ?

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [May 18, 2019, 8:19pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309/4 "2019-05-18T20:19:47Z")

</div>

You’d have to do that in different steps:

- one flow that triggers on an MQTT message, and sets a variable containing the message contents as action
- another flow that triggers on a variable changing

This depends on Weather-Display being able to publish MQTT messages containing data like windspeed, rain, etc.

---

<div class="post-metadata">

**Author:** ![Kalle\_Kronbeck](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/kalle_kronbeck/32/13158_2.png) [@Kalle\_Kronbeck](https://community.homey.app/u/Kalle_Kronbeck)\
**Post date:** [May 18, 2019, 8:37pm UTC](https://community.homey.app/t/is-there-away-to-get-mqtt-tag-to-show-as-a-device-in-homey-weather-data/13309/5 "2019-05-18T20:37:12Z")

</div>

Thank you very much for answers. The new version of weather-display coming hopefully next week vill send one message per tag example windspeed, winddirection and so on. So it seems like mqtt can do what I want
