Myopenhab not reachable

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:

https://username:password@myopenhab.org/rest/items/TestSwitch

Just be careful exposing your system like this.

Does that help?

Hello,

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.

Best regards
Dominik

Hi Dan,

yeah understood that this IFTTT trigger does still work, just wanted to ask generally :slight_smile:

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.

1 Like

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.

Best Greetings
Dominik

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!

Dear digitaldan,

I am just curious if you already find a possible solution for solving the problem with the item states?

Best Greetings
Dominik

+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!

1 Like

Having the same issue. Just looking to add myself to this threadā€¦

Same here!

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 )

3 Likes

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 ?

Yes, thatā€™s correct. There have been no updates to anyoneā€™s items on myopenhab.org since Friday, July 26. You can continue to send commands from IFTTT to any items that were previously exposed, but their states wonā€™t change in your myopenhab.org item list and you canā€™t add new ones right now.

Any update on the progress of myopenhab.org ???