I have setup Google Assistant actions, they work just fine using the UI item GA Metadata.
This is a basic item not a group. I am using the UI and not handcrafting an item file.
I setup a security switch, this works like the other devices from GA turns on and off fine. I can arm and disarm the switch using GA. But there is no prompt for the password. Not sure what I am doing wrong.
I sync devices on the Google Home. My problem is getting the security pin to work using the UI to create the metatdata GA options.
I create Command option metadata for the Item as:
pinNeeded=“1234”
pinOnDisarmOnly=true
I thought “secondary user verification”, was like 2 factor. LOL
Works excellent now, GA says “Can I have your pin”, i provide it, it works as expected. Great keeping my partner in crime happy she does not have to enter a pin to turn on security.
So it is clear this works from the UI, no item hardcoding required!
I hope to help with OH tasks in any way I can, I appreciate the effort this group puts forward.
Doesn’t mean it makes sense once you get into the openHAB context. The end users of OH are not reading the Google developers docs. Even I had to fill something in and see which property got created on the code tab to discover what that field actually means.
The words are ambiguous, as much of English ends up being.
When I first read it until I confirmed what the field meant I read it as “secondary user verification” and asked myself “who’s the secondary user and why do they need to verify it”?
It would make more sense if you took out the “user”.
Though since the field represents the pin code, I’d just call it that: “pin code”.
To me “Secondary Verification” implies, a second factor of authentication. My suggestion would be simply “Security Pin”. Maybe In the comment “Google will prompt for this”.
I am delighted this was provided as it works very well. Thank you for building / contributing to this.
As you already give an authorization by providing access to your appliances through a digital assistant which by default should also only be accessible by you, I would call this primary authorization.
It’s like telling your neighbor: “can you please open my doors”. Are you by this not also authorizing the person to do so?
I do understand that there is some room for interpretation.
So maybe let’s arrange on some documentation changes to clarify this for the users.
Thank you for suggesting a documentation change/improvement to clarify this.
My suggestion would be to change the field label in Google Assistant MetaData which currently reads “Secondary User Verification Pin” to “User Verification Pin”