sensor_pb2
frequenz.api.microgrid.sensor_pb2
¤
Generated protocol buffer code.
Attributes¤
frequenz.api.microgrid.sensor_pb2.COMPONENT_STATE_ERROR: ComponentState.ValueType
module-attribute
¤
The sensor is in an error state.
frequenz.api.microgrid.sensor_pb2.COMPONENT_STATE_OK: ComponentState.ValueType
module-attribute
¤
The sensor is behaving as expected.
frequenz.api.microgrid.sensor_pb2.COMPONENT_STATE_UNSPECIFIED: ComponentState.ValueType
module-attribute
¤
Unspecified state.
frequenz.api.microgrid.sensor_pb2.ERROR_CODE_UNSPECIFIED: ErrorCode.ValueType
module-attribute
¤
Unspecified.
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_ACCELERATION: SensorMetric.ValueType
module-attribute
¤
Acceleration. In meters per second per second (m / s^2)
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_ANGLE: SensorMetric.ValueType
module-attribute
¤
Metric to represent angles, for metrics like direction. In angles with respect to the (magnetic) North (°).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_DEW_POINT: SensorMetric.ValueType
module-attribute
¤
Dew point. The temperature at which the air becomes saturated with water vapor.
In Celsius (°C).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_HUMIDITY: SensorMetric.ValueType
module-attribute
¤
Humidity In percentage (%).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_IRRADIANCE: SensorMetric.ValueType
module-attribute
¤
Irradiance / Radiation flux In watts per square meter (W / m^2).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_PRESSURE: SensorMetric.ValueType
module-attribute
¤
Pressure In Pascal (Pa).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_TEMPERATURE: SensorMetric.ValueType
module-attribute
¤
Temperature. In Celsius (°C).
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_UNSPECIFIED: SensorMetric.ValueType
module-attribute
¤
Unspecified.
frequenz.api.microgrid.sensor_pb2.SENSOR_METRIC_VELOCITY: SensorMetric.ValueType
module-attribute
¤
Velocity In meters per second (m / s).
Classes¤
frequenz.api.microgrid.sensor_pb2.ComponentState
¤
frequenz.api.microgrid.sensor_pb2.Data
¤
frequenz.api.microgrid.sensor_pb2.Error
¤
frequenz.api.microgrid.sensor_pb2.ErrorCode
¤
Bases: _ErrorCode
Enumerated sensor error codes.
frequenz.api.microgrid.sensor_pb2.Metadata
¤
frequenz.api.microgrid.sensor_pb2.Properties
¤
frequenz.api.microgrid.sensor_pb2.Sensor
¤
Bases: Message
Sensor details
Attributes¤
data: global___Data
property
¤
Sensor data object.
errors: google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Error]
property
¤
A list of errors encountered the component. An empty list implies no error.
properties: global___Properties
property
¤
The component properties
state: global___State
property
¤
The sensor's state.
frequenz.api.microgrid.sensor_pb2.SensorData
¤
frequenz.api.microgrid.sensor_pb2.SensorMetric
¤
Bases: _SensorMetric
The type of the metric reported in a sensor data sample.