Over a 24 hr period, my dashboard indicates I used just under 0.24MB to Particle.publish the following data string every 30 minutes, which would appear to mean each publish ate up about 5k (240,000 / 48) = 5k. Is this normal? Seems a big data debit for a short string.
I used a ds3231 to yield the time string and didn’t call any other cloud functions than publish, and I uploaded the application via dfu:
void setup()
{
Wire.begin();
get3231Date();
yearint = year + 2000;
sprintf(ds3231timeStr,"%s, %d/%02u/%02u - %02u:%02u:%02u",weekDay,yearint,
month,thedate,hours,minutes,seconds);
get3231Temp();
sprintf(publishStr, "%.2f° %s %.2f", temp3231, ds3231timeStr, fuel.getSoC());
Particle.publish("electron1", publishStr,60,PRIVATE);
delay(1000);
System.sleep(SLEEP_MODE_DEEP, 30 * 60); //30 mins
}//setup()
EDIT: Also the Electron stopped publishing on battery when battery SOC (builtin firmware FuelGuage) dropped to 80, which seems premature. Not positive it was due to “low” battery but it did resume publishing after giving it USB power.