If the user configures the sensor block to push data measurements via MQTT, the measurement interval is fixed at 8 seconds. However, a user may have a strong opinion on this value based on the context for the measurement. The interval could range from sub-second to once an hour. The interval may change dynamically depending on the circumstances. Communication bandwidth may affect this value as well.
It would be useful to have a default value for the interval but allow the user to specify it via a device variable.
It also would be useful to specify in the README that the sensor block pushes data via MQTT while it expects an external service to pull data via HTTP.
If the user configures the sensor block to push data measurements via MQTT, the measurement interval is fixed at 8 seconds. However, a user may have a strong opinion on this value based on the context for the measurement. The interval could range from sub-second to once an hour. The interval may change dynamically depending on the circumstances. Communication bandwidth may affect this value as well.
It would be useful to have a default value for the interval but allow the user to specify it via a device variable.
It also would be useful to specify in the README that the sensor block pushes data via MQTT while it expects an external service to pull data via HTTP.