Thanks Michael for your hint regarding metadata and REST API : openHAB Google Assistant Integration v2.0
Unfortunately it doesn’t work.
I have tried:
{“name”:“nikohomecontrol_blind_440e003a2369_35_rollershutter”,
“tags”:[Blinds],
“type”:“Rollershutter”,
“link”:“http://x.x.x.x:8080/rest/items/nikohomecontrol_blind_440e003a2369_35_rollershutter",“state”:“1”,“editable”:false,“label”:"kitchen window”,“category”:“Blinds”,“groupNames”:[],
“metadata”: {
“ga”: {
“value”: “Blinds”,
“config”: {
“roomHint”: “Kitchen”
}
}
}
}
the response is ok (200) and:
[
{
"name": "nikohomecontrol_blind_440e003a2369_35_rollershutter",
"status": "updated"
}
]
When getting the items and specifying the metadata ga ()
curl -X GET --header “Accept: application/json” “https://x.x.x.x:8443/rest/items?type=Rollershutter&metadata=ga” -k
I got no metadata:
[
{
"link": "https://x.x.x.x:8443/rest/items/nikohomecontrol_blind_440e003a2369_35_rollershutter",
"state": "0",
"editable": true,
"type": "Rollershutter",
"name": "nikohomecontrol_blind_440e003a2369_35_rollershutter",
"label": "kitchen window",
"category": "Blinds",
"tags": [
"Blinds"
],
"groupNames": []
},
{
"link": "https://x.x.x.x:8443/rest/items/nikohomecontrol_blind_440e003a2369_38_rollershutter",
"state": "1",
"editable": true,
I have switched simple link off.
Any hint plz?
Thanks.