openhab / openhab-google-assistant

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

Could you please update readme file to reflect changes in Google (they removed Conversational Actions) #492

Closed HuffYk closed 6 months ago

HuffYk commented 11 months ago

These commands in readme:

gactions update --action_package action.json --project gactions test --action_package action.json --project

doesn't work. The conversational gactions client cannot authenticate to google anymore. Tool asks for authorization code and when clicking on generated URL, access is blocked with this error message "Access blocked: Assistant CLI’s request is invalid" because request is done with the out-of-band (OOB) flow which is not allowed anymore in Google.

michikrug commented 11 months ago

Thanks for letting us know.

Do you already have an updated flow at hand?

HuffYk commented 11 months ago

Well my expertise in all this is 1hour max :). I thought just readme is not updated as public https://myopenhab.org/ still works with google home and conversational actions were deprecated on June 13, 2023. So I suppose there had to be some code change after 13.6. when this repo used conversational actions.

michikrug commented 11 months ago

OK. No worries.

I can just assure you that there has not been any change on this action regarding the discontinuation of conversational actions.

I guess creating an action only using the web ui might still work. Nevertheless, I will have a look at the cli tooling

michikrug commented 11 months ago

As we are using a smart home action and not a conversational one, I guess we are not affected by the change.

berni2288 commented 4 months ago

Hey @michikrug , did you already have a chance to look at the CLI tooling? I also can't use gactions because Google doesn't allow the authentication from this tool anymore.