I am using openhab 3.3M2 on a raspberry pi v4 thanks to an openhabian image and I am trying to add Google Assistant functionality in connection with openHAB.
I can switch on or off several lights with Google assistant but I cannot operate my awnings.
The rollershutter devices are recognized in my Google home app but I cannot control them. When clicking the device in the app, only a configuration page with name and roomhint appears.
When trying to sync, the assistant writes that he cannot find the two rollershutters.
Reading the google assistant docs for the openClose trait I noticed that secondary user verification should be used (In my first attempts I did not activate that option).
When I activated the option in the ga metadata field, the rollershutters appeared in google home app for a while, even though I could only fully open or fully close them.(they appeared as a switch)
After a few attempts with different configuration options (inverted option, changing type to blinds) the rollershutter were not controllable anymore, even with the configurations that previously worked.
I tried unlinking and relinking openhab from google home. I also removed all ga metadata, synced google home and the re-added ga metadata, but the roller shutters are still not controllable.
Is there something else that I can try?
Thanks for your attentions
Lionello
Here are my configurations
Thing topic tasmota-tenda-su "mqtt-thing Tenda su" @ "Mansarda" {
Channels:
Type string : reachable "Reachable" [ stateTopic="tele/tasmota_tenda_su/LWT" ]
Type rollershutter : position "Position" [ stateTopic="stat/tasmota_tenda_su/SHUTTER1", commandTopic="cmnd/tasmota_tenda_su/SHUTTERSTOPPOSITION1"]
Type number : tele "Tele" [ stateTopic="tele/tasmota_tenda_su/SENSOR",transformationPattern="JSONPATH:$.Shutter1.Position"]
}
Rollershutter TendaSogg "Tenda Soggiorno" <blinds> (gEquip_TendaSogg,gTendeDimmer)
["Control"] {channel="mqtt:topic:mosquitto:tasmota-tenda-giu:position", listWidget="oh-slider-item"[scale=true,scaleSteps=5,scaleSubSteps=4,min=0,max=100,releaseOnly=true]}
The response to the rest API query of the metadata for the item is as follows:
(https://myopenhab.org/rest/items/TendaSogg?metadata=ga)
{"link":"https://myopenhab.org/rest/items/TendaSogg","state":"4"
,"stateDescription":{"pattern":"%s","readOnly":false,"options":[]},
"metadata":{"ga":{"value":"Awning","config":{"pinNeeded":"1234","name":"tenda soggiorno","ackNeeded":true,"inverted":true,"roomHint":"soggiorno"}}},"editable":false,"type":"Rollershutter","name":"TendaSogg","label":"Tenda Soggiorno","category":"blinds","tags":["Control"],"groupNames":["gEquip_TendaSogg","gTendeDimmer"]}