Don't use hardcoded values to calculate space usage
Add reading of last log entry
Don't use hardcoded offsets
Add new id after firmware update
Remove unused constants
Rename variables
Don't read empty values