Difficulty: expert
Content
Learning Objectives
After reading this article, you’ll be able to:
Identify which data types are supported by Spacewell Workplace
Configure webhook & authorization token to connect your external data sources to Workplace
Suppose there are already sensors collecting data in the building and you want to include its data into the Workplace IOT platform. Spacewell provides a generic endpoint (using webhooks) for most of its sensor data types, to integrate, process and store sensor data from 3rd party platforms.
Once that connection is established, it’s possible to create custom device types for a more streamlined and efficient sensor management experience:
Clear and descriptive device type names help distinguish between sensors, allowing for quick & accurate identification when troubleshooting or replacing sensors
Customizable threshold settings for each device type trigger alerts and proactive maintenance actions, ensuring optimal sensor performance
Prerequisites
The sensor vendor needs to comply with the Spacewell webhook, supported data types & payload, see External Data Sources
Within 1 vendor ID, sensor IDs need to be unique and prepended with the vendor ID.
Combining device IDs from multiple third parties in 1 External Data Source, raises the potential risk of conflicts.
Configure Device Types on Workplace
How to access
Login with your credentials
Select Integrations > Device Types in the Studio 2.0 interface
Select “Add New”
General
Device Type Name
Device Type ID is used as a unique identifier of your device type, for example in batch device import
Custom Device Type IDs always include the prefix “Generic|”
Device Type ID should only include lowercase alphabetic characters, numeric characters or - symbol
External Data Source
select a specific External Data Source if the data for this device type will always be provided from 1 External Data Source. Establishing this 1-on-1-connection is beneficial for device registration in Workplace (see below chapter “Configure devices in Workplace“)
select “Any” if the data for this device type might come from different External Data Sources. In this case, device registration in Workplace is a bit more complex (see below chapter “Configure devices in Workplace“)
Status: enable to select the Device Type from the Device Type drop down when configuring devices in Workplace
Device Image: keep the default icon, select a generic icon or upload a picture of your device type. This image will be visible on the device label
Sensor Health
Sensor Health is derived from the last communication from the sensor to the Workplace Platform. The communication can be a sensor value or a heartbeat. Since every type of device has its own heartbeat frequency, the health of the device is evaluated per device type. For more information, see How to monitor Sensor Health
Fill in numeric values that will be used to change the status of devices linked to the device type:
To Check
Offline
value needs to be larger than To Check value
Sensor Details
From the list of supported data types, select which channels are relevant for the device type that you’re creating. In other words: which kind of sensor data will be send to Workplace by devices that are set up according to this device type?
CO₂
Counter
Footfall Pulse (in)
Footfall Pulse (out)
Headcount
Humidity
Presence*
Pulse
Radon
Temperature
VOC
* Presence
When it comes to presence / motion sensors, there is a difference in how some confirm or just don’t confirm the absence of presence :
Select "No" if the device sends presence data to confirm occupancy, and might send data to confirm vacancy, but does not send this vacancy confirmation as soon as the location is available (~ is not reliable in confirming vacancy)
Select "Yes" if the device sends presence data to confirm occupancy, and also sends data to confirm vacancy as soon as the location is available again
This has nothing to do with sensor accuracy or “the sensor itself being reliable of sending data”. It’s about the reliability of the statement “occupied” after no presence detection for some time.
When a sensor is unreliable in confirming vacancy, meaning that we’re not 100% sure when the location is available again, you can configure icon decay on live floor plan through https://spacewell.atlassian.net/wiki/spaces/KB/pages/491694/Live+floorplan+settings#Occupancy-settings.
Configure devices in Workplace
Prerequisites
have the confirmation that the connection of the External Data source to Workplace was successful, see https://spacewell.atlassian.net/wiki/spaces/KB/pages/5242896/External+Data+Sources#Test-your-setup
have the confirmation which data type will be used to convey the data
have the list of device IDs that will send data from the External Data Source to Workplace platform
Depending on the (known) connection between the Device Type and a specific External Data Source, different information is required to configure devices in Workplace:
1. If Device Type is set up to connect to a specific External Data Source
Having set up a 1-on-1-connection between Device Type and External Data Source, is beneficial for device registration in Workplace Studio:
Go to your environment (https://studio.cobundu.com ) and log in
Select the location, and manually add a sensor via "Add New Device"
Select the relevant Device Type from the drop-down list. As per the chosen DeviceType, a default set of channels is enabled
Fill in the Device ID that is used in the payload to report on this data point*
Give a meaningful name (eg customer_floor number_area) in Device Name.
Location will be filled in based on your pre-selection in the location tree
* In Workplace, a prefix referring to the tenant ID and external data source ID will be added to the device ID. This will be visible in Devices Export.
For more information on how to add multiple new devices to Studio, check out Configure devices (add, remove, import, and export).
Make sure to include tenant and source ID (in format “<tenant_id>-<source_id>”) if you’re creating devices through Device Import feature. For more information, see below.
Within 1 vendor ID, sensor IDs need to be unique and prepended with the vendor ID.
Combining device IDs from multiple third parties in 1 External Data Source, raises the potential risk of conflicts.
2. If Device Type is set up to connect to “Any” External Data Source
Select “Any” if the data for this device type might come from different External Data Sources. In this case, device registration in Workplace is a bit more complex:
Go to your environment (https://studio.cobundu.com ) and log in
Select the location, and manually add a sensor via "Add New Device"
Select the relevant Device Type from the drop-down list. As per the chosen DeviceType, a default set of channels is enabled
Fill in the Device ID, using the tenant ID and source ID available in Settings > External Data Sources. Adhere to the format <tenant_id>-<source_id>|<device_id>
Give a meaningful name (eg customer_floor number_area) in Device Name.
Location will be filled in based on your pre-selection in the location tree
For more information on how to add multiple new devices to Studio, check out Configure devices (add, remove, import, and export).
Within 1 vendor ID, sensor IDs need to be unique and prepended with the vendor ID.
Combining device IDs from multiple third parties in 1 External Data Source, raises the potential risk of conflicts.
FAQ
Troubleshooting
Search