Hi @mgbowman,
I knew this, but that way you have to give IFTTT your myopenhab user and password, giving access to all your items, not only exposed ones.
But thank you for your interest, anyway.
Matthew, thanks, but Google assistant does not see items to control and this is my favourite scenarioā¦ or Iām wrong?
Hi @Erop,
Google Assistant doesnāt read exposed items, but it does require the cloud connector to be functioning. So if youāre only using GA, then you donāt need to expose any items via PaperUI.
The key here is that you need to have your items tagged and labelled in text-based .items files. Thereās currently no way to do that in PaperUI. If youāre already using .items files, then ALL of your items must have labelsā¦not just the ones that you want GA to see.
Hope that helps!
Yes. I came across this thread with a new OH installation and the need for IFTTT (itās the only supported platform by my sleep / bed sensors). It works for me and my two items are not list in OH.
The cloud connector simply exposes the REST API via https://myopenhab.org so you can interact with any of your items.
" ALL of your items must have labels" - maybe itās my issue. Iāll check.
@rpwong, thanks a lot!
I think that was mentioned much earlier in this thread or another one. I didnāt understand what the person was saying at first, because I habitually include labels on all of my items (so it didnāt affect me).
Please report back if this solves your problem. I havenāt tested it myself, but if it is the issue then I think the docs could be edited for clarity.
It wasnāt my case, because all my items already has labels (later I found this note in documentation - https://www.openhab.org/docs/ecosystem/google-assistant/ ).
Iāve always received āunable to update settings. Please check connectionā without any details at my side or at myopenhab.org. Iāve found that one of my items has 2 tags (āLightingā, āSwitchableā):
Bedroom_Light2 (Type=SwitchItem, State=OFF, Label=Light 2, Category=light, Tags=[Lighting, Switchable], Groups=[Home])
Iāve removed one tag and everything connected ok now! GA is working after many hours of debug!!!
I can be wrong, but this item line was generated by home builder.
Itās a simple issue, but unfortunately error handling is so awful that itās not possible to understand whatās wrong
Russel, thanks for your help. It was valuable note that items are not required to be āexposedā to cloud to work with GA.
Hi, apologies if Iāve missed a thread, but as of today, should I be able to expose a new item (my 10th) to Openhab cloud to use with IFTTT integration?
I have nine items exposed for a while, but trying to expose a 10th fails. Iāve followed the same (and presumably correct) steps Iāve done previously, exercised its state etcā¦
Thanks
Steve
Yes this is concerning for me aswell. Request @digitaldan for items being exposed to the cloud be re-enabled as they do not cause any server load issue. So ifttt --> openhab items trigger works as expected.
I havenāt seen any updated news so Iām not 100%, but if it is the same as when This thread was started the situation is that
Existing items exposed via myOH cloud will continue to work
New items exposed since this thread will not be found and so will not work.
Hi
Ok. Thanks for the update. A couple of questions for the community please:-
-
can anyone say when this will be re-enabled? I fully appreciate the immense amount of hard work that goes into this project, for free, but seems to have been an issue for some time? Is the a plan to fix?
-
on one related thread Iāve seen a mention of Webhooks being a potential alternative to integrate OpenHab with IFTTT. (I.e. Webhooks is the āThatā in IFTTT) and this avoids the need to expose items. Does anyone have any detail on how this could be done?
Many Thanks
Steve
-
The million dollar questionā¦
-
See post 138 by mgbowman above in this threadā¦the downside is that it passes your username and password in plain text. No problems if youāre not fussed but itās not something I want to be doing.
- Thanks so much. Should have scrolled back. Appreciated!
Is this (all items must have a tag in .items file) just specific to Google Assistant, or is the same true for the Alexa skill?
Yes, as clearly stated in the docs:
Iām sorry, but no itās not. It clearly states you need the tags, but is silent on whether specifying those within PaperUI is sufficient. Currently, Iām suspecting that it isnāt sufficient as my items are not being discovered by Alexa even though Iāve given them appropriate tags. If this is the case it might be nice to explicitly state so.
Did I miss something or how can you tag an item using PaperUI?
There is a ācategoryā parameter. Is that not the same?
If not, and I need .items files, is there some guidance on constructing the items files for zigbee and zwave devices?
No, category is not the same as tagging. YouĀ“ll need to either create items files or use the Rest Api.