# Aqara temp sensors and Google Home

**URL:** <https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930>\
**Category:** Questions & Help\
**Created:** [April 21, 2022, 7:55pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930 "2022-04-21T19:55:13Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [April 21, 2022, 7:55pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/1 "2022-04-21T19:55:13Z")

</div>

Out of ideas here.

Adding sensors to Homey works fine, not working asking Google home  
Adding sensors to Aqara Hub M2 and then to Google home. Works asking about temp, no show in Homey

I want the temp sensors showing in the homey app but also be possible to ask Google home the temperature

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 21, 2022, 8:48pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/2 "2022-04-21T20:48:02Z")

</div>

I created virtual temperature sensors for that, then they’ll show up in Ghome.

This way I “feed” them with the original temperature sensor values:

Ghome:

 ![Screenshot_20220421-224935_Home](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/2/22d4aac4fc73c30d8af5953a59d038868c8220fe.jpeg)

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [April 22, 2022, 9:11am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/3 "2022-04-22T09:11:36Z")

</div>

Just creating av virtual temp device that one should show up in GHome after update right?

I never finds it

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [April 22, 2022, 11:18am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/4 "2022-04-22T11:18:04Z")

</div>

Is it a sensor device? Did you also add it to your favorites? And did you then do a Synchronize?

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [April 22, 2022, 11:45am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/5 "2022-04-22T11:45:41Z")

</div>

Mm a virtual device.  
Have only device and mode to choose from when creating.

Not added in favorites but tried to sync i GHome multiple times

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [April 22, 2022, 1:13pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/6 "2022-04-22T13:13:24Z")

</div>

Better use the App [Virtual Devices App for Homey | Homey](https://homey.app/en-gb/app/com.arjankranenburg.virtual/Virtual-Devices/)  
Create a temperature sensor device, and add it to your favorites.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [April 22, 2022, 1:18pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/7 "2022-04-22T13:18:02Z")

</div>

I’m not sure if a temperature sensor does the trick.  
Try a virtual thermostat instead; That should show up in Ghome

 ![Screenshot_20220422-151619_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/6/16e1304c932172f25a974dabfe69c79b6a6a43c8.jpeg)

 ![Screenshot_20220422-151652_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/8/28946097cd5d7662d03c80204a0f39b3435b958a.jpeg)

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [April 23, 2022, 6:12am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/8 "2022-04-23T06:12:43Z")

</div>

Ok adding a termostat instead adds it in Google.

But Icannot get the flow working.

I did this:  
Added tje virtual button as per Peter\_Kawa nice description above.

Added flow like this  
The aqara sensor and “when temp change”

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/4/a4f563f7436b1b26ee4fae2d6608ba2a7935f52f.jpeg)

Then……

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/a/2ade015c1650b6e3dc7d5aeb8b3a74ebc1bf9a6a.jpeg)

First tag Temperatur is the virtual sensors temp value the second tag Temperatur is the aqara sensors temperatur tag.

Guess I am doing it wrong somewhere.

---

<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:** [April 23, 2022, 6:19am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/9 "2022-04-23T06:19:21Z")

</div>

Compare this:  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/b/8/b8f28c6ea7a5c2072ed01029d80175418f6adc75.png)

With this:

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/f/c/fc28d8d3d9f424d9f30d4ad4167f653d561cc413.jpeg)

---

<div class="post-metadata">

