andrei-tatar / nora-service

NORA backend service
https://node-red-google-home.herokuapp.com
34 stars 30 forks source link

is the Thermostat Humidity Service broken? #8

Closed Chrischi- closed 4 years ago

Chrischi- commented 4 years ago

no matter which value is submit the answer from Google Assistant is 0% Humidity.

queryOnlyHumiditySetting

Boolean. Optional. Defaults to false. Indicates if the device can only
be queried for state information and cannot be controlled. Sensors that can only 
report humidity should set this field to true. Avoid setting both commandOnlyHumiditySetting
and queryOnlyHumiditySetting to true.

do i need to set queryOnlyHumiditySetting to true? and how? which topic?

Is this a Google or NORA Problem?

andrei-tatar commented 4 years ago

Should be fixed now in the latest version 0.0.25

Chrischi- commented 4 years ago

I tried to register myself again to try this but got the following error when creating the token

https://node-red-google-home.herokuapp.com/

{"error":"Cannot read property 'replace' of undefined"}
andrei-tatar commented 4 years ago

@Chrischi- Try now. it should be fixed.

Chrischi- commented 4 years ago

Thank you, it works.

Chrischi- commented 4 years ago

I've tried setting the humidity and still get 0% in response.

and some error while trying to play with the following settings:

- Indicates if the device operates using one-way (checked) or two-way communication
- Required if the device supports query-only execution

"nora: sync error (invalid object for sync)"
andrei-tatar commented 4 years ago

Make sure you are sending a number between 0 and 100 for the payload.humidity property.

Chrischi- commented 4 years ago

I can set the payload and the google home app also answers with the right payload but the speech output is still 0% humidity.

This is the answer i get after setting a value via Google Home App.
mode: "heat"
setpoint: 20
setpointLow: 20
setpointHigh: 30
humidity: 47

@andrei-tatar i just found out that if i make the request in english, i get the right return. If I place the request in my national language, then I get 0%. This looks like a Google problem and not a NORA problem. Or can you still do something here?

andrei-tatar commented 4 years ago

@Chrischi- nope. can't do anything about it. I just pass the values to google.