azure-iot-sdk-python icon indicating copy to clipboard operation
azure-iot-sdk-python copied to clipboard

[Technical Question] Issue with idle data consumption.

Open lukev2c opened this issue 11 months ago • 0 comments

Context

OS info: Raspbian GNU/Linux 11 (bullseye)
Python version: Python 3.9.2
pip version: pip 20.3.4
version taken from requirements.txt: azure-iot-device==2.12.0

Description

In our product we use the azure-iot-device and recently we've been selling our product with a sim card and with this we have a need to reduce our data consumption to a minimum.

We experimented with a whole lot of different configurations that the library allows us like for example changing if the connection uses websockets or not among other things and, regardless of what we do, there is a daily consumption of around 3mb. It seems like a lot. We have analyzed the traffic and there's a packet that is sent every 10 seconds and another different kind that is sent every 30 seconds. We haven't been able to change anything in the library to modify this behavior. Here are some screenshots of our analyzed traffic.

Image Image

So is there a way we can reduce this data consumption? Is there a solution to this? Any help would be appreciated.

Thanks in advance.

lukev2c avatar Dec 09 '24 12:12 lukev2c