Using 3g dongle for remote logging
I'm testing use of a 3g dongle which is pay as go (in the UK). I'm sending messages to Thingspeak (via Python on Pi) but the credit allowance decrease indicates several megabytes have been used. Even if one message is 1,000 bytes then after 1,000 messages like this I'd expect to lose 1 megabyte of credit but instead it's 10 MB (I'm sending https://api.thingspeak.com/update?api_key=xxxxxxxxxxxxx&field3=12345 ) Has anyone experience of data logging over a mobile data dongle and how much it should cost ?
5 Comments
Time DescendingThe Pi may be doing lots of other network stuff you're not aware of. A better test might be an ESP32 or ESP8266 hooked up via the dongle. That way you know exactly the data going over the network.
BTW, if you are concerned about data usage, I'd strongly suggest looking at the MQTT API. That is far more efficient and designed for machine-to-machine communication.