Webhook Latest Event Object
The "content" field has been removed from the "mostRecentEvents" object returned from requests to webhooks-related endpoints. We identified that the field did not offer any valuable information, while it was also causing unnecessary data transfer. The latest event object now only includes the following fields:
Cubic feet per minute (CFM) is now supported for segment samples history - ventilation endpoint.
Conversion is done by setting lengthUnit query parameter to ft when calling the endpoint.
When using the GET /devices/{serialNumber}/battery endpoint with both query parameters start and end provided, the response could include battery history before the provided time range. This has now been fixed.
The issue was present only when using the start and end parameters together and with relatively low-time ranges (e.g., 10 hours). It was a fallback mechanism to ensure that the response always includes the latest battery status. The fallback mechanism has now been removed. You can increase the time range or use the latest battery endpoint to fetch the latest battery status.
As a part of improving and introducing a major update on our Webhook service, we've updated the payload format for hub-meta-data-feed events. The main change is that the value of the "data" key is now an array instead of an object. The reason for this change is to;
Improve consistency between the event types, as all other events follow this format
Allow more data to be sent in one Webhook, to reduce the amount of events you receive.
Here, is the updated the payload posted from the new webhook system.
Now, there are two new properties in the response:
airflow - cubic meters per hour (m³/h)
airExchangeRate - air changes per hour (ACH)
The availability of the virtual sensors will depend on your device type, and if the feature is enabled for the device in
the Dashboard. airflow is only available for devices where room size information has been entered.