- Platform information:
- Hardware: Pi4 booting to SSHD over USB. 4gb RAM
- OS: RASPBERRYMATIC
- Java Runtime Environment: all latest
- Issue of the topic:
What works…
- after reading alot, I was able to activate Google Assistant for all my Sonoff /Sonoss and Shelly devices. Respectively all mqtt v1 devices
- below you see an example of a working *.item
Switch y_og_gang_licht “Licht OG Gang oben” (gy2, gLicht, gLichtOG,gLichtAllAus) {ga=“Switch”, mqtt=“>[broker:cmnd/y_og_fabian_gang/POWER1:command:*:MAP(sonoff.map)],<[broker:stat/y_og_fabian_gang/POWER1:state:MAP(sonoff.map)]”}
I can turn lights on and off and dim them, thanks to the fact I never switched to mqtt bridge 2.
What did not work…
Now I want to integrate homematic items, which were created by PaperUI into google assistant and am surprized how complicated this is due to paper UI.
=> I tried to do it trough rest api but there you can only add tags and not add “ga=“Switch”,”
Luckily I never switched to PaperUI setup comepletely, but why is it so complicated to add items to configure google assitant?
=> Is there really no step by step easy howto around or an easy way to activate all openhab2 items for google assistant?
What I tried…
I extracted from REST API my working item to learn from it…
{
“link”: “http://xxx.xxx.xxx.xxx:8080/rest/items/y_og_gang_licht”,
“state”: “OFF”,
“editable”: false,
“type”: “Switch”,
“name”: “y_og_gang_licht”,
“label”: “Licht OG Gang oben”,
“tags”: ,
“groupNames”: [
“gy2”,
“gLicht”,
“gLichtOG”,
“gLichtAllAus”
]
}
But it does not even show the; “ga=“Switch”,”
At the end I even wanted to find a way to get rid of the jonsondb (export to *.item files), but it seems that you need to manually redo item by item the *.item file.
=> I must have overlooked something, as I hardly can believe that the integration of Alexa or Google Assistant can be so complicated? Even for a guy who programs since 40 years?
=> Is there at least some kind of interface existing to change jonsondb items?
Did anyone successfully setup google assistant and did a step by step howto?
Thanks