onboard-docs-test.readthedocs.io - Onboard Data Python API documentation — Lumache 0.1 documentation

Example domain paragraphs

This package provides Python bindings to Onboard Data’s building data API, allowing easy and lightweight access to building data.

For example, we can retrieve the last week of temperature data from all Zone Temperature points associated with FCUs in the Laboratory building:

import pandas as pd import onboard.client from datetime import datetime , timezone , timedelta from onboard.client.models import PointSelector , TimeseriesQuery , PointData from typing import List client = OnboardClient ( api_key = 'your-api-key-here' ) query = PointSelector () query . point_types = [ 'Zone Temperature' ] # can list multiple query . equipment_types = [ 'fcu' ] query . buildings = [ 'Laboratory' ] selection = client . select_points ( query ) start = datetime . now ( pytz . utc ) - timedelta

Links to onboard-docs-test.readthedocs.io (2)