**Author:** ![Anders\_Green](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders_green/32/5127_2.png) [@Anders\_Green](https://community.homey.app/u/Anders_Green)\
**Post date:** [April 23, 2022, 7:09am UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/10 "2022-04-23T07:09:30Z")

</div>

I knew I did something wrong 😀

Tnx now its working.  
Aqara temp in Homey and I can ask Google Home

---

<div class="post-metadata">

**Author:** ![Symphonial](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/symphonial/32/51810_2.png) [@Symphonial](https://community.homey.app/u/Symphonial)\
**Post date:** [August 2, 2022, 3:56pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/11 "2022-08-02T15:56:23Z")

</div>

Hello

Sorry to bother you, but when you ask to Google Home, it tells you the current temperature ?  
I managed to add it (with difficulties, since the sensors can’t be added to Google Home and I can just add the thermostat) and when I ask the temperature, it tells me “Temperature (device) is in heating mode”. I can see the value on the screen on Google home, but Google Home doesn’t tell me what’s the temperature

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [August 2, 2022, 8:21pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/12 "2022-08-02T20:21:09Z")

</div>

Yes, it tells the current temperature.

Virtual thermostat:

 ![Screenshot_20220802-221803_Home](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/1/2/1210903257c02a96cc09db46aa962f9b5443c7fc.jpeg)

The question and answer:

 ![Screenshot_20220802-221736_Google](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/c/6/c674c18b9c0896cfff59e9fc26e527d2a1584881.jpeg)  
_“Het is nu 2 graden” means “it is 2 degrees now”_

.

> [@Symphonial](#):
>
> “Temperature (device) is in heating mode”

That’s odd, can’t you turn heating mode off somehow?

---

<div class="post-metadata">

**Author:** ![Symphonial](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/symphonial/32/51810_2.png) [@Symphonial](https://community.homey.app/u/Symphonial)\
**Post date:** [August 2, 2022, 10:29pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/13 "2022-08-02T22:29:08Z")

</div>

Hello,  
Thank you for your answer 🙂

I retry just after testing the flow, and it says the temperature (but it’s the default one, not the one updated)  
After the update (I write the message when I try to test) I have the message :

“The heater is configured on 23.5 degrees with a current temp of 27.5 degrees”.  
So, the temperature is now said by Google, but I would like to avoid it says “The heater is configured on 23.5 degrees”  
I followed your screen above to set up that, by checking Thermostat + target temperature and Measure temperature (I just put a higher maximum given the current temperatures here) and the command is the same (If I don’t check the “target temperature” I can’t have the device in Google Home anyway)

For reference I send you the shared

 ![Screenshot_20220802-234611_Chrome](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/3/03cd9a4f71e7a729a7ed1348e6fbe6086b40c1c5.jpeg)

 ![Screenshot_20220802-234427_Homey](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/62ecf4640ff492f55c0cdc0601df7b719687585f.jpeg)

I retried to create the exact same with the same flow and all and I’m still struck to heating mode… I did another one by adding the auto/heating/cold/off check and when I select the “Disable” for the thermostat it says ““Device” is turned off and the current temperature is XX degrees”

My comment is a bit fuzzy since I did the test while I write, sorry 🙂

---

<div class="post-metadata">

**Author:** ![Anders-M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders-m/32/60273_2.png) [@Anders-M](https://community.homey.app/u/Anders-M)\
**Post date:** [September 20, 2022, 5:04pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/14 "2022-09-20T17:04:50Z")

</div>

Hi Anders,  
I ended up the same way as you with two temperature tags. I don’t understand robertkleps solution. Which one of the tags did you remove? Currently I’m stuck at the “Then” screen and can’t figure out in which field I should type, “sensor” or “value”.

 ![Screenshot](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/3/c/3c353774c2b350e92f5042baebb4b278bcb67893.png)

It seems as it’s not possible to save the flow card without filling in both of these fields.

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 20, 2022, 5:11pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/15 "2022-09-20T17:11:54Z")

</div>

@ Sensor: enter the sensor’s capability yourself: in your case it is most probably `measure_temperature`  
@ Value: Select the tag which holds the temperature value you want to use.

> ![Screenshot from 2022-09-20 19-15-28](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/4/f/4fd327f5df836cb53dc6bbd7e7c6db0e75540901.png)

[![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/6/2/629e36f496e5f684f673c251a89ae8dda32b87c4.jpeg "Homey: how to look up flow logics tags/variables of devices") ](https://www.youtube.com/watch?v=tlmBxg9ygZ8)

---

<div class="post-metadata">

**Author:** ![Anders-M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders-m/32/60273_2.png) [@Anders-M](https://community.homey.app/u/Anders-M)\
**Post date:** [September 20, 2022, 5:59pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/16 "2022-09-20T17:59:33Z")

</div>

Thanks Peter\_Kawa for quick reply. So now my flow card looks like below. The temperature tag is from my Aqara sensor. Unfortunately this doesn’t work. The Aqara app in Homey reports correctly, but the Virtual Devices app gets no values. I must be missing something.

 ![Screenshot](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/8/7/8714ab7fb3654c4a240c59aa3109ecf3ef56ac8a.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 20, 2022, 7:55pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/17 "2022-09-20T19:55:15Z")

</div>

You probably/maybe have to round by 0.5 like this:  
{{round([Temperatur]\*2)/2}}

Also, maybe the sensor is called `target_temperature`  
How does your virtual device look?  
The ring is `target_temperature`, and ‘current temperature’ is `measure_temperature`

 ![Screenshot from 2022-09-20 21-56-29](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/f/5f127e36b5e3c31ae79361b817d56dad0f5f6713.png)

---

<div class="post-metadata">

**Author:** ![Anders-M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders-m/32/60273_2.png) [@Anders-M](https://community.homey.app/u/Anders-M)\
**Post date:** [September 21, 2022, 3:52pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/18 "2022-09-21T15:52:48Z")

</div>

Thanks Peter\_Kawa for your patience. I tried your latest suggestions in different combinations and I’m sorry to say that neither one worked. My virtual device is set exactly the same as suggested in your post #7.

However - before I nearly gave up, I deleted and reinstalled both the Aqara and the Virtual Device app, and then reconnected my Aqara sensor again with the previous recommended settings. And voila – without explanation, now it works! At least “Current Temperature” is showing in Virtual Device App and reporting to GH. I don’t know if it’s possible to get the Target Temperature ring to follow, or this is just for settings when using a thermostat.

At the moment my target setting ring can only be controlled manually and must be set to 0 or lowest value, if I wish Google Home to report current temperature with voice. Otherwise GH will just report that sensor (“Thermostat”) is heating or cooling to reach target temperature.

This solution works ok for me, but if there is a way to get the ring to show current temperature it would be nice.

 ![Screenshot](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/0/c/0ca96f72cbdf96cc9b886a43bd47c34c875d19f0.png)

---

<div class="post-metadata">

**Author:** ![Peter\_Kawa](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peter_kawa/32/173848_2.png) [@Peter\_Kawa](https://community.homey.app/u/Peter_Kawa)\
**Post date:** [September 21, 2022, 8:20pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/19 "2022-09-21T20:20:51Z")

</div>

YW. I’m sorry, the target temperature is a separate card “set the temperatuere”  
This one holds only 0.5 rounded values, so we need a logic variable as in between step  
I hope this screenvid solves all issues:  
 ![Peek 2022-09-21 22-18](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/2/3/23a569e3a611522a86d2c2726593c5e7fbf4f6e3.gif)

---

<div class="post-metadata">

**Author:** ![Anders-M](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/anders-m/32/60273_2.png) [@Anders-M](https://community.homey.app/u/Anders-M)\
**Post date:** [September 26, 2022, 5:42pm UTC](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930/20 "2022-09-26T17:42:47Z")

</div>

It seems as the card “The target temperature changed” is not listed under my Aqara sensor. Neither do I understand how to create the Logic card. Since I am new to Homey, I think I need to learn more about how to create these cards. I wish there were more step-by-step tutorials somewhere. This was probably too advanced for a beginner 😊

[Next page](https://community.homey.app/t/aqara-temp-sensors-and-google-home/62930.md?page=2)
