Float with Google Home

I am trying to integrate an Arduino IOT project with Google Home. From the Thing menu, I try to add cloud variables that are accessible to the Google integration. I have a number of switches and lights available, as well as two temperature variables (CloudTemperatureSensor in C or F). I would like to have a different Float variable that can be read by Google. (Humidity plus a water depth reading from a sensor.) Is this possible?

Thanks

I didn't realize Arduino IoT cloud was now supporting Google Home. Maybe post a screen grab of where it says that.
Not really sure what you are asking, but my guess is yes.
Posting your code in code tags is the minimum needed. With IoT cloud projects, there are a bunch of screens that you need to grab and post as well, but I don't know what they are called.

Ah, do you mean:

  • a variable that can hold numbers that are not whole numbers?
  • A Float switch / sensor that detects the level of water?

Here are shots from the relevant screen.
First, you can see that two of the three variables have the Google Home symbol. They are working as expected.

In the second image, you see the choice menu for trying to alter the non-Google variable.

In the final image, you see some of the Google-compatible variable types. Most are Boolean, but the pre-defined Temperature variables are floating point numbers.

You can probably guess that back_hum is a humidity variable. It works fine in the code and it updates to the Arduino dashboard. I would, however, like to have Google Home also get it. (There is another floating point number I'm after, but if you can help me to solve the original problem, I'm sure I can get that one too.)

Thank you for reading this, and thank you for your assistance.

This is the right-hand side of the Thing screen

First I am hearing about Google Home so I am not familiar at all. Good luck.

Still no progress. Anyone have any experience making a floating point number from an Arduino Cloud thing accessible to Google Home?

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.