Developer Portal
Connector Guides
API ReferenceConsole

View Glass

ViewGlass

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:

CredentialDescription
API KeyThe API Key provided by View for your View Glass solution

Mapped Concepts

Connector ConceptMapped Type
Glass ZoneAutomatic_Tint_Window_Array
Tint State, Tint LevelTint_Status, Tint_Command

The Tint_Status point utilizes a ValueMap to reflect the corresponding values:

KeyValue
0Idle
1Tint Request
2Tinting (to T4)
3T4 Complete (and hold T4)
4Clear Request
5Clearing (to T1)
6T1 Complete (and hold T1)
7Error
9T2 Complete (and hold T2)
10T3 Complete (and hold T3)
11Clearing (to T2)
12Clearing (to T3)
13Tinting (to T2)
14Tinting (to T3)

The Tint_Command point also utilizes a ValueMap to reflect the corresponding values:

KeyValue
1Clear Tint
2Light Tint
3Medium Tint
4Maximum 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:

Request Response
Copy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
{
  things(filter: {exactType: {eq: "Automatic_Tint_Window_Array"}}) {
    id
    name
    exactType
    points {
      id
      name
      exactType
      series(latest: true) {
        value {
          float64Value
        }
      }
      valueMap
    }
  }
}