View Glass

View is a smart buildings company that offers Glass, an auto-tinting window solution. Through this connector you will be able to connect your window zone data to your Mapped graph to view tint levels and states.
Use Cases
Potential use cases include:
- Measure the impact of your windows tint settings
- Discover window zones that are experiencing errors
Configuration
This connector requires the following credentials:
| Credential | Description |
|---|---|
| API Key | The API Key provided by View for your View Glass solution |
Mapped Concepts
| Connector Concept | Mapped Type |
|---|---|
| Glass Zone | Automatic_Tint_Window_Array |
| Tint State, Tint Level | Tint_Status, Tint_Command |
| The Tint_Status point utilizes a ValueMap to reflect the corresponding values: |
| Key | Value |
|---|---|
| 0 | Idle |
| 1 | Tint Request |
| 2 | Tinting (to T4) |
| 3 | T4 Complete (and hold T4) |
| 4 | Clear Request |
| 5 | Clearing (to T1) |
| 6 | T1 Complete (and hold T1) |
| 7 | Error |
| 9 | T2 Complete (and hold T2) |
| 10 | T3 Complete (and hold T3) |
| 11 | Clearing (to T2) |
| 12 | Clearing (to T3) |
| 13 | Tinting (to T2) |
| 14 | Tinting (to T3) |
| The Tint_Command point also utilizes a ValueMap to reflect the corresponding values: |
| Key | Value |
|---|---|
| 1 | Clear Tint |
| 2 | Light Tint |
| 3 | Medium Tint |
| 4 | Maximum Tint |
Sample Code
The following example shows how to retrieve View's window tint array devices, and the points associated. We also included the valueMap field to help identify what the returned time series value means in terms of the window state:
{
things(filter: {exactType: {eq: "Automatic_Tint_Window_Array"}}) {
id
name
exactType
points {
id
name
exactType
series(latest: true) {
value {
float64Value
}
}
valueMap
}
}
}