Throwing more hardware at it is always an option, but that requires investments in the software configuration to cluster, tune, test and manage, so a very very large effort. It also may only be a short term gain until our load pushed it again. By turning off these IFTTT item updates we have reduced load on our mongodb server by 90% , so i would rather solve the software problem in this case.
Okay, I was just curious if there were something we (users) could do to help, beside software that is
Ok so IFTTT unfortunately triggers some heavy load. Though I’m just using one IFTTT trigger for Strava, I’m wondering if there is any other option for Openhab to receive webhooks? Of course polling every X seconds is always an option, but not really sexy. So do you know a way, how my OH instance without port opening can receive push notifications/webhooks to react on?
Thanks for your continous work Dan!
What is disabled is openHAB triggering IFTTT, not IFTTT sending a command to openHAB, that part still works. Are you talking about IFTTT -> openHAB, or openHAB -> iFTTT
I was talking about IFTTT --> openHab. But the question was more likely to be in general, like if there is any way to get a webhook to my openHab instance. At the moment, the only way I can think of is IFTTT --> myopenhab --> openHab. Or are there any other?
So this still works, just to be clear.
Your openHAB instance has a REST interface that is available through myopenhab using HTTP Basic auth (and your myopenhab username password) so you could have something update an item externally , for example using curl (command line http client) i can trigger a switch to “ON” like:
curl -u username:password -H "Content-Type: text/plain" -X POST -d "ON" https://myopenhab.org/rest/items/TestSwitch
Some systems may also use this format for auth, as long as they can send a POST command to a URL:
Just be careful exposing your system like this.
Does that help?
first of all. Im very impressed by the work around openhab. And even mor about the google home integration over myopenhab. Big thanks for that.
As often when people have issues they start to write…
I have problem since the last “Server down” Problems, that my items dont come back to be visible in myopenhab. Was ist a mistake from me to delete items for testing purposes? Is it possible that this items cannot be discovered anymore, because of the actual restrictions? I hope there is a solution? I need connection to IFTTT for Geofencing my Heatingsetup.
yeah understood that this IFTTT trigger does still work, just wanted to ask generally
Awesome, Thank you! Didn’t know that I can curl via myopenhab! Thank you. And yeah sure, that could be a risk as I guess the whole REST interface is exposed
This is probably a consequence of disabling the item update function (which is for IFTTT), if there were already items in the system they would be known to IFTTT, but b/c we are not updating them at the moment, we are not inserting any new entries for IFTTT to see and use to send messages too. I will hopefully have something to solve this soon, apologies for the inconvenience.
Thank you for your honest reply. No problem because then i just leave it for now how it is and wait how long it takes. I hope you figure out a solution soon. Just for information. When i went back to Ifttt to check if the items are still there they disappeared.
Can this change in Google API help in load of myopenhab.org? https://9to5google.com/2019/07/09/google-home-faster-smart-commands/?fbclid=IwAR25UquqpTxF3zbWNtcULzuj0-ZXtHbLCQUtBg4fpu8wKCY4bZBQN1MtcOI
there is issue on github : https://github.com/openhab/openhab-google-assistant/issues/102. Marzima must look… wait and see. but I think it will be perfect than openhab works only in local with google home.
Thanks! I will follow it up.
It would be great if this took some of the load off of myopenhab. Fingers crossed!
I am just curious if you already find a possible solution for solving the problem with the item states?
+1. Really looking forward to being able to re-add my items to myopenhab. I spent a lot of time yesterday trying to figure out what I was doing wrong… At least I’m glad to know I wasn’t just missing something. Thanks!
Having the same issue. Just looking to add myself to this thread…
I have a possible solution i am testing now, since this happens under load I want to introduce this slowly into the cluster so i want to plan this carefully. Also i’m Traveling a lot this month for work and I’m not able to dedicate as much time as i would like.
I agree this is an awesome feature, and would love if amazon implemented local control as well, but Google and Alexa do not add any noticeable load to the system, the item and event updates seem to be the big issue and are only used for IFTTT, not for anything else, which i don’t think is very clear to people (and i can see why, its very confusing in retrospect )
I add myself to follow the discussion, because I believe my problem is connected. I noticed, exposing a new article for IFTTT, that myopenhab.org no longer updates the items (my last update is July 26th) and consequently they are not seen by IFTTT to create the rule … right ?