No myopenhab Connection when using slow internet connection

Hi,

I use a mobile modem to connect to my openhab. Unfortunately, the usage was quite high and my internet connection was throttled. Unfortunately, since then, I haven’t been able to establish a connection to myopenhab. Is this really bandwidth dependent?

OH uses websockets to communicate between the UIs and the server. If the connection isn’t stable enough to keep that websocket connected I imagine it wouldn’t be able to establish and keep up a connection well enough to drive the UI.

I’m assuming you mean you can’t connect to your OH instance through myopenhab.org. If you cannot connect to myopenhab.org itself then something else is wrong.

I mean I can’t establish a remote connection to my paperui through myopenhab

I use an LTE modem to connect to my openHAB remotely via myopenHAB. As I can see, the consumption is so high that my data limit is reached every month.

How can I check the consumption of myopenHAB or determine what consumes the most to reduce the data rate?

You cannot really incluence the used data rate. myopenHAB has two settings, notification only or notification and remote access. Due to the design, using remote access, your openHAB server will send all events to myopenHAB, which then can be picked up by your mobile devices. There is no option to limit, which events are going to be sent out.

I thought it only uses data when the mobile app is opened, otherwise I thought it only sends push notifications or a heardbeat. Is that correct?

Since I’m using an RPI HW, is there an option to check if the high data rate really comes from myopenhab? I hope my system hasn’t been hacked.

Do you have Remote Openhab Binding installed?

Yes I think so. I can check it later.

Except by limiting the events that occur in the first place.

@Trainer , you might look into refresh rates and stuff like that on your Things and Profiles and such too reducing how many events are generated in the first place which will reduce the network traffic.

No, I don’t think that’s correct. It sends data when ever your OH server is connected to the cloud server independently from the clients.

1 Like

Unistall it and everything will come back to normall. I had the same problem. When i removed this binding, cloud connection was closed after few seconds. I dont have this problem anymore.

does it also work when i deactivate this thing?

It will. Remote openhab binding is used for other purpose. If you would like to have access to your dashboard, then openhab cloud is enough.

Thank you. After I deactivated remote openhab binding, the data rate was considerably reduced.

I used the binding because it was not possible to connect to two different myopenhab servers with the old app version of openhabian.
Now you can switch between the servers in the app, which simplifies the whole thing.

I also used the thing to check whether the internet connection to myopenhabserver had failed.