Developer Portal
Connector Guides
API ReferenceConsole

MACH Energy

MachEnergyLogo

The Mach Energy Connector provides access to electrical, gas and water meter data in order to monitor energy demand and consumption.

Use Cases

Potential use cases include:

  • Build ESG (environmental, social and governance) reporting applications utilizing interval meter data
  • Develop load shifting/peak shaving strategies by analyzing live energy consumption data
  • Get a fine-grained view of energy consumption for each of your tenants and major equipment

Configuration

CredentialDescription
UsernameYour iES Mach system username
PasswordYour iES Mach system password

Sample Code

Here's an example showing how to retrieve the latest kilowatt per hour energy usage from electrical meters monitored by Utilivisor:

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

The above example retrieves the energy data from the meters, includes the unit so you know the returned value is in kilowatts per hour, and also returns the timestamp the value was saved by the sensor.