That’s what i tried first.
Initially I opened home control on my google assistant app and in add devices searched for openhab and i clicked on it , the app displays your accounts have been linked successfully but then it does not display the openhab as a device it just displays you haven’t added any device.
Thank you. Works fine now
When I say turn on light it is reflected in openhab as well.
Just one last doubt how can I integrate my oppenhab with another device(like arduino) which would be connected to my light. Should I use mqtt broker to interface openhab with a micro-controller device??
I believe that very few people have it implemented like this. Most use myopenhab.org and the existing integration to Google Assistant.
Even if you manage to deploy like this, you will still depend on Google Cloud Functions
I believe that the same is true for Alexa (uses external cloud services)
You need 2 stuff on top of exposing your Items to myopenhab.org: Labels & Tags for your Items
To add Labels = it’s easy you can use PaperUI (edit the Items)
To add Tags = unfortunately, PaperUI doesn’t support this yet. You will need to use either REST API and/or the console
By the way, troubleshooting is better under a new thread, not within an older thread
To edit your Items within PaperUI you need to:
PaperUI->Configuration->System->Item Linking->Turn off “Simple Mode”
You will be then presented with a new menu on the left side (just below the one that you have selected now (Things).
Thank you Dim for your prompt replies. I’ll try your suggestions, I am an advanced user and write blog (definitely, I’ll write a complete post on it after figuring it out). I have a quick question. When items are added via Paper UI, there is no clues under etc\openhab2\items. Where do they get stored? is there any database? if so, where can i find it?
Hello Dim, I have added the label and tag and tried once again to pair it with google assistant. It gets synced and an alert of “assigning room” pops out and still nothing gets added under devices in home control. Here is the json of the switch.
{
“link”: “http://192.168.50.30:8080/rest/items/wemo_socket_Socket_1_0_201612K003B1F9E_state”,
“state”: “NULL”,
“type”: “Switch”,
“name”: “wemo_socket_Socket_1_0_201612K003B1F9E_state”,
“label”: “Switch”,
“category”: “Switch”,
“tags”: [
“socket”
],
“groupNames”: []
}