Azure / Azure/azure-iot-sdk-python

[Technical Question] Issue with idle data consumption.

Open
#1,201 1 comment 0 reactions 1 assignee Claimed by @cartertinney View on GitHub
question
Dominant language
Python
Stars
438
Forks
380
Avg merge
22h 17m
Merged PRs (30d)
22

Description

# 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](https://github.com/user-attachments/assets/b55045f4-4fea-4d75-a5fb-92590b7b4289)
![Image](https://github.com/user-attachments/assets/afe7bedb-3d51-4a94-afe4-2bbfddbe6392)

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.