Hi,
I have been testing RuuviTAGs and gateways with Azure IoT Hub and there exists a crucial problem with the amount of messages sent to Azure. At the moment we have 21 tags and 3 gateways running in 3 different locations. Gateway uses MQTT over SSL to send data to Cloud and the amount of messages received by IoT Hub is huge. IoT hub uses 4kB chunks to count messages so messages bigger than that are counted as multiple messages, Iβm not sure if this has anything to do with this problem.
Azure has some limits for daily messages and increasing that limit means more costs, e.g. standard tier S1 costs 22β¬ and has limit of 400k message. S2 costs 220β¬ and the limit is 6M messages.
Here are some figures:
21 Tags β ~1k messages/minutes β over 1.2M messages/day
Is there any way to adjust:
- Sensor advertising interval to e.g. 1/minute or less (the actual need is to get reliable measurement every 5-15 minutes)
- Filter out messages at the gateway, reduce amount of messages
- Combine multiple tag messages to single gateway to Cloud message.