Both free and commercial accounts have usage restrictions. The overflow of limits can lead to the suspension of the platform instances or ignoring new incoming messages. There are several ways to control the limits.
The flespi panel features a dashboard with gauges and bars showing each platform element use.
When you open any instance in the flespi panel, it will display limits at the top. A disabled instance is lighted in red:
Limits control can be automated with flespi API GET statistics request.
The same info can be received via MQTT on the subscription to the topic flespi/state/platform/customer/counters/#.
Each time the usage values change, MQTT client will receive an appropriate message. See the full specs of possible topics in flespi/state in the table below:
id, flags, name
There's an nice and visual way to see all available flespi/state options with MQTT Board. Create a connection to the flespi MQTT broker, add a Flespi Subscriber and play with the switches in the offered dialog to pick the exact info you want to see:
To reduce the total amount of storage consider lowering the messages_ttl parameter as devices have biggest amount of data for the longest possible period available. Device messages buffer is tuned to be automatically cleared once per 24 hours (so once the messages_ttl parameter has been lowered one should expect the total amount of storage reducing in the upcoming 24 hours period).