Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Assistant response of sensor node #50

Closed
JaspervanKol opened this issue Jun 29, 2021 · 4 comments
Closed

Google Assistant response of sensor node #50

JaspervanKol opened this issue Jun 29, 2021 · 4 comments

Comments

@JaspervanKol
Copy link

Hi, I have a problem with the response of Google Assistant when using the Sensor node.
When I ask what the temperature or humidity is, it will respond like this:
The Temperature is set to 21 degrees and is now 10 degrees
The Humidity is set to 40 percent, and the current humidity value is 60 percent
Why is Google Assistant saying that the temperature / humidity is set to something while it is not possible to do that?

@andrei-tatar
Copy link
Owner

andrei-tatar commented Jun 30, 2021

It does use the TemperatureControl trait behind the scenes (which has the ability to set a setpoint), but it has a queryOnlyTemperatureControl attribute that is set to true. So the Assistant behavior should be to only tell you about the ambient temperature... (as far as I know).

Can you provide more details (not sure if it matters, but so I can try to reproduce it)?

  • is this happening when asking a Google Home device (what device)?
  • is this happening when asking Google Assistant on your phone?
  • what is the exact phrase you are using to query the sensor?
  • what if you use the sensor name "hey google, what is the temperature"?

@JaspervanKol
Copy link
Author

• Is this happening when asking a Google Home device (what device)?
Yes, on a Google Nest Mini

• Is this happening when asking Google Assistant on your phone?
Yes, this is also happening on a phone

• What is the exact phrase you are using to query the sensor?
“Hey Google, what is the temperature / humidity inside”

• What if you use the sensor name "hey google, what is the temperature"?
“The temperature is set to 21 degrees, and the current temperature is 16 degrees”
This also happens with humidity

Note: I am asking this to Google Assistant in dutch I don’t know if that matters?

andrei-tatar added a commit that referenced this issue Jun 30, 2021
@andrei-tatar
Copy link
Owner

I published v1.0.11 with a change in the sensor state (removing the setpoint values). Let me know if it fixes it... Because I'm not able to reproduce your issue (using english, not dutch).

@JaspervanKol
Copy link
Author

Thank you, it is working now. It will now only say what the current temperature / humidity is. You can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants