openhab / openhab-google-assistant

openHAB Google Assistant: Actions on Google for openHAB
Eclipse Public License 2.0
176 stars 86 forks source link

[Issue] HumiditySensor not working as expected on iOS #448

Closed sindalschmidt closed 1 year ago

sindalschmidt commented 1 year ago

Issue

michikrug commented 1 year ago

Hello and thanks for reaching out.

Some comments regarding your reports:

1) The missing selection in the openHAB UI is already implemented and "just" needs a new openHAB release as the UI is always shipped with the main package 2) That is really strange. For me it works both on Google Home on Android, Google Nest Hub and via Google Assistant both in German and English. Are you using a different language (just guessing from your device name...)? What does Google tell you when asking for the humidity? What kind of item did you use for it?

diRk262 commented 1 year ago

Hi, I am facing the same issue. Adding the HumiditySensor via code tab shows the sensor in Google Home on Android, but no value for it. The humnidity value in openhab is a number item, so this should work. Language is german.

Code: value: HumiditySensor config: {} GA

OH2

OH

michikrug commented 1 year ago

Thanks for the info.

Will do some more investigating...

michikrug commented 1 year ago

I guess I found the issue. Google is expecting Integer values, currently I hand over floating point values. Will provide a potential fix asap.

michikrug commented 1 year ago

Could you please retest?

diRk262 commented 1 year ago

Screenshot_20230221_203301_Home

Looks very good. Thank you for the fix!