Introduction
...
The sensor vendor needs to comply with the Spacewell webhook, which means a joint project between Spacewell, the customer and the 3rd party sensor provider.
Spacewell will first create a vendor ID, which is descriptive and unique, as a Generic Endpoint. Usually, it refers to a tenant ID, or it can refer to the name of a sensor platform.
Within 1 vendor ID, sensor IDs need to be unique and prepended with the vendor ID.
So if you're thinking of combining device IDs from multiple third parties in 1 Generic Endpoint, there could be a potential risk of conflicts.
Copy Data in time slots
Depending on the kind of sensor, they might not send heartbeats or data regularly. If they send data and then only send a message upon value change, you might find yourself with bits and pieces of data (eg 1 time slot of 15 minutes with data about temperature, and nothing the rest of the day), which would cause confusion when you try to read the dashboards.
To work around this, you can opt to have us copy the data, per device type level for any desired amount of time.
For example for the sensor type "Generic PIR" we could set a "copy in further time slots" and this value would be valid for all Generic PIR sensor values, which come to us for your tenant. Of course, the data is only copied until new data comes in again. So if a value comes in on Monday at 9am, and the configuration says "copy for 7 days", and on Wednesday at 8am a new value comes in, then from Wednesday at 8am the new value is taken for 7 days, or until a new value comes in.
This also means that we will only see in Workplace if a sensor is NOT transmitting data after the configured time has expired (in previous example: after 7 days).
The following chapter describes step by step how to set up a generic endpoint and sensor data stream.
...
Expand | ||||
---|---|---|---|---|
| ||||
Send this page to the 3rd party sensor provider. On this page you'll see that there is a placeholder for the <sensor vendor> URL and for the bearer <token>. Let the 3rd party know what their specific url and token are based on the information you receive from the Spacewell support team from step 1.1.
ℹ️ To make life easier for your customer and the sensor provider, you can of course remove all sensor types that are not in scope of your project. |
...