We have a recurring, but intermittent error where some devices send malformed payloads which cause errors on ingest (eg: This sentry error).
These can be fixed in a firmware release, but we need to be able to inform users that their device is 'unhealthy' and that they should upgrade the firmware.
Therefore, we should catch these errors in the mqtt parser, and create some sort of 'device health status' flag on devices, which gets set when a malformed packet is received.
We could even capture the errors themselves, and store a 'device error log' in the db for debugging
We have a recurring, but intermittent error where some devices send malformed payloads which cause errors on ingest (eg: This sentry error).
These can be fixed in a firmware release, but we need to be able to inform users that their device is 'unhealthy' and that they should upgrade the firmware.
Therefore, we should catch these errors in the mqtt parser, and create some sort of 'device health status' flag on devices, which gets set when a malformed packet is received.
We could even capture the errors themselves, and store a 'device error log' in the db for debugging