palazzem / ha-econnect-alarm

Home Assistant integration that provides a full-fledged Alarm Panel to control your Elmo/IESS alarm systems.
BSD 3-Clause "New" or "Revised" License
10 stars 5 forks source link

High data usage on mobile networks #23

Closed palazzem closed 9 months ago

palazzem commented 10 months ago

Describe the bug

Feedback from users:

I suggest you should work on “less data connection”. I’ve sim with 200 mb/month (easycontroll by Vodafone) but this integration is using 10-15mb per day… I’ve disinstalled waiting for such a modification. Anyhow, thanks for the great job!!!

Using the real time API (that is a long-polling strategy implemented by the company), increases by a lot data usage, making it a deal breaker for some users. As part of this task we should:

  1. Measure the current data usage (benchmarks with data usage)
  2. Check if other forms of polling are possible (making it not real-time may create unwanted delays, but it may be still good enough to some users)
  3. Check if it's possible to query directly the controller. This is the most expensive research as e-connect systems are closed sources and have no specifications published.

Error message n/a

Expected behavior The daily data usage is small

Additional context This happens in all installations where a main controller is connected through a 4G/5G connection.

To Reproduce n/a

Environment n/a